[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">
|
---|
[7495c40] | 10 | <!ENTITY xine-lib-md5sum "3d0660c9da158c31dd65e955e4ac8cd2">
|
---|
| 11 | <!ENTITY xine-lib-size "5.1 MB">
|
---|
| 12 | <!ENTITY xine-lib-buildsize "169 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 | <sect1info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[a027d7d3] | 23 | <title>xine-lib-&xine-lib-version;</title>
|
---|
[740cd38] | 24 |
|
---|
| 25 | <indexterm zone="xine-lib">
|
---|
| 26 | <primary sortas="a-Xine-Libraries">Xine Libraries</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Xine Libraries</title>
|
---|
| 31 |
|
---|
[68d9a97] | 32 | <para>
|
---|
[07584d8] | 33 | The <application>Xine Libraries</application> package contains xine
|
---|
[68d9a97] | 34 | libraries. These are useful for interfacing with external plug-ins that
|
---|
[2946338a] | 35 | allow the flow of information from the source to the audio and video
|
---|
| 36 | hardware.
|
---|
[68d9a97] | 37 | </para>
|
---|
[740cd38] | 38 |
|
---|
[38030654] | 39 | &lfs111_checked;
|
---|
[90b1302c] | 40 |
|
---|
[740cd38] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[2eeb8695] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&xine-lib-download-http;"/>
|
---|
| 46 | </para>
|
---|
[740cd38] | 47 | </listitem>
|
---|
[32d0e29] | 48 | <listitem>
|
---|
[2eeb8695] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&xine-lib-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[32d0e29] | 52 | </listitem>
|
---|
[740cd38] | 53 | <listitem>
|
---|
[2eeb8695] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &xine-lib-md5sum;
|
---|
| 56 | </para>
|
---|
[740cd38] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[2eeb8695] | 59 | <para>
|
---|
| 60 | Download size: &xine-lib-size;
|
---|
| 61 | </para>
|
---|
[740cd38] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[2eeb8695] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &xine-lib-buildsize;
|
---|
| 66 | </para>
|
---|
[740cd38] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[2eeb8695] | 69 | <para>
|
---|
| 70 | Estimated build time: &xine-lib-time;
|
---|
| 71 | </para>
|
---|
[740cd38] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e2e42c7] | 78 | <para role="required">
|
---|
[efcf979] | 79 | <xref linkend="x-window-system"/>,
|
---|
| 80 | <xref linkend="ffmpeg"/>, and at least one of:
|
---|
[285c7cf] | 81 | <xref linkend="alsa"/>,
|
---|
[cac7f93] | 82 | <xref linkend='pulseaudio'/>, or
|
---|
[e2e42c7] | 83 | <ulink url="http://jackaudio.org/">JACK</ulink>
|
---|
| 84 | </para>
|
---|
[06b8423c] | 85 |
|
---|
[5a830ea0] | 86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 87 | <para role="recommended">
|
---|
| 88 | <xref linkend="libdvdnav"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
[740cd38] | 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[68d9a97] | 92 | <para role="optional">
|
---|
| 93 | <xref linkend="aalib"/>,
|
---|
| 94 | <xref linkend="faad2"/>,
|
---|
| 95 | <xref linkend="flac"/>,
|
---|
| 96 | <xref linkend="gdk-pixbuf"/>,
|
---|
[ea23431] | 97 | <xref linkend="glu"/>,
|
---|
[68d9a97] | 98 | <xref linkend="imagemagick"/>,
|
---|
[865f93ec] | 99 | <xref linkend="liba52"/>,
|
---|
[d8fcdce] | 100 | <xref linkend="libdvdcss"/>,
|
---|
[68d9a97] | 101 | <xref linkend="libmad"/>,
|
---|
| 102 | <xref linkend="libmng"/>,
|
---|
[673c070] | 103 | <xref linkend="libnsl"/>,
|
---|
[68d9a97] | 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>,
|
---|
[c6b192c] | 120 | <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
[865f93ec] | 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 |
|
---|
[68d9a97] | 134 | <para>
|
---|
[07584d8] | 135 | Install <application>Xine Libraries</application> by running the following
|
---|
[68d9a97] | 136 | commands:
|
---|
| 137 | </para>
|
---|
[740cd38] | 138 |
|
---|
[a1a7d7f] | 139 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5a830ea0] | 140 | --disable-vcd \
|
---|
| 141 | --with-external-dvdnav \
|
---|
[b79d81d5] | 142 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 143 | make</userinput></screen>
|
---|
| 144 |
|
---|
[2eeb8695] | 145 | <para>
|
---|
| 146 | To create the API documentation, <application>Doxygen</application>
|
---|
| 147 | must be installed and issue the following command:
|
---|
| 148 | </para>
|
---|
[b79d81d5] | 149 |
|
---|
[2f3e3de9] | 150 | <screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
[b79d81d5] | 151 |
|
---|
[2eeb8695] | 152 | <para>
|
---|
| 153 | This package does not come with a test suite.
|
---|
| 154 | </para>
|
---|
[dc7544c] | 155 |
|
---|
[68d9a97] | 156 | <para>
|
---|
| 157 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 158 | </para>
|
---|
[740cd38] | 159 |
|
---|
| 160 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 161 |
|
---|
[2eeb8695] | 162 | <note>
|
---|
| 163 | <para>
|
---|
| 164 | When installing, the Makefile does some additional
|
---|
| 165 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 166 | variable needs to be defined for the root user. If
|
---|
| 167 | using sudo to assume root, use the -E option to pass
|
---|
| 168 | your current environment variables for the install process.
|
---|
| 169 | </para>
|
---|
| 170 | </note>
|
---|
[6de7590] | 171 |
|
---|
[2eeb8695] | 172 | <para>
|
---|
| 173 | If you built the API documentation, issue the following commands as
|
---|
| 174 | the <systemitem class="username">root</systemitem> user to install it:
|
---|
| 175 | </para>
|
---|
[b79d81d5] | 176 |
|
---|
[2f3e3de9] | 177 | <screen role="root"
|
---|
| 178 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
[b79d81d5] | 179 | install -v -m644 doc/api/* \
|
---|
| 180 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 181 | </sect2>
|
---|
| 182 |
|
---|
[6c1aa8c] | 183 | <sect2 role="commands">
|
---|
| 184 | <title>Command Explanations</title>
|
---|
| 185 |
|
---|
[77b4c621] | 186 | <para>
|
---|
[5a830ea0] | 187 | <parameter>--disable-vcd</parameter>: This switch is required to compile
|
---|
| 188 | <application>Xine Lib</application> without <ulink
|
---|
[8dfc5c3] | 189 | url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
|
---|
[5a830ea0] | 190 | Remove this option if you have installed VCDImager.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
| 193 | <para>
|
---|
| 194 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 195 | because internal libraries cannot decrypt DVD.
|
---|
[77b4c621] | 196 | </para>
|
---|
| 197 |
|
---|
[68d9a97] | 198 | <para>
|
---|
[1a518e97] | 199 | <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
|
---|
[5a830ea0] | 200 | This switch causes the documentation to be installed into a versioned
|
---|
| 201 | directory instead of the default <filename
|
---|
| 202 | class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
[68d9a97] | 203 | </para>
|
---|
| 204 |
|
---|
[e43e647] | 205 | <para>
|
---|
| 206 | <option>--disable-vaapi</option>: use this switch if <xref
|
---|
| 207 | linkend="libva"/> is installed and <xref linkend="glu"/>
|
---|
| 208 | is not, to prevent a build failure.
|
---|
| 209 | </para>
|
---|
| 210 |
|
---|
[6c1aa8c] | 211 | </sect2>
|
---|
| 212 |
|
---|
[740cd38] | 213 | <sect2 role="content">
|
---|
| 214 | <title>Contents</title>
|
---|
| 215 |
|
---|
| 216 | <segmentedlist>
|
---|
[90b1302c] | 217 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 218 | <segtitle>Installed Libraries</segtitle>
|
---|
| 219 | <segtitle>Installed Fonts</segtitle>
|
---|
| 220 | <segtitle>Installed Directories</segtitle>
|
---|
[71b2520e] | 221 | <!-- When updating, check plugins subdir -->
|
---|
[740cd38] | 222 | <seglistitem>
|
---|
[a1698194] | 223 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 224 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
[a1a7d7f] | 225 | /usr/lib/xine/plugins/2.8</seg>
|
---|
[68d9a97] | 226 | <seg>
|
---|
| 227 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 228 | </seg>
|
---|
| 229 | <seg>
|
---|
| 230 | /usr/include/xine,
|
---|
| 231 | /usr/lib/xine,
|
---|
[dbdab37] | 232 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 233 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 234 | </seg>
|
---|
[740cd38] | 235 | </seglistitem>
|
---|
| 236 | </segmentedlist>
|
---|
| 237 |
|
---|
| 238 | <variablelist>
|
---|
| 239 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 240 | <?dbfo list-presentation="list"?>
|
---|
| 241 | <?dbhtml list-presentation="table"?>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="xine-config">
|
---|
| 244 | <term><command>xine-config</command></term>
|
---|
| 245 | <listitem>
|
---|
[68d9a97] | 246 | <para>
|
---|
| 247 | provides information to programs trying to link with the
|
---|
[4c24eb0a] | 248 | <application>xine</application> libraries
|
---|
[68d9a97] | 249 | </para>
|
---|
[740cd38] | 250 | <indexterm zone="xine-lib xine-config">
|
---|
| 251 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[a1698194] | 256 | <varlistentry id="xine-list-1.2">
|
---|
| 257 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 258 | <listitem>
|
---|
[68d9a97] | 259 | <para>
|
---|
[b9c353b] | 260 | is used to get supported file type information from
|
---|
[4c24eb0a] | 261 | <application>xine-lib</application>
|
---|
[68d9a97] | 262 | </para>
|
---|
[a1698194] | 263 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 264 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
[740cd38] | 269 | <varlistentry id="libxine">
|
---|
[4c24eb0a] | 270 | <term><filename class="libraryfile">libxine.so</filename></term>
|
---|
[740cd38] | 271 | <listitem>
|
---|
[2eeb8695] | 272 | <para>
|
---|
[4c24eb0a] | 273 | provides the API for processing audio/video files
|
---|
[2eeb8695] | 274 | </para>
|
---|
[740cd38] | 275 | <indexterm zone="xine-lib libxine">
|
---|
| 276 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 | </variablelist>
|
---|
| 281 | </sect2>
|
---|
[4c24eb0a] | 282 |
|
---|
[b3224f7] | 283 | </sect1>
|
---|