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