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 libmusicbrainz5-download-http "https://github.com/metabrainz/libmusicbrainz/releases/download/release-&libmusicbrainz5-version;/libmusicbrainz-&libmusicbrainz5-version;.tar.gz">
|
---|
8 | <!ENTITY libmusicbrainz5-download-ftp " ">
|
---|
9 | <!ENTITY libmusicbrainz5-md5sum "4cc5556aa40ff7ab8f8cb83965535bc3">
|
---|
10 | <!ENTITY libmusicbrainz5-size "76 KB">
|
---|
11 | <!ENTITY libmusicbrainz5-buildsize "6.6 MB (additional 4.4 MB for the API documentaion)">
|
---|
12 | <!ENTITY libmusicbrainz5-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libmusicbrainz5" xreflabel="libmusicbrainz-&libmusicbrainz5-version;">
|
---|
16 | <?dbhtml filename="libmusicbrainz5.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libmusicbrainz-&libmusicbrainz5-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libmusicbrainz5">
|
---|
26 | <primary sortas="a-libmusicbrainz5">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 | </para>
|
---|
36 |
|
---|
37 | &lfs91_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libmusicbrainz5-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libmusicbrainz5-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libmusicbrainz5-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libmusicbrainz5-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libmusicbrainz5-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libmusicbrainz5-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 | <!--
|
---|
73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
74 | <itemizedlist spacing="compact">
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Required patch:
|
---|
78 | <ulink url="&patch-root;/libmusicbrainz-&libmusicbrainz5-version;-build_system-1.patch"/>
|
---|
79 | </para>
|
---|
80 | </listitem>
|
---|
81 | </itemizedlist>-->
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect3">libmusicbrainz Dependencies</bridgehead>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
86 | <para role="required">
|
---|
87 | <xref linkend="cmake"/>,
|
---|
88 | <xref linkend="libxml2"/> and
|
---|
89 | <xref linkend="neon"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
93 | <para role="optional">
|
---|
94 | <xref linkend="doxygen"/>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <para condition="html" role="usernotes">
|
---|
98 | User Notes: <ulink url="&blfs-wiki;/libmusicbrainz5"/>
|
---|
99 | </para>
|
---|
100 | </sect2>
|
---|
101 |
|
---|
102 | <sect2 role="installation">
|
---|
103 | <title>Installation of libmusicbrainz</title>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | First, fix an issue appeared with recent version of cmake:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen><userinput>sed -i 's/\*\.inc/"$(echo *.inc)"/' src/CMakeLists.txt</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | Install <application>libmusicbrainz</application> by running the following
|
---|
113 | commands:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen><userinput>mkdir build &&
|
---|
117 | cd build &&
|
---|
118 |
|
---|
119 | cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. &&
|
---|
120 | make</userinput></screen>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | If you have installed <xref linkend="doxygen"/>, optionally build the API
|
---|
124 | documentation:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen remap="doc"><userinput>doxygen ../Doxyfile</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | This package does not come with a test suite.
|
---|
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</userinput></screen>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | If you have built the API documentation, install, as the <systemitem
|
---|
141 | class="username">root</systemitem> user:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen role="root"
|
---|
145 | remap="doc"><userinput>rm -rf /usr/share/doc/libmusicbrainz-&libmusicbrainz5-version; &&
|
---|
146 | cp -vr docs/ /usr/share/doc/libmusicbrainz-&libmusicbrainz5-version;</userinput></screen>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Programs</segtitle>
|
---|
155 | <segtitle>Installed Library</segtitle>
|
---|
156 | <segtitle>Installed Directory</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>
|
---|
160 | None
|
---|
161 | </seg>
|
---|
162 | <seg>
|
---|
163 | libmusicbrainz5.so
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | /usr/include/libmusicbrainz5 and
|
---|
167 | /usr/share/doc/libmusicbrainz-&libmusicbrainz5-version;
|
---|
168 | </seg>
|
---|
169 | </seglistitem>
|
---|
170 | </segmentedlist>
|
---|
171 |
|
---|
172 | <variablelist>
|
---|
173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
174 | <?dbfo list-presentation="list"?>
|
---|
175 | <?dbhtml list-presentation="table"?>
|
---|
176 |
|
---|
177 | <varlistentry id="libmusicbrainz5-lib">
|
---|
178 | <term><filename class="libraryfile">libmusicbrainz5.so</filename></term>
|
---|
179 | <listitem>
|
---|
180 | <para>
|
---|
181 | contains API functions for accessing the MusicBrainz database.
|
---|
182 | </para>
|
---|
183 | <indexterm zone="libmusicbrainz5 libmusicbrainz5-lib">
|
---|
184 | <primary sortas="c-libmusicbrainz5">libmusicbrainz5.so</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect2>
|
---|
192 |
|
---|
193 | </sect1>
|
---|