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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 0cc9262 was 1476a943, checked in by Ken Moffat <ken@…>, 7 years ago

Tags
qt5 includes qtwebengine
for xine I can play one DVD successfully, but not the DVD I used to use for testing.
At the moment parole is working well _except_ for DVDs, so not tagging for the moment.

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

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