source: multimedia/libdriv/libtheora.xml@ 2eeb8695

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2eeb8695 was 2eeb8695, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format multimedia chapter

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22821 af4574ff-66df-0310-9fd7-8a98e5e911e0

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