[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 |
|
---|
[fce275e] | 7 | <!ENTITY xine-lib-download-http "&sourceforge-repo;/xine/xine-lib-&xine-lib-version;.tar.bz2">
|
---|
[32d0e29] | 8 | <!ENTITY xine-lib-download-ftp "&gentoo-ftp-repo;/xine-lib-&xine-lib-version;.tar.bz2">
|
---|
[3c25d1b] | 9 | <!ENTITY xine-lib-md5sum "42a2b4893b7f892eb334de2fc36d49c8">
|
---|
[fd9dc0f9] | 10 | <!ENTITY xine-lib-size "7.1 MB">
|
---|
[3c25d1b] | 11 | <!ENTITY xine-lib-buildsize "121 MB (without the API documentation)">
|
---|
| 12 | <!ENTITY xine-lib-time "3.2 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="xine-lib" xreflabel="xine Libraries-&xine-lib-version;">
|
---|
[740cd38] | 16 | <?dbhtml filename="xine-lib.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Xine Libraries-&xine-lib-version;</title>
|
---|
| 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 |
|
---|
[481b3e8] | 32 | <para>The <application>xine Libraries</application> package contains xine
|
---|
[dc7544c] | 33 | libraries. These are useful for interfacing with external plug-ins that
|
---|
| 34 | allow the flow of information from the source to the screen and
|
---|
| 35 | speakers.</para>
|
---|
[740cd38] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&xine-lib-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
[32d0e29] | 42 | <listitem>
|
---|
[740cd38] | 43 | <para>Download (FTP): <ulink url="&xine-lib-download-ftp;"/></para>
|
---|
[32d0e29] | 44 | </listitem>
|
---|
[740cd38] | 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &xine-lib-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &xine-lib-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &xine-lib-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &xine-lib-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d912bc2c] | 62 | <para role="required"><xref linkend="x-window-system"/> and
|
---|
[e77976f] | 63 | <xref linkend="esound"/> or OSS or
|
---|
[dc7544c] | 64 | <xref linkend="alsa"/> or <xref linkend="arts"/> or
|
---|
[06b8423c] | 65 | <ulink url="http://pulseaudio.org/">PulseAudio</ulink> or
|
---|
| 66 | <ulink url="http://jackaudio.org/">JACK</ulink></para>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[358241d1] | 69 | <para role="recommended"><!-- <xref linkend="pkgconfig"/> and -->
|
---|
| 70 | <xref linkend="ffmpeg"/> (with <option>postproc</option> enabled)</para>
|
---|
[740cd38] | 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[06b8423c] | 73 | <para role="optional"><xref linkend="aalib"/>,
|
---|
[481b3e8] | 74 | <xref linkend="libmng"/>,
|
---|
| 75 | <xref linkend="sdl"/>,
|
---|
| 76 | <xref linkend="libfame"/>,
|
---|
| 77 | <xref linkend="libvorbis"/>,
|
---|
| 78 | <xref linkend="speex"/>,
|
---|
| 79 | <xref linkend="gnome-vfs"/>,
|
---|
[7eca2f3] | 80 | <xref linkend="flac"/>,
|
---|
[481b3e8] | 81 | <xref linkend="samba3"/>,
|
---|
[de3764f] | 82 | <xref linkend="imagemagick"/>,
|
---|
[481b3e8] | 83 | <ulink url="http://www.directfb.org/">DirectFB</ulink>,
|
---|
[bf1b5bf9] | 84 | <xref linkend="libtheora"/>,
|
---|
[481b3e8] | 85 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
[dc7544c] | 86 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
| 87 | <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>,
|
---|
| 88 | <ulink url="http://www.vcdimager.org/">VCDImager</ulink>,
|
---|
[06b8423c] | 89 | <ulink url="http://www.musepack.net/">libmpcdec</ulink>,
|
---|
| 90 | <ulink url="http://www.wavpack.com/">WavPack</ulink>,
|
---|
| 91 | <ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>,
|
---|
[3c25d1b] | 92 | and to build the API documentation
|
---|
| 93 | <ulink url="http://sourceforge.net/projects/sgmltools-lite/">sgmltools-lite</ulink>
|
---|
[740cd38] | 94 | and <ulink url="http://www.xfig.org/">Transfig</ulink></para>
|
---|
| 95 |
|
---|
[7eca2f3] | 96 | <para>The developers recommended that you use the internal source tree
|
---|
| 97 | versions of <xref linkend="liba52"/>, libdts (now <ulink
|
---|
| 98 | url="http://www.videolan.org/developers/libdca.html">libdca</ulink>), <ulink
|
---|
| 99 | url="http://sourceforge.net/projects/dvd/">libdvdnav</ulink>, and <xref
|
---|
| 100 | linkend="libmad"/> and not system-installed versions.</para>
|
---|
[de3764f] | 101 |
|
---|
[0e2aa08] | 102 | <para condition="html" role="usernotes">User Notes:
|
---|
| 103 | <ulink url="&blfs-wiki;/xine-lib"/></para>
|
---|
| 104 |
|
---|
[740cd38] | 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of Xine Libraries</title>
|
---|
| 109 |
|
---|
[481b3e8] | 110 | <para>Install <application>xine Libraries</application> by running the
|
---|
[740cd38] | 111 | following commands:</para>
|
---|
| 112 |
|
---|
[3c25d1b] | 113 | <screen><userinput>sed -i 's/\(inline \)\(_x_is_fourcc\)/__\1int \2/' src/xine-engine/buffer.h &&
|
---|
| 114 | ./configure --prefix=/usr \
|
---|
[6e79e02] | 115 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 116 | make</userinput></screen>
|
---|
| 117 |
|
---|
[dc7544c] | 118 | <para>This package does not come with a test suite.</para>
|
---|
| 119 |
|
---|
[740cd38] | 120 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
[6c1aa8c] | 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
[3c25d1b] | 129 | <para><option>
|
---|
| 130 | sed -i 's/\(inline \)\(_x_is_fourcc\)/__\1int \2/' src/xine-engine/buffer.h &&
|
---|
| 131 | </option>: This command enables c++ programs to use the header, for example
|
---|
| 132 | in <xref linkend="kdemultimedia"/></para>
|
---|
| 133 |
|
---|
| 134 | <!-- <para><option>\-\-enable-static</option>: This switch is used to enable
|
---|
| 135 | building the static library as some programs link against it.</para>-->
|
---|
[6c1aa8c] | 136 |
|
---|
[3c25d1b] | 137 |
|
---|
| 138 | <!-- switch no longer needed
|
---|
| 139 | <para><option>\-\-with-external-ffmpeg</option>: This switch enables use of
|
---|
[104733c] | 140 | an external <application>FFmpeg</application> library. The internally built
|
---|
| 141 | library produces poor results with some video files.</para>-->
|
---|
[7eca2f3] | 142 |
|
---|
[a4afd6c] | 143 | <!-- See BLFS ticket 2476 for more info on the ffmpeg option. -->
|
---|
| 144 |
|
---|
[6e79e02] | 145 | <para><option>--docdir=/usr/share/xine-lib-&xine-lib-version;</option>:
|
---|
| 146 | This switch causes the documentation to be installed into a versioned
|
---|
[3c25d1b] | 147 | directory instead of the default
|
---|
[6e79e02] | 148 | <filename class="directory">/usr/share/doc/xine-lib</filename>.</para>
|
---|
| 149 |
|
---|
[3c25d1b] | 150 | <para><option>--with-xv-path=/path/to/somewhere</option>: if
|
---|
| 151 | <filename>libXv.so</filename> is not installed in
|
---|
| 152 | <filename class="directory">/usr/X11R6/lib</filename> nor in
|
---|
| 153 | <filename class="directory">/usr/lib</filename> you will need to tell
|
---|
| 154 | the <command>configure</command> command where to find it.</para>
|
---|
| 155 |
|
---|
[6c1aa8c] | 156 | </sect2>
|
---|
| 157 |
|
---|
[740cd38] | 158 | <sect2 role="content">
|
---|
| 159 | <title>Contents</title>
|
---|
| 160 |
|
---|
| 161 | <segmentedlist>
|
---|
| 162 | <segtitle>Installed Program</segtitle>
|
---|
| 163 | <segtitle>Installed Libraries</segtitle>
|
---|
| 164 | <segtitle>Installed Fonts</segtitle>
|
---|
| 165 | <segtitle>Installed Directories</segtitle>
|
---|
| 166 |
|
---|
| 167 | <seglistitem>
|
---|
| 168 | <seg>xine-config</seg>
|
---|
[3c25d1b] | 169 | <seg>libxine.so and numerous plugin modules and video extensions</seg>
|
---|
[481b3e8] | 170 | <seg>Output display engine fonts located in
|
---|
[740cd38] | 171 | /usr/share/xine/libxine1/fonts</seg>
|
---|
[481b3e8] | 172 | <seg>/usr/include/xine, /usr/lib/xine, /usr/share/xine, and
|
---|
[6e79e02] | 173 | /usr/share/doc/xine-lib-&xine-lib-version;</seg>
|
---|
[740cd38] | 174 | </seglistitem>
|
---|
| 175 | </segmentedlist>
|
---|
| 176 |
|
---|
| 177 | <variablelist>
|
---|
| 178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 179 | <?dbfo list-presentation="list"?>
|
---|
| 180 | <?dbhtml list-presentation="table"?>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="xine-config">
|
---|
| 183 | <term><command>xine-config</command></term>
|
---|
| 184 | <listitem>
|
---|
[481b3e8] | 185 | <para>provides information to programs trying to link with the
|
---|
[740cd38] | 186 | <application>xine</application> libraries.</para>
|
---|
| 187 | <indexterm zone="xine-lib xine-config">
|
---|
| 188 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="libxine">
|
---|
| 194 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para> provides the API for processing audio/video files.</para>
|
---|
| 197 | <indexterm zone="xine-lib libxine">
|
---|
| 198 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | </variablelist>
|
---|
| 204 |
|
---|
| 205 | </sect2>
|
---|
[b3224f7] | 206 |
|
---|
| 207 | </sect1>
|
---|