Author: pierre
Date: Mon Sep 1 09:09:45 2014
New Revision: 14160
Log:
Add IcedTea-Sound
Added:
trunk/BOOK/multimedia/libdriv/icedtea-sound.xml (contents, props changed)
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/multimedia/libdriv/libdriv.xml
trunk/BOOK/packages.ent
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Mon Sep 1 08:52:45
2014 (r14159)
+++ trunk/BOOK/introduction/welcome/changelog.xml Mon Sep 1 09:09:45
2014 (r14160)
@@ -48,6 +48,10 @@
<para>September 1st, 2014</para>
<itemizedlist>
<listitem>
+ <para>[pierre] - Add Icedtea-Sound-1.0.1.
+ Fixes <ulink url="&blfs-ticket-root;5217">#5217</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[pierre] - Add basic configuration instructions to PulseAudio.
Fixes <ulink url="&blfs-ticket-root;5455">#5455</ulink>.</para>
</listitem>
Added: trunk/BOOK/multimedia/libdriv/icedtea-sound.xml
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/BOOK/multimedia/libdriv/icedtea-sound.xml Mon Sep 1 09:09:45
2014 (r14160)
@@ -0,0 +1,213 @@
+<?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 icedtea-sound-download-http
"http://icedtea.classpath.org/download/source/icedtea-sound-&icedtea-sound-version;.tar.xz">
+ <!ENTITY icedtea-sound-download-ftp " ">
+ <!ENTITY icedtea-sound-md5sum "e4d8013735ae517c015327924dabf3ed">
+ <!ENTITY icedtea-sound-size "1.44 MB">
+ <!ENTITY icedtea-sound-buildsize "4.4 MB">
+ <!ENTITY icedtea-sound-time "0.1 SBU">
+]>
+
+<sect1 id="icedtea-sound" xreflabel="IcedTea-Sound-&icedtea-sound-version;">
+ <?dbhtml filename="icedtea-sound.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>IcedTea-Sound-&icedtea-sound-version;</title>
+
+ <indexterm zone="icedtea-sound">
+ <primary sortas="a-icedtea-sound">IcedTea-Sound</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title>Introduction to IcedTea-Sound</title>
+
+ <para>
+ The <application>IcedTea-Sound</application> package contains the
+ <xref linkend="pulseaudio"/> provider which was removed from IcedTea
+ itself from version 2.5.0 onwards. More providers may be included in
+ the future.
+ </para>
+
+ <para>
+ Because of pulseaudio real-time capabilities, the pulseaudio provider
+ is said to provide smoother sound than the default alsa provider.
+ </para>
+
+ &lfs75_checked;
+
+ <bridgehead renderas="sect3">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&icedtea-sound-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&icedtea-sound-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &icedtea-sound-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &icedtea-sound-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &icedtea-sound-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &icedtea-sound-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">IcedTea-Sound Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Required</bridgehead>
+ <para role="required">
+ <xref linkend="openjdk"/> or <xref linkend="java"/> (remember to
+ configure as described in the <xref linkend="openjdk"/> page), and
+ <xref linkend="pulseaudio"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/icedtea-sound"/>
+ </para>
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of IcedTea-Sound</title>
+
+ <para>
+ Install <application>IcedTea-Sound</application> by running the
+ following commands:
+ </para>
+
+<screen><userinput>
+./configure --with-jdk-home=${JAVA_HOME} \
+ --disable-docs &&
+make</userinput></screen>
+
+ <para>
+ This package does not come with a working test suite.
+ </para>
+
+ <para>
+ Now, as the <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>case $(uname -m) in
+ i?86) ARCH=i386 ;;
+ x86_64 ) ARCH=amd64 ;;
+esac &&
+install icedtea-sound.jar ${JAVA_HOME}/jre/lib/ext &&
+install build/native/libicedtea-sound.so ${JAVA_HOME}/jre/lib/$ARCH &&
+unset ARCH</userinput></screen>
+ </sect2>
+
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <parameter>--with-jdk-home=...</parameter>: This parameter specifies
+ the location of your JDK.
+ </para>
+
+ <para>
+ <parameter>--disable-docs</parameter>: Disable building the
documentation.
+ </para>
+
+ </sect2>
+
+ <sect2 role="configuration">
+ <title>Configuring IcedTea-Sound</title>
+
+ <sect3 id="icedtea-sound-config">
+ <title>Config Files</title>
+ <para>
+ <filename>${JAVA_HOME}/jre/lib/sound.properties</filename>
+ </para>
+
+ <indexterm zone="icedtea-sound icedtea-sound-config">
+ <primary
+
sortas="e-jre-lib-sound.properties">${JAVA_HOME}/jre/lib/sound.properties</primary>
+ </indexterm>
+ </sect3>
+
+ <sect3><title>Configuration Information</title>
+
+ <para>
+ The default installation of OpenJDK uses the ALSA provider. You have
+ to specify the PulseAudio provider in the
+ <filename>sound.properties</filename> file, as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>cat >>
${JAVA_HOME}/lib/jre/sound.properties << "EOF"
+<literal># Begin PulseAudio provider additions:
+
+javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioClip
+javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine
+javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioTargetDataLine
+
+# End PulseAudio provider additions</literal>
+EOF</userinput></screen>
+ </sect3>
+ </sect2>
+
+ <sect2 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Program</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directories</segtitle>
+
+ <seglistitem>
+ <seg>
+ None.
+ </seg>
+ <seg>
+ libicedtea-sound.so and icedtea-sound.jar.
+ </seg>
+ <seg>
+ None.
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="libicedtea-sound">
+ <term><filename
class="libraryfile">libicedtea-sound.so</filename></term>
+ <listitem>
+ <para>
+ contains the sound provider(s) bindings.
+ </para>
+ <indexterm zone="icedtea-sound libicedtea-sound">
+ <primary sortas="c-libicedtea-sound">libicedtea-sound.so</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </sect2>
+</sect1>
Modified: trunk/BOOK/multimedia/libdriv/libdriv.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/libdriv.xml Mon Sep 1 08:52:45 2014
(r14159)
+++ trunk/BOOK/multimedia/libdriv/libdriv.xml Mon Sep 1 09:09:45 2014
(r14160)
@@ -47,6 +47,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="gst10-plugins-bad.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="gst10-plugins-ugly.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="gst10-libav.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="icedtea-sound.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liba52.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libao.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libass.xml"/>
Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent Mon Sep 1 08:52:45 2014 (r14159)
+++ trunk/BOOK/packages.ent Mon Sep 1 09:09:45 2014 (r14160)
@@ -634,6 +634,7 @@
<!ENTITY gst10-plugins-bad-version "1.4.1"> <!-- Even minors only -->
<!ENTITY gst10-plugins-ugly-version "1.4.1"> <!-- Even minors only -->
<!ENTITY gst10-libav-version "1.4.1"> <!-- Even minors only -->
+<!ENTITY icedtea-sound-version "1.0.1">
<!ENTITY liba52-version "0.7.4">
<!ENTITY libao-version "1.2.0">
<!ENTITY libass-version "0.11.2">
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page