[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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
|
---|
[8dfc5c3] | 8 | "&sourceforge-dl;/xine/xine-lib-&xine-lib-version;.tar.xz">
|
---|
[194b4ee] | 9 | <!ENTITY xine-lib-download-ftp " ">
|
---|
[5cf5248] | 10 | <!ENTITY xine-lib-md5sum "9e1be39857b7a3cd7cc0f2b96331ff22">
|
---|
[1ed3e64] | 11 | <!ENTITY xine-lib-size "4.8 MB">
|
---|
| 12 | <!ENTITY xine-lib-buildsize "98 MB (with API documentation)">
|
---|
[d6264b7] | 13 | <!ENTITY xine-lib-time "0.5 SBU (Using parallelism=4; with API documentation)">
|
---|
[48b7295] | 14 | ]>
|
---|
| 15 |
|
---|
[a027d7d3] | 16 | <sect1 id="xine-lib" xreflabel="xine-lib-&xine-lib-version;">
|
---|
[740cd38] | 17 | <?dbhtml filename="xine-lib.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
[a027d7d3] | 20 | <title>xine-lib-&xine-lib-version;</title>
|
---|
[740cd38] | 21 |
|
---|
| 22 | <indexterm zone="xine-lib">
|
---|
| 23 | <primary sortas="a-Xine-Libraries">Xine Libraries</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to Xine Libraries</title>
|
---|
| 28 |
|
---|
[68d9a97] | 29 | <para>
|
---|
[07584d8] | 30 | The <application>Xine Libraries</application> package contains xine
|
---|
[68d9a97] | 31 | libraries. These are useful for interfacing with external plug-ins that
|
---|
[2946338a] | 32 | allow the flow of information from the source to the audio and video
|
---|
| 33 | hardware.
|
---|
[68d9a97] | 34 | </para>
|
---|
[740cd38] | 35 |
|
---|
[41a19c4] | 36 | &lfs122_checked;
|
---|
[90b1302c] | 37 |
|
---|
[740cd38] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[2eeb8695] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&xine-lib-download-http;"/>
|
---|
| 43 | </para>
|
---|
[740cd38] | 44 | </listitem>
|
---|
[32d0e29] | 45 | <listitem>
|
---|
[2eeb8695] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&xine-lib-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[32d0e29] | 49 | </listitem>
|
---|
[740cd38] | 50 | <listitem>
|
---|
[2eeb8695] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &xine-lib-md5sum;
|
---|
| 53 | </para>
|
---|
[740cd38] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2eeb8695] | 56 | <para>
|
---|
| 57 | Download size: &xine-lib-size;
|
---|
| 58 | </para>
|
---|
[740cd38] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[2eeb8695] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &xine-lib-buildsize;
|
---|
| 63 | </para>
|
---|
[740cd38] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[2eeb8695] | 66 | <para>
|
---|
| 67 | Estimated build time: &xine-lib-time;
|
---|
| 68 | </para>
|
---|
[740cd38] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[24a668d] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Required patch:
|
---|
| 77 | <ulink url="&patch-root;/xine-lib-&xine-lib-version;-upstream_fixes-1.patch"/>
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[740cd38] | 82 | <bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e2e42c7] | 85 | <para role="required">
|
---|
[efcf979] | 86 | <xref linkend="x-window-system"/>,
|
---|
| 87 | <xref linkend="ffmpeg"/>, and at least one of:
|
---|
[0c848d7] | 88 | <xref linkend="alsa-lib"/>,
|
---|
[cac7f93] | 89 | <xref linkend='pulseaudio'/>, or
|
---|
[75b1a338] | 90 | <ulink url="https://jackaudio.org/">JACK</ulink>
|
---|
[e2e42c7] | 91 | </para>
|
---|
[06b8423c] | 92 |
|
---|
[5a830ea0] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 94 | <para role="recommended">
|
---|
| 95 | <xref linkend="libdvdnav"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
[740cd38] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[68d9a97] | 99 | <para role="optional">
|
---|
| 100 | <xref linkend="aalib"/>,
|
---|
| 101 | <xref linkend="faad2"/>,
|
---|
| 102 | <xref linkend="flac"/>,
|
---|
| 103 | <xref linkend="gdk-pixbuf"/>,
|
---|
[ea23431] | 104 | <xref linkend="glu"/>,
|
---|
[68d9a97] | 105 | <xref linkend="imagemagick"/>,
|
---|
[865f93ec] | 106 | <xref linkend="liba52"/>,
|
---|
[d8fcdce] | 107 | <xref linkend="libdvdcss"/>,
|
---|
[68d9a97] | 108 | <xref linkend="libmad"/>,
|
---|
| 109 | <xref linkend="libmng"/>,
|
---|
[673c070] | 110 | <xref linkend="libnsl"/>,
|
---|
[01b8994d] | 111 | <!--<xref linkend="libtheora"/>,-->
|
---|
[e43e647] | 112 | <xref linkend="libva"/> (requires <xref role="nodep" linkend="glu"/>),
|
---|
[07584d8] | 113 | <xref linkend="libvdpau"/>,
|
---|
[68d9a97] | 114 | <xref linkend="libvorbis"/>,
|
---|
[865f93ec] | 115 | <xref linkend="libvpx"/>,
|
---|
[7a395d1] | 116 | <xref linkend="mesa"/>,
|
---|
[45f56ac] | 117 | <xref linkend="samba"/>,
|
---|
[68d9a97] | 118 | <xref linkend="sdl"/>,
|
---|
| 119 | <xref linkend="speex"/>,
|
---|
[865f93ec] | 120 | <xref linkend="doxygen"/> (to create the API documentation),
|
---|
[80dbc4c8] | 121 | <xref linkend="v4l-utils"/>
|
---|
[75b1a338] | 122 | <ulink url="https://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
|
---|
| 123 | <ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
| 124 | <ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
|
---|
| 125 | <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
[17aa21c] | 126 | <ulink url="https://fame.sourceforge.net">libFAME</ulink>,
|
---|
[c6b192c] | 127 | <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
---|
[01b8994d] | 128 | <ulink url="https://www.theora.org">libtheora</ulink>,
|
---|
[75b1a338] | 129 | <ulink url="https://www.musepack.net/">musepack</ulink>,
|
---|
[8dfc5c3] | 130 | <ulink url="&gnu-http;/vcdimager/">VCDImager</ulink>, and
|
---|
[75b1a338] | 131 | <ulink url="https://www.wavpack.com/">WavPack</ulink>,
|
---|
[68d9a97] | 132 | </para>
|
---|
[740cd38] | 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="installation">
|
---|
| 137 | <title>Installation of Xine Libraries</title>
|
---|
| 138 |
|
---|
[5ac8686a] | 139 | <para>
|
---|
[7f5ae162] | 140 | First, fix building this package with ffmpeg-7.0 and later:
|
---|
[5ac8686a] | 141 | </para>
|
---|
| 142 |
|
---|
[24a668d] | 143 | <screen><userinput remap="pre">patch -Np1 -i ../xine-lib-&xine-lib-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
[7f5ae162] | 144 |
|
---|
[a40e3489] | 145 | <!--<note>
|
---|
[54d58907] | 146 | <para>This package tarball expands to the directory xine-lib.1.2.13/,
|
---|
[1ed3e64] | 147 | not he expected xine-lib-1.2.13/.</para>
|
---|
[a40e3489] | 148 | </note>-->
|
---|
[5ac8686a] | 149 |
|
---|
[01264e55] | 150 | <!-- Appears to be fixed in 1.2.13
|
---|
[d4a411a6] | 151 | <para>
|
---|
[1ed3e64] | 152 | First, fix building this package with binutils-2.39:
|
---|
[d4a411a6] | 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <screen><userinput remap="pre">sed -e '/xine_set_flags/s/XINE_PROTECTED//' -i include/xine.h</userinput></screen>
|
---|
[01264e55] | 156 | -->
|
---|
[d4a411a6] | 157 |
|
---|
[68d9a97] | 158 | <para>
|
---|
[07584d8] | 159 | Install <application>Xine Libraries</application> by running the following
|
---|
[68d9a97] | 160 | commands:
|
---|
| 161 | </para>
|
---|
[740cd38] | 162 |
|
---|
[a1a7d7f] | 163 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5a830ea0] | 164 | --disable-vcd \
|
---|
| 165 | --with-external-dvdnav \
|
---|
[b79d81d5] | 166 | --docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
---|
[740cd38] | 167 | make</userinput></screen>
|
---|
| 168 |
|
---|
[2eeb8695] | 169 | <para>
|
---|
| 170 | To create the API documentation, <application>Doxygen</application>
|
---|
| 171 | must be installed and issue the following command:
|
---|
| 172 | </para>
|
---|
[b79d81d5] | 173 |
|
---|
[2f3e3de9] | 174 | <screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
|
---|
[b79d81d5] | 175 |
|
---|
[2eeb8695] | 176 | <para>
|
---|
| 177 | This package does not come with a test suite.
|
---|
| 178 | </para>
|
---|
[dc7544c] | 179 |
|
---|
[68d9a97] | 180 | <para>
|
---|
| 181 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 182 | </para>
|
---|
[740cd38] | 183 |
|
---|
| 184 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b79d81d5] | 185 |
|
---|
[2eeb8695] | 186 | <note>
|
---|
| 187 | <para>
|
---|
| 188 | When installing, the Makefile does some additional
|
---|
| 189 | linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
---|
| 190 | variable needs to be defined for the root user. If
|
---|
| 191 | using sudo to assume root, use the -E option to pass
|
---|
| 192 | your current environment variables for the install process.
|
---|
| 193 | </para>
|
---|
| 194 | </note>
|
---|
[6de7590] | 195 |
|
---|
[2eeb8695] | 196 | <para>
|
---|
| 197 | If you built the API documentation, issue the following commands as
|
---|
| 198 | the <systemitem class="username">root</systemitem> user to install it:
|
---|
| 199 | </para>
|
---|
[b79d81d5] | 200 |
|
---|
[2f3e3de9] | 201 | <screen role="root"
|
---|
| 202 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
---|
[b79d81d5] | 203 | install -v -m644 doc/api/* \
|
---|
| 204 | /usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
---|
[740cd38] | 205 | </sect2>
|
---|
| 206 |
|
---|
[6c1aa8c] | 207 | <sect2 role="commands">
|
---|
| 208 | <title>Command Explanations</title>
|
---|
| 209 |
|
---|
[77b4c621] | 210 | <para>
|
---|
[5a830ea0] | 211 | <parameter>--disable-vcd</parameter>: This switch is required to compile
|
---|
| 212 | <application>Xine Lib</application> without <ulink
|
---|
[8dfc5c3] | 213 | url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
|
---|
[5a830ea0] | 214 | Remove this option if you have installed VCDImager.
|
---|
| 215 | </para>
|
---|
| 216 |
|
---|
| 217 | <para>
|
---|
| 218 | <parameter>--with-external-dvdnav</parameter>: This switch is required,
|
---|
| 219 | because internal libraries cannot decrypt DVD.
|
---|
[77b4c621] | 220 | </para>
|
---|
| 221 |
|
---|
[68d9a97] | 222 | <para>
|
---|
[1a518e97] | 223 | <parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
|
---|
[5a830ea0] | 224 | This switch causes the documentation to be installed into a versioned
|
---|
| 225 | directory instead of the default <filename
|
---|
| 226 | class="directory">/usr/share/doc/xine-lib</filename>.
|
---|
[68d9a97] | 227 | </para>
|
---|
| 228 |
|
---|
[e43e647] | 229 | <para>
|
---|
| 230 | <option>--disable-vaapi</option>: use this switch if <xref
|
---|
| 231 | linkend="libva"/> is installed and <xref linkend="glu"/>
|
---|
| 232 | is not, to prevent a build failure.
|
---|
| 233 | </para>
|
---|
| 234 |
|
---|
[6c1aa8c] | 235 | </sect2>
|
---|
| 236 |
|
---|
[740cd38] | 237 | <sect2 role="content">
|
---|
| 238 | <title>Contents</title>
|
---|
| 239 |
|
---|
| 240 | <segmentedlist>
|
---|
[90b1302c] | 241 | <segtitle>Installed Programs</segtitle>
|
---|
[740cd38] | 242 | <segtitle>Installed Libraries</segtitle>
|
---|
| 243 | <segtitle>Installed Fonts</segtitle>
|
---|
| 244 | <segtitle>Installed Directories</segtitle>
|
---|
[71b2520e] | 245 | <!-- When updating, check plugins subdir -->
|
---|
[740cd38] | 246 | <seglistitem>
|
---|
[a1698194] | 247 | <seg>xine-config and xine-list-1.2</seg>
|
---|
[865f93ec] | 248 | <seg>libxine.so and numerous plugin modules and video extensions under
|
---|
[a1a7d7f] | 249 | /usr/lib/xine/plugins/2.8</seg>
|
---|
[68d9a97] | 250 | <seg>
|
---|
| 251 | Output display engine fonts located in /usr/share/xine-lib/fonts
|
---|
| 252 | </seg>
|
---|
| 253 | <seg>
|
---|
| 254 | /usr/include/xine,
|
---|
| 255 | /usr/lib/xine,
|
---|
[dbdab37] | 256 | /usr/share/xine-lib, and
|
---|
[68d9a97] | 257 | /usr/share/doc/xine-lib-&xine-lib-version;
|
---|
| 258 | </seg>
|
---|
[740cd38] | 259 | </seglistitem>
|
---|
| 260 | </segmentedlist>
|
---|
| 261 |
|
---|
| 262 | <variablelist>
|
---|
| 263 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 264 | <?dbfo list-presentation="list"?>
|
---|
| 265 | <?dbhtml list-presentation="table"?>
|
---|
| 266 |
|
---|
| 267 | <varlistentry id="xine-config">
|
---|
| 268 | <term><command>xine-config</command></term>
|
---|
| 269 | <listitem>
|
---|
[68d9a97] | 270 | <para>
|
---|
| 271 | provides information to programs trying to link with the
|
---|
[4c24eb0a] | 272 | <application>xine</application> libraries
|
---|
[68d9a97] | 273 | </para>
|
---|
[740cd38] | 274 | <indexterm zone="xine-lib xine-config">
|
---|
| 275 | <primary sortas="b-xine-config">xine-config</primary>
|
---|
| 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
[a1698194] | 280 | <varlistentry id="xine-list-1.2">
|
---|
| 281 | <term><command>xine-list-1.2</command></term>
|
---|
[90b1302c] | 282 | <listitem>
|
---|
[68d9a97] | 283 | <para>
|
---|
[b9c353b] | 284 | is used to get supported file type information from
|
---|
[4c24eb0a] | 285 | <application>xine-lib</application>
|
---|
[68d9a97] | 286 | </para>
|
---|
[a1698194] | 287 | <indexterm zone="xine-lib xine-list-1.2">
|
---|
| 288 | <primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
---|
[90b1302c] | 289 | </indexterm>
|
---|
| 290 | </listitem>
|
---|
| 291 | </varlistentry>
|
---|
| 292 |
|
---|
[740cd38] | 293 | <varlistentry id="libxine">
|
---|
[4c24eb0a] | 294 | <term><filename class="libraryfile">libxine.so</filename></term>
|
---|
[740cd38] | 295 | <listitem>
|
---|
[2eeb8695] | 296 | <para>
|
---|
[4c24eb0a] | 297 | provides the API for processing audio/video files
|
---|
[2eeb8695] | 298 | </para>
|
---|
[740cd38] | 299 | <indexterm zone="xine-lib libxine">
|
---|
| 300 | <primary sortas="c-libxine">libxine.so</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 | </variablelist>
|
---|
| 305 | </sect2>
|
---|
[4c24eb0a] | 306 |
|
---|
[b3224f7] | 307 | </sect1>
|
---|