The libgweather package is a library used to access weather information from online services for numerous locations.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/libgweather/4.4/libgweather-4.4.4.tar.xz
Download MD5 sum: 42c548a6d45f79c2120b0a0df8a74e68
Download size: 2.7 MB
Estimated disk space required: 77 MB (with tests)
Estimated build time: 0.2 SBU (with tests)
geocode-glib-3.26.4, GTK-3.24.50, libsoup-3.6.5, and PyGObject-3.52.3
GLib-2.84.4 (with GObject Introspection), libxml2-2.14.5, and Vala-0.56.18
          Gi-DocGen-2025.4 (gi-docgen is also
          provided as a meson subproject, which will be used if -D gtk_doc=false is not passed to meson), LLVM-20.1.8 (for
          clang-format), and pylint
        
![[Note]](../images/note.png) 
          An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.16.1 before testing this package.
Fix an issue in the shipped geolocation data:
patch -Np1 -i ../libgweather-4.4.4-upstream_fix-1.patch
Install libgweather by running the following commands:
mkdir build &&
cd    build &&
meson setup --prefix=/usr       \
            --buildtype=release \
            -D gtk_doc=false    \
            ..                  &&
ninja
        If you have Gi-DocGen-2025.4 installed and wish to build the API documentation for this package, issue:
sed "s/libgweather_full_version/'libgweather-4.4.4'/" \
    -i ../doc/meson.build                             &&
meson configure -D gtk_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.
          --buildtype=release:
          Specify a buildtype suitable for stable releases of the package, as
          the default may produce unoptimized binaries.
        
          -D gtk_doc=false: Allow
          building this package without Gi-DocGen-2025.4 installed. If you have
          Gi-DocGen-2025.4 installed and you
          wish to rebuild and install the API documentation, a meson configure command will
          reset this option.