[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 |
|
---|
[b5c0ca3] | 37 | &lfs120_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 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Geocode GLib</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Install <application>Geocode GLib</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[1ad0f5e] | 101 | <screen><userinput>mkdir build &&
|
---|
| 102 | cd build &&
|
---|
| 103 |
|
---|
[91318eb] | 104 | meson setup --prefix /usr \
|
---|
| 105 | --buildtype=release \
|
---|
| 106 | -Denable-gtk-doc=false \
|
---|
| 107 | -Dsoup2=false \
|
---|
| 108 | .. &&
|
---|
[7e9db78c] | 109 | ninja</userinput></screen>
|
---|
[eba70158] | 110 |
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
[1ad0f5e] | 113 | To test the results, issue: <command>LANG=C ninja test</command>.
|
---|
| 114 | One test fails because it needs the <literal>sv_SE.utf8</literal> locale,
|
---|
| 115 | which is not installed by default in LFS.
|
---|
[eba70158] | 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
[7e9db78c] | 122 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[eba70158] | 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
[bb343c9] | 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
[adf17153] | 129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 130 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 131 |
|
---|
[bb343c9] | 132 | <para>
|
---|
[aa41434] | 133 | <parameter>-Denable-gtk-doc=false</parameter>: Allow this package to be
|
---|
[1ad0f5e] | 134 | built without <xref linkend="gtk-doc" role="nodep"/>. Remove this
|
---|
| 135 | parameter if <xref linkend="gtk-doc" role="nodep"/> is installed
|
---|
[bb343c9] | 136 | and you wish to rebuild and install the API documentation.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
[1ad0f5e] | 139 | <para>
|
---|
| 140 | <parameter>-Dsoup2=false</parameter>: This switch forces this package
|
---|
| 141 | to use libsoup-3 for HTTP requests instead of libsoup-2. The packages in
|
---|
| 142 | BLFS that use geocode-glib now expect libsoup-3 to be used.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
[bb343c9] | 145 | </sect2>
|
---|
| 146 |
|
---|
[eba70158] | 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
| 149 |
|
---|
| 150 | <segmentedlist>
|
---|
| 151 | <segtitle>Installed Programs</segtitle>
|
---|
| 152 | <segtitle>Installed Library</segtitle>
|
---|
| 153 | <segtitle>Installed Directories</segtitle>
|
---|
| 154 |
|
---|
| 155 | <seglistitem>
|
---|
| 156 | <seg>
|
---|
| 157 | None
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
[1ad0f5e] | 160 | libgeocode-glib-2.so
|
---|
[eba70158] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
[1ad0f5e] | 163 | /usr/include/geocode-glib-2.0,
|
---|
[262a108] | 164 | /usr/libexec/installed-tests/geocode-glib,
|
---|
| 165 | /usr/share/icons/gnome/scalable/places, and
|
---|
[876948d] | 166 | /usr/share/gtk-doc/html/geocode-glib
|
---|
[eba70158] | 167 | </seg>
|
---|
| 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
[1ad0f5e] | 176 | <varlistentry id="libgeocode-glib-2">
|
---|
| 177 | <term><filename class="libraryfile">libgeocode-glib-2.so</filename></term>
|
---|
[eba70158] | 178 | <listitem>
|
---|
| 179 | <para>
|
---|
[4c24eb0a] | 180 | contains the <application>Geocode GLib</application> API functions
|
---|
[eba70158] | 181 | </para>
|
---|
[1ad0f5e] | 182 | <indexterm zone="geocode-glib libgeocode-glib-2">
|
---|
| 183 | <primary sortas="c-libgeocode-glib-2">libgeocode-glib-2.so</primary>
|
---|
[eba70158] | 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|