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 xine-lib-download-http
|
---|
8 | "&sourceforge-repo;/xine/xine-lib-&xine-lib-version;.tar.xz">
|
---|
9 | <!ENTITY xine-lib-download-ftp
|
---|
10 | "&gentoo-ftp-repo;/xine-lib-&xine-lib-version;.tar.xz">
|
---|
11 | <!ENTITY xine-lib-md5sum "02ee3c2380273989b4b016903209e05e">
|
---|
12 | <!ENTITY xine-lib-size "4.8 MB">
|
---|
13 | <!ENTITY xine-lib-buildsize "121 MB (additional 123 MB to install API documentation)">
|
---|
14 | <!ENTITY xine-lib-time "1.4 SBU (additional 0.1 SBU to install API documentation)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="xine-lib" xreflabel="xine-lib-&xine-lib-version;">
|
---|
18 | <?dbhtml filename="xine-lib.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>xine-lib-&xine-lib-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="xine-lib">
|
---|
28 | <primary sortas="a-Xine-Libraries">Xine Libraries</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to Xine Libraries</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | The <application>Xine Libraries</application> package contains xine
|
---|
36 | libraries. These are useful for interfacing with external plug-ins that
|
---|
37 | allow the flow of information from the source to the audio and video
|
---|
38 | hardware.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs75_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>Download (HTTP): <ulink url="&xine-lib-download-http;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download (FTP): <ulink url="&xine-lib-download-ftp;"/></para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download MD5 sum: &xine-lib-md5sum;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Download size: &xine-lib-size;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated disk space required: &xine-lib-buildsize;</para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Estimated build time: &xine-lib-time;</para>
|
---|
62 | </listitem>
|
---|
63 | </itemizedlist>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
68 | <para role="required">
|
---|
69 | <xref linkend="x-window-system"/>,
|
---|
70 | <xref linkend="ffmpeg"/>, and at least one of:
|
---|
71 | <xref linkend="alsa"/>,
|
---|
72 | <xref linkend='pulseaudio'/> or
|
---|
73 | <ulink url="http://jackaudio.org/">JACK</ulink>
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="optional">
|
---|
78 | <xref linkend="aalib"/>,
|
---|
79 | <xref linkend="faad2"/>,
|
---|
80 | <xref linkend="flac"/>,
|
---|
81 | <xref linkend="gdk-pixbuf"/>,
|
---|
82 | <xref linkend="glu"/>,
|
---|
83 | <xref linkend="imagemagick"/>,
|
---|
84 | <xref linkend="liba52"/>,
|
---|
85 | <xref linkend="libdvdnav"/>,
|
---|
86 | <xref linkend="libmad"/>,
|
---|
87 | <xref linkend="libmng"/>,
|
---|
88 | <xref linkend="libtheora"/>,
|
---|
89 | <xref linkend="libva"/>,
|
---|
90 | <xref linkend="libvdpau"/>,
|
---|
91 | <xref linkend="libvorbis"/>,
|
---|
92 | <xref linkend="libvpx"/>,
|
---|
93 | <xref linkend="mesalib"/>,
|
---|
94 | <xref linkend="samba"/>,
|
---|
95 | <xref linkend="sdl"/>,
|
---|
96 | <xref linkend="speex"/>,
|
---|
97 | <xref linkend="doxygen"/> (to create the API documentation),
|
---|
98 | <ulink url="http://www.directfb.org">DirectFB</ulink>,
|
---|
99 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
100 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
101 | <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
102 | <ulink url="http://fame.sourceforge.net">libFAME</ulink>,
|
---|
103 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
104 | <ulink url="http://www.musepack.net/">musepack</ulink>,
|
---|
105 | <ulink url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink>,
|
---|
106 | <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>, and
|
---|
107 | <ulink url="http://www.wavpack.com/">WavPack</ulink>,
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <para condition="html" role="usernotes">
|
---|
111 | User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
|
---|
112 | </para>
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="installation">
|
---|
116 | <title>Installation of Xine Libraries</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Install <application>Xine Libraries</application> by running the following
|
---|
120 | commands:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen><userinput>./configure --prefix=/usr \
|
---|
124 | --disable-vcd \
|
---|
125 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
126 | make</userinput></screen>
|
---|
127 |
|
---|
128 | <para>To create the API documentation, <application>Doxygen</application>
|
---|
129 | must be installed and issue the following command:</para>
|
---|
130 |
|
---|
131 | <screen><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
132 |
|
---|
133 | <para>This package does not come with a test suite.</para>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
140 |
|
---|
141 | <note><para>
|
---|
142 | When installing, the Makefile does some additional
|
---|
143 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
144 | variable needs to be defined for the root user. If
|
---|
145 | using sudo to assume root, use the -E option to pass
|
---|
146 | your current environment variables for the install process.
|
---|
147 | </para></note>
|
---|
148 |
|
---|
149 | <para>If you built the API documentation, issue the following commands as
|
---|
150 | the <systemitem class="username">root</systemitem> user to install it:</para>
|
---|
151 |
|
---|
152 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
153 | install -v -m644 doc/api/* \
|
---|
154 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <sect2 role="commands">
|
---|
158 | <title>Command Explanations</title>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <parameter>--disable-vcd</parameter>: This option is required to compile
|
---|
162 | <application>Xine Lib</application> without
|
---|
163 | <ulink url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink>
|
---|
164 | installed. Remove this option if you have installed VCDImager.
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | <parameter>--docdir=/usr/share/xine-lib-&xine-lib-version;</parameter>: This
|
---|
169 | switch causes the documentation to be installed into a versioned
|
---|
170 | directory instead of the default
|
---|
171 | <filename class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | <sect2 role="content">
|
---|
177 | <title>Contents</title>
|
---|
178 |
|
---|
179 | <segmentedlist>
|
---|
180 | <segtitle>Installed Programs</segtitle>
|
---|
181 | <segtitle>Installed Libraries</segtitle>
|
---|
182 | <segtitle>Installed Fonts</segtitle>
|
---|
183 | <segtitle>Installed Directories</segtitle>
|
---|
184 |
|
---|
185 | <seglistitem>
|
---|
186 | <seg>xine-config and xine-list-1.2</seg>
|
---|
187 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
188 | /usr/lib/xine/plugins/2.4</seg>
|
---|
189 | <seg>
|
---|
190 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
191 | </seg>
|
---|
192 | <seg>
|
---|
193 | /usr/include/xine,
|
---|
194 | /usr/lib/xine,
|
---|
195 | /usr/share/xine-lib, and
|
---|
196 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
197 | </seg>
|
---|
198 | </seglistitem>
|
---|
199 | </segmentedlist>
|
---|
200 |
|
---|
201 | <variablelist>
|
---|
202 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
203 | <?dbfo list-presentation="list"?>
|
---|
204 | <?dbhtml list-presentation="table"?>
|
---|
205 |
|
---|
206 | <varlistentry id="xine-config">
|
---|
207 | <term><command>xine-config</command></term>
|
---|
208 | <listitem>
|
---|
209 | <para>
|
---|
210 | provides information to programs trying to link with the
|
---|
211 | <application>xine</application> libraries.
|
---|
212 | </para>
|
---|
213 | <indexterm zone="xine-lib xine-config">
|
---|
214 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
215 | </indexterm>
|
---|
216 | </listitem>
|
---|
217 | </varlistentry>
|
---|
218 |
|
---|
219 | <varlistentry id="xine-list-1.2">
|
---|
220 | <term><command>xine-list-1.2</command></term>
|
---|
221 | <listitem>
|
---|
222 | <para>
|
---|
223 | is used to get supported filetype information from
|
---|
224 | <application>xine-lib</application>.
|
---|
225 | </para>
|
---|
226 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
227 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="libxine">
|
---|
233 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
234 | <listitem>
|
---|
235 | <para> provides the API for processing audio/video files.</para>
|
---|
236 | <indexterm zone="xine-lib libxine">
|
---|
237 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
238 | </indexterm>
|
---|
239 | </listitem>
|
---|
240 | </varlistentry>
|
---|
241 | </variablelist>
|
---|
242 | </sect2>
|
---|
243 | </sect1>
|
---|