libgweather-4.0.0

Introduction to libgweather

The libgweather package is a library used to access weather information from online services for numerous locations.

[Note]

Note

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.

Package Information

libgweather Dependencies

Required

geocode-glib-3.26.3, GTK+-3.24.34, and libsoup-2.74.2

Recommended

Optional

GTK-Doc-1.33.2, Glade, pylint, and for the bundled gi-docgen module: Pygments-2.12.0, Markdown, toml, and typogrify

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libgweather

Installation of 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: ninja test. One test, metar, is known to fail.

Command Explanations

--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 the needed dependencies, and you wish to rebuild and install the API documentation.

Contents

Installed Programs: None
Installed Libraries: libgweather-4.so
Installed Directories: /usr/lib/libgweather-4, /usr/include/libgweather-4.0, /usr/share/gtk-doc/html/libgweather-4.0 (optional), and /usr/share/libgweather-4

Short Descriptions

libgweather-4.so

contains functions that allow the retrieval of weather information