[331f4169] | 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;
|
---|
[08d52d9] | 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libvorbis-download-http "https://downloads.xiph.org/releases/vorbis/libvorbis-&libvorbis-version;.tar.xz">
|
---|
[3961b7e] | 8 | <!ENTITY libvorbis-download-ftp " ">
|
---|
[23aee7e] | 9 | <!ENTITY libvorbis-md5sum "50902641d358135f06a8392e61c9ac77">
|
---|
[61562907] | 10 | <!ENTITY libvorbis-size "1.1 MB">
|
---|
[23aee7e] | 11 | <!ENTITY libvorbis-buildsize "15 MB">
|
---|
[14edcc9] | 12 | <!ENTITY libvorbis-time "0.1 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="libvorbis" xreflabel="libvorbis-&libvorbis-version;">
|
---|
[331f4169] | 16 | <?dbhtml filename="libvorbis.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[72e4cd18] | 19 | <title>libvorbis-&libvorbis-version;</title>
|
---|
[331f4169] | 20 |
|
---|
| 21 | <indexterm zone="libvorbis">
|
---|
| 22 | <primary sortas="a-Libvorbis">Libvorbis</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[72e4cd18] | 26 | <title>Introduction to libvorbis</title>
|
---|
[331f4169] | 27 |
|
---|
[61562907] | 28 | <para>
|
---|
| 29 | The <application>libvorbis</application> package contains a general
|
---|
| 30 | purpose audio and music encoding format. This is useful for creating
|
---|
| 31 | (encoding) and playing (decoding) sound in an open (patent free)
|
---|
| 32 | format.
|
---|
| 33 | </para>
|
---|
[331f4169] | 34 |
|
---|
[332bad2a] | 35 | &lfs120_checked;
|
---|
[e355f3c6] | 36 |
|
---|
[331f4169] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[61562907] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libvorbis-download-http;"/>
|
---|
| 42 | </para>
|
---|
[331f4169] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[61562907] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libvorbis-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[331f4169] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[61562907] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &libvorbis-md5sum;
|
---|
| 52 | </para>
|
---|
[331f4169] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[61562907] | 55 | <para>
|
---|
| 56 | Download size: &libvorbis-size;
|
---|
| 57 | </para>
|
---|
[331f4169] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[61562907] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &libvorbis-buildsize;
|
---|
| 62 | </para>
|
---|
[331f4169] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[61562907] | 65 | <para>
|
---|
| 66 | Estimated build time: &libvorbis-time;
|
---|
| 67 | </para>
|
---|
[331f4169] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[72e4cd18] | 71 | <bridgehead renderas="sect3">libvorbis Dependencies</bridgehead>
|
---|
[331f4169] | 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[61562907] | 74 | <para role="required">
|
---|
| 75 | <xref linkend="libogg"/>
|
---|
| 76 | </para>
|
---|
[331f4169] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[61562907] | 79 | <para role="optional">
|
---|
| 80 | <xref linkend="doxygen"/> and
|
---|
[2d98031c] | 81 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
|
---|
[61562907] | 82 | (specifically, pdflatex and htlatex) to build the PDF documentation
|
---|
| 83 | </para>
|
---|
[331f4169] | 84 |
|
---|
[42ddc30] | 85 | <para condition="html" role="usernotes">Editor Notes:
|
---|
[61562907] | 86 | <ulink url='&blfs-wiki;/Libvorbis'/>
|
---|
| 87 | </para>
|
---|
[331f4169] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
[72e4cd18] | 91 | <title>Installation of libvorbis</title>
|
---|
[f5601b8] | 92 | <!--
|
---|
[dc20ce3] | 93 | <para>
|
---|
| 94 | Optionally fix installation of the package when
|
---|
[f5601b8] | 95 | <command>- -enable-docs</command> is added to the configure switches:
|
---|
[dc20ce3] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <screen><userinput>sed -i '/components.png \\/{n;d}' doc/Makefile.in</userinput></screen>
|
---|
[f5601b8] | 99 | -->
|
---|
[61562907] | 100 | <para>
|
---|
| 101 | Install <application>libvorbis</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
[331f4169] | 104 |
|
---|
[61562907] | 105 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[331f4169] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
[61562907] | 108 | <para>
|
---|
[cbf6df27] | 109 | To test the results, issue: <command>make -j1 check</command>.
|
---|
[61562907] | 110 | </para>
|
---|
[331f4169] | 111 |
|
---|
[61562907] | 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
[331f4169] | 115 |
|
---|
[3961b7e] | 116 | <screen role="root"><userinput>make install &&
|
---|
| 117 | install -v -m644 doc/Vorbis* /usr/share/doc/libvorbis-&libvorbis-version;</userinput></screen>
|
---|
[331f4169] | 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
[61562907] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/static-libraries.xml"/>
|
---|
[ca0c5e90] | 126 |
|
---|
[61562907] | 127 | <para>
|
---|
| 128 | <option>--enable-docs</option>: This switch enables building the
|
---|
| 129 | documentation in formats other than the supplied html.
|
---|
| 130 | </para>
|
---|
[331f4169] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
[c3c56b2] | 138 | <segtitle>Installed Programs</segtitle>
|
---|
[331f4169] | 139 | <segtitle>Installed Libraries</segtitle>
|
---|
| 140 | <segtitle>Installed Directories</segtitle>
|
---|
| 141 |
|
---|
| 142 | <seglistitem>
|
---|
[c3c56b2] | 143 | <seg>
|
---|
| 144 | None
|
---|
| 145 | </seg>
|
---|
[61562907] | 146 | <seg>
|
---|
| 147 | libvorbis.so, libvorbisenc.so and libvorbisfile.so
|
---|
| 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | /usr/include/vorbis and /usr/share/doc/libvorbis-&libvorbis-version;
|
---|
| 151 | </seg>
|
---|
[331f4169] | 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="libvorbis-lib">
|
---|
[61562907] | 161 | <term><filename class="libraryfile">libvorbis.so</filename></term>
|
---|
[331f4169] | 162 | <listitem>
|
---|
[61562907] | 163 | <para>
|
---|
[4c24eb0a] | 164 | provides the functions used to read and write sound files
|
---|
[61562907] | 165 | </para>
|
---|
[331f4169] | 166 | <indexterm zone="libvorbis libvorbis-lib">
|
---|
[61562907] | 167 | <primary sortas="c-libvorbis">libvorbis.so</primary>
|
---|
[331f4169] | 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | </variablelist>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
[f45b1953] | 175 |
|
---|
| 176 | </sect1>
|
---|