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

10.0 10.1 11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c1ff2b71 was d8fcdce, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Add libdvdcss as an optional dependency of xine-lib

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

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