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 LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/libgweather/4.4/libgweather-4.4.0.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libgweather/4.4/libgweather-4.4.0.tar.xz
Download MD5 sum: bba9065a75a7482be21d0427a12233c0
Download size: 2.7 MB
Estimated disk space required: 96 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
geocode-glib-3.26.4, GTK+-3.24.38, libsoup-3.4.3, and PyGObject-3.46.0
gobject-introspection-1.78.1, libxml2-2.10.4, and Vala-0.56.13
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-17.0.1 (for
clang-format), and pylint
Install libgweather by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -Dgtk_doc=false \ .. && ninja
If you have Gi-DocGen-2023.1 installed and wish to build the API documentation for this package, issue:
sed "s/libgweather_full_version/'libgweather-4.4.0'/" \ -i ../doc/meson.build && meson configure -Dgtk_doc=true && 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, style
/ style-format
, is known to fail due to differences between
LLVM-16 and LLVM-17's version of clang-format.
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-Dgtk_doc=false
: Allow
building this package without Gi-DocGen-2023.1 installed. If you have
Gi-DocGen-2023.1 installed and you
wish to rebuild and install the API documentation, a meson configure command will
reset this option.