source: multimedia/libdriv/libmusicbrainz.xml@ 18a8da63

10.0 10.1 11.0 11.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 18a8da63 was 18a8da63, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

More tags, mostly multimedia

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

  • Property mode set to 100644
File size: 6.3 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 libmusicbrainz-download-http "http://ftp.musicbrainz.org/pub/musicbrainz/historical/libmusicbrainz-&libmusicbrainz-version;.tar.gz">
8 <!ENTITY libmusicbrainz-download-ftp "ftp://ftp.musicbrainz.org/pub/musicbrainz/historical/libmusicbrainz-&libmusicbrainz-version;.tar.gz">
9 <!ENTITY libmusicbrainz-md5sum "d5e19bb77edd6ea798ce206bd05ccc5f">
10 <!ENTITY libmusicbrainz-size "524 KB">
11 <!ENTITY libmusicbrainz-buildsize "12 MB">
12 <!ENTITY libmusicbrainz-time "0.4 SBU">
13]>
14
15<sect1 id="libmusicbrainz" xreflabel="libmusicbrainz-&libmusicbrainz-version;">
16 <?dbhtml filename="libmusicbrainz.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libmusicbrainz-&libmusicbrainz-version;</title>
24
25 <indexterm zone="libmusicbrainz">
26 <primary sortas="a-libmusicbrainz">libmusicbrainz</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libmusicbrainz</title>
31
32 <para>
33 The <application>libmusicbrainz</application> package contains a library
34 which allows you to access the data held on the MusicBrainz server.
35 This is useful for adding MusicBrainz lookup capabilities to other
36 applications.
37 </para>
38
39 <para>
40 MusicBrainz is a community music metadatabase that attempts to create
41 a comprehensive music information site. You can use the MusicBrainz data
42 either by browsing the web site, or you can access the data from a client
43 program &mdash; for example, a CD player program can use MusicBrainz to
44 identify CDs and provide information about the CD, about the artist or
45 other related information.
46 </para>
47
48 &lfs10_checked;
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>
54 Download (HTTP): <ulink url="&libmusicbrainz-download-http;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download (FTP): <ulink url="&libmusicbrainz-download-ftp;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download MD5 sum: &libmusicbrainz-md5sum;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download size: &libmusicbrainz-size;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated disk space required: &libmusicbrainz-buildsize;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated build time: &libmusicbrainz-time;
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
85 <itemizedlist spacing="compact">
86 <listitem>
87 <para>
88 Required patch: <ulink
89 url="&patch-root;/libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch"/>
90 </para>
91 </listitem>
92 </itemizedlist>
93
94 <bridgehead renderas="sect3">libmusicbrainz Dependencies</bridgehead>
95
96 <bridgehead renderas="sect4">Optional to Build the Python Bindings</bridgehead>
97 <para role="optional">
98 <xref linkend="python2"/>
99 </para>
100
101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/libmusicbrainz"/></para>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of libmusicbrainz</title>
108
109 <para>
110 Install <application>libmusicbrainz</application> by running the
111 following commands:
112 </para>
113
114<screen><userinput>patch -Np1 -i ../libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch &amp;&amp;
115
116CXXFLAGS=-std=c++98 \
117./configure --prefix=/usr --disable-static &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 If <application>Python</application> is installed, build the bindings
122 with the following commands:
123 </para>
124
125<screen><userinput>(cd python &amp;&amp; python setup.py build)</userinput></screen>
126
127 <para>
128 This package does not come with a stand-alone test suite (to
129 test you must have <application>Python</application> installed and perform
130 the test after the package is installed).
131 </para>
132
133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root"><userinput>make install &amp;&amp;
138install -v -m644 -D docs/mb_howto.txt \
139 /usr/share/doc/libmusicbrainz-&libmusicbrainz-version;/mb_howto.txt</userinput></screen>
140
141 <para>
142 To test the Python bindings, issue the following:
143 <command>(cd python &amp;&amp; python setup.py test)</command>.
144 </para>
145
146 <para>
147 If you built the Python bindings, issue the following commands as
148 the <systemitem class="username">root</systemitem> user to install
149 them:
150 </para>
151
152<screen role="root"><userinput>(cd python &amp;&amp; python setup.py install)</userinput></screen>
153
154 </sect2>
155
156 <sect2 role="commands">
157 <title>Command Explanations</title>
158
159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/static-libraries.xml"/>
161
162 </sect2>
163
164 <sect2 role="content">
165 <title>Contents</title>
166
167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
169 <segtitle>Installed Library</segtitle>
170 <segtitle>Installed Directories</segtitle>
171
172 <seglistitem>
173 <seg>None</seg>
174 <seg>libmusicbrainz.so</seg>
175 <seg>/usr/include/musicbrainz and
176 /usr/share/doc/libmusicbrainz-&libmusicbrainz-version;</seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="libmusicbrainz-lib">
186 <term><filename class='libraryfile'>libmusicbrainz.so</filename></term>
187 <listitem>
188 <para>
189 contains API functions to access the MusicBrainz database, both
190 for looking up data and also for submitting new data.
191 </para>
192 <indexterm zone="libmusicbrainz libmusicbrainz-lib">
193 <primary sortas="c-libmusicbrainz">libmusicbrainz.{so,a}</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.