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