Commit Graph

33 Commits

Author SHA1 Message Date
robxnano 41ed70524e LinGUI: Simplify Make rules 2024-03-28 14:30:34 +01:00
robxnano 4d52ef55a8 LinGUI: Updates to meson.build
- Fixes for building with Nix
- Remove unneeded resources list
2024-03-28 14:30:34 +01:00
robxnano 50d6a5db29 LinGUI: Use GtkMediaStream for video preview
This API was introduced in GTK4 and handles video playback via
gstreamer or ffmpeg. Removed the gstreamer build dependency as it
is no longer needed.
2024-03-02 17:36:24 +01:00
robxnano a5f82aaf50 LinGUI: Preparation for GTK4 port
- Remove --enable-gtk4 option from build system
- Remove files which are no longer needed
2024-01-26 08:01:58 +01:00
robxnano 7e3d785874 LinGUI: Port to Meson build system
- Add update notes to metainfo.xml
- Clean up legacy build files
- Reorganize gtk source directory
- Add centralized set of cross files for all Meson projects
2023-10-07 07:52:51 +02:00
robxnano c1e48d5c70 LinGUI: Remove update checker
The update checker didn't work and could not be built on any recent
Linux distribution. Linux updates are handled by Flatpak or the
distribution.
configure.py will error out if the --disable-gtk-update-checks
flag is used. This is to avoid the flag being passed to make and
giving an error anyway.
2023-03-26 21:11:06 +01:00
Damiano galassi ffad5aa2e8 contrib: add libdovi. 2023-02-06 16:33:19 +01:00
Bradley Sepos 64439ef2d0
make: gtk: Reference X11BASE when linking GTK GUI on NetBSD. 2020-02-19 04:17:45 -05:00
John Stebbins e666459482
LinGui: make selection of gtk3/gtk4 configure-able 2019-07-31 16:34:07 -07:00
John Stebbins 046eb043ae
make: finish correcting host/build semantics 2019-04-17 07:27:17 -06:00
John Stebbins a144fd366b
configure: add option to enable/disable libnuma
It is not supported or not useful in some Linux environments, so allow
disabling it.
2019-04-15 10:48:56 -06:00
John Stebbins 1424cd47da
flatpak: automatically add <release> tag to LinGui appdata
Also add translation support for appdata
2018-06-07 15:01:33 -07:00
John Stebbins 1b93f994e3 LinGui: fix installation of desktop file
Don't install flatpak desktop file when not building a flatpak.
This was causing duplicate icons in some distros.
2016-10-19 10:36:17 -07:00
John Stebbins 20b5485afa LinGui: enable live preview (gstreamer) by default on win32 2016-03-13 18:24:39 -06:00
jstebbins 3d87473c97 LinGui: refresh mingw build of gtk UI
Fixes a couple issues.  adds qsv support.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7025 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-03-28 02:02:37 +00:00
jstebbins c548eb0cb8 build: remove mp4v2 and libmkv dependencies
...and enable x265 by default


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6309 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-08-18 17:22:30 +00:00
sr55 3611993e93 Remove libfaac
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6094 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-03-02 17:12:06 +00:00
Rodeo 25b0757e8f LinGui: fix building with --enable-x265
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6025 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-02-10 17:46:56 +00:00
jstebbins ba36746032 libhb: add experimental avformat muxer for mkv and mp4
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-06-30 20:44:21 +00:00
jstebbins 768561ada9 improve aac encoder build options and change some aac encoder defaults
By default, faac is no longer built.
Libav aac is now the default aac encoder on all platforms except osx
where ca_aac is the default.
fdk-aac is now built by default (except on osx).


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5581 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-06-15 17:24:35 +00:00
jstebbins 288639e626 Add optional fdk-aac encoder
configure --enable-fdk-aac to enable this encoder


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5287 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-03-03 16:18:16 +00:00
jstebbins c9c50d62e5 LinGui: refactor --enable-gst option
change to --disable-gst and make it work for both mingw and linux


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3774 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-01-29 22:13:18 +00:00
jstebbins e97e93ae27 Change how native tools are built in a cross compiling environment.
Was using hb's core build system for these tools.  Now using
accepted practice in autoconf for native tools.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3494 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-08-25 17:42:52 +00:00
jstebbins 66e0b095b6 LinGui: revert part of the resource management changes of r3382
Since fedora's pygtk is broken, I can't parse gdk_pixbuf's with python.
So revert to doing this in C code.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3386 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-06-17 22:59:19 +00:00
jstebbins 24425e7e50 LinGui: changes to resource preprocessor
During the build, I was compiling tools for preprocessing and packaging
the gui description xml, preset defaults, widget dependencies, and icons.
The resulting resource_data.h file gets compiled into the binary.  These
tools are now implemented in python.  This eliminates the need to compile
the tools which caused complications when cross compiling.

This work was actually done many months ago.  But all the distributions
I wanted to support didn't have the libplist python module.  Now they all
do.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3382 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-06-15 16:21:22 +00:00
jstebbins ebb28e9214 LinGui: fix module.defs code merge error
two incompatible changes merged without error and i missed it


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3327 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-05-25 21:02:47 +00:00
jstebbins b1d5e7b5af LinGui: add option to completely disable update checking
configure --disable-gtk-update-checks removes the code that does update checks
including the webkit library used for displaying the appcast.  this is
useful when packaging for a repository that has it's own update mechanism.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3323 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-05-24 18:15:40 +00:00
jstebbins 28658486da add ability to probe for existance of headers and libraries to configure.py
use this to check for system versions of bz2 z pthreadGC2 iberty and dl when
building with mingw.  solves a problem with conflicts when building on fedora with
a full standard install of their mingw packages.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3316 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-05-23 15:38:21 +00:00
jstebbins abbb574581 LinGui: merge gtk mingw cross compiling support
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2332 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-04-16 01:46:08 +00:00
konablend 083ba4898a BuildSystem: general, configure and Xcode updates.
*** NOTICE:
This changeset requires a clean build directory. Please issue 'make xclean' inside
build dir(s) after 'svn up'. This will help ensure there are no unexpected results.

*** GENERAL:
- renamed makevar PROJECT/ -> SRC/ for clarity.
- renamed makevar PREFIX.install/ -> PREFIX/ for clarity.
- split custom GNUmakefile overrides into defs/rules files.
- inserted optional level of make customization at SRC/ level; see docs.
- dropped HB.repo.wcversion (svnversion is no longer used).
- corrected several 'rm' usages to use -f flag which avoids some build errors.
- refreshed generated 00-Building.*.txt docs; work still in progress on the wiki front.

*** CONFIGURE:
- made configure more robust; configure may now be run outside of build directory!
- adding log recording of configure activities.
- improved readability of default options for configure
- added:

    --force             overwrite existing build config
    --src=DIR           specify top-level source dir [.]
    --build=DIR         specify build scratch/output dir [.]
    --prefix=DIR        specify install dir for products [/Applications]

- dropped --launch-force (replaced by --force)
- dropped --launch-dir (replaced by --build)
- dropped --launch-log

*** XCODE:
- renamed pbxproj definition EXTERNAL_PROJECT -> EXTERNAL_SRC for clarity.
- fixed all configurations to default to EXTERNAL_JOBS=1 .
- enabled Xcode internal parallelization (libhb, HandBrakeCLI and HandBrake benefit).
- make now tickles Xcode build files to cause Info.plist regeneration and posting to HandBrake.app output;
  ie: svn up; click build and HandBrake.app's about panel will reflect the new repository rev.

*** DARWIN:
- added support to build universal binaries; see docs.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2242 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-03-08 22:50:57 +00:00
jstebbins c5c52e5c71 LinGui: force invocation of gtk.build for every build so gtk make
can check all its dependencies 
fix typo in about dialog


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2186 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-03-01 20:49:30 +00:00
jstebbins 883b33c821 LinGui: remove extraneous files dist files like AUTHORS etc.
add distclean to xclean rules
link gtk.xclean to top xclean
use hb build systems CFLAGS and LDFLAGS


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2184 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-03-01 19:40:56 +00:00
konablend 4dbce6b699 BuildSystem: conversion from jam-based to make-based system.
KNOWN ISSUES:
    1. OSX + Xcode builds do not support parallel builds; attempting to
       use them may cause unbounded number of jobs. However, disabling
       via configure --disable-xcode avoids the issue.
    2. OSX ppc binary produces binary which has audio-scan problems.
    3. OSX ppc64 binary has not been runtime tested.

ADDED:
    00-BuildUserGuide.txt
    contrib/*/module.*
    doc/
    make/

    libhb/module.*
    test/module.*
    macos/module.*
    gtk/module.*

DROPPED:
    BUILD
    BuildContribDarwin.sh
    DownloadMacOsXContribBinaries.sh
    Jamfile
    Jamrules
    MacOsXContribBinariesVersion.txt
    Makefile
    Makefile.config
    jam
    libhb/Jamefile
    libhb/Makefile
    test/BUILDSHARED
    test/Makefile
    contrib/Jamfile
    contrib/Makefile
    contrib/patch-ffmpeg.patch
    contrib/patch-x264-idr.patch
    contrib/patch-x264-linux.patch

RENAMED:
    contrib/*.patch -> contrib/MODULE/[AP]??-*.patch
    macosx/HandBrake.plist -> macosx/Info.plist

MODIFIED: libhb/decavcodec.c
    Patched to use cleaner include "libavcodec/audioconvert".
    Second part to support this cleanup is ffmpeg A02-audioconvert.patch .

MODIFIED: libhb/hb.c
MODIFIED: libhb/hb.h
MODIFIED: libhb/muxmkv.c
MODIFIED: libhb/muxmp4.c
MODIFIED: libhb/update.c
    Patched to use "project.h" for project metadata.
    Renamed HB_BUILD -> HB_PROJECT_BUILD.
    Renamed HB_VERSION -> HB_PROJECT_VERSION.

MODIFIED: test/test.c:
    Patched HandBrakeCLI to support I/O on Mac OS X ZFS filesystems.
    Reference r1803 as similar patch for HandBrake.app .
    Unpatched behavior is crash/buserror when using ZFS.

MODIFIED: macosx/Growl.framework/
    Upgraded 0.7.6 (i386,ppc) -> 1.1.2 (i386,x86_64,ppc,ppc64).
    New architectures facilitate x86_64 and ppc64 builds.

MODIFIED: macosx/HandBrake.xcodeproj/
    Bumped compatibilty mode from 2.4 -> 3.1 .
    Dumped old configurations Deployment, Developer.
    Added configurations standard, sebug as replacements.
    Added standard.i386, standard.x86_64, standard.ppc, standard.ppc64 .
    for explicit architecture build.
    All configurations settings cleaned up and normalized.
    Build output directories adjusted to support new build system.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2180 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-03-01 17:03:11 +00:00