[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 |
|
---|
[645e6b0] | 41 | &lfs79_checked;
|
---|
[e54771c] | 42 | &gcc6_checked;
|
---|
[90b1302c] | 43 |
|
---|
[740cd38] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&xine-lib-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
[32d0e29] | 49 | <listitem>
|
---|
[740cd38] | 50 | <para>Download (FTP): <ulink url="&xine-lib-download-ftp;"/></para>
|
---|
[32d0e29] | 51 | </listitem>
|
---|
[740cd38] | 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &xine-lib-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &xine-lib-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &xine-lib-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &xine-lib-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e2e42c7] | 69 | <para role="required">
|
---|
[efcf979] | 70 | <xref linkend="x-window-system"/>,
|
---|
| 71 | <xref linkend="ffmpeg"/>, and at least one of:
|
---|
[285c7cf] | 72 | <xref linkend="alsa"/>,
|
---|
[e2e42c7] | 73 | <xref linkend='pulseaudio'/> or
|
---|
| 74 | <ulink url="http://jackaudio.org/">JACK</ulink>
|
---|
| 75 | </para>
|
---|
[06b8423c] | 76 |
|
---|
[5a830ea0] | 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
| 79 | <xref linkend="libdvdnav"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[740cd38] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[68d9a97] | 83 | <para role="optional">
|
---|
| 84 | <xref linkend="aalib"/>,
|
---|
| 85 | <xref linkend="faad2"/>,
|
---|
| 86 | <xref linkend="flac"/>,
|
---|
| 87 | <xref linkend="gdk-pixbuf"/>,
|
---|
[ea23431] | 88 | <xref linkend="glu"/>,
|
---|
[68d9a97] | 89 | <xref linkend="imagemagick"/>,
|
---|
[865f93ec] | 90 | <xref linkend="liba52"/>,
|
---|
[68d9a97] | 91 | <xref linkend="libmad"/>,
|
---|
| 92 | <xref linkend="libmng"/>,
|
---|
| 93 | <xref linkend="libtheora"/>,
|
---|
[07584d8] | 94 | <xref linkend="libva"/>,
|
---|
| 95 | <xref linkend="libvdpau"/>,
|
---|
[68d9a97] | 96 | <xref linkend="libvorbis"/>,
|
---|
[865f93ec] | 97 | <xref linkend="libvpx"/>,
|
---|
[7a395d1] | 98 | <xref linkend="mesa"/>,
|
---|
[45f56ac] | 99 | <xref linkend="samba"/>,
|
---|
[68d9a97] | 100 | <xref linkend="sdl"/>,
|
---|
| 101 | <xref linkend="speex"/>,
|
---|
[865f93ec] | 102 | <xref linkend="doxygen"/> (to create the API documentation),
|
---|
[80dbc4c8] | 103 | <xref linkend="v4l-utils"/>
|
---|
[8763a1da] | 104 | <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
|
---|
[865f93ec] | 105 | <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
| 106 | <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>,
|
---|
| 107 | <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
| 108 | <ulink url="http://fame.sourceforge.net">libFAME</ulink>,
|
---|
| 109 | <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
| 110 | <ulink url="http://www.musepack.net/">musepack</ulink>,
|
---|
[80dbc4c8] | 111 | <ulink url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink>, and
|
---|
[865f93ec] | 112 | <ulink url="http://www.wavpack.com/">WavPack</ulink>,
|
---|
[68d9a97] | 113 | </para>
|
---|
[740cd38] | 114 |
|
---|
[68d9a97] | 115 | <para condition="html" role="usernotes">
|
---|
| 116 | User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
|
---|
| 117 | </para>
|
---|
[740cd38] | 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="installation">
|
---|
| 121 | <title>Installation of Xine Libraries</title>
|
---|
| 122 |
|
---|
[68d9a97] | 123 | <para>
|
---|
[07584d8] | 124 | Install <application>Xine Libraries</application> by running the following
|
---|
[68d9a97] | 125 | commands:
|
---|
| 126 | </para>
|
---|
[740cd38] | 127 |
|
---|
[ba1ccf6] | 128 | <screen><userinput>sed -e 's/avcodec_alloc_frame/av_frame_alloc/' \
|
---|
| 129 | -e 's/avcodec_free_frame/av_frame_free/' \
|
---|
| 130 | -i src/combined/ffmpeg/ff_{audio,video}_decoder.c \
|
---|
[e54771c] | 131 | src/dxr3/ffmpeg_encoder.c &&
|
---|
| 132 |
|
---|
| 133 | sed -e 's|wand/magick_wand.h|MagickWand/MagickWand.h|' \
|
---|
| 134 | -i src/video_dec/image.c &&
|
---|
[ba1ccf6] | 135 |
|
---|
| 136 | ./configure --prefix=/usr \
|
---|
[5a830ea0] | 137 | --disable-vcd \
|
---|
| 138 | --with-external-dvdnav \
|
---|
[b79d81d5] | 139 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 140 | make</userinput></screen>
|
---|
| 141 |
|
---|
[b79d81d5] | 142 | <para>To create the API documentation, <application>Doxygen</application>
|
---|
| 143 | must be installed and issue the following command:</para>
|
---|
| 144 |
|
---|
| 145 | <screen><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
| 146 |
|
---|
[dc7544c] | 147 | <para>This package does not come with a test suite.</para>
|
---|
| 148 |
|
---|
[68d9a97] | 149 | <para>
|
---|
| 150 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 151 | </para>
|
---|
[740cd38] | 152 |
|
---|
| 153 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 154 |
|
---|
[6de7590] | 155 | <note><para>
|
---|
| 156 | When installing, the Makefile does some additional
|
---|
| 157 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 158 | variable needs to be defined for the root user. If
|
---|
| 159 | using sudo to assume root, use the -E option to pass
|
---|
[773db87] | 160 | your current environment variables for the install process.
|
---|
[6de7590] | 161 | </para></note>
|
---|
| 162 |
|
---|
[b79d81d5] | 163 | <para>If you built the API documentation, issue the following commands as
|
---|
| 164 | the <systemitem class="username">root</systemitem> user to install it:</para>
|
---|
| 165 |
|
---|
| 166 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
| 167 | install -v -m644 doc/api/* \
|
---|
| 168 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 169 | </sect2>
|
---|
| 170 |
|
---|
[6c1aa8c] | 171 | <sect2 role="commands">
|
---|
| 172 | <title>Command Explanations</title>
|
---|
| 173 |
|
---|
[ba1ccf6] | 174 | <para>
|
---|
[e54771c] | 175 | <command>sed ...</command>: These commands enable the package to be
|
---|
| 176 | built with <xref linkend='ffmpeg'/> and <xref linkend='imagemagick'/>.
|
---|
[ba1ccf6] | 177 | </para>
|
---|
| 178 |
|
---|
| 179 | <para>
|
---|
| 180 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 181 | because internal libraries cannot decrypt DVD.
|
---|
| 182 | </para>
|
---|
[77b4c621] | 183 | <para>
|
---|
[5a830ea0] | 184 | <parameter>--disable-vcd</parameter>: This switch is required to compile
|
---|
| 185 | <application>Xine Lib</application> without <ulink
|
---|
| 186 | url="http://ftp.gnu.org/gnu/vcdimager/">VCDImager</ulink> installed.
|
---|
| 187 | Remove this option if you have installed VCDImager.
|
---|
| 188 | </para>
|
---|
| 189 |
|
---|
| 190 | <para>
|
---|
| 191 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 192 | because internal libraries cannot decrypt DVD.
|
---|
[77b4c621] | 193 | </para>
|
---|
| 194 |
|
---|
[68d9a97] | 195 | <para>
|
---|
[5a830ea0] | 196 | <parameter>--docdir=/usr/share/xine-lib-&xine-lib-version;</parameter>:
|
---|
| 197 | This switch causes the documentation to be installed into a versioned
|
---|
| 198 | directory instead of the default <filename
|
---|
| 199 | class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
[68d9a97] | 200 | </para>
|
---|
| 201 |
|
---|
[6c1aa8c] | 202 | </sect2>
|
---|
| 203 |
|
---|
[740cd38] | 204 | <sect2 role="content">
|
---|
| 205 | <title>Contents</title>
|
---|
| 206 |
|
---|
| 207 | <segmentedlist>
|
---|
[90b1302c] | 208 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 209 | <segtitle>Installed Libraries</segtitle>
|
---|
| 210 | <segtitle>Installed Fonts</segtitle>
|
---|
| 211 | <segtitle>Installed Directories</segtitle>
|
---|
[71b2520e] | 212 | <!-- When updating, check plugins subdir -->
|
---|
[740cd38] | 213 | <seglistitem>
|
---|
[a1698194] | 214 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 215 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
[71b2520e] | 216 | /usr/lib/xine/plugins/2.5</seg>
|
---|
[68d9a97] | 217 | <seg>
|
---|
| 218 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 219 | </seg>
|
---|
| 220 | <seg>
|
---|
| 221 | /usr/include/xine,
|
---|
| 222 | /usr/lib/xine,
|
---|
[dbdab37] | 223 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 224 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 225 | </seg>
|
---|
[740cd38] | 226 | </seglistitem>
|
---|
| 227 | </segmentedlist>
|
---|
| 228 |
|
---|
| 229 | <variablelist>
|
---|
| 230 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 231 | <?dbfo list-presentation="list"?>
|
---|
| 232 | <?dbhtml list-presentation="table"?>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="xine-config">
|
---|
| 235 | <term><command>xine-config</command></term>
|
---|
| 236 | <listitem>
|
---|
[68d9a97] | 237 | <para>
|
---|
| 238 | provides information to programs trying to link with the
|
---|
| 239 | <application>xine</application> libraries.
|
---|
| 240 | </para>
|
---|
[740cd38] | 241 | <indexterm zone="xine-lib xine-config">
|
---|
| 242 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
[a1698194] | 247 | <varlistentry id="xine-list-1.2">
|
---|
| 248 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 249 | <listitem>
|
---|
[68d9a97] | 250 | <para>
|
---|
| 251 | is used to get supported filetype information from
|
---|
| 252 | <application>xine-lib</application>.
|
---|
| 253 | </para>
|
---|
[a1698194] | 254 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 255 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
[740cd38] | 260 | <varlistentry id="libxine">
|
---|
| 261 | <term><filename class='libraryfile'>libxine.so</filename></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para> provides the API for processing audio/video files.</para>
|
---|
| 264 | <indexterm zone="xine-lib libxine">
|
---|
| 265 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 | </variablelist>
|
---|
| 270 | </sect2>
|
---|
[b3224f7] | 271 | </sect1>
|
---|