geocode-glib-3.26.4

Introduction to Geocode GLib

The Geocode GLib is a convenience library for the Yahoo! Place Finder APIs. The Place Finder web service allows to do geocoding (finding longitude and latitude from an address), and reverse geocoding (finding an address from coordinates).

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Geocode GLib Dependencies

Required

JSON-GLib-1.8.0 and libsoup-3.4.4

Recommended

Optional

GTK-Doc-1.33.2

Installation of Geocode GLib

Install Geocode GLib by running the following commands:

mkdir build                   &&
cd    build                   &&

meson setup --prefix /usr           \
            --buildtype=release     \
            -Denable-gtk-doc=false  \
            -Dsoup2=false           \
            ..                      &&
ninja

To test the results, issue: LANG=C ninja test. One test fails because it needs the sv_SE.utf8 locale, which is not installed by default in LFS.

Now, as the root user:

ninja install

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-Denable-gtk-doc=false: Allow this package to be built without GTK-Doc-1.33.2. Remove this parameter if GTK-Doc-1.33.2 is installed and you wish to rebuild and install the API documentation.

-Dsoup2=false: This switch forces this package to use libsoup-3 for HTTP requests instead of libsoup-2. The packages in BLFS that use geocode-glib now expect libsoup-3 to be used.

Contents

Installed Programs: None
Installed Library: libgeocode-glib-2.so
Installed Directories: /usr/include/geocode-glib-2.0, /usr/libexec/installed-tests/geocode-glib, /usr/share/icons/gnome/scalable/places, and /usr/share/gtk-doc/html/geocode-glib

Short Descriptions

libgeocode-glib-2.so

contains the Geocode GLib API functions