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 "&sourceforge-repo;/xine/xine-lib-&xine-lib-version;.tar.xz">
|
---|
8 | <!ENTITY xine-lib-download-ftp "&gentoo-ftp-repo;/xine-lib-&xine-lib-version;.tar.xz">
|
---|
9 | <!ENTITY xine-lib-md5sum "2227791afa6edb17f2b768365a7fb27f">
|
---|
10 | <!ENTITY xine-lib-size "4.6 MB">
|
---|
11 | <!ENTITY xine-lib-buildsize "107 MB (without the API documentation)">
|
---|
12 | <!ENTITY xine-lib-time "1.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xine-lib" xreflabel="xine Libraries-&xine-lib-version;">
|
---|
16 | <?dbhtml filename="xine-lib.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Xine Libraries-&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>The <application>xine Libraries</application> package contains xine
|
---|
33 | libraries. These are useful for interfacing with external plug-ins that
|
---|
34 | allow the flow of information from the source to the screen and
|
---|
35 | speakers.</para>
|
---|
36 |
|
---|
37 | &lfs70_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&xine-lib-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&xine-lib-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &xine-lib-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &xine-lib-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &xine-lib-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &xine-lib-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
64 | <para role="required">
|
---|
65 | <xref linkend="x-window-system"/>,
|
---|
66 | <xref linkend="ffmpeg"/>, and at least one of:
|
---|
67 | <xref linkend="alsa"/>,
|
---|
68 | <xref linkend="esound"/>,
|
---|
69 | OSS,
|
---|
70 | <xref linkend="arts"/>,
|
---|
71 | <xref linkend='pulseaudio'/> or
|
---|
72 | <ulink url="http://jackaudio.org/">JACK</ulink>
|
---|
73 | </para>
|
---|
74 |
|
---|
75 | <!-- <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
76 | <para role="recommended"><xref linkend="pkgconfig"/></para> -->
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
79 | <para role="optional">
|
---|
80 | <xref linkend="flac"/>,
|
---|
81 | <xref linkend="libtheora"/>,
|
---|
82 | <xref linkend="libvorbis"/>,
|
---|
83 | <xref linkend="sdl"/>,
|
---|
84 | <xref linkend="speex"/>,
|
---|
85 | <xref linkend="libfame"/>,
|
---|
86 | <xref linkend="libmng"/>,
|
---|
87 | <xref linkend="gnome-vfs"/>,
|
---|
88 | <xref linkend="libmad"/>,
|
---|
89 | <xref linkend="imagemagick"/>,
|
---|
90 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
91 | <xref linkend="libdvdnav"/>,
|
---|
92 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
93 | <ulink
|
---|
94 | url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
95 | <xref linkend="aalib"/>,
|
---|
96 | <xref linkend="liba52"/>,
|
---|
97 | <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
|
---|
98 | <ulink url="http://www.vcdimager.org/">VCDImager</ulink>,
|
---|
99 | <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
|
---|
100 | libdts (now <ulink
|
---|
101 | url="http://www.videolan.org/developers/libdca.html">libdca</ulink>),
|
---|
102 | <ulink url="http://www.wavpack.com/">WavPack</ulink>, and
|
---|
103 | <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para>The following are needed to build the API documentation:
|
---|
107 | <ulink
|
---|
108 | url="http://sourceforge.net/projects/sgmltools-lite/">sgmltools-lite</ulink>
|
---|
109 | and <ulink url="http://www.xfig.org/">Transfig</ulink></para>
|
---|
110 |
|
---|
111 | <para condition="html" role="usernotes">User Notes:
|
---|
112 | <ulink url="&blfs-wiki;/xine-lib"/></para>
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="installation">
|
---|
116 | <title>Installation of Xine Libraries</title>
|
---|
117 |
|
---|
118 | <para>Install <application>xine Libraries</application> by running the
|
---|
119 | following commands:</para>
|
---|
120 |
|
---|
121 | <screen><userinput>sed -i 's#gzgetc(#gzgetc_(#' src/xine-engine/osd.c &&
|
---|
122 | ./configure --prefix=/usr --disable-musepack --disable-vcd \
|
---|
123 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
124 | make</userinput></screen>
|
---|
125 |
|
---|
126 | <para>This package does not come with a test suite.</para>
|
---|
127 |
|
---|
128 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
129 | user:</para>
|
---|
130 |
|
---|
131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | <sect2 role="commands">
|
---|
135 | <title>Command Explanations</title>
|
---|
136 |
|
---|
137 | <para><command>sed -i 's#gzgetc(#gzgetc_(#' ...</command>: This sed fixes
|
---|
138 | compiling <application>xine-lib</application> if you have zlib-1.2.6
|
---|
139 | installed.</para>
|
---|
140 |
|
---|
141 | <para><option>--disable-musepack</option>: Remove this option if you've
|
---|
142 | installed <ulink url="http://www.musepack.net/">libmpcdec</ulink>.</para>
|
---|
143 |
|
---|
144 | <para><option>--disable-vcd</option>: Remove this option if you've
|
---|
145 | installed <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>
|
---|
146 | and <ulink url="http://www.vcdimager.org/">VCDImager</ulink>.</para>
|
---|
147 |
|
---|
148 | <para><option>--docdir=/usr/share/xine-lib-&xine-lib-version;</option>:
|
---|
149 | This switch causes the documentation to be installed into a versioned
|
---|
150 | directory instead of the default
|
---|
151 | <filename class="directory">/usr/share/doc/xine-lib</filename>.</para>
|
---|
152 |
|
---|
153 | <para><option>--disable-xinerama</option>: Use this option if you didn't
|
---|
154 | install libXinerama when you installed
|
---|
155 | <xref linkend="x-window-system"/>.</para>
|
---|
156 |
|
---|
157 | <para><option>--with-xv-path=/path/to/somewhere</option>: if
|
---|
158 | <filename>libXv.so</filename> is not installed in
|
---|
159 | <filename class="directory">/usr/X11R6/lib</filename> nor in
|
---|
160 | <filename class="directory">/usr/lib</filename> you will need to tell
|
---|
161 | the <command>configure</command> command where to find it.</para>
|
---|
162 |
|
---|
163 | <para><option>--with-external-dvdnav</option>: If you have installed
|
---|
164 | <xref linkend="libdvdnav"/> use this option to make
|
---|
165 | <application>Xine-lib</application> link its
|
---|
166 | <filename class="libraryfile">xineplug_decode_dxr3_spu.so</filename>,
|
---|
167 | <filename class="libraryfile">xineplug_decode_spu.so</filename> and
|
---|
168 | <filename class="libraryfile">xineplug_inp_dvd.so</filename> plugins to
|
---|
169 | <application>Libdvdnav</application>.</para>
|
---|
170 |
|
---|
171 | <para><option>--enable-a52dec=external</option>: If you have installed
|
---|
172 | <xref linkend="liba52"/> use this option to make
|
---|
173 | <application>Xine-lib</application> link its
|
---|
174 | <filename class="libraryfile">xineplug_decode_a52.so</filename> plugin to
|
---|
175 | <application>Liba52</application>.</para>
|
---|
176 |
|
---|
177 | <para><option>--with-external-libmad</option>: If you have installed
|
---|
178 | <xref linkend="libmad"/> use this option to make
|
---|
179 | <application>Xine-lib</application> link its
|
---|
180 | <filename class="libraryfile">xineplug_decode_mad.so</filename> plugin to
|
---|
181 | <application>Libmad</application>.</para>
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | <sect2 role="content">
|
---|
185 | <title>Contents</title>
|
---|
186 |
|
---|
187 | <segmentedlist>
|
---|
188 | <segtitle>Installed Programs</segtitle>
|
---|
189 | <segtitle>Installed Libraries</segtitle>
|
---|
190 | <segtitle>Installed Fonts</segtitle>
|
---|
191 | <segtitle>Installed Directories</segtitle>
|
---|
192 |
|
---|
193 | <seglistitem>
|
---|
194 | <seg>xine-config and xine-list-1.2</seg>
|
---|
195 | <seg>libxine.so and numerous plugin modules and video extensions</seg>
|
---|
196 | <seg>Output display engine fonts located in
|
---|
197 | /usr/share/xine-lib/fonts</seg>
|
---|
198 | <seg>/usr/include/xine, /usr/lib/xine, /usr/share/xine-lib and
|
---|
199 | /usr/share/doc/xine-lib-&xine-lib-version;</seg>
|
---|
200 | </seglistitem>
|
---|
201 | </segmentedlist>
|
---|
202 |
|
---|
203 | <variablelist>
|
---|
204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
205 | <?dbfo list-presentation="list"?>
|
---|
206 | <?dbhtml list-presentation="table"?>
|
---|
207 |
|
---|
208 | <varlistentry id="xine-config">
|
---|
209 | <term><command>xine-config</command></term>
|
---|
210 | <listitem>
|
---|
211 | <para>provides information to programs trying to link with the
|
---|
212 | <application>xine</application> libraries.</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>is used to get supported filetype information from
|
---|
223 | <application>xine-lib</application>.</para>
|
---|
224 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
225 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
226 | </indexterm>
|
---|
227 | </listitem>
|
---|
228 | </varlistentry>
|
---|
229 |
|
---|
230 | <varlistentry id="libxine">
|
---|
231 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
232 | <listitem>
|
---|
233 | <para> provides the API for processing audio/video files.</para>
|
---|
234 | <indexterm zone="xine-lib libxine">
|
---|
235 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
236 | </indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 | </variablelist>
|
---|
240 | </sect2>
|
---|
241 | </sect1>
|
---|