source: multimedia/libdriv/xine-lib.xml@ 3f2db3a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.8 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 "3d0660c9da158c31dd65e955e4ac8cd2">
11 <!ENTITY xine-lib-size "5.1 MB">
12 <!ENTITY xine-lib-buildsize "169 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 &lfs112_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">Xine Libraries Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="x-window-system"/>,
77 <xref linkend="ffmpeg"/>, and at least one of:
78 <xref linkend="alsa"/>,
79 <xref linkend='pulseaudio'/>, or
80 <ulink url="http://jackaudio.org/">JACK</ulink>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="libdvdnav"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="aalib"/>,
91 <xref linkend="faad2"/>,
92 <xref linkend="flac"/>,
93 <xref linkend="gdk-pixbuf"/>,
94 <xref linkend="glu"/>,
95 <xref linkend="imagemagick"/>,
96 <xref linkend="liba52"/>,
97 <xref linkend="libdvdcss"/>,
98 <xref linkend="libmad"/>,
99 <xref linkend="libmng"/>,
100 <xref linkend="libnsl"/>,
101 <xref linkend="libtheora"/>,
102 <xref linkend="libva"/> (requires <xref role="nodep" linkend="glu"/>),
103 <xref linkend="libvdpau"/>,
104 <xref linkend="libvorbis"/>,
105 <xref linkend="libvpx"/>,
106 <xref linkend="mesa"/>,
107 <xref linkend="samba"/>,
108 <xref linkend="sdl"/>,
109 <xref linkend="speex"/>,
110 <xref linkend="doxygen"/> (to create the API documentation),
111 <xref linkend="v4l-utils"/>
112 <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
113 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
114 <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
115 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
116 <ulink url="http://fame.sourceforge.net">libFAME</ulink>,
117 <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
118 <ulink url="http://www.musepack.net/">musepack</ulink>,
119 <ulink url="&gnu-http;/vcdimager/">VCDImager</ulink>, and
120 <ulink url="http://www.wavpack.com/">WavPack</ulink>,
121 </para>
122
123 <para condition="html" role="usernotes">
124 User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
125 </para>
126 </sect2>
127
128 <sect2 role="installation">
129 <title>Installation of Xine Libraries</title>
130
131 <!-- See this thread for more details:
132 https://lists.linuxfromscratch.org/sympa/arc/lfs-dev/2022-07/msg00044.html
133 -->
134
135 <para>
136 First, fix building this package with ffmpeg-5.1:
137 </para>
138
139<screen><userinput remap="pre">sed -e '/\/avformat.h/i #include &lt;libavcodec/version.h&gt;' \
140 -i src/combined/ffmpeg/demux_avformat.c &amp;&amp;
141sed -e '/\/avio.h/i #include &lt;libavutil/avutil.h&gt;' \
142 -i src/combined/ffmpeg/input_avio.c</userinput></screen>
143
144 <para>
145 Then, fix building this package with binutils-2.39:
146 </para>
147
148<screen><userinput remap="pre">sed -e '/xine_set_flags/s/XINE_PROTECTED//' -i include/xine.h</userinput></screen>
149
150 <para>
151 Install <application>Xine Libraries</application> by running the following
152 commands:
153 </para>
154
155<screen><userinput>./configure --prefix=/usr \
156 --disable-vcd \
157 --with-external-dvdnav \
158 --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &amp;&amp;
159make</userinput></screen>
160
161 <para>
162 To create the API documentation, <application>Doxygen</application>
163 must be installed and issue the following command:
164 </para>
165
166<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
167
168 <para>
169 This package does not come with a test suite.
170 </para>
171
172 <para>
173 Now, as the <systemitem class="username">root</systemitem> user:
174 </para>
175
176<screen role="root"><userinput>make install</userinput></screen>
177
178 <note>
179 <para>
180 When installing, the Makefile does some additional
181 linking. If you do not have Xorg in /usr, the LIBRARY_PATH
182 variable needs to be defined for the root user. If
183 using sudo to assume root, use the -E option to pass
184 your current environment variables for the install process.
185 </para>
186 </note>
187
188 <para>
189 If you built the API documentation, issue the following commands as
190 the <systemitem class="username">root</systemitem> user to install it:
191 </para>
192
193<screen role="root"
194 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &amp;&amp;
195install -v -m644 doc/api/* \
196 /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
197 </sect2>
198
199 <sect2 role="commands">
200 <title>Command Explanations</title>
201
202 <para>
203 <parameter>--disable-vcd</parameter>: This switch is required to compile
204 <application>Xine Lib</application> without <ulink
205 url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
206 Remove this option if you have installed VCDImager.
207 </para>
208
209 <para>
210 <parameter>--with-external-dvdnav</parameter>: This switch is required,
211 because internal libraries cannot decrypt DVD.
212 </para>
213
214 <para>
215 <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
216 This switch causes the documentation to be installed into a versioned
217 directory instead of the default <filename
218 class="directory">/usr/share/doc/xine-lib</filename>.
219 </para>
220
221 <para>
222 <option>--disable-vaapi</option>: use this switch if <xref
223 linkend="libva"/> is installed and <xref linkend="glu"/>
224 is not, to prevent a build failure.
225 </para>
226
227 </sect2>
228
229 <sect2 role="content">
230 <title>Contents</title>
231
232 <segmentedlist>
233 <segtitle>Installed Programs</segtitle>
234 <segtitle>Installed Libraries</segtitle>
235 <segtitle>Installed Fonts</segtitle>
236 <segtitle>Installed Directories</segtitle>
237<!-- When updating, check plugins subdir -->
238 <seglistitem>
239 <seg>xine-config and xine-list-1.2</seg>
240 <seg>libxine.so and numerous plugin modules and video extensions under
241 /usr/lib/xine/plugins/2.8</seg>
242 <seg>
243 Output display engine fonts located in /usr/share/xine-lib/fonts
244 </seg>
245 <seg>
246 /usr/include/xine,
247 /usr/lib/xine,
248 /usr/share/xine-lib, and
249 /usr/share/doc/xine-lib-&xine-lib-version;
250 </seg>
251 </seglistitem>
252 </segmentedlist>
253
254 <variablelist>
255 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
256 <?dbfo list-presentation="list"?>
257 <?dbhtml list-presentation="table"?>
258
259 <varlistentry id="xine-config">
260 <term><command>xine-config</command></term>
261 <listitem>
262 <para>
263 provides information to programs trying to link with the
264 <application>xine</application> libraries
265 </para>
266 <indexterm zone="xine-lib xine-config">
267 <primary sortas="b-xine-config">xine-config</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="xine-list-1.2">
273 <term><command>xine-list-1.2</command></term>
274 <listitem>
275 <para>
276 is used to get supported file type information from
277 <application>xine-lib</application>
278 </para>
279 <indexterm zone="xine-lib xine-list-1.2">
280 <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="libxine">
286 <term><filename class="libraryfile">libxine.so</filename></term>
287 <listitem>
288 <para>
289 provides the API for processing audio/video files
290 </para>
291 <indexterm zone="xine-lib libxine">
292 <primary sortas="c-libxine">libxine.so</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296 </variablelist>
297 </sect2>
298
299</sect1>
Note: See TracBrowser for help on using the repository browser.