Tweak documentation.
authorCarl Hetherington <cth@carlh.net>
Sat, 15 Sep 2012 19:58:26 +0000 (20:58 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 15 Sep 2012 19:58:26 +0000 (20:58 +0100)
README
doc/manual/dvdomatic.xml

diff --git a/README b/README
index d79685f57e140b0bfb99fcb78d63eaa6c5909f62..fd3983c29e04f02d36f219aeb61f151eedeee0f3 100644 (file)
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ You will need these libraries:
     FFmpeg version 0.9.x or higher
     libtiff
     boost thread and filesystem
-    libopenjpeg
+    libopenjpeg 1.5.0 or higher
     wxWidgets
     libsndfile
     libssh
index cd7932ecacf75766a82f76ad59e8a021815f64c7..b222c1cd4a3819f4c1bec6affd479246585e9316 100644 (file)
@@ -117,6 +117,87 @@ dvdomatic
 in a shell.
 </para>
 
+<section>
+<title>Obtaining dependencies on Ubuntu 12.04</title>
+
+<para>
+Ubuntu 12.04 packages most of DVD-o-matic's dependencies, but some are missing.  This section
+describes how to obtain all of the dependencies.
+</para>
+
+<section>
+<title>Packaged dependencies</title>
+
+<para>
+Most of the dependencies can be obtained from Ubuntu's packages using:
+</para>
+
+<programlisting>
+sudo apt-get install libwxgtk2.8-dev libsndfile1-dev libssl-dev libssh-dev
+sudo apt-get install libmagickcore-dev libboost-filesystem-dev libboost-thread-dev
+</programlisting>
+
+</section>
+
+<section>
+<title>Unpackaged dependencies</title>
+</section>
+
+<section>
+<title>FFmpeg</title>
+
+<para>
+Ubuntu does not package FFmpeg, so you will need to build it from source.  The
+following commands should work:
+</para>
+
+<programlisting>
+git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
+cd ffmpeg
+./configure --enable-shared --enable-postproc --enable-gpl
+make
+sudo make install
+</programlisting>
+
+</section>
+
+<section>
+<title>libdcp</title>
+
+<para>
+You can build libdcp using:
+</para>
+
+<programlisting>
+wget http://carlh.net/software/libdcp-0.20.tar.bz2
+tar xjf libdcp-0.20.tar.bz2
+cd libdcp-0.20
+./waf configure
+./waf build
+sudo ./waf install
+</programlisting>
+
+</section>
+
+<section>
+<title>libopenjpeg</title>
+
+<para>
+Ubuntu does package libopenjpeg, but it is a rather old version.  To build
+the current release:
+</para>
+
+<programlisting>
+wget http://code.google.com/p/openjpeg/downloads/detail?name=openjpeg-1.5.1.tar.gz
+tar xzf openjpeg-1.5.1.tar.gz
+cd openjepg-1.5.1.tar.gz
+./configure
+make
+sudo make install
+</programlisting>
+
+</section>
+</section>
 </section>
 </chapter>