1 $Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $
\r
3 BUILD file for HandBrake <http://handbrake.m0k.org/>
\r
5 Building HandBrake with make
\r
6 =============================
\r
8 Step 1: get needed tools
\r
12 There are usually included in your OS' dev tools. On BeOS/Zeta, the
\r
13 default gcc isn't enough, gcc 2.95.3 is required.
\r
15 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
\r
18 There are a couple extra things required to make the code build for Cygwin.
\r
19 Make sure you have /bin and /usr/bin on your path *first*, before
\r
20 the Windows paths. Otherwise the Cygwin find.exe won't be used, and
\r
22 Also, I have not tried to build this with MinGW, I've only built it with
\r
23 the Cygwin environment, so you should build with Cygwin gcc and dev tools.
\r
24 Unfortunately this means you need to have cygwin1.dll around to run the
\r
25 HandbrakeCLI.exe program, but that's the way it is for now, until I get time
\r
26 to try building it with MinGW. If you want to try making it work with
\r
27 MinGW, then go for it!
\r
29 Step 2: configuration
\r
32 The HB_BUILD and HB_VERSION are defined in a single file, the Makefile correct the values in Xcode too.
\r
34 The file where the informations are stored is Makefile.config
\r
39 Run `make'. This will build libhb, Handbrake and HandBrakeCLI as Universal Binary.
\r
40 This build method use precompiled contrib libraries. Script to build those binaries are provided too.
\r
41 All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs.
\r
43 # To build under Cygwin simply use the command:
\r
46 This will download pre-compiled libaries and build the handbrake source.
\r
48 -----------------------------------------------------------------------------------------------------
\r
50 Building HandBrake with jam
\r
51 =============================
\r
53 You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin.
\r
54 If you'd like to port it to another OS, email me (titer@m0k.org).
\r
56 Step 1: get needed tools
\r
60 There are usually included in your OS' dev tools. On BeOS/Zeta, the
\r
61 default gcc isn't enough, gcc 2.95.3 is required.
\r
64 I use 2.5rc3, earlier versions might cause issues.
\r
65 On BeOS, you can download it at <http://www.haiku-os.org/develop.php>.
\r
66 On OS X, you cannot use the modified jam shipped with the developer
\r
67 tools, use the one included in the Handbrake svn checkout instead.
\r
68 On Cygwin, get the jam source from
\r
69 http://public.perforce.com/public/jam/index.html,
\r
70 compile it with gcc in Cygwin, and put the jam executable somewhere on
\r
73 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
\r
75 + libtool, autoconf, automake
\r
76 To build libdca (the DTS audio extraction library) on Mac OS X via jam, you'll
\r
77 need to update the default Mac OS X versions of libtool, autoconf and automake.
\r
78 Compilation has been seen to work with libtool and libtool-shlibs v1.5.22-1000,
\r
79 autoconf v2.60-4, and automake v1.9.6-3. You can update these tools using Fink.
\r
80 Download the Fink 0.8.1 Binary Installer for your platform (PowerPC or Intel)
\r
81 from http://www.finkproject.org/download/index.php?phpLang=en and install Fink
\r
82 using the installer. If you want to use a GUI to run Fink, you can install
\r
83 FinkCommander. Download the FinkCommander 0.5.4 installer from
\r
84 http://finkcommander.sourceforge.net/ and install from the disk image. You can
\r
85 install libtool, libtool-shlibs, autoconf and automake using FinkCommander.
\r
88 There are a couple extra things required to make the code build for Cygwin.
\r
89 Make sure you have /bin and /usr/bin on your path *first*, before
\r
90 the Windows paths. Otherwise the Cygwin find.exe won't be used, and
\r
92 Also, I have not tried to build this with MinGW, I've only built it with
\r
93 the Cygwin environment, so you should build with Cygwin gcc and dev tools.
\r
94 Unfortunately this means you need to have cygwin1.dll around to run the
\r
95 HandbrakeCLI.exe program, but that's the way it is for now, until I get time
\r
96 to try building it with MinGW. If you want to try making it work with
\r
97 MinGW, then go for it!
\r
102 Run `./configure && jam'. This will build every library HandBrake
\r
103 requires, then HandBrake itself.
\r