Problems at use | Problèmes à l'utilisation
Guest, Thursday 19 May 2016 à 01:35
|
|
|
A short tutorial:
1. Download the source code:
https://github.com/Cairo-Dock/cairo-dock-plug-ins
2. Copy and paste the patch text into a file, namely applet-config.patch in the weather/src directory.
3. Remember to add a space at the beginning of each line except for those start with @, -, and +. Otherwise you will get a malformed patch error message during patching.
4. Now run the patching by typing:
patch < applet-config.patch
5. Go to the top-level of source code directory where you can find a CMakeLists.txt file. Type:
mkdir build
cd build
cmake ..
6. Check the output message. If something is missing, install the lib*-dev package using your software manager. In my case, it said gldi is missing so I installed libgldi-dev.
7. Sometimes it will complain that gldi is obsolete (mine is 3.4.0 but CMakeLists.txt requires 3.4.99.alpha1). I just searched for the keyword "3.4.99.alpha1" in CMakeLists.txt and change it to "3.4.0".
8. If no more complaining with cmake, type make to initiate compiling. After that, you should find a libcd-weather.so in build/weather/... or someplace.
9. Go to /usr/lib/x86_64-linux-gnu/cairo-dock/ and locate libcd-weather.so as mentioned above. Make a backup file in somewhere and replace it by the new one. Restart cairo-dock.
10. Good luck. |
Guest, Thursday 19 May 2016 à 01:53
|
|
|
BTW, I noticed that sometimes timeout still happens so it would take longer time:
warning : (/opt/Downloads/cairo-dock-plug-ins-master/weather/src/applet-read-data.c:cd_weather_get_distant_data:308)
while downloading current conditions data:
http://wxdata.weather.com/wxdata/weather/local/TWXX0021?cc=*&unit=m -> Couldn't download file 'http://wxdata.weather.com/wxdata/weather/local/TWXX0021?cc=*&unit=m' (Timeout was reach
ed)
Anyway, let's hope an official fix be released soon.:-) |
Subscription date : 17 May 2016
Messages : 9
|
Hi to all and special thanks to Guest
after I restarted the dock the weather plug-in works perfect on my Ubuntu 12.04 LTS (64 bit) and Cairo-Dock 3.4.0
Now I have another question: I have still one machine with Ubuntu 12.04 LTS but 32 bit. The Cairo Dock is 3.4.0.
Can anyone of you send a patch for the 32 bit system or describe how to compile this plug - in?
Would be great.
Thanks since then.
Ciao
Roberto |
ronbon, Thursday 19 May 2016 à 16:51
|
|
Subscription date : 15 May 2016
Messages : 1
|
Thanks for the instructions "Guest" - rebuilt libcd-weather.so getting pretty much the same dependency issues as you during the build. Weather is now working correctly under elementary os (built on Ubuntu 14.04) so thanks again for saving me a daily trip to BBC Weather
cheers
Ron |
Guest, Thursday 19 May 2016 à 21:41
|
|
|
roberto16900 : Hi to all and special thanks to Guest
after I restarted the dock the weather plug-in works perfect on my Ubuntu 12.04 LTS (64 bit) and Cairo-Dock 3.4.0
Now I have another question: I have still one machine with Ubuntu 12.04 LTS but 32 bit. The Cairo Dock is 3.4.0.
Can anyone of you send a patch for the 32 bit system or describe how to compile this plug - in?
Would be great.
Thanks since then.
Ciao
Roberto
Hi Roberto,
just follow the given tutorial.
The steps (1) to (8) are the same for 32-bit. You only need to run the steps on the 32-bit machine.
In step (9) the target directory for the file libcd-weather.so is: /usr/lib/i386-linux-gnu/cairo-dock/
(btw. I have a 16.04 LTS 32-bit installation and I had to change the keyword "3.4.99.alpha1" in CMakeLists.txt into "3.4.1")
Ciao
Klaus |
Subscription date : 13 May 2016
Messages : 5
|
Hi Guest,
Thank you very much for the excellent tutorial. Just to let you know, I simply restarted cairo-dock with your fixed executable file, and as previously 'advertised', it worked perfectly. Great job!
Truthfully, I recently came back to Linux after a hiatus of 6 years, and one of my least favorite things was compiling from source codes and sorting out the dependencies. Love those .deb files! And when I discovered I could turn those nasty .gz .bz files into .deb files using Alien, I never compiled anything from source again!
Best Wishes,
garystewart |
aamadis, Friday 20 May 2016 à 03:21
|
|
Subscription date : 12 October 2010
Messages : 18
|
I'm on Ubuntu 16.04 and the patched .so file is NOT working. Restarted Cairo-Dock and also tried restarting the computer but the applet is still not getting data.
E.T.A. It looks like the fact that I'm on a 32-bit system is the problem, as the patch was compiled for 64-bit. I see the instructions for the 32-bit will check that out when I have more time later. Thanks for the instructions. |
Guest, Friday 20 May 2016 à 07:19
|
|
|
As far as I know there were at least two people named "Guest" from different places. One provided the patch. Another shared the tutorial and the file.
Cheers;-) |
Guest, Friday 20 May 2016 à 09:37
|
|
|
aamadis : I'm on Ubuntu 16.04 and the patched .so file is NOT working. Restarted Cairo-Dock and also tried restarting the computer but the applet is still not getting data.
E.T.A. It looks like the fact that I'm on a 32-bit system is the problem, as the patch was compiled for 64-bit. I see the instructions for the 32-bit will check that out when I have more time later. Thanks for the instructions.
Here is the compiled file for Ubuntu 16.04 (32-bit):
http://www.file-upload.net/download-11595159/libcd-weather.so.html |
aamadis, Friday 20 May 2016 à 17:14
|
|
Subscription date : 12 October 2010
Messages : 18
|
Guest : Here is the compiled file for Ubuntu 16.04 (32-bit):
http://www.file-upload.net/download-11595159/libcd-weather.so.html
Thanks so much for uploading the compiled file for 32-bit systems. I'm afraid though it's not working for me. Still no data. |
Guest, Friday 20 May 2016 à 20:06
|
|
|
Hello.
I have the same problem (Ubuntu 12.04 32bit, Cairo-Dock 3.4.0). The last upload isn't working for me also.
One thing looks strange for me: why the file from this upload has nearly double size of original one?
Greetings. |
Subscription date : 17 May 2016
Messages : 9
|
Guest : roberto16900 : Hi to all and special thanks to Guest
after I restarted the dock the weather plug-in works perfect on my Ubuntu 12.04 LTS (64 bit) and Cairo-Dock 3.4.0
Now I have another question: I have still one machine with Ubuntu 12.04 LTS but 32 bit. The Cairo Dock is 3.4.0.
Can anyone of you send a patch for the 32 bit system or describe how to compile this plug - in?
Would be great.
Thanks since then.
Ciao
Roberto
Hi Roberto,
just follow the given tutorial.
The steps (1) to (8) are the same for 32-bit. You only need to run the steps on the 32-bit machine.
In step (9) the target directory for the file libcd-weather.so is: /usr/lib/i386-linux-gnu/cairo-dock/
(btw. I have a 16.04 LTS 32-bit installation and I had to change the keyword "3.4.99.alpha1" in CMakeLists.txt into "3.4.1")
Ciao
Klaus
Hi,
thank you very much for this nice and good tutorial. I'll try this on Sunday and will let you know
how it works
Ciao
Roberto |
Guest, Saturday 21 May 2016 à 17:51
|
|
|
Hi!
I'm on Ubuntu Xenial 16.04 32bit - Cairo-Dock 3.4.1.
The patch didn't work for me (also didn't quite get how to copy file as root & where).
Like everybody else got stuck with this weather app bug.
THanks for compiling and thanks Roberto for asking the maintainer.
Thanks a lot for all the help and for UBod redirecting me here. |
Subscription date : 17 May 2016
Messages : 9
|
roberto16900 : Guest : roberto16900 : Hi to all and special thanks to Guest
after I restarted the dock the weather plug-in works perfect on my Ubuntu 12.04 LTS (64 bit) and Cairo-Dock 3.4.0
Now I have another question: I have still one machine with Ubuntu 12.04 LTS but 32 bit. The Cairo Dock is 3.4.0.
Can anyone of you send a patch for the 32 bit system or describe how to compile this plug - in?
Would be great.
Thanks since then.
Ciao
Roberto
Hi Roberto,
just follow the given tutorial.
The steps (1) to (8) are the same for 32-bit. You only need to run the steps on the 32-bit machine.
In step (9) the target directory for the file libcd-weather.so is: /usr/lib/i386-linux-gnu/cairo-dock/
(btw. I have a 16.04 LTS 32-bit installation and I had to change the keyword "3.4.99.alpha1" in CMakeLists.txt into "3.4.1")
Ciao
Klaus
Hi,
thank you very much for this nice and good tutorial. I'll try this on Sunday and will let you know
how it works
Ciao
Roberto
Hi to all and to guest
unfortunately at the given address https://github.com/Cairo-Dock/cairo-dock-plug-ins
I found the plug-in "weather", but there are a lot of plug-ins listed. Do I have to download.
all those files? How can I download this files? I tried it with wget no success. Got only html codes.
Anyhow I am not the big "hacker". I can write sh scripts but compiling it is not really what
I know. I tried that compiling in the past but only one time it was successful (The application which I compiled myself is called open office).
May be now you laugh about me for that. Please be so kind (anyone who has the ubuntu 12.04 LTS (32 bit) to compile this for us
as I think that there are lot of users with that ubuntu 12.04 LTS (32 bit).
Dear guest for sure I am very pleased about your affords and thank you very much.
Thank you very much in advance
Ciao
Roberto |
Guest, Saturday 21 May 2016 à 20:42
|
|
|
!!! You're not logged in with a registered user and then when you'll not receive notifications when a new answer is available.
Don't forget the Anti-spam filter !!! |
Guest, Saturday 21 May 2016 à 20:42
|
|
|
malformed patch at line 6 : } |
Subscription date : 17 May 2016
Messages : 9
|
Guest : aamadis : I'm on Ubuntu 16.04 and the patched .so file is NOT working. Restarted Cairo-Dock and also tried restarting the computer but the applet is still not getting data.
E.T.A. It looks like the fact that I'm on a 32-bit system is the problem, as the patch was compiled for 64-bit. I see the instructions for the 32-bit will check that out when I have more time later. Thanks for the instructions.
Here is the compiled file for Ubuntu 16.04 (32-bit):
http://www.file-upload.net/download-11595159/libcd-weather.so.html
Hi
Thank you for compiling but on my Ubuntu 12.04 LTS
didn’t work. The weather plug-in is disappeared in
the set-up. But thank you for the work.
Ciao
Roberto |
Subscription date : 17 May 2016
Messages : 9
|
Attention to the contributors fabounet03 and matttbe of this package:
Since the 14th of may there is a bug report for the weather plug in from me in the launchpad:
https://bugs.launchpad.net/bugs/1581725
Dear contributors could you be so kind to fix this bug
specially for Ubuntu 12.04 LTS (32 bit) and the Cairo Dock 3.4.0.
If you like you could post a patch on the launchpad.
It would be nice to have the weather again.
Thank you in advance
ciao
Roberto
|
Subscription date : 01 February 2009
Messages : 125
|
I found it easier to just edit the two files (applet-config.c and applet-read-data.c) manually with the correct URL than editing the patch and applying it, FWIW.
Works just fine in 16.04 now. |
Subscription date : 14 May 2016
Messages : 6
|
Hello,
Is it possible to have a link for a Patch or a File for Cairo Dock 3.4.0 on Linux Mint 17.3 32bit Cinnamon ?
Because at the moment i can't used my lovely Cairo Dock Weather App Thanks
Best Regards |
Problems at use | Problèmes à l'utilisation
|