[9318937b] | 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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libcddb-download-http "&sourceforge-dl;/libcddb/libcddb-&libcddb-version;.tar.bz2">
|
---|
[9318937b] | 8 | <!ENTITY libcddb-download-ftp " ">
|
---|
| 9 | <!ENTITY libcddb-md5sum "8bb4a6f542197e8e9648ae597cd6bc8a">
|
---|
| 10 | <!ENTITY libcddb-size "384 KB">
|
---|
| 11 | <!ENTITY libcddb-buildsize "3.9 MB (with tests)">
|
---|
| 12 | <!ENTITY libcddb-time "0.2 SBU (with tests)">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libcddb" xreflabel="libcddb-&libcddb-version;">
|
---|
| 16 | <?dbhtml filename="libcddb.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libcddb-&libcddb-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libcddb">
|
---|
| 22 | <primary sortas="a-libcddb">libcddb</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libcddb</title>
|
---|
| 27 |
|
---|
[2eeb8695] | 28 | <para>
|
---|
| 29 | The <application>libcddb</application> is a library that implements
|
---|
| 30 | the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB
|
---|
| 31 | server.
|
---|
| 32 | </para>
|
---|
[9318937b] | 33 |
|
---|
[332bad2a] | 34 | &lfs120_checked;
|
---|
[9318937b] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[2eeb8695] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&libcddb-download-http;"/>
|
---|
| 41 | </para>
|
---|
[9318937b] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[2eeb8695] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&libcddb-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[9318937b] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[2eeb8695] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &libcddb-md5sum;
|
---|
| 51 | </para>
|
---|
[9318937b] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[2eeb8695] | 54 | <para>
|
---|
| 55 | Download size: &libcddb-size;
|
---|
| 56 | </para>
|
---|
[9318937b] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[2eeb8695] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &libcddb-buildsize;
|
---|
| 61 | </para>
|
---|
[9318937b] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[2eeb8695] | 64 | <para>
|
---|
| 65 | Estimated build time: &libcddb-time;
|
---|
| 66 | </para>
|
---|
[9318937b] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of libcddb</title>
|
---|
| 74 |
|
---|
[a5a10c0] | 75 | <para>
|
---|
| 76 | By default this package accesses
|
---|
| 77 | <systemitem class='domainname'>freedb.org</systemitem>, which is
|
---|
| 78 | already closed. Modify the default to use
|
---|
| 79 | <systemitem class='domainname'>gnudb.gnudb.org</systemitem> instead,
|
---|
| 80 | and fix two stale test data files:
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <screen><userinput>sed -e '/DEFAULT_SERVER/s/freedb.org/gnudb.gnudb.org/' \
|
---|
| 84 | -e '/DEFAULT_PORT/s/888/&0/' \
|
---|
| 85 | -i include/cddb/cddb_ni.h &&
|
---|
| 86 | sed '/^Genre:/s/Trip-Hop/Electronic/' -i tests/testdata/920ef00b.txt &&
|
---|
| 87 | sed '/DISCID/i# Revision: 42' -i tests/testcache/misc/12340000</userinput></screen>
|
---|
| 88 |
|
---|
[2eeb8695] | 89 | <para>
|
---|
| 90 | Install <application>libcddb</application> by running the
|
---|
| 91 | following commands:
|
---|
| 92 | </para>
|
---|
[9318937b] | 93 |
|
---|
| 94 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
[2eeb8695] | 97 | <para>
|
---|
[a5a10c0] | 98 | To test the results, issue: <command>make check -k</command>.
|
---|
| 99 | The test suite needs the Internet connection. One test fails due to
|
---|
| 100 | missing test server.
|
---|
[2eeb8695] | 101 | </para>
|
---|
[9318937b] | 102 |
|
---|
[2eeb8695] | 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
[9318937b] | 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
| 115 | <segtitle>Installed Programs</segtitle>
|
---|
| 116 | <segtitle>Installed Library</segtitle>
|
---|
| 117 | <segtitle>Installed Directories</segtitle>
|
---|
| 118 |
|
---|
| 119 | <seglistitem>
|
---|
| 120 | <seg>
|
---|
| 121 | cddb_query
|
---|
| 122 | </seg>
|
---|
| 123 | <seg>
|
---|
| 124 | libcddb.so
|
---|
| 125 | </seg>
|
---|
| 126 | <seg>
|
---|
| 127 | /usr/include/cddb
|
---|
| 128 | </seg>
|
---|
| 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | <variablelist>
|
---|
| 133 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 134 | <?dbfo list-presentation="list"?>
|
---|
| 135 | <?dbhtml list-presentation="table"?>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="cddb_query">
|
---|
| 138 | <term><command>cddb_query</command></term>
|
---|
| 139 | <listitem>
|
---|
[2eeb8695] | 140 | <para>
|
---|
[4c24eb0a] | 141 | provides a user interface to a CDDB server
|
---|
[2eeb8695] | 142 | </para>
|
---|
[9318937b] | 143 | <indexterm zone="libcddb cddb_query">
|
---|
| 144 | <primary sortas="b-cddb_query">cddb_query</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | </variablelist>
|
---|
| 150 | </sect2>
|
---|
[4c24eb0a] | 151 |
|
---|
[9318937b] | 152 | </sect1>
|
---|