[eba70158] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY geocode-glib-download-http
|
---|
[262a108] | 8 | "&gnome-download-http;/geocode-glib/&gnome-minor-26;/geocode-glib-&geocode-glib-version;.tar.xz">
|
---|
[eba70158] | 9 | <!ENTITY geocode-glib-download-ftp
|
---|
[262a108] | 10 | "&gnome-download-ftp;/geocode-glib/&gnome-minor-26;/geocode-glib-&geocode-glib-version;.tar.xz">
|
---|
[24f4ee91] | 11 | <!ENTITY geocode-glib-md5sum "4c0dcdb7ee1222435b20acd3d7b68cd1">
|
---|
[7d8cb6a] | 12 | <!ENTITY geocode-glib-size "76 KB">
|
---|
[24f4ee91] | 13 | <!ENTITY geocode-glib-buildsize "4.6 MB (with tests)">
|
---|
| 14 | <!ENTITY geocode-glib-time "0.1 SBU (with tests)">
|
---|
[eba70158] | 15 | ]>
|
---|
| 16 |
|
---|
[51dfb3e] | 17 | <sect1 id="geocode-glib" xreflabel="geocode-glib-&geocode-glib-version;">
|
---|
[eba70158] | 18 | <?dbhtml filename="geocode-glib.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <title>geocode-glib-&geocode-glib-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="geocode-glib">
|
---|
| 24 | <primary sortas="a-geocode-glib">geocode-glib</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to Geocode GLib</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>Geocode GLib</application> is a convenience library
|
---|
| 32 | for the Yahoo! Place Finder APIs. The Place Finder web service allows
|
---|
| 33 | to do geocoding (finding longitude and latitude from an address), and
|
---|
| 34 | reverse geocoding (finding an address from coordinates).
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[fe33e3f] | 37 | &lfs112_checked;
|
---|
[eba70158] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&geocode-glib-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&geocode-glib-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &geocode-glib-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &geocode-glib-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &geocode-glib-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &geocode-glib-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Geocode GLib Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
[bb343c9] | 77 | <xref linkend="json-glib"/> and
|
---|
[1ad0f5e] | 78 | <xref linkend="libsoup3"/>
|
---|
[eba70158] | 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
| 83 | <xref linkend="gobject-introspection"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[bb343c9] | 88 | <xref linkend="gtk-doc"/>
|
---|
[eba70158] | 89 | </para>
|
---|
[bb343c9] | 90 |
|
---|
[eba70158] | 91 | <para condition="html" role="usernotes">
|
---|
| 92 | User Notes: <ulink url="&blfs-wiki;/geocode-glib"/>
|
---|
| 93 | </para>
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Geocode GLib</title>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | Install <application>Geocode GLib</application> by running the following
|
---|
| 101 | commands:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
[1ad0f5e] | 104 | <screen><userinput>mkdir build &&
|
---|
| 105 | cd build &&
|
---|
| 106 |
|
---|
| 107 | meson --prefix /usr \
|
---|
| 108 | --buildtype=release \
|
---|
| 109 | -Denable-gtk-doc=false \
|
---|
| 110 | -Dsoup2=false .. &&
|
---|
[7e9db78c] | 111 | ninja</userinput></screen>
|
---|
[eba70158] | 112 |
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
[1ad0f5e] | 115 | To test the results, issue: <command>LANG=C ninja test</command>.
|
---|
| 116 | One test fails because it needs the <literal>sv_SE.utf8</literal> locale,
|
---|
| 117 | which is not installed by default in LFS.
|
---|
[eba70158] | 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
[7e9db78c] | 124 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[eba70158] | 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
[bb343c9] | 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
[adf17153] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 132 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 133 |
|
---|
[bb343c9] | 134 | <para>
|
---|
[aa41434] | 135 | <parameter>-Denable-gtk-doc=false</parameter>: Allow this package to be
|
---|
[1ad0f5e] | 136 | built without <xref linkend="gtk-doc" role="nodep"/>. Remove this
|
---|
| 137 | parameter if <xref linkend="gtk-doc" role="nodep"/> is installed
|
---|
[bb343c9] | 138 | and you wish to rebuild and install the API documentation.
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
[1ad0f5e] | 141 | <para>
|
---|
| 142 | <parameter>-Dsoup2=false</parameter>: This switch forces this package
|
---|
| 143 | to use libsoup-3 for HTTP requests instead of libsoup-2. The packages in
|
---|
| 144 | BLFS that use geocode-glib now expect libsoup-3 to be used.
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
[bb343c9] | 147 | </sect2>
|
---|
| 148 |
|
---|
[eba70158] | 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Library</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>
|
---|
| 159 | None
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
[1ad0f5e] | 162 | libgeocode-glib-2.so
|
---|
[eba70158] | 163 | </seg>
|
---|
| 164 | <seg>
|
---|
[1ad0f5e] | 165 | /usr/include/geocode-glib-2.0,
|
---|
[262a108] | 166 | /usr/libexec/installed-tests/geocode-glib,
|
---|
| 167 | /usr/share/icons/gnome/scalable/places, and
|
---|
[876948d] | 168 | /usr/share/gtk-doc/html/geocode-glib
|
---|
[eba70158] | 169 | </seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
[1ad0f5e] | 178 | <varlistentry id="libgeocode-glib-2">
|
---|
| 179 | <term><filename class="libraryfile">libgeocode-glib-2.so</filename></term>
|
---|
[eba70158] | 180 | <listitem>
|
---|
| 181 | <para>
|
---|
[4c24eb0a] | 182 | contains the <application>Geocode GLib</application> API functions
|
---|
[eba70158] | 183 | </para>
|
---|
[1ad0f5e] | 184 | <indexterm zone="geocode-glib libgeocode-glib-2">
|
---|
| 185 | <primary sortas="c-libgeocode-glib-2">libgeocode-glib-2.so</primary>
|
---|
[eba70158] | 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|