-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (7) .- Knowledge Base  . 

simple weather forecast

   1.3  

Plasmoid Binary

Score 86%
simple weather forecast
zoom


Minimum required   KDE 4.x
Downloads:  19447
Submitted:  Oct 30 2008
Updated:  Dec 26 2009

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.

TESTED:
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/




Changelog:

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




LicenseGPL
Source(plasma-simpleweatherforecast-1.3-kde-4.3.80.tar.gz)
Source(plasma-simpleweatherforecast-1.3-kde-4.3.80.tar.gz)
Source(plasma-weatherforecast-0.2.tar.bz2)
Source(plasma-weatherforecast-0.3.tar.bz2)
Source(plasma-weatherforecast-0.4.tar.bz2)
Source(plasma-weatherforecast-0.5.tar.bz2)
Source(plasma-weatherforecast-0.6.tar.bz2)
Source(plasma-weatherforecast-0.7.tar.bz2)
Source(plasma-weatherforecast-0.8-kde-4.1.tar.bz2)
Source(plasma-weatherforecast-0.8-kde-4.2.tar.bz2)
Source(plasma-weatherforecast-1.0-kde-4.2.tar.bz2)
Send to a friend
Subscribe
Other  Apps  from biophysics
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12  13 

-

 Everything Fine

 
 by blackpaw on: Dec 29 2008
 
Score 50%

Have built and installed the latest (0.5), no problems - Thanks.

Is the weatherforecast plasmoid in Sam Rogs's PPA (https://launchpad.net/~samrog131/+archive) build from your sources? Presuming you're not Sam Rog :)


Reply to this

-

 Re: Everything Fine

 
 by biophysics on: Dec 29 2008
 
Score 50%

No, it is not me.


Reply to this

-
.

 Error.

 
 by Blanken on: Dec 29 2008
 
Score 50%
BlankenBlanken
None
Home
-
david no 0

None
United States of America, New York
Last visit Dec 29 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

david@Trigger:~/Desktop/plasma-weatherforecast-0.5/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` --debug-output ..
Running with debug output on.
-- The CXX compiler identification is unknown
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
simple test program.

It fails with the following output:





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)


Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Called from: [1] /home/david/Desktop/plasma-weatherforecast-0.5/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/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt


Reply to this

-
.

 Error.

 
 by Blanken on: Dec 29 2008
 
Score 50%
BlankenBlanken
None
Home
-
david no 0

None
United States of America, New York
Last visit Dec 29 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

david@Trigger:~/Desktop/plasma-weatherforecast-0.5/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` --debug-output ..
Running with debug output on.
-- The CXX compiler identification is unknown
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
simple test program.

It fails with the following output:





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)


Called from: [2] /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
[1] /home/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Called from: [1] /home/david/Desktop/plasma-weatherforecast-0.5/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/david/Desktop/plasma-weatherforecast-0.5/CMakeLists.txt


Reply to this

-

 Re: Error.

 
 by Blanken on: Dec 29 2008
 
Score 50%
BlankenBlanken
None
Home
-
david no 0

None
United States of America, New York
Last visit Dec 29 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Sorry, double post.


Reply to this

-

 Re: Re: Error.

 
 by biophysics on: Dec 29 2008
 
Score 50%

Seems like you do not have cmake compiler:
try this and install all these packages:
sudo apt-get build-dep kdeplasma-addons


Reply to this

-

 Re: Re: Re: Error.

 
 by Blanken on: Dec 29 2008
 
Score 50%
BlankenBlanken
None
Home
-
david no 0

None
United States of America, New York
Last visit Dec 29 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thanks! Worked like a charm.


Reply to this

-
.

 Correction for proxy support

 
 by Yannig on: Jan 6 2009
 
Score 50%

Hi biophysics,

I have made a new version with a correct KIO support. You can fetch it here :
plasma-weatherforcast.cpp : http://pastebin.com/f3f50eebc
plasma-weatherforcast.h : http://pastebin.com/f1a4fa3ed

I have also uploaded a diff : http://pastebin.com/f4ba21c85

Basically, the change consist of two things :
- connect a signal from the job downloader to a slot of the plasmoid
- parse directly binary content

Here is how to create the job downloader :
KIO::TransferJob * job = KIO::get(proxy_xml_file);

And how to connect this job to a parser :
connect(job, SIGNAL(data(KIO::Job *, const QByteArray & )), this, SLOT(parseData(KIO::Job *,const QByteArray &)));

I have change the method prototype of parseData to convert into a public slot and to receive data directly so we do not need a temp file anymore.

Have a good day and a happy new year!

Yannig


Reply to this

-

 Re: Correction for proxy support

 
 by biophysics on: Jan 7 2009
 
Score 50%

Thanks Yannig. I will fix sometime soon.


Reply to this

-

 Re: Correction for proxy support

 
 by biophysics on: Jan 21 2009
 
Score 50%

Hi Yanning

I am seeing with the proxy support the two images below do not refresh (until I do it manually).

Also, "HideProgressInfo" does not work. I am seeing every 55 minutes in my desktop a small progress bar. (kde 4.1). Can you look into the code again.

Thanks


Reply to this

-

 Re: Re: Correction for proxy support

 
 by biophysics on: Jan 21 2009
 
Score 50%

OK, it was my bug. just forgot to put a "~"

Sorry.


Reply to this

-

 Re: Re: Re: Correction for proxy support

 
 by biophysics on: Jan 21 2009
 
Score 50%

OK, I am totally out of ideas why the proxy support causes so much problems. Can you please fix it.

for some reason the binary data does not go into the QByteArray ?


Reply to this

-

 font dialog in config menu

 
 by jwistead on: Jan 8 2009
 
Score 50%

Applying this patch to version 0.5 of the code allows the user to select the font using a dialog (by clicking a button in the config menu).

http://jwistead.pastebin.com/m330d9956

The pastebin expires Feb 6, 2009. However, the changes might be included in v0.6 of the code. Feel free to email me for the patch/code after that time, if all else fails.


Reply to this

-

 Re: font dialog in config menu

 
 by biophysics on: Jan 16 2009
 
Score 50%

hi jwistead,

Can you put a screenshot of the config dialog and the plasmoid itself.

Sorry for the delay, also, can you post the actual files .h and .cpp in paste bin for the newer plasmoid (for 4.1 and 4.2).

I have some exams so I will update it hopefully by the weekend.

Many thanks for your support


Reply to this

-
.

 Something about v0.6

 
 by linleno on: Jan 14 2009
 
Score 50%

Hi~

First of all, I would like to remind you that you might packed the wrong files in your v0.6 release... LOL
And I guess the files called plasma-weatherforcast.h and plasma-weatherforcast.cpp are the new version of weatherfor"e"cast.h and weatherfor"e"cast.cpp correspondently.

Furthermore, in KDE4.2 you should not use find_package(PLASMA) in your CMakeLists.txt anymore, because PLASMA has already been a part of KDE4 in KDE4 and $PLASMA_LIBS in CMakeLists.txt should also been changed to $KDE4_PLASMA_LIBS.
After slightly modified your CMakeLists.txt, I got it work on my KDE4.2 RC1. (I also overwrite the old version weatherforecast.* by "weatherforcast.*" of course... LOL )

This is my patch to your CMakeLists.txt v.0.6. Wish it help.

http://rafb.net/p/wrO7ff29.html

--- plasma-weatherforecast-0.6-orig/CMakeLists.txt 2008-12-28 23:24:51.000000000 +0800
+++ plasma-weatherforecast-0.6-patched/CMakeLists.txt 2009-01-14 15:25:57.000000000 +0800
@@ -6,7 +6,6 @@
# Find the required Libaries
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
-find_package(Plasma REQUIRED)

add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
@@ -25,12 +24,12 @@
kde4_add_ui_files(weather_SRCS config.ui)
kde4_add_plugin(plasma_applet_weatherforecast ${weather_SRCS})
target_link_libraries(plasma_applet_weatherforecast
- ${QT_QTXML_LIBRARY} ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
+ ${QT_QTXML_LIBRARY} ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})

# Build the tests
#kde4_add_unit_test( test_plasma_wifi test_plasma-wifi-signal.cpp )
#target_link_libraries( test_plasma_wifi plasma_applet_wifi_signal
-# ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY} )
+# ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY} )

install(TARGETS plasma_applet_weatherforecast
DESTINATION ${PLUGIN_INSTALL_DIR})


Reply to this

-

 Re: Something about v0.6

 
 by nagatus on: Jan 15 2009
 
Score 50%

Thanks,

Confirmed, works with the changes mentioned.

Had almost done all the changes myself, didn't catch the filenames though, so read forward on this thread and found your post.


Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12  13 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.