glfs/multimedia/libdriv/xvid.xml
2024-01-19 22:39:35 +01:00

172 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY xvid-download-http "https://downloads.xvid.com/downloads/xvidcore-&xvid-version;.tar.gz">
<!ENTITY xvid-download-ftp " ">
<!ENTITY xvid-md5sum "5c6c19324608ac491485dbb27d4da517">
<!ENTITY xvid-size "804 KB">
<!ENTITY xvid-buildsize "7.1 MB">
<!ENTITY xvid-time "0.1 SBU">
]>
<sect1 id="xvid" xreflabel="XviD-&xvid-version;">
<?dbhtml filename="xvid.html"?>
<title>XviD-&xvid-version;</title>
<indexterm zone="xvid">
<primary sortas="a-XviD">XviD</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to XviD</title>
<para>
<application>XviD</application> is an MPEG-4 compliant video CODEC.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&xvid-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&xvid-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &xvid-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &xvid-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &xvid-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &xvid-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">XviD Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="yasm"/> or <xref linkend="nasm"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of XviD</title>
<note>
<para>
This package tarball expands to <filename
class='directory'>xvidcore</filename>, not the expected <filename
class='directory'>xvidcore-&xvid-version;</filename>.
</para>
</note>
<para>
Install <application>XviD</application> by running the following
commands:
</para>
<screen><userinput>cd build/generic &amp;&amp;
sed -i 's/^LN_S=@LN_S@/&amp; -f -v/' platform.inc.in &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &amp;&amp;
make install &amp;&amp;
chmod -v 755 /usr/lib/libxvidcore.so.4.3 &amp;&amp;
install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &amp;&amp;
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &amp;&amp;
install -v -m644 ../../examples/* \
/usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i 's/^LN_S=@LN_S@/&amp; -f -v/' platform.inc.in</command>:
Fix error during <command>make install</command> if reinstalling
or upgrading.
</para>
<para>
<command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
This command disables installing the static library.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libxvidcore.so</seg>
<seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libxvidcore">
<term><filename class="libraryfile">libxvidcore.so</filename></term>
<listitem>
<para>
provides functions to encode and decode most
MPEG-4 video data
</para>
<indexterm zone="xvid libxvidcore">
<primary sortas="c-libxvidcore">libxvidcore.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>