[blfs-book] r12779 - in trunk/BOOK: general/genlib x/lib

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Mon Feb 24 08:02:37 PST 2014


Author: igor
Date: Mon Feb 24 08:02:37 2014
New Revision: 12779

Log:
move libglade to x libs section

Added:
   trunk/BOOK/x/lib/libglade.xml
      - copied unchanged from r12778, trunk/BOOK/general/genlib/libglade.xml
Deleted:
   trunk/BOOK/general/genlib/libglade.xml
Modified:
   trunk/BOOK/general/genlib/genlib.xml
   trunk/BOOK/x/lib/lib.xml

Modified: trunk/BOOK/general/genlib/genlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/genlib.xml	Sun Feb 23 16:02:13 2014	(r12778)
+++ trunk/BOOK/general/genlib/genlib.xml	Mon Feb 24 08:02:37 2014	(r12779)
@@ -74,7 +74,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgee.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgcrypt.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libglade.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgpg-error.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgsf.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgusb.xml"/>

Modified: trunk/BOOK/x/lib/lib.xml
==============================================================================
--- trunk/BOOK/x/lib/lib.xml	Sun Feb 23 16:02:13 2014	(r12778)
+++ trunk/BOOK/x/lib/lib.xml	Mon Feb 24 08:02:37 2014	(r12779)
@@ -46,6 +46,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gtkmm3.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="imlib2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdrm.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libglade.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libnotify.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxklavier.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pango.xml"/>

Copied: trunk/BOOK/x/lib/libglade.xml (from r12778, trunk/BOOK/general/genlib/libglade.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/x/lib/libglade.xml	Mon Feb 24 08:02:37 2014	(r12779, copy of r12778, trunk/BOOK/general/genlib/libglade.xml)
@@ -0,0 +1,157 @@
+<?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 libglade-download-http "&gnome-download-http;/libglade/2.6/libglade-&libglade-version;.tar.bz2">
+  <!ENTITY libglade-download-ftp  "&gnome-download-ftp;/libglade/2.6/libglade-&libglade-version;.tar.bz2">
+  <!ENTITY libglade-md5sum        "d1776b40f4e166b5e9c107f1c8fe4139">
+  <!ENTITY libglade-size          "348 KB">
+  <!ENTITY libglade-buildsize     "5 MB">
+  <!ENTITY libglade-time          "0.1 SBU">
+]>
+
+<sect1 id="libglade" xreflabel="libglade-&libglade-version;">
+  <?dbhtml filename="libglade.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>libglade-&libglade-version;</title>
+
+  <indexterm zone="libglade">
+    <primary sortas="a-Libglade">Libglade</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to libglade</title>
+
+    <para>The <application>libglade</application> package contains
+    <filename class="libraryfile">libglade</filename> libraries. These are useful
+    for loading Glade interface files in a program at runtime.</para>
+
+    &lfs75_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&libglade-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&libglade-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &libglade-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &libglade-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &libglade-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &libglade-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">libglade Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required"><xref linkend="libxml2"/> and
+    <xref linkend="gtk2"/></para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional"><xref linkend="python2"/>
+    and <xref linkend="gtk-doc"/></para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/libglade"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of libglade</title>
+
+    <para>Install <application>libglade</application> by running the following
+    commands:</para>
+
+<screen><userinput>sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in &&
+./configure --prefix=/usr --disable-static &&
+make</userinput></screen>
+
+    <para>To test the results, issue: <command>make check</command>.
+    One of the tests, test-convert, is known to fail.</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><command>sed -i '/DG_DISABLE_DEPRECATED/d'</command>: Some of the
+    <application>glib</application> functions that
+    <application>libglade</application> uses were declared deprecated in
+    glib-2.30. This sed removes the G_DISABLE_DEPRECATED CFLAG.</para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/static-libraries.xml"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../../xincludes/gtk-doc-rebuild.xml"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>libglade-convert (requires <command>python</command>)</seg>
+        <seg>libglade-2.0.so</seg>
+        <seg>/usr/{include/libglade-2.0/glade,share/{gtk-doc/html/libglade,
+        xml/libglade}}</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libglade-convert">
+        <term><command>libglade-convert</command></term>
+        <listitem>
+          <para>is used to convert old Glade interface files to
+          Glade-2.0 standards.</para>
+          <indexterm zone="libglade libglade-convert">
+            <primary sortas="b-libglade-convert">libglade-convert</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libglade-lib">
+        <term><filename class='libraryfile'>libglade-2.0.so</filename></term>
+        <listitem>
+          <para>contain the functions necessary to load Glade interface
+          files.</para>
+          <indexterm zone="libglade libglade-lib">
+            <primary sortas="c-libglade-2.0">libglade-2.0.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>



More information about the blfs-book mailing list