[33555d9] | 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;
|
---|
[e9d672f] | 6 |
|
---|
[c6b192c] | 7 | <!ENTITY xvid-download-http "https://downloads.xvid.com/downloads/xvidcore-&xvid-version;.tar.gz">
|
---|
[48b7295] | 8 | <!ENTITY xvid-download-ftp " ">
|
---|
[372597e] | 9 | <!ENTITY xvid-md5sum "5c6c19324608ac491485dbb27d4da517">
|
---|
[06d0c710] | 10 | <!ENTITY xvid-size "804 KB">
|
---|
| 11 | <!ENTITY xvid-buildsize "7.1 MB">
|
---|
[08bd91b] | 12 | <!ENTITY xvid-time "0.1 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[d374b41] | 15 | <sect1 id="xvid" xreflabel="XviD-&xvid-version;">
|
---|
[33555d9] | 16 | <?dbhtml filename="xvid.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>XviD-&xvid-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="xvid">
|
---|
| 25 | <primary sortas="a-XviD">XviD</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to XviD</title>
|
---|
[48b7295] | 30 |
|
---|
[2eeb8695] | 31 | <para>
|
---|
| 32 | <application>XviD</application> is an MPEG-4 compliant video CODEC.
|
---|
| 33 | </para>
|
---|
[33555d9] | 34 |
|
---|
[38030654] | 35 | &lfs111_checked;
|
---|
[e355f3c6] | 36 |
|
---|
[33555d9] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[2eeb8695] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&xvid-download-http;"/>
|
---|
| 42 | </para>
|
---|
[33555d9] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[2eeb8695] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&xvid-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[33555d9] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[2eeb8695] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &xvid-md5sum;
|
---|
| 52 | </para>
|
---|
[33555d9] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[2eeb8695] | 55 | <para>
|
---|
| 56 | Download size: &xvid-size;
|
---|
| 57 | </para>
|
---|
[33555d9] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[2eeb8695] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &xvid-buildsize;
|
---|
| 62 | </para>
|
---|
[33555d9] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[2eeb8695] | 65 | <para>
|
---|
| 66 | Estimated build time: &xvid-time;
|
---|
| 67 | </para>
|
---|
[33555d9] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[47274444] | 74 | <para role="optional">
|
---|
[34bcb5ec] | 75 | <xref linkend="yasm"/> or <xref linkend="nasm"/>
|
---|
[47274444] | 76 | </para>
|
---|
[33555d9] | 77 |
|
---|
[0e2aa08] | 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/xvid"/></para>
|
---|
| 80 |
|
---|
[33555d9] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of XviD</title>
|
---|
| 85 |
|
---|
[2eeb8695] | 86 | <note>
|
---|
| 87 | <para>
|
---|
| 88 | This package tarball expands to <filename
|
---|
| 89 | class='directory'>xvidcore</filename>, not the expected <filename
|
---|
| 90 | class='directory'>xvidcore-&xvid-version;</filename>.
|
---|
| 91 | </para>
|
---|
| 92 | </note>
|
---|
[fd0b4845] | 93 |
|
---|
[2eeb8695] | 94 | <para>
|
---|
| 95 | Install <application>XviD</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
[33555d9] | 98 |
|
---|
[2829ed0] | 99 | <screen><userinput>cd build/generic &&
|
---|
[1d687b9] | 100 | sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
|
---|
[48b7295] | 101 | ./configure --prefix=/usr &&
|
---|
[33555d9] | 102 | make</userinput></screen>
|
---|
[43e423a7] | 103 |
|
---|
[2eeb8695] | 104 | <para>
|
---|
| 105 | This package does not come with a test suite.
|
---|
| 106 | </para>
|
---|
[74c721e4] | 107 |
|
---|
[2eeb8695] | 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
[43e423a7] | 111 |
|
---|
[2c46699] | 112 | <screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
---|
| 113 | make install &&
|
---|
[a6937a6] | 114 |
|
---|
[52b1b8c] | 115 | chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
---|
[4d32631] | 116 | install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
---|
[e042e66d] | 117 | install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
---|
[4d32631] | 118 | install -v -m644 ../../examples/* \
|
---|
| 119 | /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
---|
[33555d9] | 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
[2eeb8695] | 126 | <para>
|
---|
| 127 | <command>sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in</command>:
|
---|
[b9c353b] | 128 | Fix error during <command>make install</command> if reinstalling
|
---|
[2eeb8695] | 129 | or upgrading.
|
---|
| 130 | </para>
|
---|
[1d687b9] | 131 |
|
---|
[2eeb8695] | 132 | <para>
|
---|
| 133 | <command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
---|
| 134 | This command disables installing the static library.
|
---|
| 135 | </para>
|
---|
[33555d9] | 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Library</segtitle>
|
---|
[4d32631] | 145 | <segtitle>Installed Directory</segtitle>
|
---|
[33555d9] | 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>None</seg>
|
---|
[2c46699] | 149 | <seg>libxvidcore.so</seg>
|
---|
[4d32631] | 150 | <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
---|
[33555d9] | 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libxvidcore">
|
---|
[4c24eb0a] | 160 | <term><filename class="libraryfile">libxvidcore.so</filename></term>
|
---|
[33555d9] | 161 | <listitem>
|
---|
[2eeb8695] | 162 | <para>
|
---|
| 163 | provides functions to encode and decode most
|
---|
[4c24eb0a] | 164 | MPEG-4 video data
|
---|
[2eeb8695] | 165 | </para>
|
---|
[33555d9] | 166 | <indexterm zone="xvid libxvidcore">
|
---|
[2c46699] | 167 | <primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
---|
[33555d9] | 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | </variablelist>
|
---|
[48b7295] | 173 |
|
---|
[33555d9] | 174 | </sect2>
|
---|
[9a2b9dcb] | 175 |
|
---|
| 176 | </sect1>
|
---|