source: archive/libtheora.xml

trunk
Last change on this file was 01b8994d, checked in by Bruce Dubbs <bdubbs@…>, 3 months ago

Archive libtheora

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