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