
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
This release implements a couple of feature requests and fixes a few bugs. See the changelog.
OpenSUSE packages added. Thanks buschmann23!!
Special thanks goes out to painkiller101 for some helpful suggestions as well as a killer icon set. Thanks so much for all of your help!! :-)
TODO
-Add forecasting when widget is of a certain size
Short installation instruction:
# tar -xvzf plasma-weather-0.2.tar.gz
# cd weather
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
# make
# make install
ATTENTION INTERNATIONAL USERS:
If you want to make this widget work and don't have a zip code, use the following
steps:
1. Go to http://weather.yahoo.com/
2. Type in your city, country and click Go
3. Copy the 8 character location ID from the URL on the next page (ie for Hong Kong, China it is CHXX0049)
4. Paste the location ID into the widgets zip code field
12 years ago
v0.1
-Initial Release
v0.2
-Added widget configuration dialog
-Users can now configure zip code and temperature format via dialog
-Fixed SVG scaling issue (I think??)
-New icon set by painkiller101 (THANKS!! :-))
v0.3
-made the ~/weather.xml file hidden
-added support for icon themes
-added new icon theme used with permission from Wojciech Grzanka
v0.4
-added refresh configuration options
-fixed missing icon bug (i hope!!)
-fixed version of Wojciech Grzanka's icons are available for download
-modified icon display code
12 years ago
v0.1
-Initial Release
v0.2
-Added widget configuration dialog
-Users can now configure zip code and temperature format via dialog
-Fixed SVG scaling issue (I think??)
-New icon set by painkiller101 (THANKS!! :-))
v0.3
-made the ~/weather.xml file hidden
-added support for icon themes
-added new icon theme used with permission from Wojciech Grzanka
v0.4
-added refresh configuration options
-fixed missing icon bug (i hope!!)
-fixed version of Wojciech Grzanka's icons are available for download
-modified icon display code
denisq
10 years ago
Some modifications to apply:
-------------------
Replace the variables previously coming from FindPlasma.cmake as follows:
PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND
PLASMA_LIBS -> KDE4_PLASMA_LIBS
PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already
set anyway
---------------------
Kind regards,
Quentin
Report
LostChild1
10 years ago
I'm from Canada, and thus don't have a Zip Code. I try going to the Montreal Yahoo Weather site and all I get is this in my URL:
http://weather.yahoo.com/canada/quebec/montreal-3534/
So I tried CAXX3534 but it doesn't come up with Canada.
Suggestions?
Report
MCDaweed
11 years ago
A fixed CMakeLists.txt can be found here:
http://www.webhochhaus.de/linux/fixes/CMakeLists.txt
Thank you for this nice Weather-Applet!
Report
surdy
11 years ago
Please help, I get the following error if I try to make
[ 0%] Built target plasma_applet_weather_automoc
Linking CXX shared module lib/plasma_applet_weather.so
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `Plasma_Weather::parseData()':
/home/surdy/Download/weather/plasma-weather.cpp:106: undefined reference to `QDomDocument::QDomDocument(QString const&)'
/home/surdy/Download/weather/plasma-weather.cpp:110: undefined reference to `QDomDocument::setContent(QIODevice*, QString*, int*, int*)'
/home/surdy/Download/weather/plasma-weather.cpp:113: undefined reference to `QDomDocument::documentElement() const'
/home/surdy/Download/weather/plasma-weather.cpp:115: undefined reference to `QDomNode::firstChild() const'
/home/surdy/Download/weather/plasma-weather.cpp:117: undefined reference to `QDomNode::firstChild() const'
/home/surdy/Download/weather/plasma-weather.cpp:117: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/surdy/Download/weather/plasma-weather.cpp:117: undefined reference to `QDomNode::~QDomNode()'
/home/surdy/Download/weather/plasma-weather.cpp:118: undefined reference to `QDomNode::firstChild() const'
/home/surdy/Download/weather/plasma-weather.cpp:118: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/surdy/Download/weather/plasma-weather.cpp:118: undefined reference to `QDomNode::~QDomNode()'
/home/surdy/Download/weather/plasma-weather.cpp:164: undefined reference to `QDomNode::nextSibling() const'
/home/surdy/Download/weather/plasma-weather.cpp:164: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/surdy/Download/weather/plasma-weather.cpp:164: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `~QDomElement':
/usr/include/QtXml/qdom.h:477: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `Plasma_Weather::parseData()':
/home/surdy/Download/weather/plasma-weather.cpp:120: undefined reference to `QDomNode::isNull() const'
/home/surdy/Download/weather/plasma-weather.cpp:122: undefined reference to `QDomNode::toElement() const'
/home/surdy/Download/weather/plasma-weather.cpp:124: undefined reference to `QDomNode::isNull() const'
/home/surdy/Download/weather/plasma-weather.cpp:126: undefined reference to `QDomElement::tagName() const'
/home/surdy/Download/weather/plasma-weather.cpp:128: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:129: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:130: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:132: undefined reference to `QDomElement::tagName() const'
/home/surdy/Download/weather/plasma-weather.cpp:134: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:165: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `~QDomElement':
/usr/include/QtXml/qdom.h:477: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `Plasma_Weather::parseData()':
/home/surdy/Download/weather/plasma-weather.cpp:165: undefined reference to `QDomDocument::~QDomDocument()'
/home/surdy/Download/weather/plasma-weather.cpp:136: undefined reference to `QDomElement::tagName() const'
/home/surdy/Download/weather/plasma-weather.cpp:138: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:140: undefined reference to `QDomElement::tagName() const'
/home/surdy/Download/weather/plasma-weather.cpp:142: undefined reference to `QDomNode::firstChild() const'
/home/surdy/Download/weather/plasma-weather.cpp:142: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/surdy/Download/weather/plasma-weather.cpp:142: undefined reference to `QDomNode::~QDomNode()'
/home/surdy/Download/weather/plasma-weather.cpp:157: undefined reference to `QDomNode::nextSibling() const'
/home/surdy/Download/weather/plasma-weather.cpp:157: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/surdy/Download/weather/plasma-weather.cpp:157: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `~QDomElement':
/usr/include/QtXml/qdom.h:477: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `Plasma_Weather::parseData()':
/home/surdy/Download/weather/plasma-weather.cpp:144: undefined reference to `QDomNode::isNull() const'
/home/surdy/Download/weather/plasma-weather.cpp:146: undefined reference to `QDomNode::toElement() const'
/home/surdy/Download/weather/plasma-weather.cpp:148: undefined reference to `QDomNode::isNull() const'
/home/surdy/Download/weather/plasma-weather.cpp:150: undefined reference to `QDomElement::tagName() const'
/home/surdy/Download/weather/plasma-weather.cpp:152: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:153: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/surdy/Download/weather/plasma-weather.cpp:160: undefined reference to `QDomNode::parentNode() const'
/home/surdy/Download/weather/plasma-weather.cpp:160: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/surdy/Download/weather/plasma-weather.cpp:160: undefined reference to `QDomNode::~QDomNode()'
collect2: ld returned 1 exit status
make[2]: *** [lib/plasma_applet_weather.so] Error 1
make[1]: *** [CMakeFiles/plasma_applet_weather.dir/all] Error 2
make: *** [all] Error 2
Report
miguelpino
11 years ago
I cant install this...
I have problems with the "make" command:
miguel@Piso3:~/Plantillas/weather/build$ make
make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
miguel@Piso3:~/Plantillas/weather/build$ make install
make: *** No hay ninguna regla para construir el objetivo `install'. Alto.
in english would be something like this:
miguel@Piso3:~/Plantillas/weather/build$ make
make: *** There is no target and there is no makefile. Stop.
miguel@Piso3:~/Plantillas/weather/build$ make install
make: *** There is no rule to build the 'install' target'. Stop.
am I doing something wrong?
PS: mine is Kubuntu 9.04 with KDE 4.3
PS2: Im from chile. sorry my bad english.
Report
requing
12 years ago
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:53 (MESSAGE):
Could not find REQUIRED package Plasma
Call Stack (most recent call first):
/usr/share/kde4/apps/cmake/modules/FindPlasma.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:3 (find_package)
Does somebody know how to solve it
Report
requing
12 years ago
opensuse 11.1 with kde4.3.1
Report
requing
12 years ago
Thx to the community.
Questions but never answers
YOU STUPID BOY YOU FOTGOT TO INSTALL KDEBASE4-RUNTIME
Report
TubaSoldier
12 years ago
Report
jaegerschnitzel
12 years ago
If you want the correct temperature, try this patch
http://rapidshare.com/files/166866631/plasma-weather-0.4-forecast_3.patch.html
This also displays the 2-day-forecast and includes the corrected weather icons.
Report
janet
12 years ago
Report
jaegerschnitzel
12 years ago
Trying two other locations:
http://www.filefactory.com/file/168ad5/n/plasma-weather-0_4-forecast_3_patch
http://homepages.physik.uni-muenchen.de/~georg.hennig/plasma-weather-0.4-forecast_3_patch
Report
janet
12 years ago
Report
jaegerschnitzel
12 years ago
Unpack the plasma-weather-0.4.tar.gz file with
tar xvf plasma-weather-0.4.tar.gz
go into the resulting directory
cd weather
and apply the patch with
patch -p1 -i /path/to/patch -p1 -i ../plasma-weather-0.4-forecast_3.patch
Then build the plasmoid as described.
Report
scrounch
12 years ago
Voici la traduction FR pour vous aider.
# French
Code Description
0 Tornade
1 Tempête tropicale
2 Ouragan
3 Orages violents
4 Orages
5 Pluie et neige
6 Pluie et verglas
7 Neige et verglas
8 Bruine verglaçante
9 Bruine
10 Pluie verglaçante
11 Averses
12 Averses
13 Bourrasques de neige
14 Légères chutes de neige
15 Neige et vent
16 Neige
17 Grêle
18 Verglas
19 Poussière
20 Brumeux
21 Brume
22 Fumeux
23 Violent
24 Venteux
25 Froid
26 Nuageux
27 Très nuageux (nuit)
28 Très nuageux (jour)
29 Partiellement nuageux (nuit)
30 Partiellement nuageux (jour)
31 Clair (nuit)
32 Ensoleillé
33 !!!!!!!!! fair (night)
34 !!!!!!!!! fair (day)
35 Pluie et grêle
36 Chaud
37 Orages isolés
38 Orages dispersés
39 Orages dispersés
40 Averses dispersées
41 Fortes chutes de neige
42 Averses de neige dispersées
43 Fortes chutes de neige
44 Partiellement nuageux
45 Pluies d'orage
46 Averses de neige
47 Orages isolés
3200 Non valide
we have just 2 hesitation. (!!!!)
Nous hesitons sur 2 traduction, si quelqu'un connait...
Report
Cader
12 years ago
untar the source
cd weather
mkdir build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
vi build/CMakeFiles/plasma_applet_weather.dir/link.txt
add "-lQtXml" the list of libs
make
sudo make install
Report
xpace
11 years ago
I got the same problem. I use kubuntu 9.04
Report
dhuv
12 years ago
Report
biophysics
12 years ago
11 and 12 (showers) the icon is broken. Please upload weather.svg.
Thanks
Report
jaegerschnitzel
12 years ago
http://rapidshare.com/files/149955282/plasma-weather-0.4-forecast_2.patch.html
Report
shelley
12 years ago
Report
ksaugustin
12 years ago
Report
pezboytom
12 years ago
Tom
Report
biophysics
12 years ago
libplasma-dev
also why dont you use sf.net to host the package. the current download page has so much flash animation and just freezes my computer.
But many thanks for the nice plasmoid.
Report
cosmicr
12 years ago
Quote:[ 20%] Building CXX object CMakeFiles/plasma_applet_weather.dir/plasma-weather.o
/home/cosmicr/weather/plasma-weather.cpp: In member function ‘virtual void Plasma_Weather::paintInterface(QPainter*, const QStyleOptionGraphicsItem*, const QRect&)’:
/home/cosmicr/weather/plasma-weather.cpp:182: warning: unused variable ‘width’
/home/cosmicr/weather/plasma-weather.cpp:183: warning: unused variable ‘height’
/home/cosmicr/weather/plasma-weather.cpp: In member function ‘void Plasma_Weather::paintImage(QPainter*, const QRect&)’:
/home/cosmicr/weather/plasma-weather.cpp:230: error: no matching function for call to ‘Plasma::Svg::Svg(Plasma_Weather* const)’
/usr/lib/kde4/include/KDE/Plasma/../../plasma/svg.h:88: note: candidates are: Plasma::Svg::Svg(const QString&, QObject*)
/usr/lib/kde4/include/KDE/Plasma/../../plasma/svg.h:48: note: Plasma::Svg::Svg(const Plasma::Svg&)
/home/cosmicr/weather/plasma-weather.cpp:231: error: ‘class Plasma::Svg’ hasno member named ‘setImagePath’
/home/cosmicr/weather/plasma-weather.cpp:232: error: ‘class Plasma::Svg’ hasno member named ‘setContainsMultipleImages’
make[2]: *** [CMakeFiles/plasma_applet_weather.dir/plasma-weather.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_weather.dir/all] Error 2
make: *** [all] Error 2
Report