mirror of
https://github.com/glfs-book/glfs.git
synced 2025-07-29 21:01:40 +00:00

The application tag seemed to just put an extra space on either side of the word(s) the tags surrounded and seemed to serve no purpose beyond that. If it served the purpose of jhalfs, well this book is not supported by jhalfs. The result of the tags just added space in both the rendered output and in the XML files. Now, when referring to a package name, we just say the name and don't surround it via a tag. The only exception is using <command>, <filename>, <xref>, or <ulink>.
178 lines
4.8 KiB
XML
178 lines
4.8 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 libvorbis-download-http "https://downloads.xiph.org/releases/vorbis/libvorbis-&libvorbis-version;.tar.xz">
|
|
<!ENTITY libvorbis-download-ftp " ">
|
|
]>
|
|
|
|
<sect1 id="libvorbis" xreflabel="libvorbis-&libvorbis-version;">
|
|
<?dbhtml filename="libvorbis.html"?>
|
|
|
|
|
|
<title>libvorbis-&libvorbis-version;</title>
|
|
|
|
<indexterm zone="libvorbis">
|
|
<primary sortas="a-Libvorbis">Libvorbis</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libvorbis</title>
|
|
|
|
<para>
|
|
The libvorbis package contains a general
|
|
purpose audio and music encoding format. This is useful for creating
|
|
(encoding) and playing (decoding) sound in an open (patent free)
|
|
format.
|
|
</para>
|
|
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libvorbis-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libvorbis-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">libvorbis Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libogg"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<ulink url="&blfs-svn;/general/doxygen.html">doxygen</ulink> and
|
|
<ulink url="&blfs-svn;/general/texlive.html">texlive</ulink>
|
|
(or <ulink url="&blfs-svn;/general/tl-installer.html">
|
|
install-tl-unx</ulink>) (specifically, pdflatex and htlatex) to
|
|
build the PDF documentation
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libvorbis</title>
|
|
<!--
|
|
<para>
|
|
Optionally fix installation of the package when
|
|
<command>- -enable-docs</command> is added to the configure switches:
|
|
</para>
|
|
|
|
<screen><userinput>sed -i '/components.png \\/{n;d}' doc/Makefile.in</userinput></screen>
|
|
-->
|
|
<para>
|
|
Install libvorbis by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>make -j1 check</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
install -v -m644 doc/Vorbis* /usr/share/doc/libvorbis-&libvorbis-version;</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>lib32 Installation of libvorbis</title>
|
|
|
|
<para>
|
|
Install lib32-libvorbis by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>make distclean &&
|
|
CC="gcc -m32" CXX="g++ -m32" \
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--host=i686-pc-linux-gnu \
|
|
--disable-static &&
|
|
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install &&
|
|
cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
|
|
rm -rf DESTDIR &&
|
|
ldconfig</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
&options-configure;
|
|
|
|
&static-libraries;
|
|
|
|
<para>
|
|
<option>--enable-docs</option>: This switch enables building the
|
|
documentation in formats other than the supplied html.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libvorbis, libvorbisenc, and libvorbisfile
|
|
</seg>
|
|
<seg>
|
|
/usr/include/vorbis and /usr/share/doc/libvorbis-&libvorbis-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libvorbis-lib">
|
|
<term><filename class="libraryfile">libvorbis</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides the functions used to read and write sound files
|
|
</para>
|
|
<indexterm zone="libvorbis libvorbis-lib">
|
|
<primary sortas="c-libvorbis">libvorbis</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|