source: multimedia/libdriv/xine-lib.xml@ c0a81433

10.0 10.1 11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since c0a81433 was c0a81433, checked in by Pierre Labastie <pieere@…>, 3 years ago

Fix building xine-lib with GCC 10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23125 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.4 KB
Line 
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 "f4ac0fc08d74e1b8f3c389617ee9cfdc">
11 <!ENTITY xine-lib-size "5.0 MB">
12 <!ENTITY xine-lib-buildsize "102 MB (wtih API documentation)">
13 <!ENTITY xine-lib-time "0.6 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 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>xine-lib-&xine-lib-version;</title>
25
26 <indexterm zone="xine-lib">
27 <primary sortas="a-Xine-Libraries">Xine Libraries</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Xine Libraries</title>
32
33 <para>
34 The <application>Xine Libraries</application> package contains xine
35 libraries. These are useful for interfacing with external plug-ins that
36 allow the flow of information from the source to the audio and video
37 hardware.
38 </para>
39
40 &lfs91_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&xine-lib-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&xine-lib-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &xine-lib-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &xine-lib-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &xine-lib-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &xine-lib-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="x-window-system"/>,
81 <xref linkend="ffmpeg"/>, and at least one of:
82 <xref linkend="alsa"/>,
83 <xref linkend='pulseaudio'/>, or
84 <ulink url="http://jackaudio.org/">JACK</ulink>
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="libdvdnav"/>
90 </para>
91
92 <bridgehead renderas="sect4">Optional</bridgehead>
93 <para role="optional">
94 <xref linkend="aalib"/>,
95 <xref linkend="faad2"/>,
96 <xref linkend="flac"/>,
97 <xref linkend="gdk-pixbuf"/>,
98 <xref linkend="glu"/>,
99 <xref linkend="imagemagick"/>,
100 <xref linkend="liba52"/>,
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="http://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 First fix an issue introduced by GCC-10 and later:
135 </para>
136
137<screen><userinput>sed -e 's/^const/extern &amp;/' \
138 -i src/libreal/real_common.h</userinput></screen>
139
140 <para>
141 Install <application>Xine Libraries</application> by running the following
142 commands:
143 </para>
144
145<screen><userinput>./configure --prefix=/usr \
146 --disable-vcd \
147 --with-external-dvdnav \
148 --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &amp;&amp;
149make</userinput></screen>
150
151 <para>
152 To create the API documentation, <application>Doxygen</application>
153 must be installed and issue the following command:
154 </para>
155
156<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
157
158 <para>
159 This package does not come with a test suite.
160 </para>
161
162 <para>
163 Now, as the <systemitem class="username">root</systemitem> user:
164 </para>
165
166<screen role="root"><userinput>make install</userinput></screen>
167
168 <note>
169 <para>
170 When installing, the Makefile does some additional
171 linking. If you do not have Xorg in /usr, the LIBRARY_PATH
172 variable needs to be defined for the root user. If
173 using sudo to assume root, use the -E option to pass
174 your current environment variables for the install process.
175 </para>
176 </note>
177
178 <para>
179 If you built the API documentation, issue the following commands as
180 the <systemitem class="username">root</systemitem> user to install it:
181 </para>
182
183<screen role="root"
184 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &amp;&amp;
185install -v -m644 doc/api/* \
186 /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
187 </sect2>
188
189 <sect2 role="commands">
190 <title>Command Explanations</title>
191
192 <para>
193 <parameter>--disable-vcd</parameter>: This switch is required to compile
194 <application>Xine Lib</application> without <ulink
195 url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
196 Remove this option if you have installed VCDImager.
197 </para>
198
199 <para>
200 <parameter>--with-external-dvdnav</parameter>: This switch is required,
201 because internal libraries cannot decrypt DVD.
202 </para>
203
204 <para>
205 <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
206 This switch causes the documentation to be installed into a versioned
207 directory instead of the default <filename
208 class="directory">/usr/share/doc/xine-lib</filename>.
209 </para>
210
211 <para>
212 <option>--disable-vaapi</option>: use this switch if <xref
213 linkend="libva"/> is installed and <xref linkend="glu"/>
214 is not, to prevent a build failure.
215 </para>
216
217 </sect2>
218
219 <sect2 role="content">
220 <title>Contents</title>
221
222 <segmentedlist>
223 <segtitle>Installed Programs</segtitle>
224 <segtitle>Installed Libraries</segtitle>
225 <segtitle>Installed Fonts</segtitle>
226 <segtitle>Installed Directories</segtitle>
227<!-- When updating, check plugins subdir -->
228 <seglistitem>
229 <seg>xine-config and xine-list-1.2</seg>
230 <seg>libxine.so and numerous plugin modules and video extensions under
231 /usr/lib/xine/plugins/2.8</seg>
232 <seg>
233 Output display engine fonts located in /usr/share/xine-lib/fonts
234 </seg>
235 <seg>
236 /usr/include/xine,
237 /usr/lib/xine,
238 /usr/share/xine-lib, and
239 /usr/share/doc/xine-lib-&xine-lib-version;
240 </seg>
241 </seglistitem>
242 </segmentedlist>
243
244 <variablelist>
245 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
246 <?dbfo list-presentation="list"?>
247 <?dbhtml list-presentation="table"?>
248
249 <varlistentry id="xine-config">
250 <term><command>xine-config</command></term>
251 <listitem>
252 <para>
253 provides information to programs trying to link with the
254 <application>xine</application> libraries.
255 </para>
256 <indexterm zone="xine-lib xine-config">
257 <primary sortas="b-xine-config">xine-config</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="xine-list-1.2">
263 <term><command>xine-list-1.2</command></term>
264 <listitem>
265 <para>
266 is used to get supported filetype information from
267 <application>xine-lib</application>.
268 </para>
269 <indexterm zone="xine-lib xine-list-1.2">
270 <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="libxine">
276 <term><filename class='libraryfile'>libxine.so</filename></term>
277 <listitem>
278 <para>
279 provides the API for processing audio/video files.
280 </para>
281 <indexterm zone="xine-lib libxine">
282 <primary sortas="c-libxine">libxine.so</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286 </variablelist>
287 </sect2>
288</sect1>
Note: See TracBrowser for help on using the repository browser.