OSDN Git Service

import 0.9.4
[handbrake-jp/handbrake-jp.git] / BUILD
1 $Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $
2
3 BUILD file for HandBrake <http://handbrake.fr/>
4
5 Building HandBrake with make
6 =============================
7
8 Step 1: get needed tools
9 ==============
10
11 + gcc and g++
12     There are usually included in your OS' dev tools. On BeOS/Zeta, the
13     default gcc isn't enough, gcc 2.95.3 is required.
14
15 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
16
17 Cygwin:
18         See Trac > Windows Compile Guide
19
20 Step 2: configuration
21 ==============
22
23 The HB_BUILD and HB_VERSION are defined in a single file, the Makefile correct the values in Xcode too.
24
25 The file where the informations are stored is Makefile.config
26
27 Step 3: build
28 ==============
29
30 Run `make'. This will build libhb, Handbrake and HandBrakeCLI as Universal Binary.
31 This build method use precompiled contrib libraries. Script to build those binaries are provided too.
32 All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs.
33
34 # To build under Cygwin simply use the command:
35 make HandbrakeCLI
36
37 This will download pre-compiled libaries and build the handbrake source.
38
39 -----------------------------------------------------------------------------------------------------
40
41 Building HandBrake with jam
42 =============================
43
44 You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin.
45 If you'd like to port it to another OS, email me (titer@m0k.org).
46
47 Step 1: get needed tools
48 ==============
49
50 + gcc and g++
51     There are usually included in your OS' dev tools. On BeOS/Zeta, the
52     default gcc isn't enough, gcc 2.95.3 is required.
53
54 + jam
55     I use 2.5rc3, earlier versions might cause issues.
56     On BeOS, you can download it at <http://www.haiku-os.org/develop.php>.
57     On OS X, you cannot use the modified jam shipped with the developer
58     tools, use the one included in the Handbrake svn checkout instead.
59     On Cygwin, get the jam source from
60     http://public.perforce.com/public/jam/index.html,
61     compile it with gcc in Cygwin, and put the jam executable somewhere on
62     your path.
63
64 + nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)
65
66 + libtool, autoconf, automake
67     To build libdca (the DTS audio extraction library) on Mac OS X via jam, you'll
68     need to update the default Mac OS X versions of libtool, autoconf and automake.
69     Compilation has been seen to work with libtool and libtool-shlibs v1.5.22-1000,
70     autoconf v2.60-4, and automake v1.9.6-3.  You can update these tools using Fink.
71     Download the Fink 0.8.1 Binary Installer for your platform (PowerPC or Intel)
72     from http://www.finkproject.org/download/index.php?phpLang=en and install Fink
73     using the installer.  If you want to use a GUI to run Fink, you can install
74     FinkCommander.  Download the FinkCommander 0.5.4 installer from
75     http://finkcommander.sourceforge.net/ and install from the disk image.  You can
76     install libtool, libtool-shlibs, autoconf and automake using FinkCommander.
77
78 Cygwin:
79         See Trac > Windows Compile Guide
80
81 Step 2: build
82 ==============
83
84 Run `./configure && jam'. This will build every library HandBrake
85 requires, then HandBrake itself.