[bf1b5bf9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libtheora-download-http "http://downloads.xiph.org/releases/theora/libtheora-&libtheora-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libtheora-download-ftp " ">
|
---|
[6d09537c] | 9 | <!ENTITY libtheora-md5sum "292ab65cedd5021d6b7ddd117e07cd8e">
|
---|
| 10 | <!ENTITY libtheora-size "1.85 MB">
|
---|
| 11 | <!ENTITY libtheora-buildsize "13.4 MB (without static libs or API docs and without installing the examples)">
|
---|
[bf1b5bf9] | 12 | <!ENTITY libtheora-time "0.2 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libtheora" xreflabel="libtheora-&libtheora-version;">
|
---|
| 16 | <?dbhtml filename="libtheora.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[739dfc8] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[bf1b5bf9] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libtheora-&libtheora-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libtheora">
|
---|
| 26 | <primary sortas="a-Libtheora">Libtheora</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libtheora</title>
|
---|
| 31 |
|
---|
| 32 | <para>Theora is a free and open video compression format.</para>
|
---|
| 33 |
|
---|
[c0135e8c] | 34 | &lfs72_checked;
|
---|
[e355f3c6] | 35 |
|
---|
[bf1b5bf9] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&libtheora-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&libtheora-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &libtheora-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &libtheora-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &libtheora-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &libtheora-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">libtheora Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 61 | <para role="required"><xref linkend="libogg"/></para>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[0c3ead8d] | 64 | <para role="recommended"><xref linkend="libvorbis"/></para>
|
---|
[bf1b5bf9] | 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 67 | <para role="optional"><xref linkend="sdl"/> and
|
---|
| 68 | <xref linkend="libpng"/> (both to build the example players),
|
---|
[f1e103a] | 69 | <xref linkend="doxygen"/>,
|
---|
[8aeb474] | 70 | <xref linkend="texlive"/>,
|
---|
[bf1b5bf9] | 71 | <ulink url="http://bibtexml.sourceforge.net">BibTex</ulink>, and
|
---|
| 72 | <ulink url="http://www.xfig.org/">Transfig</ulink>
|
---|
| 73 | (all four to build the API documentation),
|
---|
| 74 | <ulink url="http://www.valgrind.org">Valgrind</ulink></para>
|
---|
| 75 |
|
---|
| 76 | <para condition="html" role="usernotes">User Notes:
|
---|
| 77 | <ulink url='&blfs-wiki;/Libtheora'/></para>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of libtheora</title>
|
---|
| 83 |
|
---|
| 84 | <para>Install <application>libtheora</application> by running the following
|
---|
| 85 | commands:</para>
|
---|
| 86 |
|
---|
| 87 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 88 | make</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | <para>If you wish to run the tests, issue: <command>make check</command>.</para>
|
---|
| 91 |
|
---|
| 92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 93 |
|
---|
[739dfc8] | 94 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bf1b5bf9] | 95 |
|
---|
| 96 | <para>If you built the examples and wish to install them (so that you can hack on
|
---|
| 97 | <literal>theora</literal>):</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
| 100 | for E in *; do
|
---|
| 101 | install -v -m755 $E /usr/bin/theora_${E}; done</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
| 107 |
|
---|
| 108 | <para><option>--disable-static</option>: This switch prevents building static
|
---|
| 109 | libraries.</para>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
| 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Libraries</segtitle>
|
---|
| 119 | <segtitle>Installed Directories</segtitle>
|
---|
| 120 |
|
---|
| 121 | <seglistitem>
|
---|
| 122 | <seg>None, unless you installed the examples</seg>
|
---|
| 123 | <seg>libtheora.{so,a}, libtheoraenc.{so,a}, and
|
---|
| 124 | libtheoradec.{so,a}</seg>
|
---|
| 125 | <seg>/usr/include/theora and /usr/share/doc/libtheora-&libtheora-version;</seg>
|
---|
| 126 | </seglistitem>
|
---|
| 127 | </segmentedlist>
|
---|
| 128 |
|
---|
| 129 | <variablelist>
|
---|
| 130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 131 | <?dbfo list-presentation="list"?>
|
---|
| 132 | <?dbhtml list-presentation="table"?>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="libtheora-lib">
|
---|
| 135 | <term><filename class='libraryfile'>libtheora*.{so,a}</filename></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>libraries provide the functions to read and write video
|
---|
| 138 | files.</para>
|
---|
| 139 | <indexterm zone="libtheora libtheora-lib">
|
---|
| 140 | <primary sortas="c-libtheora">libtheora*.{so,a}</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
| 144 |
|
---|
| 145 | </variablelist>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | </sect1>
|
---|