source: multimedia/libdriv/xine-lib.xml@ 0c953f12

11.2 11.3 12.0 12.1 12.2 gimp3 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/for-12.3 xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 0c953f12 was 5ac8686a, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Fix building xine-lib with ffmpeg-5.1.

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