r6866 - in trunk/BOOK: . general/genlib introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Mon Jul 9 16:19:30 PDT 2007


Author: randy
Date: 2007-07-09 17:19:30 -0600 (Mon, 09 Jul 2007)
New Revision: 6866

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/dbus-bindings.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added the Python Bindings to the D-Bus Bindings page

Modified: trunk/BOOK/general/genlib/dbus-bindings.xml
===================================================================
--- trunk/BOOK/general/genlib/dbus-bindings.xml	2007-07-09 17:07:39 UTC (rev 6865)
+++ trunk/BOOK/general/genlib/dbus-bindings.xml	2007-07-09 23:19:30 UTC (rev 6866)
@@ -11,6 +11,13 @@
   <!ENTITY dbus-glib-buildsize     "9 MB">
   <!ENTITY dbus-glib-time          "0.2 SBU">
 
+  <!ENTITY dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
+  <!ENTITY dbus-python-download-ftp  " ">
+  <!ENTITY dbus-python-md5sum        "024522ffba612f0d41b64269e925835c">
+  <!ENTITY dbus-python-size          "482 KB">
+  <!ENTITY dbus-python-buildsize     "6 MB">
+  <!ENTITY dbus-python-time          "0.1 SBU">
+
   <!-- All the other bindings info should be here as well -->
 ]>
 
@@ -38,13 +45,25 @@
     require one or more of the Bindings packages in order to build
     successfully.</para>
 
-    <para>Only the D-Bus GLib Bindings are included on this page for now.
-    Other language bindings will be added soon. Until then, see the <ulink
+    <para>Only the <application>GLib</application> and
+    <application>Python</application> Bindings are included on this page for
+    now. Other language bindings will be added soon. Until then, see the <ulink
     url="http://www.freedesktop.org/wiki/Software/DBusBindings">D-Bus
     Bindings</ulink> page for information.</para>
 
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para><xref linkend="dbus-glib"/></para>
+      </listitem>
+      <listitem>
+        <para><xref linkend="dbus-python"/></para>
+      </listitem>
+    </itemizedlist>
+
   </sect2>
 
+  <!-- Below is 111 lines to cut and paste to create a new binding -->
+  <!-- Begin D-Bus GLib Bindings -->
   <sect2 id="dbus-glib" xreflabel="D-Bus GLib Bindings-&dbus-glib-version;">
   <title>D-Bus GLib Bindings</title>
 
@@ -74,14 +93,6 @@
       </listitem>
     </itemizedlist>
 
-    <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>Required patch: <ulink
-        url="&patch-root;/dbus-glib-&dbus-glib-version;-patch_name-patch_version.patch"/></para>
-      </listitem>
-    </itemizedlist> -->
-
     <bridgehead renderas="sect3">D-Bus GLib Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -96,8 +107,8 @@
   <sect2 role="installation">
     <title>Installation of D-Bus GLib Bindings</title>
 
-    <para>Install <application>D-Bus GLib Bindings</application> by running the
-    following commands:</para>
+    <para>Install <application>D-Bus GLib Bindings</application> by
+    running the following commands:</para>
 
 <screen><userinput>./configure --prefix=/usr &&
 make</userinput></screen>
@@ -163,4 +174,96 @@
 
   </sect2>
 
+  <!-- Begin D-Bus Python Bindings -->
+  <sect2 id="dbus-python" xreflabel="D-Bus Python Bindings-&dbus-python-version;">
+  <title>D-Bus Python Bindings</title>
+
+  <indexterm zone="dbus-python">
+    <primary sortas="a-dbus-python">D-Bus Python Bindings</primary>
+  </indexterm>
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&dbus-python-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&dbus-python-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &dbus-python-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &dbus-python-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &dbus-python-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &dbus-python-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">D-Bus Python Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required"><xref linkend="python"/> and
+    <xref linkend="dbus-glib"/></para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="required"><xref linkend="pkgconfig"/></para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional"><ulink
+     url="&gnome-download-http;/pygobject"> PyGObject</ulink> (required to run
+     the test suite)</para>
+
+    <bridgehead renderas="sect4">Optional
+    (Required to build the API Documentation)</bridgehead>
+    <para role="optional"><ulink
+    url="http://epydoc.sourceforge.net/">Epydoc</ulink>
+    and <ulink url="http://docutils.sourceforge.net/">Docutils</ulink></para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/dbus-python"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of D-Bus Python Bindings</title>
+
+    <para>Install <application>D-Bus Python Bindings</application> by
+    running the following commands:</para>
+
+<screen><userinput>./configure --prefix=/usr &&
+make</userinput></screen>
+
+    <para>To test the results, issue: <command>make check</command>. Note you
+    must have <application>PyGObject</application> installed.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>None</seg>
+        <seg><application>Python</application>
+        <application>D-Bus</application> modules</seg>
+        <seg>/usr/lib/python2.5/site-packages/dbus and
+        /usr/share/doc/dbus-python</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
 </sect1>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2007-07-09 17:07:39 UTC (rev 6865)
+++ trunk/BOOK/general.ent	2007-07-09 23:19:30 UTC (rev 6866)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "09">                   <!-- Always 2 digits -->
+<!ENTITY day          "10">                   <!-- Always 2 digits -->
 <!ENTITY month        "07">                   <!-- Always 2 digits -->
 <!ENTITY year         "2007">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -125,6 +125,7 @@
 <!ENTITY gmime-version                "2.2.2">
 <!ENTITY libidn-version               "0.6.14">
 <!ENTITY dbus-glib-version            "0.74">
+<!ENTITY dbus-python-version          "0.82.0">
 <!-- <!ENTITY fam-version             "2.7.0"> -->
 <!-- Ispell has been removed as aspell is superior. See ticket #2101.
      <!ENTITY ispell-version               "3.2.06.epa7"> -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2007-07-09 17:07:39 UTC (rev 6865)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2007-07-09 23:19:30 UTC (rev 6866)
@@ -42,6 +42,16 @@
 -->
 
     <listitem>
+      <para>July 10th, 2007</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Added the Python Bindings to the D-Bus Bindings
+          page.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>July 9th, 2007</para>
       <itemizedlist>
         <listitem>




More information about the blfs-book mailing list