X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=BUILD;h=d69e7da6ae574ad9cac788871ff053538a830eb9;hb=516553c65ad905dad51054dffb76fee8f217a1c9;hp=8f4788ad9c127a2c8ba3d4e95ef141edb419a90d;hpb=42438ba9d05e81cf0561da1ed9cfb18cb5464940;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/BUILD b/BUILD index 8f4788ad..d69e7da6 100644 --- a/BUILD +++ b/BUILD @@ -1,57 +1,103 @@ -$Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $ - -BUILD file for HandBrake - -Building HandBrake -================== - -You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin. -If you'd like to port it to another OS, email me (titer@m0k.org). - -Step 1: get needed tools -======================== - -+ gcc and g++ - There are usually included in your OS' dev tools. On BeOS/Zeta, the - default gcc isn't enough, gcc 2.95.3 is required. -+ jam - I use 2.5rc3, earlier versions might cause issues. - On BeOS, you can download it at . - On OS X, you cannot use the modified jam shipped with the developer - tools, use this one instead: - . - On Cygwin, get the jam source from - http://public.perforce.com/public/jam/index.html, - compile it with gcc in Cygwin, and put the jam executable somewhere on - your path. -+ nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it) - -Cygwin setup: - There are a couple extra things required to make the code build for Cygwin. - Make sure you have /bin and /usr/bin on your path *first*, before - the Windows paths. Otherwise the Cygwin find.exe won't be used, and - lame won't build. - Also, I have not tried to build this with MinGW, I've only built it with - the Cygwin environment, so you should build with Cygwin gcc and dev tools. - Unfortunately this means you need to have cygwin1.dll around to run the - HBTest.exe program, but that's the way it is for now, until I get time - to try building it with MinGW. If you want to try making it work with - MinGW, then go for it! - - -Step 2: build -============= - -Run `./configure && jam'. This will build every library HandBrake -requires, then HandBrake itself. - - -Experimental UB build on MacOsX -=============================== - -Run `make'. This will build libmediafork, MediaFork and MediaForkCLI as Universal Binary. -This build method use precompiled contrib libraries. Script to build those binaries are provided too. -All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs. - - - +$Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $ + +BUILD file for HandBrake + +Building HandBrake with make +============================= + +Step 1: get needed tools +============== + ++ gcc and g++ + There are usually included in your OS' dev tools. On BeOS/Zeta, the + default gcc isn't enough, gcc 2.95.3 is required. + ++ nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it) + +Cygwin setup: + There are a couple extra things required to make the code build for Cygwin. + Make sure you have /bin and /usr/bin on your path *first*, before + the Windows paths. Otherwise the Cygwin find.exe won't be used, and + lame won't build. + Also, I have not tried to build this with MinGW, I've only built it with + the Cygwin environment, so you should build with Cygwin gcc and dev tools. + Unfortunately this means you need to have cygwin1.dll around to run the + HandbrakeCLI.exe program, but that's the way it is for now, until I get time + to try building it with MinGW. If you want to try making it work with + MinGW, then go for it! + +Step 2: configuration +============== + +The HB_BUILD and HB_VERSION are defined in a single file, the Makefile correct the values in Xcode too. + +The file where the informations are stored is Makefile.config + +Step 3: build +============== + +Run `make'. This will build libhb, Handbrake and HandBrakeCLI as Universal Binary. +This build method use precompiled contrib libraries. Script to build those binaries are provided too. +All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs. + +# To build under Cygwin simply use the command: +make HandbrakeCLI + +This will download pre-compiled libaries and build the handbrake source. + +----------------------------------------------------------------------------------------------------- + +Building HandBrake with jam +============================= + +You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin. +If you'd like to port it to another OS, email me (titer@m0k.org). + +Step 1: get needed tools +============== + ++ gcc and g++ + There are usually included in your OS' dev tools. On BeOS/Zeta, the + default gcc isn't enough, gcc 2.95.3 is required. + ++ jam + I use 2.5rc3, earlier versions might cause issues. + On BeOS, you can download it at . + On OS X, you cannot use the modified jam shipped with the developer + tools, use the one included in the Handbrake svn checkout instead. + On Cygwin, get the jam source from + http://public.perforce.com/public/jam/index.html, + compile it with gcc in Cygwin, and put the jam executable somewhere on + your path. + ++ nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it) + ++ libtool, autoconf, automake + To build libdca (the DTS audio extraction library) on Mac OS X via jam, you'll + need to update the default Mac OS X versions of libtool, autoconf and automake. + Compilation has been seen to work with libtool and libtool-shlibs v1.5.22-1000, + autoconf v2.60-4, and automake v1.9.6-3. You can update these tools using Fink. + Download the Fink 0.8.1 Binary Installer for your platform (PowerPC or Intel) + from http://www.finkproject.org/download/index.php?phpLang=en and install Fink + using the installer. If you want to use a GUI to run Fink, you can install + FinkCommander. Download the FinkCommander 0.5.4 installer from + http://finkcommander.sourceforge.net/ and install from the disk image. You can + install libtool, libtool-shlibs, autoconf and automake using FinkCommander. + +Cygwin setup: + There are a couple extra things required to make the code build for Cygwin. + Make sure you have /bin and /usr/bin on your path *first*, before + the Windows paths. Otherwise the Cygwin find.exe won't be used, and + lame won't build. + Also, I have not tried to build this with MinGW, I've only built it with + the Cygwin environment, so you should build with Cygwin gcc and dev tools. + Unfortunately this means you need to have cygwin1.dll around to run the + HandbrakeCLI.exe program, but that's the way it is for now, until I get time + to try building it with MinGW. If you want to try making it work with + MinGW, then go for it! + +Step 2: build +============== + +Run `./configure && jam'. This will build every library HandBrake +requires, then HandBrake itself.