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

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since c3d8e34 was 5d9fde5, checked in by Xi Ruoyao <xry111@…>, 9 months ago

Remove gentoo-ftp-repo

The layout of distfiles.gentoo.org has suddenly changed. Let's just
stop using it (or we need to include a two-bit prefix of some hash in
the URL and IMO doing so is just stupid, as we can always use http
instead).

  • Property mode set to 100644
File size: 9.8 KB
RevLine 
[740cd38]1<?xml version="1.0" encoding="ISO-8859-1"?>
[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
[332bad2a]36 &lfs120_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:
[285c7cf]78 <xref linkend="alsa"/>,
[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"/>,
[68d9a97]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>,
[75b1a338]118 <ulink url="https://www.musepack.net/">musepack</ulink>,
[8dfc5c3]119 <ulink url="&gnu-http;/vcdimager/">VCDImager</ulink>, and
[75b1a338]120 <ulink url="https://www.wavpack.com/">WavPack</ulink>,
[68d9a97]121 </para>
[740cd38]122
123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of Xine Libraries</title>
127
[5ac8686]128 <!-- See this thread for more details:
129 https://lists.linuxfromscratch.org/sympa/arc/lfs-dev/2022-07/msg00044.html
130 -->
131
[1ed3e64]132<!--
[5ac8686]133 <para>
134 First, fix building this package with ffmpeg-5.1:
135 </para>
136
137<screen><userinput remap="pre">sed -e '/\/avformat.h/i #include &lt;libavcodec/version.h&gt;' \
[1ed3e64]138 -i src/combined/ffmpeg/demux_avformat.c </userinput></screen>
139-->
[a40e3489]140<!--<note>
[54d58907]141 <para>This package tarball expands to the directory xine-lib.1.2.13/,
[1ed3e64]142 not he expected xine-lib-1.2.13/.</para>
[a40e3489]143 </note>-->
[5ac8686]144
[01264e55]145<!-- Appears to be fixed in 1.2.13
[d4a411a6]146 <para>
[1ed3e64]147 First, fix building this package with binutils-2.39:
[d4a411a6]148 </para>
149
150<screen><userinput remap="pre">sed -e '/xine_set_flags/s/XINE_PROTECTED//' -i include/xine.h</userinput></screen>
[01264e55]151-->
[d4a411a6]152
[68d9a97]153 <para>
[07584d8]154 Install <application>Xine Libraries</application> by running the following
[68d9a97]155 commands:
156 </para>
[740cd38]157
[a1a7d7f]158<screen><userinput>./configure --prefix=/usr \
[5a830ea0]159 --disable-vcd \
160 --with-external-dvdnav \
[b79d81d]161 --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &amp;&amp;
[740cd38]162make</userinput></screen>
163
[2eeb8695]164 <para>
165 To create the API documentation, <application>Doxygen</application>
166 must be installed and issue the following command:
167 </para>
[b79d81d]168
[2f3e3de9]169<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
[b79d81d]170
[2eeb8695]171 <para>
172 This package does not come with a test suite.
173 </para>
[dc7544c]174
[68d9a97]175 <para>
176 Now, as the <systemitem class="username">root</systemitem> user:
177 </para>
[740cd38]178
179<screen role="root"><userinput>make install</userinput></screen>
[b79d81d]180
[2eeb8695]181 <note>
182 <para>
183 When installing, the Makefile does some additional
184 linking. If you do not have Xorg in /usr, the LIBRARY_PATH
185 variable needs to be defined for the root user. If
186 using sudo to assume root, use the -E option to pass
187 your current environment variables for the install process.
188 </para>
189 </note>
[6de7590]190
[2eeb8695]191 <para>
192 If you built the API documentation, issue the following commands as
193 the <systemitem class="username">root</systemitem> user to install it:
194 </para>
[b79d81d]195
[2f3e3de9]196<screen role="root"
197 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &amp;&amp;
[b79d81d]198install -v -m644 doc/api/* \
199 /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
[740cd38]200 </sect2>
201
[6c1aa8c]202 <sect2 role="commands">
203 <title>Command Explanations</title>
204
[77b4c621]205 <para>
[5a830ea0]206 <parameter>--disable-vcd</parameter>: This switch is required to compile
207 <application>Xine Lib</application> without <ulink
[8dfc5c3]208 url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
[5a830ea0]209 Remove this option if you have installed VCDImager.
210 </para>
211
212 <para>
213 <parameter>--with-external-dvdnav</parameter>: This switch is required,
214 because internal libraries cannot decrypt DVD.
[77b4c621]215 </para>
216
[68d9a97]217 <para>
[1a518e97]218 <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
[5a830ea0]219 This switch causes the documentation to be installed into a versioned
220 directory instead of the default <filename
221 class="directory">/usr/share/doc/xine-lib</filename>.
[68d9a97]222 </para>
223
[e43e647]224 <para>
225 <option>--disable-vaapi</option>: use this switch if <xref
226 linkend="libva"/> is installed and <xref linkend="glu"/>
227 is not, to prevent a build failure.
228 </para>
229
[6c1aa8c]230 </sect2>
231
[740cd38]232 <sect2 role="content">
233 <title>Contents</title>
234
235 <segmentedlist>
[90b1302c]236 <segtitle>Installed Programs</segtitle>
[740cd38]237 <segtitle>Installed Libraries</segtitle>
238 <segtitle>Installed Fonts</segtitle>
239 <segtitle>Installed Directories</segtitle>
[71b2520e]240<!-- When updating, check plugins subdir -->
[740cd38]241 <seglistitem>
[a1698194]242 <seg>xine-config and xine-list-1.2</seg>
[865f93ec]243 <seg>libxine.so and numerous plugin modules and video extensions under
[a1a7d7f]244 /usr/lib/xine/plugins/2.8</seg>
[68d9a97]245 <seg>
246 Output display engine fonts located in /usr/share/xine-lib/fonts
247 </seg>
248 <seg>
249 /usr/include/xine,
250 /usr/lib/xine,
[dbdab37]251 /usr/share/xine-lib, and
[68d9a97]252 /usr/share/doc/xine-lib-&xine-lib-version;
253 </seg>
[740cd38]254 </seglistitem>
255 </segmentedlist>
256
257 <variablelist>
258 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
259 <?dbfo list-presentation="list"?>
260 <?dbhtml list-presentation="table"?>
261
262 <varlistentry id="xine-config">
263 <term><command>xine-config</command></term>
264 <listitem>
[68d9a97]265 <para>
266 provides information to programs trying to link with the
[4c24eb0a]267 <application>xine</application> libraries
[68d9a97]268 </para>
[740cd38]269 <indexterm zone="xine-lib xine-config">
270 <primary sortas="b-xine-config">xine-config</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
[a1698194]275 <varlistentry id="xine-list-1.2">
276 <term><command>xine-list-1.2</command></term>
[90b1302c]277 <listitem>
[68d9a97]278 <para>
[b9c353b]279 is used to get supported file type information from
[4c24eb0a]280 <application>xine-lib</application>
[68d9a97]281 </para>
[a1698194]282 <indexterm zone="xine-lib xine-list-1.2">
283 <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
[90b1302c]284 </indexterm>
285 </listitem>
286 </varlistentry>
287
[740cd38]288 <varlistentry id="libxine">
[4c24eb0a]289 <term><filename class="libraryfile">libxine.so</filename></term>
[740cd38]290 <listitem>
[2eeb8695]291 <para>
[4c24eb0a]292 provides the API for processing audio/video files
[2eeb8695]293 </para>
[740cd38]294 <indexterm zone="xine-lib libxine">
295 <primary sortas="c-libxine">libxine.so</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299 </variablelist>
300 </sect2>
[4c24eb0a]301
[b3224f7]302</sect1>
Note: See TracBrowser for help on using the repository browser.