source: multimedia/libdriv/xine-lib.xml@ 09bb294

gimp3 trunk
Last change on this file since 09bb294 was 24a668d, checked in by Douglas R. Reno <renodr@…>, 6 weeks ago

xine-lib: fix building with ffmpeg-7.

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