simple weather forecast

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5
6.1
Description:

Updated Dec 2009

Background defaults to the kde4 desktop theme settings. See screenshot.

Renamed the plasmoid from weatherforecast to simpleweatherforecast as there is a default (beautiful) weather plasmoid in 4.2
http://websvn.kde.org/trunk/KDE/kdeplasma-addons/applets/weather/


Old description:
One more weather plasmoid
(I have a used lot of code from weatherplasmoid)

DEPENDENCIES:
If you have any error first install all the "Depends packages" (Red dot) shown at:
http://packages.ubuntu.com/intrepid/kdeplasma-addons

If you have *ubuntu then issue:
sudo apt-get build-dep kdeplasma-addons

If you have other distributions please look for packages with similar names.

TESTE
I have tested it in Intrepid and Hardy

INSTALL:
See install file
tar jxvf plasma-simpleweatherforecast-???.tar.bz2
cd plasma-weatherforecast-0.???
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` --debug-output ..
make
sudo make install


UNINSTALL:
The plasmoid installs 3 files only; just delete them.
/usr/lib/kde4/plasma_applet_simpleweatherforecast.so
/usr/share/kde4/services/plasma-applet-simpleweatherforecast.desktop
/usr/share/kde4/apps/desktoptheme/default/widgets/plasma-simpleweatherforecast.svg

(my prefix is
$> kde4-config --prefix or kde-config --prefix
/usr
). Look for your prefix and then delete these files

UPDATE:
If you update the plasmoid please log out of KDE and then login. Otherwise you will get the _old_ version only.

or
kquitapp plasma
kbuildsycoca4
nohup plasma &

Debian packages:
http://unixcod.org/debian/binary from
http://kde-look.org/usermanager/search.php?username=kilah

PROBLEMS:
Please put your city CODE if there are any problems so that I try here.


Please start using the plasmoid:http://websvn.kde.org/trunk/KDE/kdeplasma-addons/applets/weather/
Last changelog:

11 years ago

v1.3
Background defaults to the kde4 desktop theme settings. See screenshot.


v1.2
Minor fixes in install file and added attribution

v1.1
Show "Network not reachable".
The font colour is theme dependent. So, text will automatically update.

v 1.0
Font dialog: thanks to Joe Istead
Renamed to prevent problems.

v0.9
none

v0.8
Removed proxy support. Too many problems due to that.

v0.7
Changed the file names and added KDE 4.2 support.Thanks linleno

V0.6
Fixed proxy support (by Yannig).
- connect a signal from the job downloader to a slot of the plasmoid
- parse directly binary content

v0.5
added proxy support. But unfortunately it does not refresh properly. So, please look into the code and help me (To Yannig).

Improved alignment. Thanks to patkoscsaba.
Substitute "+" from patkoscsaba by a " " (blank space).

v0.4
fixed the filename. sorry for the inconvenience.

v0.3
Rename weather.svg to plasma-weatherforecast.svg
See: http://revu.ubuntuwire.com/details.py?package=plasmoid-weatherforecast


v0.2
Fix README
Removed country/region name
changed yweather:wind to yweather:condition for accurate temperature

v0.1
-Initial Release
-It is completely inspired by Weather Plasmoid

fenrisswolf

12 years ago

Whoops! just saw the font size solution, right there on the top. Sorry!

Report

Bluespear

12 years ago

Very nice plasmoid !
A perfect replacement for the old I had :)

Cheers

Report

dottortonno

12 years ago

NIce job, thank you.
In the next release don't forget the forecast for next 5 days ;-)

Report

C

biophysics

12 years ago

Thanks for the comments. I will try the five day forecast hopefully soon. In the meanwhile, if KDE4.2 is out I think it will have a great one (that I am also waiting)
http://www.kdedevelopers.org/node/3695

Report

santam

12 years ago

The City name and the weather data are all clearly visible after the update. Thanks for the hard work

Report

vlan81

12 years ago

it's ok now !

thank you very much !!

sincerely,

V-Lan

Report

daax

12 years ago

Hi,

Newbie question here : when I tried to make, I get an error stating : no makefile found? What went wrong?

Report

C

biophysics

12 years ago

did you try the instructions of INSTALL in the README file.

Report

daax

12 years ago

I tried the install instructions in the README file. I get the error :

Running with debug output on.
-- The C compiler identification is GNU
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- The CXX compiler identification is GNU
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working C compiler: /usr/bin/gcc
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working C compiler: /usr/bin/gcc -- works
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting C compiler ABI info
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting C compiler ABI info - done
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working CXX compiler: /usr/bin/c++
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working CXX compiler: /usr/bin/c++ -- works
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting CXX compiler ABI info
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/daax/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/one/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)


Called from: [2] /usr/share/cmake-2.6/Modules/FindKDE4.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Configuring done

Report

C

biophysics

12 years ago

kdebase-dev
kdebase-dev-kde4

Please install the above

Report

daax

12 years ago

I tried the install instructions in the README file. I get the error :

Running with debug output on.
-- The C compiler identification is GNU
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- The CXX compiler identification is GNU
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working C compiler: /usr/bin/gcc
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working C compiler: /usr/bin/gcc -- works
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting C compiler ABI info
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting C compiler ABI info - done
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working CXX compiler: /usr/bin/c++
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Check for working CXX compiler: /usr/bin/c++ -- works
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting CXX compiler ABI info
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/daax/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/one/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)


Called from: [2] /usr/share/cmake-2.6/Modules/FindKDE4.cmake
[1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [1] /home/daax/Téléchargement/plasma-weatherforecast-0.2/CMakeLists.txt
-- Configuring done

Report

greg0ire

12 years ago

you probably got an error while executing the cmake command line

Report

greg0ire

12 years ago

Very good plasmoid! Are you planning to do any i18n?
Très bon plasmoïde! Avez vous prévu de l'i18n?
Sehr gutes Plamoid! Haben Sie vor, i18n entzuwickeln?

Report

DarkWiseman

12 years ago

Very good plasmoid! Are you planning to do any i18n?
Très bon plasmoïde! Avez vous prévu de l'i18n?
Sehr gutes Plamoid! Haben Sie vor, i18n entzuwickeln?
Muy buen plasmoid! ¿Estás planeando algún i18n?

lol

Report

t3ddy

12 years ago

i've got a small doubt, next 2 days means today and tomorrow?

Report

C

biophysics

12 years ago

I use what yahoo provides in the forecast. Sometimes they provide tomorrow and day after but sometimes not. See the following page: Change the city code:

http://weather.yahooapis.com/forecastrss?p=ITXX0131

Report

t3ddy

12 years ago

Ah ok, thanks for the explanation!

Report

Havoc65

12 years ago

works great on opensuse 11.0

Report

t3ddy

12 years ago

I still don't have the icons for the next 2 days, could it be because i'm from italy?
With the default city, the icons works.

Report

C

biophysics

12 years ago

what city are you in (please put the code) ? I tried ITXX0131 it works here.

Report

t3ddy

12 years ago

Now it works, that's weird. I don't know why. Thanks for your great work!!!

Report

dglent

12 years ago

Excellent i love it! it works fine in mandriva 2009

Report

C

biophysics

12 years ago

Do you need country/region name in the plasmoid. it will save some space for _long_ city names. Any opinions ?

Report

santam

12 years ago

Nice have it working in KDE 4.12 in mandriva ..
Just one crib the text for the city name seems to have less padding from the left side of the frame any ideas how i can improve that?

Report

C

biophysics

12 years ago

Currently I have center justified it. Just look on the file plasma-weatherforecast.cpp
line 265

Report

11 years ago

v1.3
Background defaults to the kde4 desktop theme settings. See screenshot.


v1.2
Minor fixes in install file and added attribution

v1.1
Show "Network not reachable".
The font colour is theme dependent. So, text will automatically update.

v 1.0
Font dialog: thanks to Joe Istead
Renamed to prevent problems.

v0.9
none

v0.8
Removed proxy support. Too many problems due to that.

v0.7
Changed the file names and added KDE 4.2 support.Thanks linleno

V0.6
Fixed proxy support (by Yannig).
- connect a signal from the job downloader to a slot of the plasmoid
- parse directly binary content

v0.5
added proxy support. But unfortunately it does not refresh properly. So, please look into the code and help me (To Yannig).

Improved alignment. Thanks to patkoscsaba.
Substitute "+" from patkoscsaba by a " " (blank space).

v0.4
fixed the filename. sorry for the inconvenience.

v0.3
Rename weather.svg to plasma-weatherforecast.svg
See: http://revu.ubuntuwire.com/details.py?package=plasmoid-weatherforecast


v0.2
Fix README
Removed country/region name
changed yweather:wind to yweather:condition for accurate temperature

v0.1
-Initial Release
-It is completely inspired by Weather Plasmoid

12345678910
13
product-maker siocnarf Apr 14 2013 9 excellent
product-maker itsjustarumour2 Sep 25 2012 9 excellent
product-maker ariszlo Sep 18 2012 9 excellent
product-maker joseexposito89 Aug 30 2011 3 bad
Be the first to comment
ariszlo
Sep 18 2012
universe777
Apr 18 2009
jwistead
Jan 06 2009
kilah
Dec 29 2008
blackpaw
Dec 28 2008
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.3
updated Dec 26 2009
added Oct 30 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2