2005-05-12 04:05:26 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-11-18 08:31:39 +08:00
|
|
|
|
2012-06-12 23:54:33 +08:00
|
|
|
<!ENTITY xine-lib-download-http
|
2017-08-16 02:49:48 +08:00
|
|
|
"&sourceforge-dl;/xine/xine-lib-&xine-lib-version;.tar.xz">
|
2018-05-08 10:30:45 +08:00
|
|
|
<!ENTITY xine-lib-download-ftp "&gentoo-ftp-repo;/xine-lib-&xine-lib-version;.tar.xz">
|
2023-01-30 17:20:35 +08:00
|
|
|
<!ENTITY xine-lib-md5sum "9e1be39857b7a3cd7cc0f2b96331ff22">
|
2023-01-27 06:03:02 +08:00
|
|
|
<!ENTITY xine-lib-size "4.8 MB">
|
|
|
|
<!ENTITY xine-lib-buildsize "98 MB (with API documentation)">
|
2020-12-09 01:04:19 +08:00
|
|
|
<!ENTITY xine-lib-time "0.5 SBU (Using parallelism=4; with API documentation)">
|
2004-06-14 07:30:44 +08:00
|
|
|
]>
|
|
|
|
|
2012-04-18 13:18:11 +08:00
|
|
|
<sect1 id="xine-lib" xreflabel="xine-lib-&xine-lib-version;">
|
2005-05-12 04:05:26 +08:00
|
|
|
<?dbhtml filename="xine-lib.html"?>
|
|
|
|
|
|
|
|
|
2012-04-18 13:18:11 +08:00
|
|
|
<title>xine-lib-&xine-lib-version;</title>
|
2005-05-12 04:05:26 +08:00
|
|
|
|
|
|
|
<indexterm zone="xine-lib">
|
|
|
|
<primary sortas="a-Xine-Libraries">Xine Libraries</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Xine Libraries</title>
|
|
|
|
|
2012-06-12 23:54:33 +08:00
|
|
|
<para>
|
2013-08-21 01:31:41 +08:00
|
|
|
The <application>Xine Libraries</application> package contains xine
|
2012-06-12 23:54:33 +08:00
|
|
|
libraries. These are useful for interfacing with external plug-ins that
|
2013-02-02 06:31:14 +08:00
|
|
|
allow the flow of information from the source to the audio and video
|
|
|
|
hardware.
|
2012-06-12 23:54:33 +08:00
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
|
2023-02-20 09:42:20 +08:00
|
|
|
&lfs113_checked;
|
2010-11-03 03:47:31 +08:00
|
|
|
|
2005-05-12 04:05:26 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&xine-lib-download-http;"/>
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
</listitem>
|
2008-04-09 23:40:36 +08:00
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&xine-lib-download-ftp;"/>
|
|
|
|
</para>
|
2008-04-09 23:40:36 +08:00
|
|
|
</listitem>
|
2005-05-12 04:05:26 +08:00
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &xine-lib-md5sum;
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download size: &xine-lib-size;
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &xine-lib-buildsize;
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &xine-lib-time;
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Xine Libraries Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2011-12-13 08:02:58 +08:00
|
|
|
<para role="required">
|
2011-12-29 11:35:25 +08:00
|
|
|
<xref linkend="x-window-system"/>,
|
|
|
|
<xref linkend="ffmpeg"/>, and at least one of:
|
2012-03-08 07:46:06 +08:00
|
|
|
<xref linkend="alsa"/>,
|
2019-09-20 22:15:17 +08:00
|
|
|
<xref linkend='pulseaudio'/>, or
|
2023-01-29 14:31:21 +08:00
|
|
|
<ulink url="https://jackaudio.org/">JACK</ulink>
|
2011-12-13 08:02:58 +08:00
|
|
|
</para>
|
2007-07-26 00:52:14 +08:00
|
|
|
|
2015-02-02 18:43:27 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="libdvdnav"/>
|
|
|
|
</para>
|
|
|
|
|
2005-05-12 04:05:26 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-06-12 23:54:33 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="aalib"/>,
|
|
|
|
<xref linkend="faad2"/>,
|
|
|
|
<xref linkend="flac"/>,
|
|
|
|
<xref linkend="gdk-pixbuf"/>,
|
2014-02-23 20:02:34 +08:00
|
|
|
<xref linkend="glu"/>,
|
2012-06-12 23:54:33 +08:00
|
|
|
<xref linkend="imagemagick"/>,
|
2014-07-11 01:43:02 +08:00
|
|
|
<xref linkend="liba52"/>,
|
2020-08-14 23:10:54 +08:00
|
|
|
<xref linkend="libdvdcss"/>,
|
2012-06-12 23:54:33 +08:00
|
|
|
<xref linkend="libmad"/>,
|
|
|
|
<xref linkend="libmng"/>,
|
2021-09-04 11:33:33 +08:00
|
|
|
<xref linkend="libnsl"/>,
|
2012-06-12 23:54:33 +08:00
|
|
|
<xref linkend="libtheora"/>,
|
2018-02-14 00:48:05 +08:00
|
|
|
<xref linkend="libva"/> (requires <xref role="nodep" linkend="glu"/>),
|
2013-08-21 01:31:41 +08:00
|
|
|
<xref linkend="libvdpau"/>,
|
2012-06-12 23:54:33 +08:00
|
|
|
<xref linkend="libvorbis"/>,
|
2014-07-11 01:43:02 +08:00
|
|
|
<xref linkend="libvpx"/>,
|
2015-10-11 19:51:21 +08:00
|
|
|
<xref linkend="mesa"/>,
|
2013-07-28 23:10:03 +08:00
|
|
|
<xref linkend="samba"/>,
|
2012-06-12 23:54:33 +08:00
|
|
|
<xref linkend="sdl"/>,
|
|
|
|
<xref linkend="speex"/>,
|
2014-07-11 01:43:02 +08:00
|
|
|
<xref linkend="doxygen"/> (to create the API documentation),
|
2015-03-05 06:39:39 +08:00
|
|
|
<xref linkend="v4l-utils"/>
|
2023-01-29 14:31:21 +08:00
|
|
|
<ulink url="https://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
|
|
|
|
<ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
|
|
|
<ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
|
|
|
|
<ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
2023-01-29 12:31:35 +08:00
|
|
|
<ulink url="https://fame.sourceforge.net">libFAME</ulink>,
|
2021-04-05 20:36:04 +08:00
|
|
|
<ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
|
2023-01-29 14:31:21 +08:00
|
|
|
<ulink url="https://www.musepack.net/">musepack</ulink>,
|
2017-08-16 02:49:48 +08:00
|
|
|
<ulink url="&gnu-http;/vcdimager/">VCDImager</ulink>, and
|
2023-01-29 14:31:21 +08:00
|
|
|
<ulink url="https://www.wavpack.com/">WavPack</ulink>,
|
2012-06-12 23:54:33 +08:00
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
|
2012-06-12 23:54:33 +08:00
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/xine-lib"/>
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Xine Libraries</title>
|
|
|
|
|
2022-08-14 09:53:36 +08:00
|
|
|
<!-- See this thread for more details:
|
|
|
|
https://lists.linuxfromscratch.org/sympa/arc/lfs-dev/2022-07/msg00044.html
|
|
|
|
-->
|
|
|
|
|
2023-01-27 06:03:02 +08:00
|
|
|
<!--
|
2022-08-14 09:53:36 +08:00
|
|
|
<para>
|
|
|
|
First, fix building this package with ffmpeg-5.1:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="pre">sed -e '/\/avformat.h/i #include <libavcodec/version.h>' \
|
2023-01-27 06:03:02 +08:00
|
|
|
-i src/combined/ffmpeg/demux_avformat.c </userinput></screen>
|
|
|
|
-->
|
2023-02-05 20:58:23 +08:00
|
|
|
<!--<note>
|
2023-01-29 20:51:59 +08:00
|
|
|
<para>This package tarball expands to the directory xine-lib.1.2.13/,
|
2023-01-27 06:03:02 +08:00
|
|
|
not he expected xine-lib-1.2.13/.</para>
|
2023-02-05 20:58:23 +08:00
|
|
|
</note>-->
|
2022-08-14 09:53:36 +08:00
|
|
|
|
2023-03-22 08:00:55 +08:00
|
|
|
<!-- Appears to be fixed in 1.2.13
|
2022-08-23 14:01:58 +08:00
|
|
|
<para>
|
2023-01-27 06:03:02 +08:00
|
|
|
First, fix building this package with binutils-2.39:
|
2022-08-23 14:01:58 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="pre">sed -e '/xine_set_flags/s/XINE_PROTECTED//' -i include/xine.h</userinput></screen>
|
2023-03-22 08:00:55 +08:00
|
|
|
-->
|
2022-08-23 14:01:58 +08:00
|
|
|
|
2012-06-12 23:54:33 +08:00
|
|
|
<para>
|
2013-08-21 01:31:41 +08:00
|
|
|
Install <application>Xine Libraries</application> by running the following
|
2012-06-12 23:54:33 +08:00
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
|
2019-12-16 06:53:18 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
2015-02-02 18:43:27 +08:00
|
|
|
--disable-vcd \
|
|
|
|
--with-external-dvdnav \
|
2013-01-15 10:09:34 +08:00
|
|
|
--docdir=/usr/share/doc/xine-lib-&xine-lib-version; &&
|
2005-05-12 04:05:26 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
To create the API documentation, <application>Doxygen</application>
|
|
|
|
must be installed and issue the following command:
|
|
|
|
</para>
|
2013-01-15 10:09:34 +08:00
|
|
|
|
2019-08-06 04:26:50 +08:00
|
|
|
<screen remap="doc"><userinput>doxygen doc/Doxyfile</userinput></screen>
|
2013-01-15 10:09:34 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2005-09-19 03:35:42 +08:00
|
|
|
|
2012-06-12 23:54:33 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2013-01-15 10:09:34 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
When installing, the Makefile does some additional
|
|
|
|
linking. If you do not have Xorg in /usr, the LIBRARY_PATH
|
|
|
|
variable needs to be defined for the root user. If
|
|
|
|
using sudo to assume root, use the -E option to pass
|
|
|
|
your current environment variables for the install process.
|
|
|
|
</para>
|
|
|
|
</note>
|
2013-09-02 06:01:22 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
If you built the API documentation, issue the following commands as
|
|
|
|
the <systemitem class="username">root</systemitem> user to install it:
|
|
|
|
</para>
|
2013-01-15 10:09:34 +08:00
|
|
|
|
2019-08-06 04:26:50 +08:00
|
|
|
<screen role="root"
|
|
|
|
remap="doc"><userinput>install -v -m755 -d /usr/share/doc/xine-lib-&xine-lib-version;/api &&
|
2013-01-15 10:09:34 +08:00
|
|
|
install -v -m644 doc/api/* \
|
|
|
|
/usr/share/doc/xine-lib-&xine-lib-version;/api</userinput></screen>
|
2005-05-12 04:05:26 +08:00
|
|
|
</sect2>
|
|
|
|
|
2005-12-27 04:53:42 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-06-15 04:02:57 +08:00
|
|
|
<para>
|
2015-02-02 18:43:27 +08:00
|
|
|
<parameter>--disable-vcd</parameter>: This switch is required to compile
|
|
|
|
<application>Xine Lib</application> without <ulink
|
2017-08-16 02:49:48 +08:00
|
|
|
url="&gnu-http;/vcdimager/">VCDImager</ulink> installed.
|
2015-02-02 18:43:27 +08:00
|
|
|
Remove this option if you have installed VCDImager.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>--with-external-dvdnav</parameter>: This switch is required,
|
|
|
|
because internal libraries cannot decrypt DVD.
|
2012-06-15 04:02:57 +08:00
|
|
|
</para>
|
|
|
|
|
2012-06-12 23:54:33 +08:00
|
|
|
<para>
|
2016-10-15 00:16:34 +08:00
|
|
|
<parameter>--docdir=/usr/share/doc/xine-lib-&xine-lib-version;</parameter>:
|
2015-02-02 18:43:27 +08:00
|
|
|
This switch causes the documentation to be installed into a versioned
|
|
|
|
directory instead of the default <filename
|
|
|
|
class="directory">/usr/share/doc/xine-lib</filename>.
|
2012-06-12 23:54:33 +08:00
|
|
|
</para>
|
|
|
|
|
2018-02-14 00:48:05 +08:00
|
|
|
<para>
|
|
|
|
<option>--disable-vaapi</option>: use this switch if <xref
|
|
|
|
linkend="libva"/> is installed and <xref linkend="glu"/>
|
|
|
|
is not, to prevent a build failure.
|
|
|
|
</para>
|
|
|
|
|
2005-12-27 04:53:42 +08:00
|
|
|
</sect2>
|
|
|
|
|
2005-05-12 04:05:26 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2010-11-03 03:47:31 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2005-05-12 04:05:26 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Fonts</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2015-11-12 09:35:07 +08:00
|
|
|
<!-- When updating, check plugins subdir -->
|
2005-05-12 04:05:26 +08:00
|
|
|
<seglistitem>
|
2012-02-08 21:32:53 +08:00
|
|
|
<seg>xine-config and xine-list-1.2</seg>
|
2014-07-11 01:43:02 +08:00
|
|
|
<seg>libxine.so and numerous plugin modules and video extensions under
|
2019-12-16 06:53:18 +08:00
|
|
|
/usr/lib/xine/plugins/2.8</seg>
|
2012-06-12 23:54:33 +08:00
|
|
|
<seg>
|
|
|
|
Output display engine fonts located in /usr/share/xine-lib/fonts
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/xine,
|
|
|
|
/usr/lib/xine,
|
2013-07-31 01:03:39 +08:00
|
|
|
/usr/share/xine-lib, and
|
2012-06-12 23:54:33 +08:00
|
|
|
/usr/share/doc/xine-lib-&xine-lib-version;
|
|
|
|
</seg>
|
2005-05-12 04:05:26 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="xine-config">
|
|
|
|
<term><command>xine-config</command></term>
|
|
|
|
<listitem>
|
2012-06-12 23:54:33 +08:00
|
|
|
<para>
|
|
|
|
provides information to programs trying to link with the
|
2021-02-19 23:20:16 +08:00
|
|
|
<application>xine</application> libraries
|
2012-06-12 23:54:33 +08:00
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
<indexterm zone="xine-lib xine-config">
|
|
|
|
<primary sortas="b-xine-config">xine-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-02-08 21:32:53 +08:00
|
|
|
<varlistentry id="xine-list-1.2">
|
|
|
|
<term><command>xine-list-1.2</command></term>
|
2010-11-03 03:47:31 +08:00
|
|
|
<listitem>
|
2012-06-12 23:54:33 +08:00
|
|
|
<para>
|
2022-03-25 11:26:08 +08:00
|
|
|
is used to get supported file type information from
|
2021-02-19 23:20:16 +08:00
|
|
|
<application>xine-lib</application>
|
2012-06-12 23:54:33 +08:00
|
|
|
</para>
|
2012-02-08 21:32:53 +08:00
|
|
|
<indexterm zone="xine-lib xine-list-1.2">
|
|
|
|
<primary sortas="b-xine-list-1.2">xine-list-1.2</primary>
|
2010-11-03 03:47:31 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-12 04:05:26 +08:00
|
|
|
<varlistentry id="libxine">
|
2021-02-19 23:20:16 +08:00
|
|
|
<term><filename class="libraryfile">libxine.so</filename></term>
|
2005-05-12 04:05:26 +08:00
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
provides the API for processing audio/video files
|
2020-03-09 23:02:12 +08:00
|
|
|
</para>
|
2005-05-12 04:05:26 +08:00
|
|
|
<indexterm zone="xine-lib libxine">
|
|
|
|
<primary sortas="c-libxine">libxine.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
2021-02-19 23:20:16 +08:00
|
|
|
|
2002-10-08 04:17:30 +08:00
|
|
|
</sect1>
|