Ignore:
Timestamp:
07/21/2014 04:59:14 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
gnome
Children:
0151d36e
Parents:
41560e11
Message:

Revert geoclue upgrade.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netlibs/geoclue.xml

    r41560e11 re1a827c6  
    66
    77  <!ENTITY geoclue-download-http
    8   "http://www.freedesktop.org/software/geoclue/releases/2.1/geoclue-&geoclue-version;">
     8  "https://launchpad.net/geoclue/trunk/0.12/+download/geoclue-0.12.0.tar.gz">
    99  <!ENTITY geoclue-download-ftp  " ">
    10   <!ENTITY geoclue-md5sum        "87f91ca7db6cc7726067fcd7bc3cf9bb">
    11   <!ENTITY geoclue-size          "324 KB">
    12   <!ENTITY geoclue-buildsize     "8.4 MB">
     10  <!ENTITY geoclue-md5sum        "33af8307f332e0065af056ecba65fec2">
     11  <!ENTITY geoclue-size          "556 KB">
     12  <!ENTITY geoclue-buildsize     "11 MB">
    1313  <!ENTITY geoclue-time          "0.1 SBU">
    1414]>
     
    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
    7686    <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
    7787
    7888    <bridgehead renderas="sect4">Required</bridgehead>
    7989    <para role="required">
    80       <xref linkend="dbus-glib"/>, and
    81       <xref linkend="json-glib"/>
     90      <xref linkend="dbus-glib"/>,
     91      <xref linkend="GConf"/> and
     92      <xref linkend="libxslt"/>
    8293    </para>
    8394
     
    90101    <bridgehead renderas="sect4">Optional</bridgehead>
    91102    <para role="optional">
    92       <ulink url="http://www.freedesktop.org/software/ModemManager/">ModemManager</ulink>, and
    93       <xref linkend="gtk-doc"/>
     103      <ulink url="https://savannah.nongnu.org/projects/gpsd">GPSD</ulink>,
     104      <xref linkend="gtk2"/> and
     105      <ulink url="http://ofono.org/">oFono</ulink>
    94106    </para>
    95107
     
    107119    </para>
    108120
    109 <screen><userinput>
    110 ./configure --prefix=/usr --disable-modem-gps-source --disable-3g-source --sysconfdir=/etc &amp;&amp;
     121<screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch &amp;&amp;
     122sed -i "s@ -Werror@@" configure &amp;&amp;
     123sed -i "s@libnm_glib@libnm-glib@g" configure &amp;&amp;
     124sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" \
     125       providers/skyhook/Makefile.in &amp;&amp;
     126./configure --prefix=/usr &amp;&amp;
    111127make</userinput></screen>
    112128
     
    126142
    127143    <para>
    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>
    161 
    162 </sect2>
     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>
    163170
    164171  <sect2 role="content">
     
    175182        </seg>
    176183        <seg>
    177           None
     184          libgeoclue.so
    178185        </seg>
    179186        <seg>
    180           /etc/geoclue /usr/libexec/geoclue-2.0
     187          /usr/include/geoclue, /usr/share/geoclue-providers,
     188          and /usr/share/gtk-doc/html/geoclue
    181189        </seg>
    182190      </seglistitem>
    183191    </segmentedlist>
    184192
     193    <variablelist>
     194      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     195      <?dbfo list-presentation="list"?>
     196      <?dbhtml list-presentation="table"?>
     197
     198      <varlistentry id="libgeoclue">
     199        <term><filename class="libraryfile">libgeoclue.so</filename></term>
     200        <listitem>
     201          <para>
     202            contains functions that provide the
     203            <application>GeoClue</application> geoinformation application
     204            programming interface.
     205          </para>
     206          <indexterm zone="geoclue libgeoclue">
     207            <primary sortas="c-libgeoclue">libgeoclue.so</primary>
     208          </indexterm>
     209        </listitem>
     210      </varlistentry>
     211    </variablelist>
    185212  </sect2>
    186213</sect1>
Note: See TracChangeset for help on using the changeset viewer.