source: multimedia/libdriv/xine-lib.xml@ 9d11b8a5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 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 nosym 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 9d11b8a5 was 9d11b8a5, checked in by Ken Moffat <ken@…>, 8 years ago

Change sed for mesa, including Bruce's suggestion, and add sed to xine-lib to fix build with libxcb-1.12.

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

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