Ignore:
Timestamp:
07/21/2014 02:25:04 PM (10 years ago)
Author:
Christopher Gregory <cjg@…>
Branches:
gnome
Children:
643f816d
Parents:
cf193eeb
Message:

Converted geoclue page to systemd and updated version, changed configure switches.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13528 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netlibs/geoclue.xml

    rcf193eeb r025d65fc  
    66
    77  <!ENTITY geoclue-download-http
    8   "https://launchpad.net/geoclue/trunk/0.12/+download/geoclue-0.12.0.tar.gz">
     8  "http://www.freedesktop.org/software/geoclue/releases/2.1/geoclue-&geoclue-version;">
    99  <!ENTITY geoclue-download-ftp  " ">
    1010  <!ENTITY geoclue-md5sum        "33af8307f332e0065af056ecba65fec2">
     
    7474    </itemizedlist>
    7575
    76     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    77     <itemizedlist spacing="compact">
    78       <listitem>
    79         <para>
    80           Required patch (if GPSD is installed):
    81           <ulink url="&patch-root;/geoclue-&geoclue-version;-gpsd_fix-1.patch"/>
    82         </para>
    83       </listitem>
    84     </itemizedlist>
    85 
    8676    <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
    8777
    8878    <bridgehead renderas="sect4">Required</bridgehead>
    8979    <para role="required">
    90       <xref linkend="dbus-glib"/>,
    91       <xref linkend="GConf"/> and
    92       <xref linkend="libxslt"/>
     80      <xref linkend="dbus-glib"/>, and
     81      <xref linkend="json-glib"/>
    9382    </para>
    9483
     
    10190    <bridgehead renderas="sect4">Optional</bridgehead>
    10291    <para role="optional">
    103       <ulink url="https://savannah.nongnu.org/projects/gpsd">GPSD</ulink>,
    104       <xref linkend="gtk2"/> and
    105       <ulink url="http://ofono.org/">oFono</ulink>
     92      <ulink url="http://www.freedesktop.org/software/ModemManager/">ModemManager</ulink>, and
     93      <xref linkend="gtk-doc"/>
    10694    </para>
    10795
     
    119107    </para>
    120108
    121 <screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch &amp;&amp;
    122 sed -i "s@ -Werror@@" configure &amp;&amp;
    123 sed -i "s@libnm_glib@libnm-glib@g" configure &amp;&amp;
    124 sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" \
    125        providers/skyhook/Makefile.in &amp;&amp;
    126 ./configure --prefix=/usr &amp;&amp;
     109<screen><userinput>
     110./configure --prefix=/usr --disable-modem-gps-source --disable-3g-source --sysconfdir=/etc &amp;&amp;
    127111make</userinput></screen>
    128112
     
    142126
    143127    <para>
    144       <command>sed -i "s@ -Werror@@" configure</command>: This
    145       <command>sed</command> removes <parameter>-Werror</parameter> from the
    146       <envar>CFLAGS</envar> variable, otherwise the build will fail with
    147       <application>gcc-4.7</application>.
    148     </para>
    149 
    150     <para>
    151       <command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
    152       This <command>sed</command> fixes detection of
    153       <application>NetworkManager</application> libraries.
    154     </para>
    155 
    156     <para>
    157       <command>sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" ..
    158       </command>: This <command>sed</command> fixes building
    159       <application>GeoClue</application> with recent
    160       <application>binutils</application>.
    161     </para>
    162 
    163     <para>
    164       <option>--libexecdir=/usr/lib/geoclue</option>: This option installs
    165       <application>GeoClue's</application> private executables into
    166       <filename class="libraryfile">/usr/lib/geoclue</filename> in accordance
    167       with the old version of the FHS used before LFS-7.5.
    168     </para>
    169   </sect2>
     128      <option>--disable-modem-gps-source</option>: This switch disables
     129       the modem GPS backend.  Remove it if you have installed the
     130       optional <application>ModemManager</application> application.
     131    </para>
     132
     133    <para>
     134      <option>--disable-3g-source</option>: This switch disables the
     135      3G backend.  Remove it if you have installed the optional
     136      <application>ModemManager</application> application.
     137    </para>
     138
     139  </sect2>
     140
     141
     142  <sect2 role="configuration">
     143    <title>Configuring Geoclue</title>
     144
     145    <sect3  id="geoclue-init">
     146      <title>Systemd Units</title>
     147
     148      <para>
     149        To start the <command>geoclue-service</command> at boot, enable
     150        the previously installed systemd unit by running the following command
     151        as the <systemitem class="username">root</systemitem> user:
     152      </para>
     153
     154      <indexterm zone="geoclue geoclue-init">
     155        <primary sortas="f-geoclue">geoclue</primary>
     156      </indexterm>
     157
     158<screen role="root"><userinput>systemctl enable geoclue</userinput></screen>
     159
     160    </sect3>
    170161
    171162  <sect2 role="content">
     
    182173        </seg>
    183174        <seg>
    184           libgeoclue.so
     175          None
    185176        </seg>
    186177        <seg>
    187           /usr/include/geoclue, /usr/share/geoclue-providers,
     178          /etc/geoclue /usr/libexec/geoclue-2.0
    188179          and /usr/share/gtk-doc/html/geoclue
    189180        </seg>
Note: See TracChangeset for help on using the changeset viewer.