[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 |
|
---|
[d19fb65] | 41 | &lfs78_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">
|
---|
[d19fb65] | 69 | <xref linkend="x-window-system"/>,
|
---|
[efcf979] | 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 |
|
---|
[ac38e9dc] | 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"/>,
|
---|
[ba8cf0e] | 97 | <xref linkend="mesa"/>,
|
---|
[45f56ac] | 98 | <xref linkend="samba"/>,
|
---|
[68d9a97] | 99 | <xref linkend="sdl"/>,
|
---|
| 100 | <xref linkend="speex"/>,
|
---|
[865f93ec] | 101 | <xref linkend="doxygen"/> (to create the API documentation),
|
---|
[ac38e9dc] | 102 | <xref linkend="v4l-utils"/>
|
---|
[d19fb65] | 103 | <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
|
---|
[865f93ec] | 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>,
|
---|
[ac38e9dc] | 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 |
|
---|
[d7bee48] | 127 | <screen><userinput>sed -e 's/avcodec_alloc_frame/av_frame_alloc/' \
|
---|
| 128 | -e 's/avcodec_free_frame/av_frame_free/' \
|
---|
| 129 | -i src/combined/ffmpeg/ff_{audio,video}_decoder.c \
|
---|
[f080ae0e] | 130 | src/dxr3/ffmpeg_encoder.c &&
|
---|
| 131 |
|
---|
| 132 | sed -e 's|wand/magick_wand.h|MagickWand/MagickWand.h|' \
|
---|
| 133 | -i src/video_dec/image.c &&
|
---|
[d7bee48] | 134 |
|
---|
| 135 | ./configure --prefix=/usr \
|
---|
[ac38e9dc] | 136 | --disable-vcd \
|
---|
| 137 | --with-external-dvdnav \
|
---|
[b79d81d5] | 138 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 139 | make</userinput></screen>
|
---|
| 140 |
|
---|
[b79d81d5] | 141 | <para>To create the API documentation, <application>Doxygen</application>
|
---|
| 142 | must be installed and issue the following command:</para>
|
---|
| 143 |
|
---|
| 144 | <screen><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
| 145 |
|
---|
[dc7544c] | 146 | <para>This package does not come with a test suite.</para>
|
---|
| 147 |
|
---|
[68d9a97] | 148 | <para>
|
---|
| 149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
[740cd38] | 151 |
|
---|
| 152 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 153 |
|
---|
[6de7590] | 154 | <note><para>
|
---|
| 155 | When installing, the Makefile does some additional
|
---|
| 156 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 157 | variable needs to be defined for the root user. If
|
---|
| 158 | using sudo to assume root, use the -E option to pass
|
---|
[773db87] | 159 | your current environment variables for the install process.
|
---|
[6de7590] | 160 | </para></note>
|
---|
| 161 |
|
---|
[b79d81d5] | 162 | <para>If you built the API documentation, issue the following commands as
|
---|
| 163 | the <systemitem class="username">root</systemitem> user to install it:</para>
|
---|
| 164 |
|
---|
| 165 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
| 166 | install -v -m644 doc/api/* \
|
---|
| 167 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 168 | </sect2>
|
---|
| 169 |
|
---|
[6c1aa8c] | 170 | <sect2 role="commands">
|
---|
| 171 | <title>Command Explanations</title>
|
---|
| 172 |
|
---|
[d7bee48] | 173 | <para>
|
---|
[f080ae0e] | 174 | <command>sed ...</command>: These commands enables the package to be
|
---|
| 175 | built with <xref linkend="ffmpeg"/> and <xref linkend="imagemagick"/>.
|
---|
[d7bee48] | 176 | </para>
|
---|
| 177 |
|
---|
[77b4c621] | 178 | <para>
|
---|
[ac38e9dc] | 179 | <parameter>--disable-vcd</parameter>: This switch is required to compile
|
---|
| 180 | <application>Xine Lib</application> without <ulink
|
---|
| 181 | url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink> installed.
|
---|
| 182 | Remove this option if you have installed VCDImager.
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
| 185 | <para>
|
---|
[d19fb65] | 186 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 187 | because internal libraries cannot decrypt DVD.
|
---|
[77b4c621] | 188 | </para>
|
---|
| 189 |
|
---|
[68d9a97] | 190 | <para>
|
---|
[ac38e9dc] | 191 | <parameter>--docdir=/usr/share/xine-lib-&xine-lib-version;</parameter>:
|
---|
| 192 | This switch causes the documentation to be installed into a versioned
|
---|
| 193 | directory instead of the default <filename
|
---|
| 194 | class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
[68d9a97] | 195 | </para>
|
---|
| 196 |
|
---|
[6c1aa8c] | 197 | </sect2>
|
---|
| 198 |
|
---|
[740cd38] | 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
[90b1302c] | 203 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 204 | <segtitle>Installed Libraries</segtitle>
|
---|
| 205 | <segtitle>Installed Fonts</segtitle>
|
---|
| 206 | <segtitle>Installed Directories</segtitle>
|
---|
[d19fb65] | 207 | <!-- When updating, check plugins subdir -->
|
---|
[740cd38] | 208 | <seglistitem>
|
---|
[a1698194] | 209 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 210 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
[d19fb65] | 211 | /usr/lib/xine/plugins/2.5</seg>
|
---|
[68d9a97] | 212 | <seg>
|
---|
| 213 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 214 | </seg>
|
---|
| 215 | <seg>
|
---|
| 216 | /usr/include/xine,
|
---|
| 217 | /usr/lib/xine,
|
---|
[dbdab37] | 218 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 219 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 220 | </seg>
|
---|
[740cd38] | 221 | </seglistitem>
|
---|
| 222 | </segmentedlist>
|
---|
| 223 |
|
---|
| 224 | <variablelist>
|
---|
| 225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 226 | <?dbfo list-presentation="list"?>
|
---|
| 227 | <?dbhtml list-presentation="table"?>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="xine-config">
|
---|
| 230 | <term><command>xine-config</command></term>
|
---|
| 231 | <listitem>
|
---|
[68d9a97] | 232 | <para>
|
---|
| 233 | provides information to programs trying to link with the
|
---|
| 234 | <application>xine</application> libraries.
|
---|
| 235 | </para>
|
---|
[740cd38] | 236 | <indexterm zone="xine-lib xine-config">
|
---|
| 237 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
[a1698194] | 242 | <varlistentry id="xine-list-1.2">
|
---|
| 243 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 244 | <listitem>
|
---|
[68d9a97] | 245 | <para>
|
---|
| 246 | is used to get supported filetype information from
|
---|
| 247 | <application>xine-lib</application>.
|
---|
| 248 | </para>
|
---|
[a1698194] | 249 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 250 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
[740cd38] | 255 | <varlistentry id="libxine">
|
---|
| 256 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para> provides the API for processing audio/video files.</para>
|
---|
| 259 | <indexterm zone="xine-lib libxine">
|
---|
| 260 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 | </variablelist>
|
---|
| 265 | </sect2>
|
---|
[b3224f7] | 266 | </sect1>
|
---|