[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 |
|
---|
[5be9f63f] | 7 | <!ENTITY libtheora-download-http "http://downloads.xiph.org/releases/theora/libtheora-&libtheora-version;.tar.xz">
|
---|
[bf1b5bf9] | 8 | <!ENTITY libtheora-download-ftp " ">
|
---|
[5be9f63f] | 9 | <!ENTITY libtheora-md5sum "9eeabf1ad65b7f41533854a59f7a716d">
|
---|
| 10 | <!ENTITY libtheora-size "1.4 MB">
|
---|
[6d09537c] | 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 |
|
---|
[5d9021ea] | 34 | &lfs74_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 |
|
---|
[31ab0f7] | 87 | <screen><userinput>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
|
---|
[1ce810f4] | 88 | ./configure --prefix=/usr --disable-static &&
|
---|
[bf1b5bf9] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>If you wish to run the tests, issue: <command>make check</command>.</para>
|
---|
| 92 |
|
---|
| 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 94 |
|
---|
[739dfc8] | 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bf1b5bf9] | 96 |
|
---|
[7bb72e0] | 97 | <para>If you wish to install the examples (so that you can hack on
|
---|
| 98 | <literal>theora</literal>), install them as the <systemitem
|
---|
| 99 | class="username">root</systemitem> user:</para>
|
---|
[bf1b5bf9] | 100 |
|
---|
| 101 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
| 102 | for E in *; do
|
---|
[7bb72e0] | 103 | install -v -m755 $E /usr/bin/theora_${E}
|
---|
| 104 | done</userinput></screen>
|
---|
[bf1b5bf9] | 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[31ab0f7] | 111 | <para>
|
---|
| 112 | <command>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c</command>:
|
---|
| 113 | This <command>sed</command> fixes build with
|
---|
| 114 | <application>libpng</application> 1.6.
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
[1ce810f4] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 118 | href="../../xincludes/static-libraries.xml"/>
|
---|
[bf1b5bf9] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Programs</segtitle>
|
---|
| 127 | <segtitle>Installed Libraries</segtitle>
|
---|
| 128 | <segtitle>Installed Directories</segtitle>
|
---|
| 129 |
|
---|
| 130 | <seglistitem>
|
---|
| 131 | <seg>None, unless you installed the examples</seg>
|
---|
[1ce810f4] | 132 | <seg>libtheora.so, libtheoraenc.so, and
|
---|
| 133 | libtheoradec.so</seg>
|
---|
[bf1b5bf9] | 134 | <seg>/usr/include/theora and /usr/share/doc/libtheora-&libtheora-version;</seg>
|
---|
| 135 | </seglistitem>
|
---|
| 136 | </segmentedlist>
|
---|
| 137 |
|
---|
| 138 | <variablelist>
|
---|
| 139 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 140 | <?dbfo list-presentation="list"?>
|
---|
| 141 | <?dbhtml list-presentation="table"?>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="libtheora-lib">
|
---|
[1ce810f4] | 144 | <term><filename class='libraryfile'>libtheora*.so</filename></term>
|
---|
[bf1b5bf9] | 145 | <listitem>
|
---|
| 146 | <para>libraries provide the functions to read and write video
|
---|
| 147 | files.</para>
|
---|
| 148 | <indexterm zone="libtheora libtheora-lib">
|
---|
[1ce810f4] | 149 | <primary sortas="c-libtheora">libtheora*.so</primary>
|
---|
[bf1b5bf9] | 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | </variablelist>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | </sect1>
|
---|