Ignore:
Timestamp:
03/09/2020 03:02:12 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2aff70f
Parents:
22618785
Message:

Format multimedia chapter

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/libmusicbrainz.xml

    r22618785 r2eeb8695  
    3030    <title>Introduction to libmusicbrainz</title>
    3131
    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>
     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>
    4347
    4448    &lfs91_checked;
     
    4751    <itemizedlist spacing="compact">
    4852      <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>
     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>
    6581      </listitem>
    6682    </itemizedlist>
     
    6985    <itemizedlist spacing="compact">
    7086      <listitem>
    71         <para>Required patch: <ulink
    72         url="&patch-root;/libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch"/></para>
     87        <para>
     88          Required patch: <ulink
     89          url="&patch-root;/libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch"/>
     90        </para>
    7391      </listitem>
    7492    </itemizedlist>
     
    89107    <title>Installation of libmusicbrainz</title>
    90108
    91     <para>Install <application>libmusicbrainz</application> by running the
    92     following commands:</para>
     109    <para>
     110      Install <application>libmusicbrainz</application> by running the
     111      following commands:
     112    </para>
    93113
    94114<screen><userinput>patch -Np1 -i ../libmusicbrainz-&libmusicbrainz-version;-missing-includes-1.patch &amp;&amp;
     
    98118make</userinput></screen>
    99119
    100     <para>If <application>Python</application> is installed, build the bindings
    101     with the following commands:</para>
     120    <para>
     121      If <application>Python</application> is installed, build the bindings
     122      with the following commands:
     123    </para>
    102124
    103125<screen><userinput>(cd python &amp;&amp; python setup.py build)</userinput></screen>
    104126
    105     <para>This package does not come with a stand-alone test suite (to
    106     test you must have <application>Python</application> installed and perform
    107     the test after the package is installed).</para>
    108 
    109     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     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>
    110136
    111137<screen role="root"><userinput>make install &amp;&amp;
     
    113139    /usr/share/doc/libmusicbrainz-&libmusicbrainz-version;/mb_howto.txt</userinput></screen>
    114140
    115     <para>To test the Python bindings, issue the following:
    116     <command>(cd python &amp;&amp; python setup.py test)</command>.</para>
    117 
    118     <para>If you built the Python bindings, issue the following commands as
    119     the <systemitem class="username">root</systemitem> user to install
    120     them:</para>
     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>
    121151
    122152<screen role="root"><userinput>(cd python &amp;&amp; python setup.py install)</userinput></screen>
     
    156186        <term><filename class='libraryfile'>libmusicbrainz.so</filename></term>
    157187        <listitem>
    158           <para>contains API functions to access the MusicBrainz database, both
    159           for looking up data and also for submitting new data.</para>
     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>
    160192          <indexterm zone="libmusicbrainz libmusicbrainz-lib">
    161193            <primary sortas="c-libmusicbrainz">libmusicbrainz.{so,a}</primary>
Note: See TracChangeset for help on using the changeset viewer.