[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">
|
---|
[800ea28c] | 10 | <!ENTITY xine-lib-md5sum "cd42d2ba92f943d17736d9bca712b3d1">
|
---|
| 11 | <!ENTITY xine-lib-size "5.0 MB">
|
---|
| 12 | <!ENTITY xine-lib-buildsize "96 MB (add 130 MB for API documentation)">
|
---|
| 13 | <!ENTITY xine-lib-time "1.5 SBU (add 0.1 SBU for 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 |
|
---|
[7d4be40] | 40 | &lfs84_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"/>,
|
---|
[e2e42c7] | 71 | <xref linkend='pulseaudio'/> or
|
---|
| 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 |
|
---|
[4b65cdf] | 126 | <screen><userinput>sed -e 's|wand/magick_wand.h|MagickWand/MagickWand.h|' \
|
---|
[e54771c] | 127 | -i src/video_dec/image.c &&
|
---|
[ba1ccf6] | 128 |
|
---|
[1de48c0f] | 129 | sed -e 's/\(xcb-shape >= 1.0\)/xcb \1/' \
|
---|
| 130 | -i m4/video_out.m4 &&
|
---|
[9d11b8a5] | 131 |
|
---|
[ba1ccf6] | 132 | ./configure --prefix=/usr \
|
---|
[5a830ea0] | 133 | --disable-vcd \
|
---|
| 134 | --with-external-dvdnav \
|
---|
[b79d81d5] | 135 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 136 | make</userinput></screen>
|
---|
| 137 |
|
---|
[b79d81d5] | 138 | <para>To create the API documentation, <application>Doxygen</application>
|
---|
| 139 | must be installed and issue the following command:</para>
|
---|
| 140 |
|
---|
| 141 | <screen><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
| 142 |
|
---|
[dc7544c] | 143 | <para>This package does not come with a test suite.</para>
|
---|
| 144 |
|
---|
[68d9a97] | 145 | <para>
|
---|
| 146 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
[740cd38] | 148 |
|
---|
| 149 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 150 |
|
---|
[6de7590] | 151 | <note><para>
|
---|
| 152 | When installing, the Makefile does some additional
|
---|
| 153 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 154 | variable needs to be defined for the root user. If
|
---|
| 155 | using sudo to assume root, use the -E option to pass
|
---|
[773db87] | 156 | your current environment variables for the install process.
|
---|
[6de7590] | 157 | </para></note>
|
---|
| 158 |
|
---|
[b79d81d5] | 159 | <para>If you built the API documentation, issue the following commands as
|
---|
| 160 | the <systemitem class="username">root</systemitem> user to install it:</para>
|
---|
| 161 |
|
---|
| 162 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
| 163 | install -v -m644 doc/api/* \
|
---|
| 164 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 165 | </sect2>
|
---|
| 166 |
|
---|
[6c1aa8c] | 167 | <sect2 role="commands">
|
---|
| 168 | <title>Command Explanations</title>
|
---|
| 169 |
|
---|
[ba1ccf6] | 170 | <para>
|
---|
[e54771c] | 171 | <command>sed ...</command>: These commands enable the package to be
|
---|
[4b65cdf] | 172 | built with <xref linkend='imagemagick'/> and <xref linkend="libxcb"/>.
|
---|
[ba1ccf6] | 173 | </para>
|
---|
| 174 |
|
---|
[77b4c621] | 175 | <para>
|
---|
[5a830ea0] | 176 | <parameter>--disable-vcd</parameter>: This switch is required to compile
|
---|
| 177 | <application>Xine Lib</application> without <ulink
|
---|
[8dfc5c3] | 178 | url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
|
---|
[5a830ea0] | 179 | Remove this option if you have installed VCDImager.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
| 182 | <para>
|
---|
| 183 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 184 | because internal libraries cannot decrypt DVD.
|
---|
[77b4c621] | 185 | </para>
|
---|
| 186 |
|
---|
[68d9a97] | 187 | <para>
|
---|
[1a518e97] | 188 | <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
|
---|
[5a830ea0] | 189 | This switch causes the documentation to be installed into a versioned
|
---|
| 190 | directory instead of the default <filename
|
---|
| 191 | class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
[68d9a97] | 192 | </para>
|
---|
| 193 |
|
---|
[e43e647] | 194 | <para>
|
---|
| 195 | <option>--disable-vaapi</option>: use this switch if <xref
|
---|
| 196 | linkend="libva"/> is installed and <xref linkend="glu"/>
|
---|
| 197 | is not, to prevent a build failure.
|
---|
| 198 | </para>
|
---|
| 199 |
|
---|
[6c1aa8c] | 200 | </sect2>
|
---|
| 201 |
|
---|
[740cd38] | 202 | <sect2 role="content">
|
---|
| 203 | <title>Contents</title>
|
---|
| 204 |
|
---|
| 205 | <segmentedlist>
|
---|
[90b1302c] | 206 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 207 | <segtitle>Installed Libraries</segtitle>
|
---|
| 208 | <segtitle>Installed Fonts</segtitle>
|
---|
| 209 | <segtitle>Installed Directories</segtitle>
|
---|
[71b2520e] | 210 | <!-- When updating, check plugins subdir -->
|
---|
[740cd38] | 211 | <seglistitem>
|
---|
[a1698194] | 212 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 213 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
[800ea28c] | 214 | /usr/lib/xine/plugins/2.7</seg>
|
---|
[68d9a97] | 215 | <seg>
|
---|
| 216 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 217 | </seg>
|
---|
| 218 | <seg>
|
---|
| 219 | /usr/include/xine,
|
---|
| 220 | /usr/lib/xine,
|
---|
[dbdab37] | 221 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 222 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 223 | </seg>
|
---|
[740cd38] | 224 | </seglistitem>
|
---|
| 225 | </segmentedlist>
|
---|
| 226 |
|
---|
| 227 | <variablelist>
|
---|
| 228 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 229 | <?dbfo list-presentation="list"?>
|
---|
| 230 | <?dbhtml list-presentation="table"?>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="xine-config">
|
---|
| 233 | <term><command>xine-config</command></term>
|
---|
| 234 | <listitem>
|
---|
[68d9a97] | 235 | <para>
|
---|
| 236 | provides information to programs trying to link with the
|
---|
| 237 | <application>xine</application> libraries.
|
---|
| 238 | </para>
|
---|
[740cd38] | 239 | <indexterm zone="xine-lib xine-config">
|
---|
| 240 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
[a1698194] | 245 | <varlistentry id="xine-list-1.2">
|
---|
| 246 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 247 | <listitem>
|
---|
[68d9a97] | 248 | <para>
|
---|
| 249 | is used to get supported filetype information from
|
---|
| 250 | <application>xine-lib</application>.
|
---|
| 251 | </para>
|
---|
[a1698194] | 252 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 253 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
[740cd38] | 258 | <varlistentry id="libxine">
|
---|
| 259 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 260 | <listitem>
|
---|
| 261 | <para> provides the API for processing audio/video files.</para>
|
---|
| 262 | <indexterm zone="xine-lib libxine">
|
---|
| 263 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 | </variablelist>
|
---|
| 268 | </sect2>
|
---|
[b3224f7] | 269 | </sect1>
|
---|