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 " ">
|
---|
9 | <!ENTITY libtheora-md5sum "c963937053f45a7878954bed37ceb182">
|
---|
10 | <!ENTITY libtheora-size "1.6 MB">
|
---|
11 | <!ENTITY libtheora-buildsize "9.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>Theora is a free and open video compression format.</para>
|
---|
33 |
|
---|
34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
35 | <itemizedlist spacing="compact">
|
---|
36 | <listitem>
|
---|
37 | <para>Download (HTTP): <ulink url="&libtheora-download-http;"/></para>
|
---|
38 | </listitem>
|
---|
39 | <listitem>
|
---|
40 | <para>Download (FTP): <ulink url="&libtheora-download-ftp;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download MD5 sum: &libtheora-md5sum;</para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download size: &libtheora-size;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Estimated disk space required: &libtheora-buildsize;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated build time: &libtheora-time;</para>
|
---|
53 | </listitem>
|
---|
54 | </itemizedlist>
|
---|
55 |
|
---|
56 | <bridgehead renderas="sect3">libtheora Dependencies</bridgehead>
|
---|
57 |
|
---|
58 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
59 | <para role="required"><xref linkend="libogg"/></para>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
62 | <para role="optional"><xref linkend="pkgconfig"/> and
|
---|
63 | <xref linkend="libvorbis"/></para>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
66 | <para role="optional"><xref linkend="sdl"/> and
|
---|
67 | <xref linkend="libpng"/> (both to build the example players),
|
---|
68 | <xref linkend="doxygen"/>, <xref linkend="tetex"/>,
|
---|
69 | <ulink url="http://bibtexml.sourceforge.net">BibTex</ulink>, and
|
---|
70 | <ulink url="http://www.xfig.org/">Transfig</ulink>
|
---|
71 | (all four to build the API documentation),
|
---|
72 | <ulink url="http://www.valgrind.org">Valgrind</ulink></para>
|
---|
73 |
|
---|
74 | <para condition="html" role="usernotes">User Notes:
|
---|
75 | <ulink url='&blfs-wiki;/Libtheora'/></para>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of libtheora</title>
|
---|
81 |
|
---|
82 | <para>Install <application>libtheora</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>./configure --prefix=/usr &&
|
---|
86 | make</userinput></screen>
|
---|
87 |
|
---|
88 | <para>If you wish to run the tests, issue: <command>make check</command>.</para>
|
---|
89 |
|
---|
90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
91 |
|
---|
92 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
93 |
|
---|
94 | <para>If you built the examples and wish to install them (so that you can hack on
|
---|
95 | <literal>theora</literal>):</para>
|
---|
96 |
|
---|
97 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
98 | for E in *; do
|
---|
99 | install -v -m755 $E /usr/bin/theora_${E}; done</userinput></screen>
|
---|
100 |
|
---|
101 | </sect2>
|
---|
102 |
|
---|
103 | <sect2 role="commands">
|
---|
104 | <title>Command Explanations</title>
|
---|
105 |
|
---|
106 | <para><option>--disable-static</option>: This switch prevents building static
|
---|
107 | libraries.</para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="content">
|
---|
112 | <title>Contents</title>
|
---|
113 |
|
---|
114 | <segmentedlist>
|
---|
115 | <segtitle>Installed Programs</segtitle>
|
---|
116 | <segtitle>Installed Libraries</segtitle>
|
---|
117 | <segtitle>Installed Directories</segtitle>
|
---|
118 |
|
---|
119 | <seglistitem>
|
---|
120 | <seg>None, unless you installed the examples</seg>
|
---|
121 | <seg>libtheora.{so,a}, libtheoraenc.{so,a}, and
|
---|
122 | libtheoradec.{so,a}</seg>
|
---|
123 | <seg>/usr/include/theora and /usr/share/doc/libtheora-&libtheora-version;</seg>
|
---|
124 | </seglistitem>
|
---|
125 | </segmentedlist>
|
---|
126 |
|
---|
127 | <variablelist>
|
---|
128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
129 | <?dbfo list-presentation="list"?>
|
---|
130 | <?dbhtml list-presentation="table"?>
|
---|
131 |
|
---|
132 | <varlistentry id="libtheora-lib">
|
---|
133 | <term><filename class='libraryfile'>libtheora*.{so,a}</filename></term>
|
---|
134 | <listitem>
|
---|
135 | <para>libraries provide the functions to read and write video
|
---|
136 | files.</para>
|
---|
137 | <indexterm zone="libtheora libtheora-lib">
|
---|
138 | <primary sortas="c-libtheora">libtheora*.{so,a}</primary>
|
---|
139 | </indexterm>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 |
|
---|
143 | </variablelist>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | </sect1>
|
---|