summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Build: use GNU99 mode.Rodeo2013-12-052-7/+11
| | | | | | | | | Required for proper POSIX behaviour on Solaris. Patch by icchan. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5915 b64f7644-9d1e-0410-96f1-a4d463321fa5
* OpenCL: use the new library loading architecture for all OpenCL code.Rodeo2013-11-081-3/+0
| | | | | | | | | | | An OpenCL SDK is no longer needed to build OpenCL support. Note: as a result, the --enable-opencl configure option is removed. Also, libOpenCL is no longer needed to run the application (it is still necessary to use OpenCL features, of course). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5886 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: initial Xcode5 supportkonablend2013-09-242-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on MacOSX 10.8.5 w/ Xcode 5.0, 4.6.3 and 4.5.2, various builds, including terminal Xcode, terminal no Xcode and Xcode IDE, and permutations with/without mp4v2 and mkv. - push defs for optional static libraries (OSL) to respective modules - adjust make-driven linking to use OSL - adjust Xcode-driven linking to use OSL via ld -filelist option - add Xcode project group for all OSL - set Xcode project to use clang compiler - add osx 10.8 xcconfig files - add "supplemental" xcconfig file where EXTERNAL_CONFIGURE may be used to specify configure-time options - patch mp4v2 to compile with clang Intructions for custom configure-options within Xcode IDE: 1. edit macosx/xcconfig/supplemental.xcconfig 2. save file (unsure how long it takes IDE to see change but it does) 3. build clean 4. build 5. never commit supplemental.xcconfig to repository - it is meant to exist but not effect the build on a clean checkout, and to be used only as a developer transient developer customization file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Merging-in the OpenCL Scaling code from the OpenCL branch to trunk. sr552013-09-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Patch originally by the Multicoreware Inc team, followed by improvements and fixes by Micheal Wootton from AMD Inc, OpenCL: This patch implements Bicubic Scaling in OpenCL. Note that HandBrake currently uses Lanczos so the performance difference appears to be much more significant. We may offer an option of BiCubic in software later. Bicubic scaling may appear a bit sharper than the equivalent Lanczos encode and may increase file size a bit. Quality may be better or worse depending on the scaling and content and personal preference towards sharpness. When comparing performance with a custom HandBrake build that runs Software Bicubic to OpenCL Bicubic, performance increase is about 5~7% on average on a modern GPU. Hardware Decode via DXVA: We also have optional DXVA decoding which may come in useful for slower/lower end systems that have a capable GPU. This is only available on input sources that use the libav decode path. Most GPU hardware for decoding is designed for playback, so if you are running on a high end CPU, it will bottleneck the encode process. Requires OpenCL 1.1 or later supporting GPU. Front end changes and testing framework are not included in this patch. This will be resolved later. Patch will be revised further before the UI is implemented. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Big merge, QSV to trunk: part 1 (tracked files).Rodeo2013-08-222-0/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5737 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add experimental avformat muxer for mkv and mp4jstebbins2013-06-302-2/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* improve aac encoder build options and change some aac encoder defaultsjstebbins2013-06-152-3/+17
| | | | | | | | | | 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
* Bump VPoint to 9sr552013-04-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add optional fdk-aac encoderjstebbins2013-03-032-0/+8
| | | | | | | configure --enable-fdk-aac to enable this encoder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5287 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disable mno-ms-bitfields globally - Thanks to Maxym Dmytrychenko and ↵sr552013-02-211-0/+2
| | | | | | Konab1end for tracking this down. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5262 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - xcode debug builds now use --debug=std instead of --debug=maxkonablend2013-01-291-1/+1
| | | | | | | | - amongst other things, this will build ffmpeg without asserts and avoid an mpegvideo.c assert that seems to always trigger git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5224 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - parse yasm version at configure timekonablend2013-01-251-4/+101
| | | | | | | - if version is inadequate, auto enable local yasm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build system: update config.guessjstebbins2013-01-031-123/+159
| | | | | | | | Thanks to icchan for patch https://reviews.handbrake.fr/r/361/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5139 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Introduce Solaris Supportdynaflash2012-11-151-0/+2
| | | | | | | | - Patch from icchan … thanks ! - At some point in the past, this was probably dropped. Re-adding it now as a pre-requisite for several upcoming patches to fix the build on Solaris 10. - ReviewBoard link here https://reviews.handbrake.fr/r/364/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5063 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use more system libsjstebbins2012-10-051-9/+9
| | | | | | | | | | | | | | use system libs for fontconfig, freetype, libxml2, libass, libogg, libvorbis, libtheora, and libsamplerate update build dependencies for ubuntu packages update documentation to reflect new build dependencies fix a problem with hb.h conflict with harfbuzz/hb.h git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix mingw build problemsjstebbins2012-10-041-8/+8
| | | | | | | | | | | | If the mingw environment has duplicates of some of the contrib libraries that we build, the mingw system lib or header was being used instead of our contrib version. Also, some dependencies were missing which would cause parallel builds to randomly fail because a necessary contrib hadn't been built yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove mingw+libmkv dependency on libiberty.konablend2012-09-081-8/+8
| | | | | | | | Remove mingw+test dependency on libiberty. Add build system support for propagating compiler DEFINES to contrib configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add autotools { autoconf, automake, libtool } as contribs.konablend2012-09-073-13/+34
| | | | | | | | | | | | | | | | | | | Primarily necessary for OSX platform after Xcode 4.2.x, but also useful for any platform which is missing or has obsolete versions. 1. add configure option: --enable-local-autotools 2. --enable-local-autotools is automatically TRUE when any of { autoconf, automake, libtool } are not found in path. 3. --enable-local-autotools causes contribs of { m4, autoconf, automake, lib tool } to be built 4. add m4 to contrib (prerequisite for autoconf) 5. add autoconf to contrib (prerequisite for automaker and many contribs) 6. add automake to contrib (prerequisite for many contribs) 7. add libtool to contrib (prerequisite for many contribs) 8. All contribs (except the autotools themselves) automatically mark autotools as a prerequisite. 9. $(AUTOTOOL_MODULES) is available if other non-contrib modules need to mark as prerequisite. 10. PATH is automatically prefixed with contrib/bin for all modules, all targets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4933 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build system: enforce an order to applying contrib patchesjstebbins2012-08-021-2/+2
| | | | | | | | | New patch for a52dec has a dependency on another patch and must be applied after it. Patches appeared to be getting applied in whatever order the filesystem presented the files in. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4886 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use libav for dts audio decoding instead of libdca jstebbins2012-07-151-1/+0
| | | | | | | | | libdca has no advantage over libav for dts audio decoding. It doesn't do drc and it's downmix capabilities are actually inferior to libav. So this completely removes libdca from libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Forgotten part of portability patchesjstebbins2012-07-072-0/+22
| | | | | | | | This should have been committed with 4717 Thanks to Rogério Theodoro de Brito and Pino Toscano for contributing git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add CFLAGS and LDFLAGS specified during configure to compile and link commandsjstebbins2012-06-172-6/+6
| | | | | | | | | | | Enhances portability. configure.py already added these to the GNUmakefile output, but the values did not get incorporated into compile or link commands. Thanks to Fabian Greffrath and Rogerio Brito for this patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Portability patchesjstebbins2012-06-071-0/+5
| | | | | | | | | gudev is only available on linux, so ifdef it out on all other systems. also add some definitions to the make system for generic gnu and freebsd systems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4717 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: checkin make/configure.py to increment to 0.9.60.9.6dynaflash2012-02-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4471 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: Mac OS X - fix terminal-driven build to relink when contrib ↵konablend2012-01-171-0/+5
| | | | | | products change git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4414 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: Mac OS X - transition to Xcode4konablend2012-01-048-191/+394
| | | | | | | | | | | | | | | | | | | | | | | | - transition from Xcode3 to Xcode4 - overhaul HandBrake.xcodeproj file - simplify down to 2 configurations: debug, release - add xcconfig for useful variants: osx106.i386, osx106.x86_64, osx107.i386, osx107.x86_64 - add configure --xcode-config as preferred method to choose OSX minimum version and SDK - overhaul Info.plist generation to use m4 instead of cpp - remove use of direct static libraries on command line - Xcode4 now enables -search_paths_first by default - reference external build static libraries project file - greatly simplifying project file maintenance - update universal build targets to use --xcode-config - update ffmpeg hack to build on i386 in both debug and optimized modes - update ffmpeg build to show compile verbosity - enable local yasm when yasm probe fails - remove unused GCC.ldsysroot - remove unused GCC.ldminver - enhance xcodemake to use --sysroot, --minver - update/regenerate docs accordingly - add support for configure-time repo probe when svn repo is incompatible format to Xcode via .svn/HANDBRAKE_REPO_PROBE - replaced make/test/build.matrix.darwin with make/test/build.matrix git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4395 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove some debug messages I inadvertently left injstebbins2011-10-261-4/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4324 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add optional yasm contribjstebbins2011-10-253-3/+18
| | | | | | | | | | To enable, "configure --enable-local-yasm" Ubuntu 10.04 LTS (lucid) has yasm 0.8 which is no longer compatible with x264. This change allows us to build yasm as a contrib and use it for building both Libav and x264 which require yasm. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4314 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ASS bump to 0.10.0jstebbins2011-10-211-0/+5
| | | | | | | | libass has a new dependency on fribidi. So also add fribidi to contribs. I repackaged the libass distribution because the configure script shipped with it is damaged beyond repair for darwin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4304 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable debuggin when debug=max and disable optimizations when ↵jstebbins2011-07-111-2/+15
| | | | | | | | | | optimizations=none except for ffmpeg on darwin i386 which fails to build when optimizations are disabled due to gcc running out of registers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4103 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: fix configure to define GCC.O before including main.defsjstebbins2011-07-112-3/+5
| | | | | | | This is needed so that contrib makefiles can see it's value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change HB.version from "svnXXXX" to "XXXXsvn"jstebbins2011-04-131-1/+1
| | | | | | | | | This fixes an issue with packaging for Ubuntu 11.04. The packaging tool now requires that version numbers start with a digit. They used to just issue a warning. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3919 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix linking on mingw when using libtooljstebbins2011-03-211-1/+2
| | | | | | | | | | | | | | | | Linking the gtk gui uses libtool. The *.la files libtool uses specify the dependency libraries that libraries are built against. Our libbluray contrib was being built against the system libxml2 due to dependencies that were not set in our build system and PKG_CONFIG_PATH not being set when configuring. Note that on fedora (and possibly other systems) the ${cross}-pkg-config script provided is broken and explicitely sets PKG_CONFIG_PATH="". You need to replace this script with something like this: PKG_CONFIG_LIBDIR=$(${cross}-gcc --print-sysroot)/mingw/lib/pkgconfig pkg-config $* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove libfaad from buildjstebbins2011-02-111-1/+0
| | | | | | | We don't use it anymore. We have been using ffaac decoder for a while now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3793 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refactor --enable-gst optionjstebbins2011-01-291-0/+3
| | | | | | | 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
* configure and patch pthreadw32 so it will build under mingw64jstebbins2010-10-231-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3619 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add build option --enable-ff-mpeg2 to use ffmpeg for mpeg2 decodingjstebbins2010-10-231-0/+3
| | | | | | | instead of mpeg2dec. disabled by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3610 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SSA subtitle burn injstebbins2010-09-281-0/+4
| | | | | | | | | | Anime fans rejoice! This patch adds SSA subtitle burn-in support with libass. Therefore SSA subtitles should now be rendered in full quality, with the appropriate embedded fonts and positioning information. Thanks to davidfstr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3557 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Bluray supportjstebbins2010-09-081-0/+1
| | | | | | | | | | | | | | | | | | Unencrypted BD directory trees only. Doesn't support iso images. Also, no PGS subtitle support yet. Chapters and angles are supported. Adds a new contrib libbluray. Adds new option to hb_scan() for duration of short titles to filter. This applies to BD and DVD multi-title scans only. Does not apply to any single title scans. Fixes memory leak during scan. hb_buffer_close() was not freeing all buffers in a chain of buffers passed to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add option to completely disable update checkingjstebbins2010-05-241-0/+3
| | | | | | | | | 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
* add ability to probe for existance of headers and libraries to configure.pyjstebbins2010-05-232-0/+180
| | | | | | | | | 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
* bump ffmpeg to rev 22950jstebbins2010-04-251-1/+1
| | | | | | | | | offset ffmpeg seeks by value of initial timestamp since it can be non-zero catch pix fmt that is unsupported by swscale, log it, skip the track use new ffmpeg avg_frame_rate for more accurate framerate estimate git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3267 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improved rpm buildingjstebbins2010-04-121-0/+1
| | | | | | | | | | | | | | | Resulting rpms have fewer warnings and no errors according to rpmlint. No need to pre-build binaries. Just configure and "make pkg.create.rpm" Standard fedora rpms can be found in: build/stage/rpm/RPMS and SRPMS Binary packages are renamed according to handbrake naming convention in: build/pkg git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* give s55 a helping hand with createing mingw CLI zipjstebbins2010-03-281-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3178 b64f7644-9d1e-0410-96f1-a4d463321fa5
* disable asserts in libdvdnav except when configured with --debug=maxjstebbins2010-03-112-2/+7
| | | | | | | | dvdnav asserts on things are are almost never fatal. so lets not crash on them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3159 b64f7644-9d1e-0410-96f1-a4d463321fa5
* patch from konablend. bumps point rev to 5 and cleans up source tar creationjstebbins2009-11-251-1/+1
| | | | | | | thanks kona! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2976 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix the release/developer detection in configure.py0.9.4eddyg2009-11-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build system: solaris 10 supportjstebbins2009-10-132-0/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2882 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 to r1271jstebbins2009-09-241-126/+94
| | | | | | | | | make changes required by the x264 api change fix some build issues that the x264 bump exposed git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2836 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build system: add capability to build Leopard target from Snow Leopard Hostjstebbins2009-09-043-12/+49
| | | | | | | | | To configure for building Leopard target from Snow Leopard: configure --sysroot /Developer/SDKs/MacOSX10.5.sdk --minver 10.5 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2806 b64f7644-9d1e-0410-96f1-a4d463321fa5