[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
|
---|
| 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">
|
---|
[dbdab37] | 11 | <!ENTITY xine-lib-md5sum "011def012e9db3dee06808b4580ccede">
|
---|
[68d9a97] | 12 | <!ENTITY xine-lib-size "4.7 MB">
|
---|
[dbdab37] | 13 | <!ENTITY xine-lib-buildsize "126 MB (additional 120 MB to install API documentation)">
|
---|
| 14 | <!ENTITY xine-lib-time "1.7 SBU">
|
---|
[48b7295] | 15 | ]>
|
---|
| 16 |
|
---|
[a027d7d3] | 17 | <sect1 id="xine-lib" xreflabel="xine-lib-&xine-lib-version;">
|
---|
[740cd38] | 18 | <?dbhtml filename="xine-lib.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[a027d7d3] | 25 | <title>xine-lib-&xine-lib-version;</title>
|
---|
[740cd38] | 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 |
|
---|
[68d9a97] | 34 | <para>
|
---|
[07584d8] | 35 | The <application>Xine Libraries</application> package contains xine
|
---|
[68d9a97] | 36 | libraries. These are useful for interfacing with external plug-ins that
|
---|
[2946338a] | 37 | allow the flow of information from the source to the audio and video
|
---|
| 38 | hardware.
|
---|
[68d9a97] | 39 | </para>
|
---|
[740cd38] | 40 |
|
---|
[6de7590] | 41 | &lfs74_checked;
|
---|
[90b1302c] | 42 |
|
---|
[740cd38] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&xine-lib-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
[32d0e29] | 48 | <listitem>
|
---|
[740cd38] | 49 | <para>Download (FTP): <ulink url="&xine-lib-download-ftp;"/></para>
|
---|
[32d0e29] | 50 | </listitem>
|
---|
[740cd38] | 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &xine-lib-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &xine-lib-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &xine-lib-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &xine-lib-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
[07584d8] | 65 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 66 | <itemizedlist spacing="compact">
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Required patch:
|
---|
| 70 | <ulink url="&patch-root;/xine-lib-&xine-lib-version;-missing_include-1.patch"/>
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[740cd38] | 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"/>,
|
---|
[e2e42c7] | 82 | <xref linkend='pulseaudio'/> or
|
---|
| 83 | <ulink url="http://jackaudio.org/">JACK</ulink>
|
---|
| 84 | </para>
|
---|
[06b8423c] | 85 |
|
---|
[740cd38] | 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[68d9a97] | 87 | <para role="optional">
|
---|
| 88 | <xref linkend="liba52"/>,
|
---|
| 89 | <xref linkend="aalib"/>,
|
---|
| 90 | <ulink url="http://www.directfb.org">DirectFB</ulink>,
|
---|
| 91 | <xref linkend="faad2"/>,
|
---|
| 92 | <xref linkend="flac"/>,
|
---|
| 93 | <xref linkend="gdk-pixbuf"/>,
|
---|
| 94 | <xref linkend="imagemagick"/>,
|
---|
| 95 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
| 96 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
| 97 | <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
| 98 | <xref linkend="libdvdnav"/>,
|
---|
| 99 | <ulink url="http://fame.sourceforge.net">libFAME</ulink>,
|
---|
| 100 | <xref linkend="libmad"/>,
|
---|
| 101 | <xref linkend="libmng"/>,
|
---|
| 102 | <xref linkend="libtheora"/>,
|
---|
[07584d8] | 103 | <xref linkend="libva"/>,
|
---|
| 104 | <xref linkend="libvdpau"/>,
|
---|
[68d9a97] | 105 | <xref linkend="libvorbis"/>,
|
---|
| 106 | <xref linkend="mesalib"/>,
|
---|
[831caa1f] | 107 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
[68d9a97] | 108 | <ulink url="http://www.musepack.net/">musepack</ulink>,
|
---|
[45f56ac] | 109 | <xref linkend="samba"/>,
|
---|
[68d9a97] | 110 | <xref linkend="sdl"/>,
|
---|
| 111 | <xref linkend="speex"/>,
|
---|
| 112 | <ulink url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink>,
|
---|
[b79d81d5] | 113 | <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
|
---|
| 114 | <ulink url="http://www.wavpack.com/">WavPack</ulink>, and
|
---|
| 115 | <xref linkend="doxygen"/> (to create the API documentation)
|
---|
[68d9a97] | 116 | </para>
|
---|
[740cd38] | 117 |
|
---|
[68d9a97] | 118 | <para condition="html" role="usernotes">
|
---|
| 119 | User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
|
---|
| 120 | </para>
|
---|
[740cd38] | 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of Xine Libraries</title>
|
---|
| 125 |
|
---|
[68d9a97] | 126 | <para>
|
---|
[07584d8] | 127 | Install <application>Xine Libraries</application> by running the following
|
---|
[68d9a97] | 128 | commands:
|
---|
| 129 | </para>
|
---|
[740cd38] | 130 |
|
---|
[07584d8] | 131 | <screen><userinput>patch -Np1 -i ../xine-lib-&xine-lib-version;-missing_include-1.patch &&
|
---|
[6de7590] | 132 |
|
---|
[dbdab37] | 133 | ./configure --prefix=/usr \
|
---|
| 134 | --disable-vcd \
|
---|
| 135 | --disable-modplug \
|
---|
[b79d81d5] | 136 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 137 | make</userinput></screen>
|
---|
| 138 |
|
---|
[b79d81d5] | 139 | <para>To create the API documentation, <application>Doxygen</application>
|
---|
| 140 | must be installed and issue the following command:</para>
|
---|
| 141 |
|
---|
| 142 | <screen><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
| 143 |
|
---|
[dc7544c] | 144 | <para>This package does not come with a test suite.</para>
|
---|
| 145 |
|
---|
[68d9a97] | 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
[740cd38] | 149 |
|
---|
| 150 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 151 |
|
---|
[6de7590] | 152 | <note><para>
|
---|
| 153 | When installing, the Makefile does some additional
|
---|
| 154 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 155 | variable needs to be defined for the root user. If
|
---|
| 156 | using sudo to assume root, use the -E option to pass
|
---|
| 157 | your current envronment variables for the install process.
|
---|
| 158 | </para></note>
|
---|
| 159 |
|
---|
[b79d81d5] | 160 | <para>If you built the API documentation, issue the following commands as
|
---|
| 161 | the <systemitem class="username">root</systemitem> user to install it:</para>
|
---|
| 162 |
|
---|
| 163 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
| 164 | install -v -m644 doc/api/* \
|
---|
| 165 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 166 | </sect2>
|
---|
| 167 |
|
---|
[6c1aa8c] | 168 | <sect2 role="commands">
|
---|
| 169 | <title>Command Explanations</title>
|
---|
| 170 |
|
---|
[77b4c621] | 171 | <para>
|
---|
[2946338a] | 172 | <parameter>--disable-vcd</parameter>: This option is required to compile
|
---|
| 173 | <application>Xine Lib</application> without
|
---|
[77b4c621] | 174 | <ulink url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink>
|
---|
| 175 | installed. Remove this option if you have installed VCDImager.
|
---|
| 176 | </para>
|
---|
| 177 |
|
---|
[dbdab37] | 178 | <para>
|
---|
| 179 | <parameter>--disable-modplug</parameter>: This option is required to compile
|
---|
| 180 | <application>Xine Lib</application> without
|
---|
| 181 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>
|
---|
| 182 | installed. Remove this option if you have installed libmodplug.
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
[68d9a97] | 185 | <para>
|
---|
[2946338a] | 186 | <parameter>--docdir=/usr/share/xine-lib-&xine-lib-version;</parameter>: This
|
---|
[68d9a97] | 187 | switch causes the documentation to be installed into a versioned
|
---|
| 188 | directory instead of the default
|
---|
| 189 | <filename class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
[6c1aa8c] | 192 | </sect2>
|
---|
| 193 |
|
---|
[740cd38] | 194 | <sect2 role="content">
|
---|
| 195 | <title>Contents</title>
|
---|
| 196 |
|
---|
| 197 | <segmentedlist>
|
---|
[90b1302c] | 198 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 199 | <segtitle>Installed Libraries</segtitle>
|
---|
| 200 | <segtitle>Installed Fonts</segtitle>
|
---|
| 201 | <segtitle>Installed Directories</segtitle>
|
---|
| 202 |
|
---|
| 203 | <seglistitem>
|
---|
[a1698194] | 204 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[3c25d1b] | 205 | <seg>libxine.so and numerous plugin modules and video extensions</seg>
|
---|
[68d9a97] | 206 | <seg>
|
---|
| 207 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 208 | </seg>
|
---|
| 209 | <seg>
|
---|
| 210 | /usr/include/xine,
|
---|
| 211 | /usr/lib/xine,
|
---|
[dbdab37] | 212 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 213 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 214 | </seg>
|
---|
[740cd38] | 215 | </seglistitem>
|
---|
| 216 | </segmentedlist>
|
---|
| 217 |
|
---|
| 218 | <variablelist>
|
---|
| 219 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 220 | <?dbfo list-presentation="list"?>
|
---|
| 221 | <?dbhtml list-presentation="table"?>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="xine-config">
|
---|
| 224 | <term><command>xine-config</command></term>
|
---|
| 225 | <listitem>
|
---|
[68d9a97] | 226 | <para>
|
---|
| 227 | provides information to programs trying to link with the
|
---|
| 228 | <application>xine</application> libraries.
|
---|
| 229 | </para>
|
---|
[740cd38] | 230 | <indexterm zone="xine-lib xine-config">
|
---|
| 231 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
[a1698194] | 236 | <varlistentry id="xine-list-1.2">
|
---|
| 237 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 238 | <listitem>
|
---|
[68d9a97] | 239 | <para>
|
---|
| 240 | is used to get supported filetype information from
|
---|
| 241 | <application>xine-lib</application>.
|
---|
| 242 | </para>
|
---|
[a1698194] | 243 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 244 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
[740cd38] | 249 | <varlistentry id="libxine">
|
---|
| 250 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 251 | <listitem>
|
---|
| 252 | <para> provides the API for processing audio/video files.</para>
|
---|
| 253 | <indexterm zone="xine-lib libxine">
|
---|
| 254 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 | </variablelist>
|
---|
| 259 | </sect2>
|
---|
[b3224f7] | 260 | </sect1>
|
---|