[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 |
|
---|
[7e1cb9d] | 7 | <!ENTITY xvid-download-http "http://downloads.xvid.org/downloads/xvidcore-&xvid-version;.tar.gz">
|
---|
[48b7295] | 8 | <!ENTITY xvid-download-ftp " ">
|
---|
[08bd91b] | 9 | <!ENTITY xvid-md5sum "8ecddfe488cb3a82d792fc7efbf51d62">
|
---|
[52b1b8c] | 10 | <!ENTITY xvid-size "800 KB">
|
---|
[08bd91b] | 11 | <!ENTITY xvid-buildsize "8.1 MB">
|
---|
| 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 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>XviD-&xvid-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="xvid">
|
---|
| 26 | <primary sortas="a-XviD">XviD</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to XviD</title>
|
---|
[48b7295] | 31 |
|
---|
[33555d9] | 32 | <para><application>XviD</application> is an MPEG-4
|
---|
| 33 | compliant video CODEC.</para>
|
---|
| 34 |
|
---|
[ab5eec7e] | 35 | &lfs77_checked;
|
---|
[e355f3c6] | 36 |
|
---|
[33555d9] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&xvid-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&xvid-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &xvid-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &xvid-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &xvid-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &xvid-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[52b1b8c] | 62 | <para role="optional"><xref linkend="yasm"/></para>
|
---|
[33555d9] | 63 |
|
---|
[0e2aa08] | 64 | <para condition="html" role="usernotes">User Notes:
|
---|
| 65 | <ulink url="&blfs-wiki;/xvid"/></para>
|
---|
| 66 |
|
---|
[33555d9] | 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of XviD</title>
|
---|
| 71 |
|
---|
[fd0b4845] | 72 | <note><para>This package tarball expands to <filename
|
---|
| 73 | class='directory'>xvidcore</filename>, not the expected <filename
|
---|
| 74 | class='directory'>xvidcore-&xvid-version;</filename>.</para></note>
|
---|
| 75 |
|
---|
[50b692d] | 76 | <para>Install <application>XviD</application> by running the following
|
---|
[33555d9] | 77 | commands:</para>
|
---|
| 78 |
|
---|
[2829ed0] | 79 | <screen><userinput>cd build/generic &&
|
---|
[1d687b9] | 80 | sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
|
---|
[48b7295] | 81 | ./configure --prefix=/usr &&
|
---|
[33555d9] | 82 | make</userinput></screen>
|
---|
[43e423a7] | 83 |
|
---|
[33555d9] | 84 | <para>This package does not come with a test suite.</para>
|
---|
[74c721e4] | 85 |
|
---|
[33555d9] | 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[43e423a7] | 87 |
|
---|
[2c46699] | 88 | <screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
---|
| 89 | make install &&
|
---|
[a6937a6] | 90 |
|
---|
[52b1b8c] | 91 | chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
---|
[1d687b9] | 92 | <!-- Not necessary anymore, make install already creates them
|
---|
[52b1b8c] | 93 | ln -v -sf libxvidcore.so.4.3 /usr/lib/libxvidcore.so.4 &&
|
---|
[1d687b9] | 94 | ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&-->
|
---|
[4d32631] | 95 | install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
---|
[e042e66d] | 96 | install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
---|
[4d32631] | 97 | install -v -m644 ../../examples/* \
|
---|
| 98 | /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
---|
[33555d9] | 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="commands">
|
---|
| 103 | <title>Command Explanations</title>
|
---|
| 104 |
|
---|
[1d687b9] | 105 | <para><command>sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in</command>:
|
---|
| 106 | Fix error during <command>make install</command> if reintalling
|
---|
| 107 | or upgrading.</para>
|
---|
| 108 |
|
---|
[2c46699] | 109 | <para><command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
---|
| 110 | This command disables installing the static library.</para>
|
---|
| 111 |
|
---|
[1d687b9] | 112 | <!-- see comment after chmod -v 755
|
---|
[33555d9] | 113 | <para><command>ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command>:
|
---|
| 114 | This command makes applications linked against
|
---|
| 115 | <filename class="libraryfile">.so</filename> names, link to
|
---|
[0e2aa08] | 116 | <filename class="libraryfile">.so.<replaceable><MAJOR></replaceable></filename>.
|
---|
[33555d9] | 117 | This ensures better binary compatibility, as
|
---|
| 118 | <application>XviD</application> developers take care not changing the
|
---|
[0e2aa08] | 119 | <replaceable><MAJOR></replaceable> number until there is an incompatible
|
---|
[1d687b9] | 120 | ABI change.</para>-->
|
---|
[33555d9] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
| 129 | <segtitle>Installed Library</segtitle>
|
---|
[4d32631] | 130 | <segtitle>Installed Directory</segtitle>
|
---|
[33555d9] | 131 |
|
---|
| 132 | <seglistitem>
|
---|
| 133 | <seg>None</seg>
|
---|
[2c46699] | 134 | <seg>libxvidcore.so</seg>
|
---|
[4d32631] | 135 | <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
---|
[33555d9] | 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="libxvidcore">
|
---|
[2c46699] | 145 | <term><filename class='libraryfile'>libxvidcore.so</filename></term>
|
---|
[33555d9] | 146 | <listitem>
|
---|
[50b692d] | 147 | <para>provides functions to encode and decode most
|
---|
[33555d9] | 148 | MPEG-4 video data.</para>
|
---|
| 149 | <indexterm zone="xvid libxvidcore">
|
---|
[2c46699] | 150 | <primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
---|
[33555d9] | 151 | </indexterm>
|
---|
| 152 | </listitem>
|
---|
| 153 | </varlistentry>
|
---|
| 154 |
|
---|
| 155 | </variablelist>
|
---|
[48b7295] | 156 |
|
---|
[33555d9] | 157 | </sect2>
|
---|
[9a2b9dcb] | 158 |
|
---|
| 159 | </sect1>
|
---|