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).
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/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.6.6 and libsoup-3.2.2
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/geocode-glib
Install Geocode GLib by running the following commands:
mkdir build && cd build && meson --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
--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.