Add babl.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8624 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2010-10-10 23:08:20 +00:00
parent bd32b6fda1
commit 9ce06cc9d0
5 changed files with 164 additions and 6 deletions

View File

@ -3,13 +3,13 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "29"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY day "10"> <!-- Always 2 digits -->
<!ENTITY month "10"> <!-- Always 2 digits -->
<!ENTITY year "2010">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "September &day;th, &year;">
<!ENTITY releasedate "October &day;th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- version|testing|unstable|development] -->
@ -225,6 +225,8 @@ $Date$
<!ENTITY pixman-version "0.15.20">
<!ENTITY clutter-version "1.2.10">
<!ENTITY clutter-gtk-version "0.10.4">
<!ENTITY babl-version "0.1.2">
<!ENTITY gegl-version "0.1.2">
<!-- Obsolete
<!ENTITY libungif-version "4.1.3">
@ -721,7 +723,7 @@ $Date$
<!ENTITY AbiWord-version "2.4.6">
<!ENTITY gnumeric-version "1.8.2">
<!ENTITY gnucash-version "2.2.4">
<!ENTITY gimp-version "2.2.17">
<!ENTITY gimp-version "2.6.8">
<!ENTITY evolution-version "2.30.2">
<!-- Chapter 35 -->

View File

@ -32,7 +32,7 @@
<para>The <application>gir-repository</application> is a repository of GIR
interface description files.</para>
&lfs65_checked;
&lfs67_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -75,7 +75,7 @@
<xref linkend="clutter"/>,
<xref linkend="atk"/>,
<xref linkend="avahi"/>,
<ulink url="http://www.gegl.org/babl/">Babl</ulink>,
<xref linkend="babl"/>,
<ulink url="http://clutter-project.org/">clutter-cairo</ulink>,
<xref linkend="clutter-gtk"/>,
<xref linkend="GConf"/>,
@ -110,6 +110,7 @@
following commands:</para>
<screen><userinput>patch -Np1 -i ../gir-repository-&gir-repository-version;-dbus-glib-2.patch &amp;&amp;
sed -i 's#abl-0\.0#abl-0.1#' gir/Makefile.in &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
@ -121,6 +122,15 @@ make</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>sed -i 's#abl-0\.0#abl-0.1#' gir/Makefile.in</parameter>:
The version of babl is hardcoded several times as Babl-0.0 and babl-0.0.
When the 0.1 series of babl is present, that causes the build to fail.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>

136
general/graphlib/babl.xml Normal file
View File

@ -0,0 +1,136 @@
<?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 babl-download-http "http://ftp.gtk.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">
<!ENTITY babl-download-ftp "ftp://ftp.gtk.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">
<!ENTITY babl-md5sum "8eebd8d78d3173db7af5e3e60b1e03ea">
<!ENTITY babl-size "419 KB">
<!ENTITY babl-buildsize "9.7 MB">
<!ENTITY babl-time "0.2 SBU">
]>
<sect1 id="babl" xreflabel="babl-&babl-version;">
<?dbhtml filename="babl.html"?>
<sect1info>
<othername>$LastChangedBy: randy $</othername>
<date>$Date: 2010-02-21 20:19:57 +0000 (Sun, 21 Feb 2010) $</date>
</sect1info>
<title>babl-&babl-version;</title>
<indexterm zone="babl">
<primary sortas="a-Babl">Babl</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to babl</title>
<para>The <application>babl</application>package is a dynamic, any to any,
pixel format translation library.</para>
&lfs67_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&babl-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&babl-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &babl-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &babl-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &babl-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &babl-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">babl Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="librsvg"/> and <xref linkend="w3m"/> -
In practice these are only useful for the package's maintainer.</para>
<para condition="html" role="usernotes">User Notes:
<ulink url='&blfs-wiki;/babl'/></para>
</sect2>
<sect2 role="installation">
<title>Installation of babl</title>
<para>Install <application>babl</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 &amp;&amp;
install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &amp;&amp;
install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &amp;&amp;
install -v -m644 docs/graphics/*.{html,png,svg} /usr/share/gtk-doc/html/babl/graphics
</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics</parameter>:
This and the subsequent commands install the library html documentation
under <filename class="directory">/usr/share/gtk-doc/html</filename> where
other gtk packages put the programmer-oriented documentation.</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>libbabl.so, and libraries in /usr/lib/babl-0.1/</seg>
<seg>/usr/include/babl-0.1/</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libbabl">
<term><filename class='libraryfile'>libbabl.so</filename></term>
<listitem>
<para>contains functions to access BablFishes to convert between
formats.</para>
<indexterm zone="babl libbabl">
<primary sortas="c-libbabl">libbabl.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -45,5 +45,6 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pixman.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clutter.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clutter-gtk.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="babl.xml"/>
</chapter>

View File

@ -41,6 +41,15 @@
-->
<listitem>
<para>October 10th</para>
<itemizedlist>
<listitem>
<para>[ken] - Added new package, Babl-0.1.2. Fixes ticket
<ulink url="&blfs-ticket-root;2627">#2627</ulink></para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>September 27th</para>