source: multimedia/libdriv/xine-lib.xml

trunk
Last change on this file was 0c848d7, checked in by Xi Ruoyao <xry111@…>, 6 weeks ago

bookwide: Replace most references to "alsa" with "alsa-lib"

For gnome-settings-daemon alsa-lib is already required, so simply drop
"alsa".

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