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 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>libmusicbrainz-&libmusicbrainz5-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="libmusicbrainz5">
|
---|
25 | <primary sortas="a-libmusicbrainz5">libmusicbrainz</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to libmusicbrainz</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>libmusicbrainz</application> package contains a library
|
---|
33 | which allows you to access the data held on the MusicBrainz server.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs110a_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&libmusicbrainz5-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&libmusicbrainz5-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &libmusicbrainz5-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &libmusicbrainz5-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &libmusicbrainz5-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &libmusicbrainz5-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
73 | <itemizedlist spacing="compact">
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | Required patch:
|
---|
77 | <ulink url="&patch-root;/libmusicbrainz-&libmusicbrainz5-version;-cmake_fixes-1.patch"/>
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">libmusicbrainz Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required">
|
---|
86 | <xref linkend="cmake"/>,
|
---|
87 | <xref linkend="libxml2"/> and
|
---|
88 | <xref linkend="neon"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
92 | <para role="optional">
|
---|
93 | <xref linkend="doxygen"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para condition="html" role="usernotes">
|
---|
97 | User Notes: <ulink url="&blfs-wiki;/libmusicbrainz5"/>
|
---|
98 | </para>
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="installation">
|
---|
102 | <title>Installation of libmusicbrainz</title>
|
---|
103 |
|
---|
104 | <!-- No longer works with 3.18 because wildcard support has been removed.
|
---|
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 |
|
---|
112 | <para>
|
---|
113 | First, fix a problem caused by CMake-3.18.0:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen><userinput remap="pre">patch -Np1 -i ../libmusicbrainz-&libmusicbrainz5-version;-cmake_fixes-1.patch</userinput></screen>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Install <application>libmusicbrainz</application> by running the following
|
---|
120 | commands:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen><userinput>mkdir build &&
|
---|
124 | cd build &&
|
---|
125 |
|
---|
126 | cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. &&
|
---|
127 | make</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | If you have installed <xref linkend="doxygen"/>, optionally build the API
|
---|
131 | documentation:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen remap="doc"><userinput>doxygen ../Doxyfile</userinput></screen>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | This package does not come with a test suite.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | If you have built the API documentation, install, as the <systemitem
|
---|
148 | class="username">root</systemitem> user:
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <screen role="root"
|
---|
152 | remap="doc"><userinput>rm -rf /usr/share/doc/libmusicbrainz-&libmusicbrainz5-version; &&
|
---|
153 | cp -vr docs/ /usr/share/doc/libmusicbrainz-&libmusicbrainz5-version;</userinput></screen>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <sect2 role="content">
|
---|
158 | <title>Contents</title>
|
---|
159 |
|
---|
160 | <segmentedlist>
|
---|
161 | <segtitle>Installed Programs</segtitle>
|
---|
162 | <segtitle>Installed Library</segtitle>
|
---|
163 | <segtitle>Installed Directory</segtitle>
|
---|
164 |
|
---|
165 | <seglistitem>
|
---|
166 | <seg>
|
---|
167 | None
|
---|
168 | </seg>
|
---|
169 | <seg>
|
---|
170 | libmusicbrainz5.so
|
---|
171 | </seg>
|
---|
172 | <seg>
|
---|
173 | /usr/include/libmusicbrainz5 and
|
---|
174 | /usr/share/doc/libmusicbrainz-&libmusicbrainz5-version;
|
---|
175 | </seg>
|
---|
176 | </seglistitem>
|
---|
177 | </segmentedlist>
|
---|
178 |
|
---|
179 | <variablelist>
|
---|
180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
181 | <?dbfo list-presentation="list"?>
|
---|
182 | <?dbhtml list-presentation="table"?>
|
---|
183 |
|
---|
184 | <varlistentry id="libmusicbrainz5-lib">
|
---|
185 | <term><filename class="libraryfile">libmusicbrainz5.so</filename></term>
|
---|
186 | <listitem>
|
---|
187 | <para>
|
---|
188 | contains API functions for accessing the MusicBrainz database
|
---|
189 | </para>
|
---|
190 | <indexterm zone="libmusicbrainz5 libmusicbrainz5-lib">
|
---|
191 | <primary sortas="c-libmusicbrainz5">libmusicbrainz5.so</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | </variablelist>
|
---|
197 |
|
---|
198 | </sect2>
|
---|
199 |
|
---|
200 | </sect1>
|
---|