If you are using Linux Mint with the MATE desktop, you have likely encountered an issue where weather information is missing next to the clock in the bottom-right corner of the screen. You might notice that it used to work, but at some point, it stopped.
This is becasue url used by libmateweather library to fetch weather data is no longer valid.
To fix this issue you will have to compile new version of libmateweather and install it on your system.
To be able to compile libmateweather from its sources you will have to install required libraries by running:
sudo apt install -y autopoint clang clang-tools cppcheck gcc git gtk-doc-tools libglib2.0-dev libgtk-3-dev libsoup-3.0-dev libxml2-dev libxml2-utils make mate-common tzdata libsoup-gnome2.4-dev
Download libmateweather sources from its Github respository:
$ wget https://github.com/mate-desktop/libmateweather/archive/refs/tags/v1.28.2.tar.gz -O libmateweather-1.28.2.tar.gz
uncompress sources:
$ tar zvxf libmateweather-1.28.2.tar.gz
and compile:
$ cd libmateweather-1.28.2
$ ./autogen.sh
$ ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
$ make -j 4
If compilation was succesfull you are ready to install new library:
$ sudo make install
Then re-login or restart your system.
If there was no any issues or errors you should see fully working weather information next to your clock: