summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* 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
* build system: fix 32 bit build on Snow Leopardjstebbins2009-09-021-1/+1
| | | | | | | | | | | | gcc-4.2 on SL reports i686 (but generates x86_64 code by default) and uname -m reports i386 (unless you hold 6+4 keys while booting) so modify configure.py to always add '-arch xxx' option on os x Also, update libtheora to svn 16547 since the 1.0 release doesn't compile on SL. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: SubRip Subtitle importeddyg2009-06-231-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: tweak Mac packagingkonablend2009-06-211-1/+1
| | | | | | | | - use $(BUILD.arch) instead of $(BUILD.machine) for naming consistent with mach-o binary types. - enable --launch-jobs=0 when doing special universal binary builds. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2593 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: unofficial build version strings are now 'revNNNN' to ↵konablend2009-06-201-2/+2
| | | | | | differentiate from snapshots which use 'svnNNNN' git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2582 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: packaging process now hard-codes svn rev into source-tarball's ↵konablend2009-06-201-1/+1
| | | | | | configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - fixed configure regression introduced circa r2571.konablend2009-06-201-1/+0
| | | | | | | - bug behavior: configure fails on non-svn working dir. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2580 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add Debian packaging supportjstebbins2009-06-191-0/+1
| | | | | | | | - make pkg.clean will create debian packages. - Creates separate packages for gui and cli git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2577 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: more appcast adjustments.konablend2009-06-181-8/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2571 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: appcast updateskonablend2009-06-181-15/+26
| | | | | | | | | | - changed appcast URL to add architecture for OSX platform - added autogen'd appcast.xml during 'make pkg.create' - added new build of Sparkle 1.5b6 for 4 { i386, x86_64, ppc, ppc64 } which disables security. - added patch which was used against Sparkle sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2569 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: added OSX packaging support.konablend2009-06-161-0/+1
| | | | | | | | | | - target is 'make pkg.create' which must be done after a normal build. No dependency checks are performed. - at least 1 package for all platforms is always produced: .tar.bz2 - darwin builds with Xcode add 2 packages: CLI.dmg and GUI.dmg - darwin builds sans Xcode add 1 package: CLI.dmg git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2542 b64f7644-9d1e-0410-96f1-a4d463321fa5
* revert an erroneous modification to the build systemjstebbins2009-05-261-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2450 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: expunge the remaining bits of xvid from the gtk guijstebbins2009-05-261-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2449 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Excises xvid from libhb because it's not worthy. Having two different MPEG-4 ↵jbrjake2009-05-261-1/+0
| | | | | | | | | Part 2 encoders is superfluous and when choosing between ffmpeg and xvid, xvid is the clear loser since we need to keep ffmpeg around for other functions and xvid constantly requires attention to ensure it compiles. MacGui: Removes some stray references to the codec and unlinks it from the Xcode project. CLI: Removes references to the codec and removes it as a dependency. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2448 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - bump to mp4v2-trunk-r349.konablend2009-05-231-1/+1
| | | | | | | | | - muxmp4.c minor updates to recent subtitle API changes. - muxmp4.c do not set zero-length tags. - renamed module libmp4v2 -> mp4v2. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2446 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: fixed regression introduced in r2425.konablend2009-05-191-1/+1
| | | | | | | | | - a 'space' snuck it's way into EXTRACT.tarbase default setting. - solution is to strip value of leading/trailing whitespace. - tested against a full-build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2426 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: fixed EXTRACT.tarbase default to support .tar.bz2 and .tar.gz ↵konablend2009-05-191-1/+1
| | | | | | extensions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2425 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: fix libmp4v2 error: Error: file number 2 already allocatedkonablend2009-05-025-21/+21
| | | | | | | | | - building libmp4v2 w/ --debug=max (-g3) exposes a gch issue. - workaround is to disable gch. - corrected variant/*.defs files: GCC.args.g.default -> GCC.args.g.std git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2367 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add libdvdnav supportjstebbins2009-04-271-0/+1
| | | | | | | | | | | emulates the vm of a dvd player in order to navigate the disc more reliably it is optional and disabled by default CLI option '--dvdnav' enables. GUI's have a new option in preferences. When dvdnav is enabled, you can also select angles (cli '--angle') git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem:konablend2009-04-201-1/+1
| | | | | | | - fixed project metadata for website URL; r2326 inadvertantly merged hbfork website git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2346 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: fix darwin/xcode to avoid double-configure/build after svn upkonablend2009-04-193-6/+15
| | | | | | | | | | | - build system automagically rebuilds certain files from libhb upwards after an svn up to maintain accurate repository information in binaries; if building with xcode the process was inadvertantly repeated on subsequent 'make'. - enhanced make/xcodemake to record the user's environment when shunted through xcode. this should help in diagnosing build issues from Xcode.app in the future. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* This patch adds mingw32 cross-compilation support to HandBrake trunk tokonablend2009-04-146-52/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | produce native win32 binaries. The main benefits are the binary does not have any Cygwin runtime requirements and various host platforms can be leveraged to build HandBrake. Cross-compilation toolchains are complex to setup and recommended for experts only; but once setup it can build at speeds similar to native builds, on Darwin or Linux. BUILD INSTRUCTIONS: Add mingw32 toolchain to beginning of your path and take the toolchain prefix from gcc (eg: i386-mingw32-gcc) and pass to configure: ./configure --cross=i386-ming32 PRODUCTS: - hb.lib (static library) - HandBrakeCLI.exe DOWNLOADS: Contrib downloads need to be seeded with: - pthreads-w32-2-8-0-release.tar.gz (new) - xvidcore-20090311.tar.gz SUMMARY: Specifically, all GUI trees are not impacted. configure - added --cross=PREFIX - reworked search for gcc and cross-compile related tools to use prefix contrib/ - sub-patches added as needed for mingw contrib/xvidcore/ - bumped from 1.1.3 -> 1.2.1+ (daily 20090311) - reconstituted P01-cygwin.patch - created new P00-darwin.patch needed for macho64 asm flag on x86_64 arch libhb/ - uint -> uint32_t - remaining changes guarded by mingw32 macro. test/ - modified to support pthread-compatibility library attach/detach. - all changes guarded by mingw32 macro. BRANCHES: source: https://hbfork.googlecode.com/svn/branches/mingw@28 target: svn://svn.handbrake.fr/HandBrake/trunk@2325 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2326 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: minor change adding --force to launched buildskonablend2009-04-021-1/+1
| | | | | | | - helps with people who for some reason need to re-start the build without manually cleaning build/ dir. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2293 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: added HandBrakeCLI to universal-binary combination.konablend2009-03-261-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2276 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cygwin: removed faad2 patch no longer required as per faad2 bump.konablend2009-03-201-1/+1
| | | | | | | - added -N flag to contrib usage of patch to ignore patches which appear already applied. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: darwin + Xcode dependencies and enhancementskonablend2009-03-114-25/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset focuses on a disconnect between Xcode targets HandBrakeCLI and HandBrake.app when changest to external dependencies are made. The use case is to touch any .c file in libhb which then builds .o and re-creates libhb.a; next the Xcode targets should at least re-link. This did not happen because link-flags are used to add libhb.a and contrib libraries in Xcode; which effectively hides them from Xcode. The solution removes libhb.a from link-flags mechanism and places libhb.a as a framework library known to Xcode; and the expected re-linking occurs. contrib libraries will continue to use link-flags but since libhb.a has coarse-grained dependencies on contrib modules this will also cause Xcode targets to re-link. Further enhancements made to Xcode project: - Xcode now scans any .c files for .h file dependencies; will help with Xcode sources; the effect against libhb.a is moot; libhb.a will be rebuilt by external system anyways. - libbz2 and libz are now treated as framework libraries; it's more correct than listing all libraries as link-flags. - moved FRAMEWORK_SEARCH_PATHS to project-level for consistency in future targets. - moved LIBRARY_SEARCH_PATHS to project-level for conistency. - enabled GCC_WARN_TYPECHECK_CALLS_TO_PRINTF at project-level. [this changeset should not be a factor for other platforms; no side effects are expected] git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2257 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cygwin: ffmpeg build tweakskonablend2009-03-101-8/+12
| | | | | | | | | | | | | | - bug: issues with universal input (including aac in mp4, wmv etc) - fix: add -fno-common to GCC - correctness: add --enable-memalign-hack as per ffmpeg docs - these issues were possibly a regression introduced with the new build system - a positive side effect to the build system is the availability of new makevar '<MODULE>.GCC.args.extra' which is a free-form way to add extra cflags to GCC functions. [this changeset does not effect any other platforms] git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2252 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: initial _skeleton_ asm support for libhb.konablend2009-03-102-20/+74
| | | | | | | | | - asm disposition is DISABLED. - it can only be enabled via a hidden configure option (--enable-asm) but will only be useful once asm code is checked-in. - this is checked-in early to not lose some internal configure enhancements made during asm build support impl. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2251 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: effects Darwin platforms onlykonablend2009-03-103-39/+57
| | | | | | | | | | | | | | | - fixed Darwin ppc hosted build reversion introduced in r2242. - fixed Darwin + Xcode in all scenerios to honor --debug option *** if building from Xcode there is no need to rebuild but you will have to close project and reload; xcodeproj has been updated. *** if building from terminal there *should* be no need to rebuild; the first 'make' after an update is expected to trigger a reconfigure and libhb will rebuild. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2248 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: fixed configure --debug + Xcodekonablend2009-03-092-9/+18
| | | | | | | | | | | | - only effects users building w/ Xcode from terminal or Xcode.app who need debug libhb. Bug details: - shunting through Xcode causes a re-configure to give GNUmakefile the 'Xcode' environment. - re-configure simply clobbered CONF.args thus losing effect of initial --debug option. - solution is to pass CONF.args to re-configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2244 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: new files required for r2242.konablend2009-03-083-0/+1592
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2243 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: general, configure and Xcode updates.konablend2009-03-088-686/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** 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
* BuildSystem:konablend2009-03-071-1/+6
| | | | | | | - added diagnostic target for troubleshooting build environment issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2237 b64f7644-9d1e-0410-96f1-a4d463321fa5