Hello community,
here is the log from the commit of package plasmoid-cwp for openSUSE:Factory
checked in at Mon Mar 21 11:07:01 CET 2011.
--------
--- KDE/plasmoid-cwp/plasmoid-cwp.changes 2011-02-26 14:11:00.000000000 +0100
+++ /mounts/work_src_done/STABLE/plasmoid-cwp/plasmoid-cwp.changes 2011-03-19 14:05:07.000000000 +0100
@@ -1,0 +2,11 @@
+Sat Mar 19 12:59:38 UTC 2011 - asterios.dramis@gmail.com
+
+- Update to version 1.5.0
+ - on request: changed app directory from ~/.cwp to ~/.[kde4]/share/apps/cwp
+ - xml: gismeteo.com: display N.A. if no update time is available
+ - xml: gismeteo.com: add some icon codes
+- Spec file updates
+ - Updates in %description.
+- Rebased readme.patch to apply cleanly.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
98925-cwp-1.4.0.tar.bz2
New:
----
98925-cwp-1.5.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plasmoid-cwp.spec ++++++
--- /var/tmp/diff_new_pack.7y99Xv/_old 2011-03-21 11:05:58.000000000 +0100
+++ /var/tmp/diff_new_pack.7y99Xv/_new 2011-03-21 11:05:58.000000000 +0100
@@ -20,7 +20,7 @@
Name: plasmoid-cwp
-Version: 1.4.0
+Version: 1.5.0
Release: 1
Summary: Customizable Weather Plasmoid
@@ -46,27 +46,16 @@
Obsoletes: plasmoid-customizable-weather < %{version}
%description
-This is another weather plasmoid.
-It aims to be highly customizable, but a little harder to setup
-than other weather plasmoids.
-But you'll have up to 7 days forecast afterwards.
-
-Nearly any weather forecast provider can be used, as long as the
-data is provided as html files (no flash).
-The information how to extract the information from these
-html files is stored inside xml files.
-Commands like grep, head, tail, sed, awk, ... will do this job.
+This is another weather plasmoid. It aims to be highly customizable, but a
+little harder to setup than other weather plasmoids. Nearly any weather
+forecast provider can be used, as long as the data is provided as html files
+(no flash). The information how to extract the information from these html
+files is stored inside xml files. Commands like grep, head, tail, sed, awk, ...
+will do this job.
Some xml files are already included, you can find them under
/usr/share/kde4/apps/plasma-cwp
-
-
-Author:
---------
- Georg Hennig
-
-
%lang_package
%prep
%setup -q -n cwp-%{version}
++++++ 98925-cwp-1.4.0.tar.bz2 -> 98925-cwp-1.5.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/ChangeLog new/cwp-1.5.0/ChangeLog
--- old/cwp-1.4.0/ChangeLog 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/ChangeLog 2011-03-07 20:47:38.000000000 +0100
@@ -1,3 +1,9 @@
+1.5.0
+=====
+- on request: changed app directory from ~/.cwp to ~/.<kdedir>/share/apps/cwp
+- xml: gismeteo.com: display N.A. if no update time is available
+- xml: gismeteo.com: add some icon codes
+
1.4.0
=====
- on request: export / import settings from configuration dialog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/README new/cwp-1.5.0/README
--- old/cwp-1.4.0/README 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/README 2011-03-07 20:47:38.000000000 +0100
@@ -1,5 +1,5 @@
=========================================
-Customizable Weather Plasmoid (CWP) 1.4.0
+Customizable Weather Plasmoid (CWP) 1.5.0
=========================================
This is another weather plasmoid.
@@ -36,12 +36,12 @@
If they don't, try to update your definition files: either install latest cwp release or/and download latest xml definition
file package from
http://www.kde-look.org/content/show.php/show.php?content=98925
-and unpack the xml files into ~/.cwp (the .cwp folder inside your home directory).
+and unpack the xml files into ~/.<kdedir>/share/apps/cwp (the cwp application folder inside your home kde directory).
To access extended information about current weather condition, left-click inside the current weather description!
The time, when the provider updated his weather information is shown italic when clicked on update time.
-CWP saves current weather data on exit inside $HOME/.cwp folder, so after crashes you might want to clean up
+CWP saves current weather data on exit inside $HOME/.<kdedir>/share/apps/cwp folder, so after crashes you might want to clean up
this directory, or completely remove it.
Parts of the source code are taken from weather plasmoid 0.4, KDE 4.2, qimageblitz, yaWP.
@@ -103,7 +103,7 @@
Add the plasmoid to your desktop.
-If you plan to use custom xml files or icon background images, place them inside a $HOME/.cwp folder.
+If you plan to use custom xml files or icon background images, place them inside a $HOME/.<kdedir>/share/apps/cwp folder.
NOTE: a custom background file should have the following name:
background_.<extension>
<extension> can be png, gif or jpg.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/config.ui new/cwp-1.5.0/config.ui
--- old/cwp-1.4.0/config.ui 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/config.ui 2011-03-07 20:47:38.000000000 +0100
@@ -893,13 +893,6 @@
</widget>
</item>
</layout>
- <zorder>defaultBackgroundSelect</zorder>
- <zorder>translucentBackgroundSelect</zorder>
- <zorder>noBackgroundSelect</zorder>
- <zorder>customColorBackgroundSelect</zorder>
- <zorder>transparencySlider</zorder>
- <zorder>transparencyLabel</zorder>
- <zorder>customColorKColorButton</zorder>
</widget>
</item>
<item row="2" column="0">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/br_weather_com.xml new/cwp-1.5.0/data/br_weather_com.xml
--- old/cwp-1.4.0/data/br_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/br_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://br.weather.com" example_zip="BRXX0043" unit="C" />
+ http://br.weather.com" example_zip="BRXX0043" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/de_weather_com.xml new/cwp-1.5.0/data/de_weather_com.xml
--- old/cwp-1.4.0/data/de_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/de_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://de.weather.com" example_zip="80331" unit="C" />
+ http://de.weather.com" example_zip="80331" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/espanol_weather_com.xml new/cwp-1.5.0/data/espanol_weather_com.xml
--- old/cwp-1.4.0/data/espanol_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/espanol_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://espanol.weather.com" example_zip="Ciudad-de-Mexico-MXDF0132" unit="C" />
+ http://espanol.weather.com" example_zip="Ciudad-de-Mexico-MXDF0132" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/fr_weather_com.xml new/cwp-1.5.0/data/fr_weather_com.xml
--- old/cwp-1.4.0/data/fr_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/fr_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://fr.weather.com" example_zip="Paris-FRXX0076" unit="C" />
+ http://fr.weather.com" example_zip="Paris-FRXX0076" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/freemeteo_com_celsius.xml new/cwp-1.5.0/data/freemeteo_com_celsius.xml
--- old/cwp-1.4.0/data/freemeteo_com_celsius.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/freemeteo_com_celsius.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://freemeteo.com" example_zip="gid=3117735&la=4" unit="C" />
+ http://freemeteo.com" example_zip="gid=3117735&la=4" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/freemeteo_com_fahrenheit.xml new/cwp-1.5.0/data/freemeteo_com_fahrenheit.xml
--- old/cwp-1.4.0/data/freemeteo_com_fahrenheit.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/freemeteo_com_fahrenheit.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://freemeteo.com" example_zip="gid=3117735&la=4" unit="F" />
+ http://freemeteo.com" example_zip="gid=3117735&la=4" unit="F" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/ilmeteo_it.xml new/cwp-1.5.0/data/ilmeteo_it.xml
--- old/cwp-1.4.0/data/ilmeteo_it.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/ilmeteo_it.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.ilmeteo.it" example_zip="Roma" unit="C" />
+ http://www.ilmeteo.it" example_zip="Roma" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/in_weather_com.xml new/cwp-1.5.0/data/in_weather_com.xml
--- old/cwp-1.4.0/data/in_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/in_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://in.weather.com" example_zip="New-Delhi-INXX0096" unit="C" />
+ http://in.weather.com" example_zip="New-Delhi-INXX0096" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/myforecast_com_celsius.xml new/cwp-1.5.0/data/myforecast_com_celsius.xml
--- old/cwp-1.4.0/data/myforecast_com_celsius.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/myforecast_com_celsius.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.myforecast.com" example_zip="12844" unit="C" />
+ http://www.myforecast.com" example_zip="12844" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/myforecast_com_fahrenheit.xml new/cwp-1.5.0/data/myforecast_com_fahrenheit.xml
--- old/cwp-1.4.0/data/myforecast_com_fahrenheit.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/myforecast_com_fahrenheit.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.myforecast.com" example_zip="12844" unit="F" />
+ http://www.myforecast.com" example_zip="12844" unit="F" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/pogodynka_pl.xml new/cwp-1.5.0/data/pogodynka_pl.xml
--- old/cwp-1.4.0/data/pogodynka_pl.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/pogodynka_pl.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.pogodynka.pl" example_zip="polska/warszawa_warszawa" unit="C" />
+ http://www.pogodynka.pl" example_zip="polska/warszawa_warszawa" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/satellite_images.xml new/cwp-1.5.0/data/satellite_images.xml
--- old/cwp-1.4.0/data/satellite_images.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/satellite_images.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-
+
<!--Global-->
<image name="- - Global - -" url="" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/uk_weather_com.xml new/cwp-1.5.0/data/uk_weather_com.xml
--- old/cwp-1.4.0/data/uk_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/uk_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://uk.weather.com" example_zip="London-UKXX0085" unit="C" />
+ http://uk.weather.com" example_zip="London-UKXX0085" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/wetter_com.xml new/cwp-1.5.0/data/wetter_com.xml
--- old/cwp-1.4.0/data/wetter_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/wetter_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.wetter.com" example_zip="DE0006515" unit="C" />
+ http://www.wetter.com" example_zip="DE0006515" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_accuweather_com_us_celsius.xml new/cwp-1.5.0/data/www_accuweather_com_us_celsius.xml
--- old/cwp-1.4.0/data/www_accuweather_com_us_celsius.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/www_accuweather_com_us_celsius.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.accuweather.com" example_zip="85001" unit="C" />
+ http://www.accuweather.com" example_zip="85001" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_accuweather_com_us_fahrenheit.xml new/cwp-1.5.0/data/www_accuweather_com_us_fahrenheit.xml
--- old/cwp-1.4.0/data/www_accuweather_com_us_fahrenheit.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/www_accuweather_com_us_fahrenheit.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.accuweather.com" example_zip="85001" unit="F" />
+ http://www.accuweather.com" example_zip="85001" unit="F" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_accuweather_com_world_celsius.xml new/cwp-1.5.0/data/www_accuweather_com_world_celsius.xml
--- old/cwp-1.4.0/data/www_accuweather_com_world_celsius.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/www_accuweather_com_world_celsius.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="C" />
+ http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_accuweather_com_world_fahrenheit.xml new/cwp-1.5.0/data/www_accuweather_com_world_fahrenheit.xml
--- old/cwp-1.4.0/data/www_accuweather_com_world_fahrenheit.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/www_accuweather_com_world_fahrenheit.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="F" />
+ http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="F" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_gismeteo_com.xml new/cwp-1.5.0/data/www_gismeteo_com.xml
--- old/cwp-1.4.0/data/www_gismeteo_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/www_gismeteo_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.gismeteo.ru" example_zip="4944" unit="C" />
+ http://www.gismeteo.ru" example_zip="4944" unit="C" />
@@ -32,7 +32,7 @@
/>
@@ -180,6 +180,23 @@
i62="d.sun.c3.r2" o62="39"
i63="d.sun.c3.r3" o63="39"
i64="d.sun.c2.r2" o64="39"
+ i65="d.sun.c1.s1" o65="41"
+ i66="d.sun.c1.s2" o66="41"
+ i67="d.sun.c1.s3" o67="41"
+ i68="d.sun.c1.s4" o68="41"
+ i69="d.sun.c2.s1" o69="41"
+ i70="d.sun.c2.s2" o70="41"
+ i71="d.sun.c2.s3" o71="41"
+ i72="d.sun.c2.s4" o72="41"
+ i73="d.sun.c3.s2" o73="41"
+ i74="d.sun.c3.s3" o74="41"
+ i75="d.sun.c3.s4" o75="41"
+ i76="n.moon.c2.s2" o76="46"
+ i77="n.moon.c2.s3" o77="46"
+ i78="n.moon.c2.s4" o78="46"
+ i79="n.moon.c3.s2" o79="46"
+ i80="n.moon.c3.s3" o80="46"
+ i81="n.moon.c3.s4" o81="46"
/>
- http://www.weather.com.cn" example_zip="101010100" unit="C" />
+ http://www.weather.com.cn" example_zip="101010100" unit="C" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_weather_com.xml new/cwp-1.5.0/data/www_weather_com.xml
--- old/cwp-1.4.0/data/www_weather_com.xml 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/data/www_weather_com.xml 2011-03-07 20:47:38.000000000 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- http://www.weather.com" example_zip="USDC0001" unit="F" />
+ http://www.weather.com" example_zip="USDC0001" unit="F" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/plasma-applet-cwp.desktop new/cwp-1.5.0/plasma-applet-cwp.desktop
--- old/cwp-1.4.0/plasma-applet-cwp.desktop 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/plasma-applet-cwp.desktop 2011-03-07 20:47:38.000000000 +0100
@@ -30,7 +30,7 @@
X-KDE-PluginInfo-Author=Georg Hennig
X-KDE-PluginInfo-Email=georg.hennig@web.de
X-KDE-PluginInfo-Name=plasma_applet_cwp
-X-KDE-PluginInfo-Version=1.4.0
+X-KDE-PluginInfo-Version=1.5.0
X-KDE-PluginInfo-Website=http://www.kde-look.org/content/show.php/show.php?content=98925
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Depends=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/plasma-cwp-data-provider.cpp new/cwp-1.5.0/plasma-cwp-data-provider.cpp
--- old/cwp-1.4.0/plasma-cwp-data-provider.cpp 2011-02-25 12:38:20.000000000 +0100
+++ new/cwp-1.5.0/plasma-cwp-data-provider.cpp 2011-03-07 20:47:38.000000000 +0100
@@ -131,7 +131,7 @@
return;
}
- KConfig cf( local_data_path + QString( "/cwp_local_data_%1.cfg" ).arg( local_data_identifier ), KConfig::SimpleConfig );
+ KConfig cf( local_data_path + QString( "cwp_local_data_%1.cfg" ).arg( local_data_identifier ), KConfig::SimpleConfig );
KConfigGroup cfg( &cf, "" );
data_update_time = cfg.readEntry( "data_update_time", "" );
@@ -206,18 +206,18 @@
data_custom_image_list.clear();
for ( i=0; i<100; i++ ) // random maximum location image number
{
- QFile file( local_data_path + QString( "/cwp_custom_image_%1_%2.img" ).arg( i ).arg( local_data_identifier ) );
+ QFile file( local_data_path + QString( "cwp_custom_image_%1_%2.img" ).arg( i ).arg( local_data_identifier ) );
if ( !file.open(QIODevice::ReadOnly) ) break;
data_custom_image_list.push_back( file.readAll() );
}
- data_current_icon = QImage( local_data_path + QString( "/cwp_icon_current_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[0] = QImage( local_data_path + QString( "/cwp_icon_0_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[1] = QImage( local_data_path + QString( "/cwp_icon_1_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[2] = QImage( local_data_path + QString( "/cwp_icon_2_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[3] = QImage( local_data_path + QString( "/cwp_icon_3_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[4] = QImage( local_data_path + QString( "/cwp_icon_4_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[5] = QImage( local_data_path + QString( "/cwp_icon_5_%1.png" ).arg( local_data_identifier ) );
- data_day_icon[6] = QImage( local_data_path + QString( "/cwp_icon_6_%1.png" ).arg( local_data_identifier ) );
+ data_current_icon = QImage( local_data_path + QString( "cwp_icon_current_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[0] = QImage( local_data_path + QString( "cwp_icon_0_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[1] = QImage( local_data_path + QString( "cwp_icon_1_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[2] = QImage( local_data_path + QString( "cwp_icon_2_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[3] = QImage( local_data_path + QString( "cwp_icon_3_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[4] = QImage( local_data_path + QString( "cwp_icon_4_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[5] = QImage( local_data_path + QString( "cwp_icon_5_%1.png" ).arg( local_data_identifier ) );
+ data_day_icon[6] = QImage( local_data_path + QString( "cwp_icon_6_%1.png" ).arg( local_data_identifier ) );
if ( data_update_time != "" ) emit( data_fetched() );
}
@@ -229,7 +229,7 @@
return;
}
- KConfig cf( local_data_path + QString( "/cwp_local_data_%1.cfg" ).arg( local_data_identifier ), KConfig::SimpleConfig );
+ KConfig cf( local_data_path + QString( "cwp_local_data_%1.cfg" ).arg( local_data_identifier ), KConfig::SimpleConfig );
KConfigGroup cfg( &cf, "" );
cfg.writeEntry( "data_update_time", data_update_time );
@@ -303,18 +303,18 @@
int i;
for ( i=0; ihttp://www.kde-look.org/content/show.php/show.php?content=98925
- and unpack the xml files into ~/.cwp (the .cwp folder inside your home directory).
+ and unpack the xml files into ~/.<kdedir>/share/apps/cwp (the cwp application folder inside your home kde directory).
+The xml files coming with the package are located under /usr/share/kde4/apps/plasma-cwp.
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org