[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 |
|
---|
[f3763adf] | 32 | <para>
|
---|
| 33 | <application>libtheora</application> is a reference implementation of the
|
---|
| 34 | Theora video compression format being developed by the Xiph.Org
|
---|
| 35 | Foundation.
|
---|
| 36 | </para>
|
---|
[bf1b5bf9] | 37 |
|
---|
[b9875028] | 38 | &lfs76_checked;
|
---|
[e355f3c6] | 39 |
|
---|
[bf1b5bf9] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&libtheora-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&libtheora-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &libtheora-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &libtheora-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &libtheora-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &libtheora-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">libtheora Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 65 | <para role="required"><xref linkend="libogg"/></para>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[0c3ead8d] | 68 | <para role="recommended"><xref linkend="libvorbis"/></para>
|
---|
[bf1b5bf9] | 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f1607a4] | 71 | <para role="optional">
|
---|
| 72 | <xref linkend="sdl"/> and
|
---|
| 73 | <xref linkend="libpng"/> (both to build the example players),
|
---|
| 74 | <xref linkend="doxygen"/>,
|
---|
[2d98031c] | 75 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
[f1607a4] | 76 | <ulink url="http://bibtexml.sourceforge.net">BibTex</ulink>, and
|
---|
| 77 | <ulink url="http://www.xfig.org/">Transfig</ulink>
|
---|
| 78 | (all four to build the API documentation), and
|
---|
| 79 | <xref linkend="valgrind"/>
|
---|
| 80 | </para>
|
---|
[bf1b5bf9] | 81 |
|
---|
| 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url='&blfs-wiki;/Libtheora'/></para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of libtheora</title>
|
---|
| 89 |
|
---|
| 90 | <para>Install <application>libtheora</application> by running the following
|
---|
| 91 | commands:</para>
|
---|
| 92 |
|
---|
[31ab0f7] | 93 | <screen><userinput>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
|
---|
[1ce810f4] | 94 | ./configure --prefix=/usr --disable-static &&
|
---|
[bf1b5bf9] | 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | <para>If you wish to run the tests, issue: <command>make check</command>.</para>
|
---|
| 98 |
|
---|
| 99 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 100 |
|
---|
[739dfc8] | 101 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bf1b5bf9] | 102 |
|
---|
[7bb72e0] | 103 | <para>If you wish to install the examples (so that you can hack on
|
---|
| 104 | <literal>theora</literal>), install them as the <systemitem
|
---|
| 105 | class="username">root</systemitem> user:</para>
|
---|
[bf1b5bf9] | 106 |
|
---|
| 107 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
| 108 | for E in *; do
|
---|
[7bb72e0] | 109 | install -v -m755 $E /usr/bin/theora_${E}
|
---|
| 110 | done</userinput></screen>
|
---|
[bf1b5bf9] | 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
[31ab0f7] | 117 | <para>
|
---|
| 118 | <command>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c</command>:
|
---|
| 119 | This <command>sed</command> fixes build with
|
---|
| 120 | <application>libpng</application> 1.6.
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
[1ce810f4] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 124 | href="../../xincludes/static-libraries.xml"/>
|
---|
[bf1b5bf9] | 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
| 132 | <segtitle>Installed Programs</segtitle>
|
---|
| 133 | <segtitle>Installed Libraries</segtitle>
|
---|
| 134 | <segtitle>Installed Directories</segtitle>
|
---|
| 135 |
|
---|
| 136 | <seglistitem>
|
---|
| 137 | <seg>None, unless you installed the examples</seg>
|
---|
[1ce810f4] | 138 | <seg>libtheora.so, libtheoraenc.so, and
|
---|
| 139 | libtheoradec.so</seg>
|
---|
[bf1b5bf9] | 140 | <seg>/usr/include/theora and /usr/share/doc/libtheora-&libtheora-version;</seg>
|
---|
| 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="libtheora-lib">
|
---|
[1ce810f4] | 150 | <term><filename class='libraryfile'>libtheora*.so</filename></term>
|
---|
[bf1b5bf9] | 151 | <listitem>
|
---|
| 152 | <para>libraries provide the functions to read and write video
|
---|
| 153 | files.</para>
|
---|
| 154 | <indexterm zone="libtheora libtheora-lib">
|
---|
[1ce810f4] | 155 | <primary sortas="c-libtheora">libtheora*.so</primary>
|
---|
[bf1b5bf9] | 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | </variablelist>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | </sect1>
|
---|