OSDN Git Service

Back out the GUI handling code for native language prefs.
[handbrake-jp/handbrake-jp-git.git] / BUILD
diff --git a/BUILD b/BUILD
index 40da5e7..d69e7da 100644 (file)
--- a/BUILD
+++ b/BUILD
-$Id: BUILD,v 1.2 2004/02/13 13:45:50 titer Exp $
-
-BUILD file for HandBrake <http://handbrake.m0k.org/>
-
-Building HandBrake
-==================
-
-Step 1: get jam
-===============
-
-Jam <http://www.perforce.com/jam/jam.html> is a make replacement.
-Get it for your operating system:
- + OS X: get <http://handbrake.m0k.org/files/jam-2.5rc3-OSX.zip> and
-   copy jam to /usr/local/bin/. Do not use the modified jam shipped with
-   the developer tools (/Developer/Private/jam).
- + Debian: `apt-get install jam'
-Or get the sources from the link above and compile it yourself.
-
-Step 2 (optional): set custom compiler flags
-============================================
-
-If you want to optimize the build for a specific CPU, edit the Jamrules
-file and modify the "OPTIM = ..." line by adding the needed flags.
-
-Step 3: build
-=============
-
-Run `jam'. This will build every library HandBrake requires, then
-HandBrake itself.
-
+$Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $\r
+\r
+BUILD file for HandBrake <http://handbrake.m0k.org/>\r
+\r
+Building HandBrake with make\r
+=============================\r
+\r
+Step 1: get needed tools\r
+==============\r
+\r
++ gcc and g++\r
+    There are usually included in your OS' dev tools. On BeOS/Zeta, the\r
+    default gcc isn't enough, gcc 2.95.3 is required.\r
+\r
++ nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)\r
+\r
+Cygwin setup:\r
+    There are a couple extra things required to make the code build for Cygwin.\r
+    Make sure you have /bin and /usr/bin on your path *first*, before\r
+    the Windows paths.  Otherwise the Cygwin find.exe won't be used, and\r
+    lame won't build.\r
+    Also, I have not tried to build this with MinGW, I've only built it with\r
+    the Cygwin environment, so you should build with Cygwin gcc and dev tools.\r
+    Unfortunately this means you need to have cygwin1.dll around to run the\r
+    HandbrakeCLI.exe program, but that's the way it is for now, until I get time\r
+    to try building it with MinGW.  If you want to try making it work with\r
+    MinGW, then go for it!\r
+\r
+Step 2: configuration\r
+==============\r
+\r
+The HB_BUILD and HB_VERSION are defined in a single file, the Makefile correct the values in Xcode too.\r
+\r
+The file where the informations are stored is Makefile.config\r
+\r
+Step 3: build\r
+==============\r
+\r
+Run `make'. This will build libhb, Handbrake and HandBrakeCLI as Universal Binary.\r
+This build method use precompiled contrib libraries. Script to build those binaries are provided too.\r
+All the build is handled by Xcode 2.4.1, should work on powerPC and Intel Macs.\r
+\r
+# To build under Cygwin simply use the command:\r
+make HandbrakeCLI\r
+\r
+This will download pre-compiled libaries and build the handbrake source.\r
+\r
+-----------------------------------------------------------------------------------------------------\r
+\r
+Building HandBrake with jam\r
+=============================\r
+\r
+You can build HandBrake on BeOS, MacOS X, Linux, and on Windows using Cygwin.\r
+If you'd like to port it to another OS, email me (titer@m0k.org).\r
+\r
+Step 1: get needed tools\r
+==============\r
+\r
++ gcc and g++\r
+    There are usually included in your OS' dev tools. On BeOS/Zeta, the\r
+    default gcc isn't enough, gcc 2.95.3 is required.\r
+\r
++ jam\r
+    I use 2.5rc3, earlier versions might cause issues.\r
+    On BeOS, you can download it at <http://www.haiku-os.org/develop.php>.\r
+    On OS X, you cannot use the modified jam shipped with the developer\r
+    tools, use the one included in the Handbrake svn checkout instead.\r
+    On Cygwin, get the jam source from\r
+    http://public.perforce.com/public/jam/index.html,\r
+    compile it with gcc in Cygwin, and put the jam executable somewhere on\r
+    your path.\r
+\r
++ nasm (Only for x86. On Mac OS X Intel, Xcode 2.4.1 include it)\r
+\r
++ libtool, autoconf, automake\r
+    To build libdca (the DTS audio extraction library) on Mac OS X via jam, you'll\r
+    need to update the default Mac OS X versions of libtool, autoconf and automake.\r
+    Compilation has been seen to work with libtool and libtool-shlibs v1.5.22-1000,\r
+    autoconf v2.60-4, and automake v1.9.6-3.  You can update these tools using Fink.\r
+    Download the Fink 0.8.1 Binary Installer for your platform (PowerPC or Intel)\r
+    from http://www.finkproject.org/download/index.php?phpLang=en and install Fink\r
+    using the installer.  If you want to use a GUI to run Fink, you can install\r
+    FinkCommander.  Download the FinkCommander 0.5.4 installer from\r
+    http://finkcommander.sourceforge.net/ and install from the disk image.  You can\r
+    install libtool, libtool-shlibs, autoconf and automake using FinkCommander.\r
+\r
+Cygwin setup:\r
+    There are a couple extra things required to make the code build for Cygwin.\r
+    Make sure you have /bin and /usr/bin on your path *first*, before\r
+    the Windows paths.  Otherwise the Cygwin find.exe won't be used, and\r
+    lame won't build.\r
+    Also, I have not tried to build this with MinGW, I've only built it with\r
+    the Cygwin environment, so you should build with Cygwin gcc and dev tools.\r
+    Unfortunately this means you need to have cygwin1.dll around to run the\r
+    HandbrakeCLI.exe program, but that's the way it is for now, until I get time\r
+    to try building it with MinGW.  If you want to try making it work with\r
+    MinGW, then go for it!\r
+\r
+Step 2: build\r
+==============\r
+\r
+Run `./configure && jam'. This will build every library HandBrake\r
+requires, then HandBrake itself.\r