[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"/>,
|
---|
[68d9a97] | 101 | <xref linkend="libmad"/>,
|
---|
| 102 | <xref linkend="libmng"/>,
|
---|
| 103 | <xref linkend="libtheora"/>,
|
---|
[e43e647] | 104 | <xref linkend="libva"/> (requires <xref role="nodep" linkend="glu"/>),
|
---|
[07584d8] | 105 | <xref linkend="libvdpau"/>,
|
---|
[68d9a97] | 106 | <xref linkend="libvorbis"/>,
|
---|
[865f93ec] | 107 | <xref linkend="libvpx"/>,
|
---|
[7a395d1] | 108 | <xref linkend="mesa"/>,
|
---|
[45f56ac] | 109 | <xref linkend="samba"/>,
|
---|
[68d9a97] | 110 | <xref linkend="sdl"/>,
|
---|
| 111 | <xref linkend="speex"/>,
|
---|
[865f93ec] | 112 | <xref linkend="doxygen"/> (to create the API documentation),
|
---|
[80dbc4c8] | 113 | <xref linkend="v4l-utils"/>
|
---|
[8763a1da] | 114 | <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
|
---|
[865f93ec] | 115 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
| 116 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
| 117 | <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
| 118 | <ulink url="http://fame.sourceforge.net">libFAME</ulink>,
|
---|
| 119 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
| 120 | <ulink url="http://www.musepack.net/">musepack</ulink>,
|
---|
[8dfc5c3] | 121 | <ulink url="&gnu-http;/vcdimager/">VCDImager</ulink>, and
|
---|
[865f93ec] | 122 | <ulink url="http://www.wavpack.com/">WavPack</ulink>,
|
---|
[68d9a97] | 123 | </para>
|
---|
[740cd38] | 124 |
|
---|
[68d9a97] | 125 | <para condition="html" role="usernotes">
|
---|
| 126 | User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
|
---|
| 127 | </para>
|
---|
[740cd38] | 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="installation">
|
---|
| 131 | <title>Installation of Xine Libraries</title>
|
---|
| 132 |
|
---|
[c0a81433] | 133 | <para>
|
---|
| 134 | First fix an issue introduced by GCC-10 and later:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen><userinput>sed -e 's/^const/extern &/' \
|
---|
| 138 | -i src/libreal/real_common.h</userinput></screen>
|
---|
| 139 |
|
---|
[68d9a97] | 140 | <para>
|
---|
[07584d8] | 141 | Install <application>Xine Libraries</application> by running the following
|
---|
[68d9a97] | 142 | commands:
|
---|
| 143 | </para>
|
---|
[740cd38] | 144 |
|
---|
[a1a7d7f] | 145 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5a830ea0] | 146 | --disable-vcd \
|
---|
| 147 | --with-external-dvdnav \
|
---|
[b79d81d5] | 148 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 149 | make</userinput></screen>
|
---|
| 150 |
|
---|
[2eeb8695] | 151 | <para>
|
---|
| 152 | To create the API documentation, <application>Doxygen</application>
|
---|
| 153 | must be installed and issue the following command:
|
---|
| 154 | </para>
|
---|
[b79d81d5] | 155 |
|
---|
[2f3e3de9] | 156 | <screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
[b79d81d5] | 157 |
|
---|
[2eeb8695] | 158 | <para>
|
---|
| 159 | This package does not come with a test suite.
|
---|
| 160 | </para>
|
---|
[dc7544c] | 161 |
|
---|
[68d9a97] | 162 | <para>
|
---|
| 163 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 164 | </para>
|
---|
[740cd38] | 165 |
|
---|
| 166 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 167 |
|
---|
[2eeb8695] | 168 | <note>
|
---|
| 169 | <para>
|
---|
| 170 | When installing, the Makefile does some additional
|
---|
| 171 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 172 | variable needs to be defined for the root user. If
|
---|
| 173 | using sudo to assume root, use the -E option to pass
|
---|
| 174 | your current environment variables for the install process.
|
---|
| 175 | </para>
|
---|
| 176 | </note>
|
---|
[6de7590] | 177 |
|
---|
[2eeb8695] | 178 | <para>
|
---|
| 179 | If you built the API documentation, issue the following commands as
|
---|
| 180 | the <systemitem class="username">root</systemitem> user to install it:
|
---|
| 181 | </para>
|
---|
[b79d81d5] | 182 |
|
---|
[2f3e3de9] | 183 | <screen role="root"
|
---|
| 184 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
[b79d81d5] | 185 | install -v -m644 doc/api/* \
|
---|
| 186 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 187 | </sect2>
|
---|
| 188 |
|
---|
[6c1aa8c] | 189 | <sect2 role="commands">
|
---|
| 190 | <title>Command Explanations</title>
|
---|
| 191 |
|
---|
[77b4c621] | 192 | <para>
|
---|
[5a830ea0] | 193 | <parameter>--disable-vcd</parameter>: This switch is required to compile
|
---|
| 194 | <application>Xine Lib</application> without <ulink
|
---|
[8dfc5c3] | 195 | url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
|
---|
[5a830ea0] | 196 | Remove this option if you have installed VCDImager.
|
---|
| 197 | </para>
|
---|
| 198 |
|
---|
| 199 | <para>
|
---|
| 200 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 201 | because internal libraries cannot decrypt DVD.
|
---|
[77b4c621] | 202 | </para>
|
---|
| 203 |
|
---|
[68d9a97] | 204 | <para>
|
---|
[1a518e97] | 205 | <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
|
---|
[5a830ea0] | 206 | This switch causes the documentation to be installed into a versioned
|
---|
| 207 | directory instead of the default <filename
|
---|
| 208 | class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
[68d9a97] | 209 | </para>
|
---|
| 210 |
|
---|
[e43e647] | 211 | <para>
|
---|
| 212 | <option>--disable-vaapi</option>: use this switch if <xref
|
---|
| 213 | linkend="libva"/> is installed and <xref linkend="glu"/>
|
---|
| 214 | is not, to prevent a build failure.
|
---|
| 215 | </para>
|
---|
| 216 |
|
---|
[6c1aa8c] | 217 | </sect2>
|
---|
| 218 |
|
---|
[740cd38] | 219 | <sect2 role="content">
|
---|
| 220 | <title>Contents</title>
|
---|
| 221 |
|
---|
| 222 | <segmentedlist>
|
---|
[90b1302c] | 223 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 224 | <segtitle>Installed Libraries</segtitle>
|
---|
| 225 | <segtitle>Installed Fonts</segtitle>
|
---|
| 226 | <segtitle>Installed Directories</segtitle>
|
---|
[71b2520e] | 227 | <!-- When updating, check plugins subdir -->
|
---|
[740cd38] | 228 | <seglistitem>
|
---|
[a1698194] | 229 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 230 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
[a1a7d7f] | 231 | /usr/lib/xine/plugins/2.8</seg>
|
---|
[68d9a97] | 232 | <seg>
|
---|
| 233 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 234 | </seg>
|
---|
| 235 | <seg>
|
---|
| 236 | /usr/include/xine,
|
---|
| 237 | /usr/lib/xine,
|
---|
[dbdab37] | 238 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 239 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 240 | </seg>
|
---|
[740cd38] | 241 | </seglistitem>
|
---|
| 242 | </segmentedlist>
|
---|
| 243 |
|
---|
| 244 | <variablelist>
|
---|
| 245 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 246 | <?dbfo list-presentation="list"?>
|
---|
| 247 | <?dbhtml list-presentation="table"?>
|
---|
| 248 |
|
---|
| 249 | <varlistentry id="xine-config">
|
---|
| 250 | <term><command>xine-config</command></term>
|
---|
| 251 | <listitem>
|
---|
[68d9a97] | 252 | <para>
|
---|
| 253 | provides information to programs trying to link with the
|
---|
| 254 | <application>xine</application> libraries.
|
---|
| 255 | </para>
|
---|
[740cd38] | 256 | <indexterm zone="xine-lib xine-config">
|
---|
| 257 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
[a1698194] | 262 | <varlistentry id="xine-list-1.2">
|
---|
| 263 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 264 | <listitem>
|
---|
[68d9a97] | 265 | <para>
|
---|
| 266 | is used to get supported filetype information from
|
---|
| 267 | <application>xine-lib</application>.
|
---|
| 268 | </para>
|
---|
[a1698194] | 269 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 270 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
[740cd38] | 275 | <varlistentry id="libxine">
|
---|
| 276 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 277 | <listitem>
|
---|
[2eeb8695] | 278 | <para>
|
---|
| 279 | provides the API for processing audio/video files.
|
---|
| 280 | </para>
|
---|
[740cd38] | 281 | <indexterm zone="xine-lib libxine">
|
---|
| 282 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 | </variablelist>
|
---|
| 287 | </sect2>
|
---|
[b3224f7] | 288 | </sect1>
|
---|