pulseaudio 1.1 and it's new dependency json-c 0.9

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9687 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Krejzi 2012-03-13 22:11:00 +00:00
parent 331d02acd2
commit 250cf69a79
5 changed files with 240 additions and 70 deletions

View File

@ -236,6 +236,7 @@ $Date$
<!ENTITY json-glib-version "0.14.2">
<!ENTITY exempi-version "2.1.1">
<!ENTITY apr-version "1.4.6">
<!ENTITY json-c-version "0.9">
<!-- Obsolete
<!ENTITY fam-version "2.7.0">
@ -980,8 +981,8 @@ program you invoke. Development restarted Feb 12, so commented until a new rele
<!ENTITY libvpx-version "1.0.0">
<!ENTITY sound-theme-freedesktop-version "0.7">
<!ENTITY libsndfile-version "1.0.23">
<!ENTITY pulseaudio-version "0.9.23">
<!ENTITY taglib-version "1.7">
<!ENTITY pulseaudio-version "1.1">
<!ENTITY taglib-version "1.7">
<!-- Obsolete
<!ENTITY openquicktime-version "1.0">

View File

@ -102,6 +102,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qca.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdbusmenuqt.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libunistring.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exempi.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr.xml"/>

154
general/genlib/json-c.xml Normal file
View File

@ -0,0 +1,154 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY json-c-download-http "http://oss.metaparadigm.com/json-c/json-c-&json-c-version;.tar.gz">
<!ENTITY json-c-download-ftp " ">
<!ENTITY json-c-md5sum "3a13d264528dcbaf3931b0cede24abae">
<!ENTITY json-c-size "336 KB">
<!ENTITY json-c-buildsize "3.0 MB">
<!ENTITY json-c-time "less than 0.1 SBU">
]>
<sect1 id="json-c" xreflabel="JSON-C-&json-c-version;">
<?dbhtml filename="json-c.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>JSON-C-&json-c-version;</title>
<indexterm zone="json-c">
<primary sortas="a-json-c">JSON-C</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to JSON-C</title>
<para>
The <application>JSON-C</application> implements a reference counting
object model that allows you to easily construct JSON objects in C,
output them as JSON formatted strings and parse JSON formatted strings
back into the C representation of JSON objects.
</para>
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&json-c-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&json-c-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &json-c-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &json-c-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &json-c-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &json-c-time;
</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/json-c"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of JSON-C</title>
<para>
Install <application>JSON-C</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<option>--disable-static</option>: This prevents the installation of
static versions of the libraries.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libjson.{a,so}
</seg>
<seg>
/usr/include/json
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libjson">
<term><filename class="libraryfile">libjson.{a,so}</filename></term>
<listitem>
<para>
contains <application>JSON-C</application> API functions.
</para>
<indexterm zone="json-c libjson">
<primary sortas="c-libjson">libjson.{a,so}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -47,6 +47,12 @@
<listitem>
<para>[rthomsen] - upgrade to kdenetwork 4.8.1.</para>
</listitem>
<listitem>
<para>[krejzi] - added json-c 0.9.</para>
</listitem>
<listitem>
<para>[krejzi] - pulseaudio 1.1.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY pulseaudio-download-http "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.gz">
<!ENTITY pulseaudio-download-http "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
<!ENTITY pulseaudio-download-ftp " ">
<!ENTITY pulseaudio-md5sum "7391205a337d1e04a9ff38025f684034">
<!ENTITY pulseaudio-size "2.0 MB">
<!ENTITY pulseaudio-buildsize "68 MB">
<!ENTITY pulseaudio-time "1.5 SBU">
<!ENTITY pulseaudio-md5sum "17d21df798cee407b769c6355fae397a">
<!ENTITY pulseaudio-size "1.2 MB">
<!ENTITY pulseaudio-buildsize "75 MB">
<!ENTITY pulseaudio-time "1.0 SBU">
]>
<sect1 id="pulseaudio" xreflabel="PulseAudio-&pulseaudio-version;">
@ -64,28 +64,35 @@
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="intltool"/>,
<xref linkend="json-c"/>,
<xref linkend="libsndfile"/>, and
<xref linkend="speex"/></para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"><xref linkend="dbus"/></para>
<bridgehead renderas="sect4">Recommended (If you are going to use it
with GNOME)</bridgehead>
<para role="recommended"><xref linkend="alsa-lib"/>,
<xref linkend="GConf"/> and <xref linkend="xorg7-lib"/>
</para>
<!-- Either GTK+2 or GConf will pull glib -->
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="alsa-lib"/>,
<xref linkend="avahi"/>,
<para role="optional"><xref linkend="avahi"/>,
<ulink url="http://www.bluez.org/">BlueZ</ulink>,
<xref linkend="GConf"/>,
<xref linkend="glib2"/>,
<ulink url="http://www.fftw.org/">FFTW</ulink>,
<xref linkend="gtk2"/>,
<ulink url="http://www.freedesktop.org/wiki/Software/hal">Hal</ulink>,
<ulink url="http://jackit.sourceforge.net/">JACK</ulink>,
<ulink url="http://0pointer.de/lennart/projects/libasyncns/">
libasyncns</ulink>,
<ulink url="http://www.mega-nerd.com/libsamplerate/">Secret Rabbit
Code</ulink> (a.k.a. libsamplerate),
<ulink url="http://www.lirc.org/">LIRC</ulink>,
<xref linkend="openssl"/>,
<ulink url="http://tdb.samba.org/">tdb</ulink>,
<ulink url="http://valgrind.org/">Valgrind</ulink>, and
<xref linkend="xorg7-lib"/></para>
<ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
<ulink url="http://tdb.samba.org/">tdb</ulink> and
<ulink url="http://valgrind.org/">Valgrind</ulink></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/pulseaudio"/></para>
@ -100,9 +107,9 @@
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/pulseaudio \
--with-module-dir=/usr/lib/pulseaudio/modules \
--with-udev-rules-dir=/etc/udev/rules.d &amp;&amp;
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-module-dir=/usr/lib/pulse/modules &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
@ -113,22 +120,22 @@ make</userinput></screen>
</sect2>
<!-- these "explanations" need some love
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>-&#45;sysconfdir=/etc</parameter>: This parameter does
something mandatory for BLFS purposes.</para>
<para><parameter>--libexecdir=/usr/lib</parameter>: This
parameter ensures that internal <application>PulseAudio</application>
helpers are installed in <filename class="directory">/usr/lib/pulse
</filename> instead of <filename class="directory">/usr/libexec/pulse
</filename>.</para>
<para><parameter>-&#45;libexecdir=/usr/lib/pulseaudio</parameter>: This
parameter does something mandatory for BLFS purposes.</para>
<para><parameter>---with-module-dir=/usr/lib/pulse/modules</parameter>:
This parameter ensures that <application>PulseAudio</application>
modules are installed in <filename class="directory">/usr/lib/pulse/modules
</filename> instead of <filename class="directory">
/usr/lib/pulse-&pulseaudio-version;/modules</filename>.</para>
<para><parameter>-&#45;with-module-dir=/usr/lib/pulseaudio/modules</parameter>:
This parameter does something mandatory for BLFS purposes.</para>
<para><parameter>-&#45;with-udev-rules-dir=/etc/udev/rules.d</parameter>:
This parameter does something mandatory for BLFS purposes.</para>
</sect2> -->
</sect2>
<sect2 role="content">
<title>Contents</title>
@ -140,15 +147,14 @@ make</userinput></screen>
<seglistitem>
<seg>esdcompat, gconf-helper, pabrowse, pacat, pacmd, pactl, padsp,
pamon, paplay, parec, parecord, pasuspender, pax11publish, pulseaudio,
start-pulseaudio-kde, and start-pulseaudio-x11</seg>
pamon, paplay, parec, parecord, pasuspender, pax11publish, proximity-helper,
pulseaudio, qpaeq, start-pulseaudio-kde and start-pulseaudio-x11</seg>
<seg>libalsa-util.so, libavahi-wrap.so, libcli.so, liboss-util.so,
libprotocol-cli.so, libprotocol-esound.so, libprotocol-http.so,
libprotocol-native.so, libprotocol-simple.so, libpulse-browse.so,
libpulse-mainloop-glib.so, libpulse-simple.so, libpulse.so,
libpulsecommon-0.9.23.so, libpulsecore-0.9.23.so, libpulsedsp.so,
libraop.so, librtp.so, module-alsa-card.so, module-alsa-sink.so,
module-alsa-source.so, module-always-sink.so,
libprotocol-native.so, libprotocol-simple.so,libpulse-mainloop-glib.so,
libpulse-simple.so, libpulse.so, libpulsecommon-1.1.so, libpulsecore-1.1.so,
libpulsedsp.so, libraop.so, librtp.so, module-alsa-card.so,
module-alsa-sink.so, module-alsa-source.so, module-always-sink.so,
module-augment-properties.so, module-card-restore.so,
module-cli-protocol-tcp.so, module-cli-protocol-unix.so, module-cli.so,
module-combine.so, module-console-kit.so, module-cork-music-on-phone.so,
@ -174,8 +180,7 @@ make</userinput></screen>
module-x11-cork-request.so, module-x11-publish.so, module-x11-xsmp.so,
module-zeroconf-discover.so, and module-zeroconf-publish.so</seg>
<seg>/etc/{pulse,xdg/autostart}, /usr/{include/pulse,
lib/pulseaudio/{modules,pulse},share/{locale/de_CH/LC_MESSAGES,
pulseaudio/alsa-mixer/{paths,profile-sets}}}</seg>
lib/pulse/modules,share/pulseaudio/alsa-mixer/{paths,profile-sets}}</seg>
</seglistitem>
</segmentedlist>
@ -195,25 +200,15 @@ make</userinput></screen>
</listitem>
</varlistentry>
<!--<varlistentry id="gconf-helper">
<varlistentry id="gconf-helper">
<term><command>gconf-helper</command></term>
<listitem>
<para>does this .....</para>
<para>is helper for <application>PulseAudio
</application> GConf module.</para>
<indexterm zone="pulseaudio gconf-helper">
<primary sortas="b-gconf-helper">gconf-helper</primary>
</indexterm>
</listitem>
</varlistentry>-->
<varlistentry id="pabrowse">
<term><command>pabrowse</command></term>
<listitem>
<para>lists all <application>PulseAudio</application> sound servers on
the local network that are being announced with Zero-conf/Avahi.</para>
<indexterm zone="pulseaudio pabrowse">
<primary sortas="b-pabrowse">pabrowse</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pacat">
@ -259,31 +254,31 @@ make</userinput></screen>
</listitem>
</varlistentry>
<!--<varlistentry id="pamon">
<varlistentry id="pamon">
<term><command>pamon</command></term>
<listitem>
<para>does this .....</para>
<para>is a symbolic link to pacat.</para>
<indexterm zone="pulseaudio pamon">
<primary sortas="b-pamon">pamon</primary>
</indexterm>
</listitem>
</varlistentry>-->
</varlistentry>
<varlistentry id="paplay">
<term><command>paplay</command></term>
<listitem>
<para>is a simple tool for playing back audio files on a
<application>PulseAudio</application> sound server.</para>
<para>plays audio files on <application>PulseAudio</application>
sound server.</para>
<indexterm zone="pulseaudio paplay">
<primary sortas="b-paplay">paplay</primary>
</indexterm>
</listitem>
</varlistentry>
<!--<varlistentry id="parec">
<varlistentry id="parec">
<term><command>parec</command></term>
<listitem>
<para>does this .....</para>
<para>is a symbolic link to pacat.</para>
<indexterm zone="pulseaudio parec">
<primary sortas="b-parec">parec</primary>
</indexterm>
@ -293,12 +288,12 @@ make</userinput></screen>
<varlistentry id="parecord">
<term><command>parecord</command></term>
<listitem>
<para>does this .....</para>
<para>is a symbolic link to pacat.</para>
<indexterm zone="pulseaudio parecord">
<primary sortas="b-parecord">parecord</primary>
</indexterm>
</listitem>
</varlistentry>-->
</varlistentry>
<varlistentry id="pasuspender">
<term><command>pasuspender</command></term>
@ -313,31 +308,43 @@ make</userinput></screen>
</listitem>
</varlistentry>
<!--<varlistentry id="pax11publish">
<varlistentry id="pax11publish">
<term><command>pax11publish</command></term>
<listitem>
<para>does this .....</para>
<para>is <application>PulseAudio</application>
X11 Credential Utility.</para>
<indexterm zone="pulseaudio pax11publish">
<primary sortas="b-pax11publish">pax11publish</primary>
</indexterm>
</listitem>
</varlistentry>-->
</varlistentry>
<varlistentry id="pulseaudio-prog">
<term><command>pulseaudio-prog</command></term>
<term><command>pulseaudio</command></term>
<listitem>
<para>is a <application>PulseAudio</application> X11 credential
utility.</para>
<para>is a networked low-latency sound server for Linux.</para>
<indexterm zone="pulseaudio pulseaudio-prog">
<primary sortas="b-pulseaudio-prog">pulseaudio-prog</primary>
</indexterm>
</listitem>
</varlistentry>
<!--<varlistentry id="start-pulseaudio-kde">
<varlistentry id="qpaeq">
<term><command>qpaeq</command></term>
<listitem>
<para>is a equalizer interface for
<application>PulseAudio</application> equalizer sinks.</para>
<indexterm zone="pulseaudio qpaeq">
<primary sortas="b-qpaeq">qpaeq</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="start-pulseaudio-kde">
<term><command>start-pulseaudio-kde</command></term>
<listitem>
<para>does this .....</para>
<para>Starts <application>PulseAudio</application> and registers it to
the X11 session manager.</para>
<indexterm zone="pulseaudio start-pulseaudio-kde">
<primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
</indexterm>
@ -347,12 +354,13 @@ make</userinput></screen>
<varlistentry id="start-pulseaudio-x11">
<term><command>start-pulseaudio-x11</command></term>
<listitem>
<para>does this .....</para>
<para>Starts <application>PulseAudio</application> and loads
module-device-manager to use KDE routing policies.</para>
<indexterm zone="pulseaudio start-pulseaudio-x11">
<primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
</indexterm>
</listitem>
</varlistentry>-->
</varlistentry>
<varlistentry id="modules">
<term><filename class='libraryfile'>module-*.so</filename></term>