[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">
|
---|
[865f93ec] | 11 | <!ENTITY xine-lib-md5sum "02ee3c2380273989b4b016903209e05e">
|
---|
[07c09384] | 12 | <!ENTITY xine-lib-size "4.8 MB">
|
---|
[865f93ec] | 13 | <!ENTITY xine-lib-buildsize "121 MB (additional 123 MB to install API documentation)">
|
---|
| 14 | <!ENTITY xine-lib-time "1.4 SBU (additional 0.1 SBU to install API documentation)">
|
---|
[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 |
|
---|
[aed3e6ec] | 41 | &lfs77_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 |
|
---|
| 65 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e2e42c7] | 68 | <para role="required">
|
---|
[efcf979] | 69 | <xref linkend="x-window-system"/>,
|
---|
| 70 | <xref linkend="ffmpeg"/>, and at least one of:
|
---|
[285c7cf] | 71 | <xref linkend="alsa"/>,
|
---|
[e2e42c7] | 72 | <xref linkend='pulseaudio'/> or
|
---|
| 73 | <ulink url="http://jackaudio.org/">JACK</ulink>
|
---|
| 74 | </para>
|
---|
[06b8423c] | 75 |
|
---|
[5a830ea0] | 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
| 78 | <xref linkend="libdvdnav"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
[740cd38] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[68d9a97] | 82 | <para role="optional">
|
---|
| 83 | <xref linkend="aalib"/>,
|
---|
| 84 | <xref linkend="faad2"/>,
|
---|
| 85 | <xref linkend="flac"/>,
|
---|
| 86 | <xref linkend="gdk-pixbuf"/>,
|
---|
[ea23431] | 87 | <xref linkend="glu"/>,
|
---|
[68d9a97] | 88 | <xref linkend="imagemagick"/>,
|
---|
[865f93ec] | 89 | <xref linkend="liba52"/>,
|
---|
[68d9a97] | 90 | <xref linkend="libmad"/>,
|
---|
| 91 | <xref linkend="libmng"/>,
|
---|
| 92 | <xref linkend="libtheora"/>,
|
---|
[07584d8] | 93 | <xref linkend="libva"/>,
|
---|
| 94 | <xref linkend="libvdpau"/>,
|
---|
[68d9a97] | 95 | <xref linkend="libvorbis"/>,
|
---|
[865f93ec] | 96 | <xref linkend="libvpx"/>,
|
---|
[68d9a97] | 97 | <xref linkend="mesalib"/>,
|
---|
[45f56ac] | 98 | <xref linkend="samba"/>,
|
---|
[68d9a97] | 99 | <xref linkend="sdl"/>,
|
---|
| 100 | <xref linkend="speex"/>,
|
---|
[865f93ec] | 101 | <xref linkend="doxygen"/> (to create the API documentation),
|
---|
[80dbc4c8] | 102 | <xref linkend="v4l-utils"/>
|
---|
[865f93ec] | 103 | <ulink url="http://www.directfb.org">DirectFB</ulink>,
|
---|
| 104 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
| 105 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
| 106 | <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
| 107 | <ulink url="http://fame.sourceforge.net">libFAME</ulink>,
|
---|
| 108 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
| 109 | <ulink url="http://www.musepack.net/">musepack</ulink>,
|
---|
[80dbc4c8] | 110 | <ulink url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink>, and
|
---|
[865f93ec] | 111 | <ulink url="http://www.wavpack.com/">WavPack</ulink>,
|
---|
[68d9a97] | 112 | </para>
|
---|
[740cd38] | 113 |
|
---|
[68d9a97] | 114 | <para condition="html" role="usernotes">
|
---|
| 115 | User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
|
---|
| 116 | </para>
|
---|
[740cd38] | 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
| 120 | <title>Installation of Xine Libraries</title>
|
---|
| 121 |
|
---|
[68d9a97] | 122 | <para>
|
---|
[07584d8] | 123 | Install <application>Xine Libraries</application> by running the following
|
---|
[68d9a97] | 124 | commands:
|
---|
| 125 | </para>
|
---|
[740cd38] | 126 |
|
---|
[5a830ea0] | 127 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 128 | --disable-vcd \
|
---|
| 129 | --with-external-dvdnav \
|
---|
[b79d81d5] | 130 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
[b79d81d5] | 133 | <para>To create the API documentation, <application>Doxygen</application>
|
---|
| 134 | must be installed and issue the following command:</para>
|
---|
| 135 |
|
---|
| 136 | <screen><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
| 137 |
|
---|
[dc7544c] | 138 | <para>This package does not come with a test suite.</para>
|
---|
| 139 |
|
---|
[68d9a97] | 140 | <para>
|
---|
| 141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
[740cd38] | 143 |
|
---|
| 144 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 145 |
|
---|
[6de7590] | 146 | <note><para>
|
---|
| 147 | When installing, the Makefile does some additional
|
---|
| 148 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 149 | variable needs to be defined for the root user. If
|
---|
| 150 | using sudo to assume root, use the -E option to pass
|
---|
[773db87] | 151 | your current environment variables for the install process.
|
---|
[6de7590] | 152 | </para></note>
|
---|
| 153 |
|
---|
[b79d81d5] | 154 | <para>If you built the API documentation, issue the following commands as
|
---|
| 155 | the <systemitem class="username">root</systemitem> user to install it:</para>
|
---|
| 156 |
|
---|
| 157 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
| 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
|
---|
| 168 | url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink> installed.
|
---|
| 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>
|
---|
[5a830ea0] | 178 | <parameter>--docdir=/usr/share/xine-lib-&xine-lib-version;</parameter>:
|
---|
| 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 |
|
---|
[6c1aa8c] | 184 | </sect2>
|
---|
| 185 |
|
---|
[740cd38] | 186 | <sect2 role="content">
|
---|
| 187 | <title>Contents</title>
|
---|
| 188 |
|
---|
| 189 | <segmentedlist>
|
---|
[90b1302c] | 190 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 191 | <segtitle>Installed Libraries</segtitle>
|
---|
| 192 | <segtitle>Installed Fonts</segtitle>
|
---|
| 193 | <segtitle>Installed Directories</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
[a1698194] | 196 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 197 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
| 198 | /usr/lib/xine/plugins/2.4</seg>
|
---|
[68d9a97] | 199 | <seg>
|
---|
| 200 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 201 | </seg>
|
---|
| 202 | <seg>
|
---|
| 203 | /usr/include/xine,
|
---|
| 204 | /usr/lib/xine,
|
---|
[dbdab37] | 205 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 206 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 207 | </seg>
|
---|
[740cd38] | 208 | </seglistitem>
|
---|
| 209 | </segmentedlist>
|
---|
| 210 |
|
---|
| 211 | <variablelist>
|
---|
| 212 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 213 | <?dbfo list-presentation="list"?>
|
---|
| 214 | <?dbhtml list-presentation="table"?>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="xine-config">
|
---|
| 217 | <term><command>xine-config</command></term>
|
---|
| 218 | <listitem>
|
---|
[68d9a97] | 219 | <para>
|
---|
| 220 | provides information to programs trying to link with the
|
---|
| 221 | <application>xine</application> libraries.
|
---|
| 222 | </para>
|
---|
[740cd38] | 223 | <indexterm zone="xine-lib xine-config">
|
---|
| 224 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
[a1698194] | 229 | <varlistentry id="xine-list-1.2">
|
---|
| 230 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 231 | <listitem>
|
---|
[68d9a97] | 232 | <para>
|
---|
| 233 | is used to get supported filetype information from
|
---|
| 234 | <application>xine-lib</application>.
|
---|
| 235 | </para>
|
---|
[a1698194] | 236 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 237 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
[740cd38] | 242 | <varlistentry id="libxine">
|
---|
| 243 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para> provides the API for processing audio/video files.</para>
|
---|
| 246 | <indexterm zone="xine-lib libxine">
|
---|
| 247 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 | </variablelist>
|
---|
| 252 | </sect2>
|
---|
[b3224f7] | 253 | </sect1>
|
---|