The libgweather package is a library used to access weather information from online services for numerous locations.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://download.gnome.org/sources/libgweather/4.2/libgweather-4.2.0.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libgweather/4.2/libgweather-4.2.0.tar.xz
Download MD5 sum: 4c0c46102dcb5e813ff698e5f713e4bb
Download size: 2.6 MB
Estimated disk space required: 95 MB (with tests)
Estimated build time: 0.2 SBU (with tests)
geocode-glib-3.26.4, GTK+-3.24.36, libsoup-3.2.2, and PyGObject-3.42.2
gobject-introspection-1.74.0, libxml2-2.10.3, and Vala-0.56.3
Gi-DocGen-2023.1 (gi-docgen is also
provided as a meson subproject, which will be used if -Dgtk_doc=false
is not passed to meson), LLVM-15.0.7 (for
clang-format), and pylint
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libgweather
Install libgweather by running the following commands:
mkdir build && cd build && meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. && ninja
One test needs that the locale files be installed on the system, so it is better to run the tests after installing the package.
Now, as the root
user:
ninja install
To test the results, issue: LC_ALL=C ninja test. One test, metar, is known to fail.
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-Dgtk_doc=false
: allows
building without using the bundled gi-docgen module. Remove this switch if you
have installed Gi-DocGen-2023.1, and wish to build and
install the API documentation. If this switch is removed, as the
root
user, fix the location of the
documentation with the mv
/usr/share/doc/libgweather-{4.0,4.2.0} command.