Mate weather applet issue [Solved]
- Van_Vinkle
- Donor
- Posts: 196
- Joined: 25. Oct 2012, 17:39
Mate weather applet issue [Solved]
Among the applets conforming Mate desktop, there is one I like a lot: mate-weather-applet which gives the temperature and weather forecast for (nearly) every city in the world.
From one month more or less, this applet is not running; there has been a problem with the web which gives these data. Mate developers have built a patch correcting the bug. I've downloaded the tarball libmateweather-1.16.0.tar.xz found at http://git.mate-desktop.org/libmateweather/.
My question: can I install it manually despite it is 1.16 and we have at Salix the 1.14 version of Mate?
Thanks for your attention.
From one month more or less, this applet is not running; there has been a problem with the web which gives these data. Mate developers have built a patch correcting the bug. I've downloaded the tarball libmateweather-1.16.0.tar.xz found at http://git.mate-desktop.org/libmateweather/.
My question: can I install it manually despite it is 1.16 and we have at Salix the 1.14 version of Mate?
Thanks for your attention.
Last edited by Van_Vinkle on 17. Oct 2016, 22:31, edited 1 time in total.
Re: Mate weather applet issue
If you install it with spkg to test, you can easily uninstall it if not. If it does work, exclude the Salix package in Gsalpt so it is not reverted.
- Van_Vinkle
- Donor
- Posts: 196
- Joined: 25. Oct 2012, 17:39
Re: Mate weather applet issue
Well, I tried it, but has not run. As said, the package is a tarball (tar.xz extension) and not a slackware package:
How can I convert to a slackware package?
Code: Select all
root[opt]# spkg --install --verbose --dry-run libmateweather-1.16.0.tar.xz
ERROR: Package name is invalid. (libmateweather-1.16.0.tar.xz)
ERROR: Package installation failed!
root[opt]#
Re: Mate weather applet issue
Sorry, I misunderstood. You could try building it by editing the SLKBUILD for the package in the repositories:
http://slackware.uk/salix/x86_64/14.2/s ... r/SLKBUILD
Download that, and place it in a directory somewhere beneath your home directory with the tarball you already have. Edit the SLKBUILD file to match the version number, so where it says
replace it with the more recent version number. Then do
if all goes well, you should find a package in that directory which you can test as I suggested by installing with spkg. There's no guarantee it'll work, but it may well. If not, you can revert it immediately by doing:
http://slackware.uk/salix/x86_64/14.2/s ... r/SLKBUILD
Download that, and place it in a directory somewhere beneath your home directory with the tarball you already have. Edit the SLKBUILD file to match the version number, so where it says
Code: Select all
pkgver=1.14.2
Code: Select all
fakeroot slkbuild -X
Code: Select all
sudo spi -i libmateweather
- Van_Vinkle
- Donor
- Posts: 196
- Joined: 25. Oct 2012, 17:39
Re: Mate weather applet issue
Thanks for your support, maybe I'm clumsier than the average. I added the extension SLKBUILD (and also SlackBuild and SLACKBUILD) to the file and I've got this:
and:
Code: Select all
root[slackbuild]# fakeroot slkbuild -X
Automatically setting arch to x86_64
ERROR: No SLKBUILD found in directory, see slkbuild --help
Code: Select all
root[slackbuild]# ls -l
total 3204
-rw-r--r-- 1 lluis users 3274632 oct 11 17:31 libmateweather-1.16.0.tar.xz
-rwxr-xr-x 1 lluis users 1377 oct 12 17:19 libmateweather.SLKBUILD
root[slackbuild]#
Re: Mate weather applet issue
The fiile name should be "SLKBUILD", not "whatever.SLKBUILD".
But, it probably won't work, as this is for Mate 1.16 and we're still with 1.14. I'm waiting to solve some issues to upgrade all of Mate to 1.16 in the 14.2 repositories, so maybe be patient if it doesn't work?
But, it probably won't work, as this is for Mate 1.16 and we're still with 1.14. I'm waiting to solve some issues to upgrade all of Mate to 1.16 in the 14.2 repositories, so maybe be patient if it doesn't work?
Re: Mate weather applet issue
Also, you shouldn't build the package as root - that's what fakeroot is for.
You should have a directory containing the SLKBUILD file linked to above, edited to correct the version number, and the source file you already downloaded. To build the package, in this directory, not as root, do:
though as gapan says, it may well not play nicely with the rest of Mate at the earlier version ... I just thought it was worth a try.
You should have a directory containing the SLKBUILD file linked to above, edited to correct the version number, and the source file you already downloaded. To build the package, in this directory, not as root, do:
Code: Select all
fakeroot slkbuild -X
- Van_Vinkle
- Donor
- Posts: 196
- Joined: 25. Oct 2012, 17:39
Re: Mate weather applet issue
The test has gone bad:
Code: Select all
$ ls -l
total 3204
-rwxr-xr-x 1 lluis users 1377 Oct 12 17:19 SLKBUILD
-rw-r--r-- 1 lluis users 3274632 Oct 11 17:31 libmateweather-1.16.0.tar.xz
$ fakeroot slkbuild -X
Automatically setting arch to x86_64
libmateweather-1.16.0.tar.xz found in current directory
Setting option noautodotnew
build-libmateweather.sh has been created
tar -xf libmateweather-1.16.0.tar.xz
./build-libmateweather.sh: line 214: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
build() failed.
Re: Mate weather applet issue
Looks like you'd better hold on for gapan's new pacages for mate as a whole. Sometimes there is no substitute for doing it properly!
- Van_Vinkle
- Donor
- Posts: 196
- Joined: 25. Oct 2012, 17:39
Re: Mate weather applet issue
I am forced to wait for it
. I hope he will not delay very much.
Thanks to both.

Thanks to both.