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