Author: randy
Date: 2013-01-20 09:51:05 -0700 (Sun, 20 Jan 2013)
New Revision: 10954

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/networking/netlibs/geoclue.xml
Log:
Added a patch to the GeoClue instructions so it will build against GPSD

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2013-01-19 19:44:11 UTC (rev 10953)
+++ trunk/BOOK/general.ent      2013-01-20 16:51:05 UTC (rev 10954)
@@ -3,13 +3,13 @@
 $Date$
 -->
 
-<!ENTITY day          "19">                   <!-- Always 2 digits -->
+<!ENTITY day          "20">                   <!-- Always 2 digits -->
 <!ENTITY month        "01">                   <!-- Always 2 digits -->
 <!ENTITY year         "2013">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "January 19th, &year;">
+<!ENTITY releasedate  "January 20th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- 
version|testing|unstable|development] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2013-01-19 19:44:11 UTC 
(rev 10953)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2013-01-20 16:51:05 UTC 
(rev 10954)
@@ -43,7 +43,18 @@
     </listitem>
 
 -->
+
     <listitem>
+      <para>January 20th, 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Added a patch to the GeoClue instructions so it will
+          build against GPSD.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>January 19th, 2013</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/networking/netlibs/geoclue.xml
===================================================================
--- trunk/BOOK/networking/netlibs/geoclue.xml   2013-01-19 19:44:11 UTC (rev 
10953)
+++ trunk/BOOK/networking/netlibs/geoclue.xml   2013-01-20 16:51:05 UTC (rev 
10954)
@@ -73,6 +73,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch (if GPSD is installed):
+          <ulink 
url="&patch-root;/geoclue-&geoclue-version;-gpsd_fix-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -85,14 +95,14 @@
     <bridgehead renderas="sect4">Recommended if you are building 
GNOME</bridgehead>
     <para role="recommended">
       <xref linkend="libsoup"/> and 
-      <xref linkend="NetworkManager"/>.
+      <xref linkend="NetworkManager"/>
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <ulink url="https://savannah.nongnu.org/projects/gpsd";>GPSD</ulink>,
       <xref linkend="gtk2"/> and
-      <ulink url="http://ofono.org/";>oFono</ulink>.
+      <ulink url="http://ofono.org/";>oFono</ulink>
     </para>
 
     <para condition="html" role="usernotes">
@@ -108,7 +118,8 @@
       commands:
     </para>
 
-<screen><userinput>sed -i "s@ -Werror@@" configure &amp;&amp;
+<screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch 
&amp;&amp;
+sed -i "s@ -Werror@@" configure &amp;&amp;
 sed -i "s@libnm_glib@libnm-glib@g" configure &amp;&amp;
 sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" \
        providers/skyhook/Makefile.in &amp;&amp;
@@ -130,23 +141,29 @@
     <title>Command Explanations</title>
 
     <para>
-      <command>sed -i "s@ -Werror@@" configure</command>: This sed removes
-      -Werror from the CFLAGS, otherwise the build will fail with gcc-4.7.
+      <command>sed -i "s@ -Werror@@" configure</command>: This
+      <command>sed</command> removes <parameter>-Werror</parameter> from the
+      <envar>CFLAGS</envar> variable, otherwise the build will fail with
+      <application>gcc-4.7</application>.
     </para>
 
     <para>
       <command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
-      This sed fixes detection of NetworkManager libraries.
+      This <command>sed</command> fixes detection of
+      <application>NetworkManager</application> libraries.
     </para>
 
     <para>
       <command>sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" ..
-      </command>: This sed fixes building geoclue with recent binutils.
+      </command>: This <command>sed</command> fixes building
+      <application>GeoClue</application> with recent
+      <application>binutils</application>.
     </para>
 
     <para>
-      <option>--libexecdir=/usr/lib/geoclue</option>: This option installs its
-      private executables into /usr/lib/geoclue.
+      <option>--libexecdir=/usr/lib/geoclue</option>: This option installs
+      <application>GeoClue's</application> private executables into
+      <filename class="libraryfile">/usr/lib/geoclue</filename>.
     </para>
   </sect2>
 
@@ -159,10 +176,11 @@
 
       <seglistitem>
         <seg>
-          libgeoclue.so.
+          libgeoclue.so
         </seg>
         <seg>
-          /usr/lib/geoclue and /usr/share/geoclue-providers.
+          /usr/include/geoclue, /usr/lib/geoclue, /usr/share/geoclue-providers,
+          and /usr/share/gtk-doc/html/geoclue
         </seg>
       </seglistitem>
     </segmentedlist>
@@ -178,7 +196,7 @@
           <para>
             contains functions that provide the
             <application>GeoClue</application> geoinformation application
-            programming interface
+            programming interface.
           </para>
           <indexterm zone="geoclue libgeoclue">
             <primary sortas="c-libgeoclue">libgeoclue.so</primary>

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to