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 libdiscid-download-http "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-&libdiscid-version;.tar.gz">
|
---|
8 | <!ENTITY libdiscid-download-ftp "ftp://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-&libdiscid-version;.tar.gz">
|
---|
9 | <!ENTITY libdiscid-md5sum "2812bb678f5142efdfd0d0f7d6ea87d6">
|
---|
10 | <!ENTITY libdiscid-size "396 KB">
|
---|
11 | <!ENTITY libdiscid-buildsize "3.1 MB (with tests)">
|
---|
12 | <!ENTITY libdiscid-time "0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libdiscid" xreflabel="libdiscid-&libdiscid-version;">
|
---|
16 | <?dbhtml filename="libdiscid.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>libdiscid-&libdiscid-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="libdiscid">
|
---|
25 | <primary sortas="a-libdiscid">libdiscid</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to libdiscid</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>libdiscid</application> package contains a library for
|
---|
33 | creating MusicBrainz DiscIDs from audio CDs. It reads a CD's table of
|
---|
34 | contents (TOC) and generates an identifier which can be used to lookup the
|
---|
35 | CD at MusicBrainz (<ulink url="http://musicbrainz.org"/>). Additionally, it
|
---|
36 | provides a submission URL for adding the DiscID to the database.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs110a_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&libdiscid-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&libdiscid-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &libdiscid-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &libdiscid-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &libdiscid-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &libdiscid-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <xref linkend="doxygen"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/libdiscid"/>
|
---|
82 | </para>
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of libdiscid</title>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | Install <application>libdiscid</application> by running the following
|
---|
90 | commands:
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
94 | make</userinput></screen>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | To test the results, issue: <command>make check</command>.
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="commands">
|
---|
109 | <title>Command Explanations</title>
|
---|
110 |
|
---|
111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
112 | href="../../xincludes/static-libraries.xml"/>
|
---|
113 |
|
---|
114 | </sect2>
|
---|
115 |
|
---|
116 | <sect2 role="content">
|
---|
117 | <title>Contents</title>
|
---|
118 |
|
---|
119 | <segmentedlist>
|
---|
120 | <segtitle>Installed Programs</segtitle>
|
---|
121 | <segtitle>Installed Library</segtitle>
|
---|
122 | <segtitle>Installed Directory</segtitle>
|
---|
123 |
|
---|
124 | <seglistitem>
|
---|
125 | <seg>
|
---|
126 | None
|
---|
127 | </seg>
|
---|
128 | <seg>
|
---|
129 | libdiscid.so
|
---|
130 | </seg>
|
---|
131 | <seg>
|
---|
132 | /usr/include/discid
|
---|
133 | </seg>
|
---|
134 | </seglistitem>
|
---|
135 | </segmentedlist>
|
---|
136 |
|
---|
137 | <variablelist>
|
---|
138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
139 | <?dbfo list-presentation="list"?>
|
---|
140 | <?dbhtml list-presentation="table"?>
|
---|
141 |
|
---|
142 | <varlistentry id="libdiscid-lib">
|
---|
143 | <term><filename class="libraryfile">libdiscid.so</filename></term>
|
---|
144 | <listitem>
|
---|
145 | <para>
|
---|
146 | contains the DiscID API functions
|
---|
147 | </para>
|
---|
148 | <indexterm zone="libdiscid libdiscid-lib">
|
---|
149 | <primary sortas="c-libdiscid">libdiscid.so</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | </variablelist>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | </sect1>
|
---|