source: multimedia/libdriv/xvid.xml

trunk
Last change on this file was 49a84f0b, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag most of multimedia (kwave remains)

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xvid-download-http "https://downloads.xvid.com/downloads/xvidcore-&xvid-version;.tar.gz">
8 <!ENTITY xvid-download-ftp " ">
9 <!ENTITY xvid-md5sum "5c6c19324608ac491485dbb27d4da517">
10 <!ENTITY xvid-size "804 KB">
11 <!ENTITY xvid-buildsize "7.1 MB">
12 <!ENTITY xvid-time "0.1 SBU">
13]>
14
15<sect1 id="xvid" xreflabel="XviD-&xvid-version;">
16 <?dbhtml filename="xvid.html"?>
17
18
19 <title>XviD-&xvid-version;</title>
20
21 <indexterm zone="xvid">
22 <primary sortas="a-XviD">XviD</primary>
23 </indexterm>
24
25<sect2 role="package">
26 <title>Introduction to XviD</title>
27
28 <para>
29 <application>XviD</application> is an MPEG-4 compliant video CODEC.
30 </para>
31
32 &lfs121_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&xvid-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&xvid-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &xvid-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &xvid-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &xvid-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &xvid-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional">
72 <xref linkend="yasm"/> or <xref linkend="nasm"/>
73 </para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of XviD</title>
79
80 <note>
81 <para>
82 This package tarball expands to <filename
83 class='directory'>xvidcore</filename>, not the expected <filename
84 class='directory'>xvidcore-&xvid-version;</filename>.
85 </para>
86 </note>
87
88 <para>
89 Install <application>XviD</application> by running the following
90 commands:
91 </para>
92
93<screen><userinput>cd build/generic &amp;&amp;
94sed -i 's/^LN_S=@LN_S@/&amp; -f -v/' platform.inc.in &amp;&amp;
95
96./configure --prefix=/usr &amp;&amp;
97make</userinput></screen>
98
99 <para>
100 This package does not come with a test suite.
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &amp;&amp;
108make install &amp;&amp;
109
110chmod -v 755 /usr/lib/libxvidcore.so.4.3 &amp;&amp;
111install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &amp;&amp;
112install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &amp;&amp;
113install -v -m644 ../../examples/* \
114 /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para>
122 <command>sed -i 's/^LN_S=@LN_S@/&amp; -f -v/' platform.inc.in</command>:
123 Fix error during <command>make install</command> if reinstalling
124 or upgrading.
125 </para>
126
127 <para>
128 <command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
129 This command disables installing the static library.
130 </para>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Programs</segtitle>
139 <segtitle>Installed Library</segtitle>
140 <segtitle>Installed Directory</segtitle>
141
142 <seglistitem>
143 <seg>None</seg>
144 <seg>libxvidcore.so</seg>
145 <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="libxvidcore">
155 <term><filename class="libraryfile">libxvidcore.so</filename></term>
156 <listitem>
157 <para>
158 provides functions to encode and decode most
159 MPEG-4 video data
160 </para>
161 <indexterm zone="xvid libxvidcore">
162 <primary sortas="c-libxvidcore">libxvidcore.so</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 </variablelist>
168
169 </sect2>
170
171</sect1>
Note: See TracBrowser for help on using the repository browser.