source: multimedia/libdriv/xvid.xml@ 34bcb5e

10.1 11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 34bcb5e was 34bcb5e, checked in by Xi Ruoyao <xry111@…>, 22 months ago

xvid and ffmpeg: nasm can be used

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24198 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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 "http://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 <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>
31
32 <para>
33 <application>XviD</application> is an MPEG-4 compliant video CODEC.
34 </para>
35
36 &lfs10_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&xvid-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&xvid-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &xvid-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &xvid-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &xvid-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &xvid-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Optional</bridgehead>
75 <para role="optional">
76 <xref linkend="yasm"/> or <xref linkend="nasm"/>
77 </para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/xvid"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of XviD</title>
86
87 <note>
88 <para>
89 This package tarball expands to <filename
90 class='directory'>xvidcore</filename>, not the expected <filename
91 class='directory'>xvidcore-&xvid-version;</filename>.
92 </para>
93 </note>
94
95 <para>
96 Install <application>XviD</application> by running the following
97 commands:
98 </para>
99
100<screen><userinput>cd build/generic &amp;&amp;
101sed -i 's/^LN_S=@LN_S@/&amp; -f -v/' platform.inc.in &amp;&amp;
102./configure --prefix=/usr &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 This package does not come with a test suite.
107 </para>
108
109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &amp;&amp;
114make install &amp;&amp;
115
116chmod -v 755 /usr/lib/libxvidcore.so.4.3 &amp;&amp;
117install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &amp;&amp;
118install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &amp;&amp;
119install -v -m644 ../../examples/* \
120 /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para>
128 <command>sed -i 's/^LN_S=@LN_S@/&amp; -f -v/' platform.inc.in</command>:
129 Fix error during <command>make install</command> if reintalling
130 or upgrading.
131 </para>
132
133 <para>
134 <command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
135 This command disables installing the static library.
136 </para>
137
138 </sect2>
139
140 <sect2 role="content">
141 <title>Contents</title>
142
143 <segmentedlist>
144 <segtitle>Installed Programs</segtitle>
145 <segtitle>Installed Library</segtitle>
146 <segtitle>Installed Directory</segtitle>
147
148 <seglistitem>
149 <seg>None</seg>
150 <seg>libxvidcore.so</seg>
151 <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="libxvidcore">
161 <term><filename class='libraryfile'>libxvidcore.so</filename></term>
162 <listitem>
163 <para>
164 provides functions to encode and decode most
165 MPEG-4 video data.
166 </para>
167 <indexterm zone="xvid libxvidcore">
168 <primary sortas="c-libxvidcore">libxvidcore.so</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.