source: multimedia/libdriv/libmusicbrainz.xml@ 528112b1

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 528112b1 was 528112b1, checked in by Krejzi <krejzi@…>, 10 years ago

More checks and stuff.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14030 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 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>The <application>libmusicbrainz</application> package contains a
33 library which allows you to access the data held on the MusicBrainz server.
34 This is useful for adding MusicBrainz lookup capabilities to other
35 applications.</para>
36
37 <para>MusicBrainz is a community music metadatabase that attempts to create
38 a comprehensive music information site. You can use the MusicBrainz data
39 either by browsing the web site, or you can access the data from a client
40 program &mdash; for example, a CD player program can use MusicBrainz to
41 identify CDs and provide information about the CD, about the artist or
42 other related information.</para>
43
44 &lfs76_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>Download (HTTP): <ulink url="&libmusicbrainz-download-http;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download (FTP): <ulink url="&libmusicbrainz-download-ftp;"/></para>
53 </listitem>
54 <listitem>
55 <para>Download MD5 sum: &libmusicbrainz-md5sum;</para>
56 </listitem>
57 <listitem>
58 <para>Download size: &libmusicbrainz-size;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated disk space required: &libmusicbrainz-buildsize;</para>
62 </listitem>
63 <listitem>
64 <para>Estimated build time: &libmusicbrainz-time;</para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
69 <itemizedlist spacing="compact">
70 <listitem>
71 <para>Required patch: <ulink
72 url="&patch-root;/libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch"/></para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libmusicbrainz Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional to Build the Python Bindings</bridgehead>
79 <para role="optional">
80 <xref linkend="python2"/>
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libmusicbrainz"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libmusicbrainz</title>
90
91 <para>Install <application>libmusicbrainz</application> by running the
92 following commands:</para>
93
94<screen><userinput>patch -Np1 -i ../libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch &amp;&amp;
95./configure --prefix=/usr &amp;&amp;
96make</userinput></screen>
97
98 <para>If <application>Python</application> is installed, build the bindings
99 with the following commands:</para>
100
101<screen><userinput>(cd python &amp;&amp; python setup.py build)</userinput></screen>
102
103 <para>This package does not come with a stand-alone test suite (to
104 test you must have <application>Python</application> installed and perform
105 the test after the package is installed).</para>
106
107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>make install &amp;&amp;
110install -v -m644 -D docs/mb_howto.txt \
111 /usr/share/doc/libmusicbrainz-&libmusicbrainz-version;/mb_howto.txt</userinput></screen>
112
113 <para>To test the Python bindings, issue the following:
114 <command>(cd python &amp;&amp; python setup.py test)</command>.</para>
115
116 <para>If you built the Python bindings, issue the following commands as
117 the <systemitem class="username">root</systemitem> user to install
118 them:</para>
119
120<screen role="root"><userinput>(cd python &amp;&amp; python setup.py install)</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Library</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>None</seg>
134 <seg>libmusicbrainz.{so,a}</seg>
135 <seg>/usr/include/musicbrainz and
136 /usr/share/doc/libmusicbrainz-&libmusicbrainz-version;</seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="libmusicbrainz-lib">
146 <term><filename class='libraryfile'>libmusicbrainz.{so,a}</filename></term>
147 <listitem>
148 <para>contains API functions to access the MusicBrainz database, both
149 for looking up data and also for submitting new data.</para>
150 <indexterm zone="libmusicbrainz libmusicbrainz-lib">
151 <primary sortas="c-libmusicbrainz">libmusicbrainz.{so,a}</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155 </variablelist>
156
157 </sect2>
158
159</sect1>
Note: See TracBrowser for help on using the repository browser.