The Geocode GLib is a convenience library for the Yahoo! Place Finder APIs. The Place Finder web service allows you to do geocoding (finding longitude and latitude from an address), as well as reverse geocoding (finding an address from coordinates).
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.
Download (HTTP): https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz
Download MD5 sum: 4c0dcdb7ee1222435b20acd3d7b68cd1
Download size: 76 KB
Estimated disk space required: 4.6 MB (with tests)
Estimated build time: 0.1 SBU (with tests)
JSON-GLib-1.10.0 and libsoup-3.4.4
GLib-2.82.1 (with GObject Introspection)
Install Geocode GLib by running the following commands:
mkdir build && cd build && meson setup --prefix /usr \ --buildtype=release \ -D enable-gtk-doc=false \ -D soup2=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
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D enable-gtk-doc=false
:
Allow this package to be built without GTK-Doc-1.34.0. Remove this parameter if
GTK-Doc-1.34.0 is installed and you wish to
rebuild and install the API documentation.
-D soup2=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.