Changeset 67033e54 for general/graphlib


Ignore:
Timestamp:
03/27/2012 12:53:51 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c966932
Parents:
783061b6
Message:

Added a sed to the babl page to fix compiling with
Glib-2.32 and gobject-introspection-1.30.0 installed

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/babl.xml

    r783061b6 r67033e54  
    55  %general-entities;
    66
    7   <!ENTITY babl-download-http "http://gd.tuwien.ac.at/graphics/gimp/babl/0.1//babl-&babl-version;.tar.bz2">
    8   <!ENTITY babl-download-ftp  "ftp://ftp.gimp.org/pub/babl/0.1//babl-&babl-version;.tar.bz2">
     7  <!ENTITY babl-download-http
     8  "http://gd.tuwien.ac.at/graphics/gimp/babl/0.1//babl-&babl-version;.tar.bz2">
     9  <!ENTITY babl-download-ftp
     10  "ftp://ftp.gimp.org/pub/babl/0.1//babl-&babl-version;.tar.bz2">
    911  <!ENTITY babl-md5sum        "dc960981a5ec5330fc1c177be9f59068">
    1012  <!ENTITY babl-size          "452 KB">
     
    2830
    2931  <sect2 role="package">
    30     <title>Introduction to babl</title>
     32    <title>Introduction to Babl</title>
    3133
    32     <para>The <application>babl</application>package is a dynamic, any to any,
    33     pixel format translation library.</para>
     34    <para>
     35      The <application>Babl</application> package is a dynamic, any to any,
     36      pixel format translation library.
     37    </para>
    3438
    3539    &lfs71_checked;
     
    3842    <itemizedlist spacing="compact">
    3943      <listitem>
    40         <para>Download (HTTP): <ulink url="&babl-download-http;"/></para>
     44        <para>
     45          Download (HTTP): <ulink url="&babl-download-http;"/>
     46        </para>
    4147      </listitem>
    4248      <listitem>
    43         <para>Download (FTP): <ulink url="&babl-download-ftp;"/></para>
     49        <para>
     50          Download (FTP): <ulink url="&babl-download-ftp;"/>
     51        </para>
    4452      </listitem>
    4553      <listitem>
    46         <para>Download MD5 sum: &babl-md5sum;</para>
     54        <para>
     55          Download MD5 sum: &babl-md5sum;
     56        </para>
    4757      </listitem>
    4858      <listitem>
    49         <para>Download size: &babl-size;</para>
     59        <para>
     60          Download size: &babl-size;
     61        </para>
    5062      </listitem>
    5163      <listitem>
    52         <para>Estimated disk space required: &babl-buildsize;</para>
     64        <para>
     65          Estimated disk space required: &babl-buildsize;
     66        </para>
    5367      </listitem>
    5468      <listitem>
    55         <para>Estimated build time: &babl-time;</para>
     69        <para>
     70          Estimated build time: &babl-time;
     71        </para>
    5672      </listitem>
    5773    </itemizedlist>
    5874
    59     <bridgehead renderas="sect3">babl Dependencies</bridgehead>
     75    <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
    6076
    6177    <bridgehead renderas="sect4">Recommended</bridgehead>
    62     <para role="recommended"><xref linkend="pkgconfig"/></para>
     78    <para role="recommended">
     79      <xref linkend="pkgconfig"/>
     80    </para>
    6381
    6482    <bridgehead renderas="sect4">Optional</bridgehead>
    65     <para role="optional"><xref linkend="gobject-introspection"/>
    66     <ulink url="http://ftp.gnome.org/pub/gnome/sources/vala/">vala</ulink></para>
     83    <para role="optional">
     84      <xref linkend="gobject-introspection"/> and
     85      <ulink url="http://ftp.gnome.org/pub/gnome/sources/vala/">vala</ulink>
     86    </para>
    6787
    68     <para condition="html" role="usernotes">User Notes:
    69     <ulink url='&blfs-wiki;/babl'/></para>
    70 
     88    <para condition="html" role="usernotes">
     89      User Notes: <ulink url='&blfs-wiki;/babl'/>
     90    </para>
    7191  </sect2>
    7292
    7393  <sect2 role="installation">
    74     <title>Installation of babl</title>
     94    <title>Installation of Babl</title>
    7595
    76     <para>Install <application>babl</application> by running the following
    77     commands:</para>
     96    <para>
     97      Install <application>Babl</application> by running the following commands:
     98    </para>
    7899
    79 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     100<screen><userinput>sed -i 's#DBABL_IS_BEING_COMPILED#&amp; -lgmodule-2.0#' babl/Makefile.in &amp;&amp;
     101./configure --prefix=/usr &amp;&amp;
    80102make</userinput></screen>
    81103
    82     <para>To test the results, issue: <command>make check</command>.</para>
     104    <para>
     105      To test the results, issue: <command>make check</command>.
     106    </para>
    83107
    84     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     108    <para>
     109      Now, as the <systemitem class="username">root</systemitem> user:
     110    </para>
    85111
    86112<screen role="root"><userinput>make install &amp;&amp;
     
    89115install -v -m644 docs/graphics/*.{html,png,svg} /usr/share/gtk-doc/html/babl/graphics
    90116</userinput></screen>
    91 
    92117  </sect2>
    93118
     
    95120    <title>Command Explanations</title>
    96121
    97     <para><parameter>install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics</parameter>:
    98     This and the subsequent commands install the library html documentation
    99     under <filename class="directory">/usr/share/gtk-doc/html</filename> where
    100     other gtk packages put the programmer-oriented documentation.</para>
     122    <para>
     123      <command>sed -i 's#DBABL_IS_BEING_COMPILED#&amp; -lgmodule-2.0#'
     124      babl/Makefile.in</command>: This sed fixes compiling when both
     125      <application>Glib-2.32</application> and
     126      <xref linkend="gobject-introspection"/> are installed.
     127    </para>
    101128
    102     <para><option>--with-vala</option>: Use <command>vapigen</command>
    103     so that <application>vala</application> programs can use this application -
    104     not enabled by default, may cause breakage when building
    105     <application>gegl</application>.</para>
     129    <para>
     130      <parameter>install -v -m755 -d
     131      /usr/share/gtk-doc/html/babl/graphics</parameter>: This and the subsequent
     132      commands install the library html documentation under
     133      <filename class="directory">/usr/share/gtk-doc/html</filename> where other
     134      gtk packages put the programmer-oriented documentation.
     135    </para>
    106136
     137    <para>
     138      <option>--with-vala</option>: Use <command>vapigen</command> so that
     139      <application>vala</application> programs can use this application - not
     140      enabled by default, may cause breakage when building
     141      <application>gegl</application>.
     142    </para>
    107143  </sect2>
    108144
     
    111147
    112148    <segmentedlist>
    113       <segtitle>Installed Programs</segtitle>
    114149      <segtitle>Installed Libraries</segtitle>
    115150      <segtitle>Installed Directories</segtitle>
    116151
    117152      <seglistitem>
    118         <seg>None</seg>
    119153        <seg>libbabl.so, and libraries in /usr/lib/babl-0.1/</seg>
    120154        <seg>/usr/include/babl-0.1/</seg>
     
    130164        <term><filename class='libraryfile'>libbabl.so</filename></term>
    131165        <listitem>
    132           <para>contains functions to access BablFishes to convert between
    133           formats.</para>
     166          <para>
     167            contains functions to access BablFishes to convert between formats.
     168          </para>
    134169          <indexterm zone="babl libbabl">
    135170            <primary sortas="c-libbabl">libbabl.so</primary>
     
    137172        </listitem>
    138173      </varlistentry>
    139 
    140174    </variablelist>
    141 
    142175  </sect2>
    143 
    144176</sect1>
Note: See TracChangeset for help on using the changeset viewer.