Page 1 of 2
Mate weather applet issue [Solved]
Posted: 11. Oct 2016, 17:02
by Van_Vinkle
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.
Re: Mate weather applet issue
Posted: 11. Oct 2016, 19:58
by mimosa
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.
Re: Mate weather applet issue
Posted: 12. Oct 2016, 11:35
by Van_Vinkle
Well, I tried it, but has not run. As said, the package is a tarball (tar.xz extension) and not 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]#
How can I convert to a slackware package?
Re: Mate weather applet issue
Posted: 12. Oct 2016, 12:15
by mimosa
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:
Re: Mate weather applet issue
Posted: 12. Oct 2016, 15:43
by Van_Vinkle
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:
Code: Select all
root[slackbuild]# fakeroot slkbuild -X
Automatically setting arch to x86_64
ERROR: No SLKBUILD found in directory, see slkbuild --help
and:
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
Posted: 13. Oct 2016, 08:59
by gapan
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?
Re: Mate weather applet issue
Posted: 13. Oct 2016, 11:07
by mimosa
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.
Re: Mate weather applet issue
Posted: 13. Oct 2016, 12:20
by Van_Vinkle
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
Posted: 13. Oct 2016, 14:10
by mimosa
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!
Re: Mate weather applet issue
Posted: 13. Oct 2016, 14:35
by Van_Vinkle
I am forced to wait for it

. I hope he will not delay very much.
Thanks to both.