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.xz">
|
---|
8 | <!ENTITY libtheora-download-ftp " ">
|
---|
9 | <!ENTITY libtheora-md5sum "9eeabf1ad65b7f41533854a59f7a716d">
|
---|
10 | <!ENTITY libtheora-size "1.4 MB">
|
---|
11 | <!ENTITY libtheora-buildsize "13.4 MB (without static libs or API docs and without installing the examples)">
|
---|
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>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
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>
|
---|
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>
|
---|
37 |
|
---|
38 | &lfs77_checked; &gcc5_checked;
|
---|
39 |
|
---|
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>
|
---|
68 | <para role="recommended"><xref linkend="libvorbis"/></para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
71 | <para role="optional">
|
---|
72 | <xref linkend="sdl"/> and
|
---|
73 | <xref linkend="libpng"/> (both to build the example players),
|
---|
74 | <xref linkend="doxygen"/>,
|
---|
75 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
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>
|
---|
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 |
|
---|
93 | <screen><userinput>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
|
---|
94 | ./configure --prefix=/usr --disable-static &&
|
---|
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 |
|
---|
101 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
102 |
|
---|
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>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
108 | for E in *; do
|
---|
109 | install -v -m755 $E /usr/bin/theora_${E}
|
---|
110 | done</userinput></screen>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="commands">
|
---|
115 | <title>Command Explanations</title>
|
---|
116 |
|
---|
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 |
|
---|
123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
124 | href="../../xincludes/static-libraries.xml"/>
|
---|
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>
|
---|
138 | <seg>libtheora.so, libtheoraenc.so, and
|
---|
139 | libtheoradec.so</seg>
|
---|
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">
|
---|
150 | <term><filename class='libraryfile'>libtheora*.so</filename></term>
|
---|
151 | <listitem>
|
---|
152 | <para>libraries provide the functions to read and write video
|
---|
153 | files.</para>
|
---|
154 | <indexterm zone="libtheora libtheora-lib">
|
---|
155 | <primary sortas="c-libtheora">libtheora*.so</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | </variablelist>
|
---|
161 |
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | </sect1>
|
---|