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.bz2">
|
---|
8 | <!ENTITY xine-lib-download-ftp "&gentoo-ftp-repo;/xine-lib-&xine-lib-version;.tar.bz2">
|
---|
9 | <!ENTITY xine-lib-md5sum "42a2b4893b7f892eb334de2fc36d49c8">
|
---|
10 | <!ENTITY xine-lib-size "7.1 MB">
|
---|
11 | <!ENTITY xine-lib-buildsize "121 MB (without the API documentation)">
|
---|
12 | <!ENTITY xine-lib-time "3.2 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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&xine-lib-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&xine-lib-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &xine-lib-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &xine-lib-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &xine-lib-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &xine-lib-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required"><xref linkend="x-window-system"/> and
|
---|
63 | <xref linkend="esound"/> or OSS or
|
---|
64 | <xref linkend="alsa"/> or <xref linkend="arts"/> or
|
---|
65 | <ulink url="http://pulseaudio.org/">PulseAudio</ulink> or
|
---|
66 | <ulink url="http://jackaudio.org/">JACK</ulink></para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
69 | <para role="recommended"><!-- <xref linkend="pkgconfig"/> and -->
|
---|
70 | <xref linkend="ffmpeg"/> (with <option>postproc</option> enabled)</para>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
73 | <para role="optional"><xref linkend="aalib"/>,
|
---|
74 | <xref linkend="libmng"/>,
|
---|
75 | <xref linkend="sdl"/>,
|
---|
76 | <xref linkend="libfame"/>,
|
---|
77 | <xref linkend="libvorbis"/>,
|
---|
78 | <xref linkend="speex"/>,
|
---|
79 | <xref linkend="gnome-vfs"/>,
|
---|
80 | <xref linkend="flac"/>,
|
---|
81 | <xref linkend="samba3"/>,
|
---|
82 | <xref linkend="imagemagick"/>,
|
---|
83 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
84 | <xref linkend="libtheora"/>,
|
---|
85 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
86 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
87 | <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
|
---|
88 | <ulink url="http://www.vcdimager.org/">VCDImager</ulink>,
|
---|
89 | <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
|
---|
90 | <ulink url="http://www.wavpack.com/">WavPack</ulink>,
|
---|
91 | <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
|
---|
92 | and to build the API documentation
|
---|
93 | <ulink url="http://sourceforge.net/projects/sgmltools-lite/">sgmltools-lite</ulink>
|
---|
94 | and <ulink url="http://www.xfig.org/">Transfig</ulink></para>
|
---|
95 |
|
---|
96 | <para>The developers recommended that you use the internal source tree
|
---|
97 | versions of <xref linkend="liba52"/>, libdts (now <ulink
|
---|
98 | url="http://www.videolan.org/developers/libdca.html">libdca</ulink>), <ulink
|
---|
99 | url="http://sourceforge.net/projects/dvd/">libdvdnav</ulink>, and <xref
|
---|
100 | linkend="libmad"/> and not system-installed versions.</para>
|
---|
101 |
|
---|
102 | <para condition="html" role="usernotes">User Notes:
|
---|
103 | <ulink url="&blfs-wiki;/xine-lib"/></para>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="installation">
|
---|
108 | <title>Installation of Xine Libraries</title>
|
---|
109 |
|
---|
110 | <para>Install <application>xine Libraries</application> by running the
|
---|
111 | following commands:</para>
|
---|
112 |
|
---|
113 | <screen><userinput>sed -i 's/\(inline \)\(_x_is_fourcc\)/__\1int \2/' src/xine-engine/buffer.h &&
|
---|
114 | ./configure --prefix=/usr \
|
---|
115 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
116 | make</userinput></screen>
|
---|
117 |
|
---|
118 | <para>This package does not come with a test suite.</para>
|
---|
119 |
|
---|
120 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="commands">
|
---|
127 | <title>Command Explanations</title>
|
---|
128 |
|
---|
129 | <para><option>
|
---|
130 | sed -i 's/\(inline \)\(_x_is_fourcc\)/__\1int \2/' src/xine-engine/buffer.h &&
|
---|
131 | </option>: This command enables c++ programs to use the header, for example
|
---|
132 | in <xref linkend="kdemultimedia"/></para>
|
---|
133 |
|
---|
134 | <!-- <para><option>\-\-enable-static</option>: This switch is used to enable
|
---|
135 | building the static library as some programs link against it.</para>-->
|
---|
136 |
|
---|
137 |
|
---|
138 | <!-- switch no longer needed
|
---|
139 | <para><option>\-\-with-external-ffmpeg</option>: This switch enables use of
|
---|
140 | an external <application>FFmpeg</application> library. The internally built
|
---|
141 | library produces poor results with some video files.</para>-->
|
---|
142 |
|
---|
143 | <!-- See BLFS ticket 2476 for more info on the ffmpeg option. -->
|
---|
144 |
|
---|
145 | <para><option>--docdir=/usr/share/xine-lib-&xine-lib-version;</option>:
|
---|
146 | This switch causes the documentation to be installed into a versioned
|
---|
147 | directory instead of the default
|
---|
148 | <filename class="directory">/usr/share/doc/xine-lib</filename>.</para>
|
---|
149 |
|
---|
150 | <para><option>--with-xv-path=/path/to/somewhere</option>: if
|
---|
151 | <filename>libXv.so</filename> is not installed in
|
---|
152 | <filename class="directory">/usr/X11R6/lib</filename> nor in
|
---|
153 | <filename class="directory">/usr/lib</filename> you will need to tell
|
---|
154 | the <command>configure</command> command where to find it.</para>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="content">
|
---|
159 | <title>Contents</title>
|
---|
160 |
|
---|
161 | <segmentedlist>
|
---|
162 | <segtitle>Installed Program</segtitle>
|
---|
163 | <segtitle>Installed Libraries</segtitle>
|
---|
164 | <segtitle>Installed Fonts</segtitle>
|
---|
165 | <segtitle>Installed Directories</segtitle>
|
---|
166 |
|
---|
167 | <seglistitem>
|
---|
168 | <seg>xine-config</seg>
|
---|
169 | <seg>libxine.so and numerous plugin modules and video extensions</seg>
|
---|
170 | <seg>Output display engine fonts located in
|
---|
171 | /usr/share/xine/libxine1/fonts</seg>
|
---|
172 | <seg>/usr/include/xine, /usr/lib/xine, /usr/share/xine, and
|
---|
173 | /usr/share/doc/xine-lib-&xine-lib-version;</seg>
|
---|
174 | </seglistitem>
|
---|
175 | </segmentedlist>
|
---|
176 |
|
---|
177 | <variablelist>
|
---|
178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
179 | <?dbfo list-presentation="list"?>
|
---|
180 | <?dbhtml list-presentation="table"?>
|
---|
181 |
|
---|
182 | <varlistentry id="xine-config">
|
---|
183 | <term><command>xine-config</command></term>
|
---|
184 | <listitem>
|
---|
185 | <para>provides information to programs trying to link with the
|
---|
186 | <application>xine</application> libraries.</para>
|
---|
187 | <indexterm zone="xine-lib xine-config">
|
---|
188 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="libxine">
|
---|
194 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
195 | <listitem>
|
---|
196 | <para> provides the API for processing audio/video files.</para>
|
---|
197 | <indexterm zone="xine-lib libxine">
|
---|
198 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | </variablelist>
|
---|
204 |
|
---|
205 | </sect2>
|
---|
206 |
|
---|
207 | </sect1>
|
---|