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 - [email protected] + +- 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_<some_description>.<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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="br.weather.com" search_page="http://br.weather.com" example_zip="BRXX0043" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="br.weather.com" search_page="http://br.weather.com" example_zip="BRXX0043" unit="C" /> <locale_settings locale="pt" encoding="latin1" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="de.weather.com" search_page="http://de.weather.com" example_zip="80331" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="de.weather.com" search_page="http://de.weather.com" example_zip="80331" unit="C" /> <locale_settings locale="de" encoding="latin1" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="espanol.weather.com" search_page="http://espanol.weather.com" example_zip="Ciudad-de-Mexico-MXDF0132" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="espanol.weather.com" search_page="http://espanol.weather.com" example_zip="Ciudad-de-Mexico-MXDF0132" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="fr.weather.com" search_page="http://fr.weather.com" example_zip="Paris-FRXX0076" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="fr.weather.com" search_page="http://fr.weather.com" example_zip="Paris-FRXX0076" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="freemeteo.com" search_page="http://freemeteo.com" example_zip="gid=3117735&la=4" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="freemeteo.com" search_page="http://freemeteo.com" example_zip="gid=3117735&la=4" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="freemeteo.com" search_page="http://freemeteo.com" example_zip="gid=3117735&la=4" unit="F" /> + <xml_file_version type="cwp" version="2011-03-07" name="freemeteo.com" search_page="http://freemeteo.com" example_zip="gid=3117735&la=4" unit="F" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="ilmeteo.it" search_page="http://www.ilmeteo.it" example_zip="Roma" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="ilmeteo.it" search_page="http://www.ilmeteo.it" example_zip="Roma" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="in.weather.com" search_page="http://in.weather.com" example_zip="New-Delhi-INXX0096" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="in.weather.com" search_page="http://in.weather.com" example_zip="New-Delhi-INXX0096" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.myforecast.com" search_page="http://www.myforecast.com" example_zip="12844" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.myforecast.com" search_page="http://www.myforecast.com" example_zip="12844" unit="C" /> <locale_settings locale="en" encoding="latin1" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.myforecast.com" search_page="http://www.myforecast.com" example_zip="12844" unit="F" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.myforecast.com" search_page="http://www.myforecast.com" example_zip="12844" unit="F" /> <locale_settings locale="en" encoding="latin1" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="pogodynka.pl" search_page="http://www.pogodynka.pl" example_zip="polska/warszawa_warszawa" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="pogodynka.pl" search_page="http://www.pogodynka.pl" example_zip="polska/warszawa_warszawa" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp_satellite_images" version="2011-02-24" /> + <xml_file_version type="cwp_satellite_images" version="2011-03-07" /> <!--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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="uk.weather.com" search_page="http://uk.weather.com" example_zip="London-UKXX0085" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="uk.weather.com" search_page="http://uk.weather.com" example_zip="London-UKXX0085" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.wetter.com" search_page="http://www.wetter.com" example_zip="DE0006515" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.wetter.com" search_page="http://www.wetter.com" example_zip="DE0006515" unit="C" /> <locale_settings locale="de" encoding="latin1" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.accuweather.com US" search_page="http://www.accuweather.com" example_zip="85001" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.accuweather.com US" search_page="http://www.accuweather.com" example_zip="85001" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.accuweather.com US" search_page="http://www.accuweather.com" example_zip="85001" unit="F" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.accuweather.com US" search_page="http://www.accuweather.com" example_zip="85001" unit="F" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.accuweather.com World" search_page="http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.accuweather.com World" search_page="http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.accuweather.com World" search_page="http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="F" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.accuweather.com World" search_page="http://www.accuweather.com/rss-center.asp" example_zip="AFR|ZA|SF004|JOHANNESBURG" unit="F" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.gismeteo.com" search_page="http://www.gismeteo.ru" example_zip="4944" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.gismeteo.com" search_page="http://www.gismeteo.ru" example_zip="4944" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> @@ -32,7 +32,7 @@ /> <data_current_temperature url="urlc" - update_time="grep icon\ date | sed -e "s/.*icon date[^>]*>[^:]* \([0-9]\+:[0-9]\+\).*/\1/"" + update_time="grep icon\ date | sed -e "s/.*icon date[^>]*>[^:]* \([0-9]\+:[0-9]\+\).*/\1/" | awk '{if ($1 ~ /^[0-9]+:[0-9]+$/) {print} else {print "N.A."} ; }'" temperature="grep -A 19 id=\"weather\" | grep temp | sed -e "s/<[^>]*>//g" | sed -e "s/.*[^-0-9]\([-0-9]\+\)&deg.*/\1/"" temperature_felt="echo -n" /> @@ -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" /> <wind_transform i1="ะก" o1="N" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/data/www_weather_com.cn.xml new/cwp-1.5.0/data/www_weather_com.cn.xml --- old/cwp-1.4.0/data/www_weather_com.cn.xml 2011-02-25 12:38:20.000000000 +0100 +++ new/cwp-1.5.0/data/www_weather_com.cn.xml 2011-03-07 20:47:38.000000000 +0100 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.weather.com.cn" search_page="http://www.weather.com.cn" example_zip="101010100" unit="C" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.weather.com.cn" search_page="http://www.weather.com.cn" example_zip="101010100" unit="C" /> <locale_settings locale="utf-8" encoding="utf8" /> 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" ?> <custom_weather> - <xml_file_version type="cwp" version="2011-02-24" name="www.weather.com" search_page="http://www.weather.com" example_zip="USDC0001" unit="F" /> + <xml_file_version type="cwp" version="2011-03-07" name="www.weather.com" search_page="http://www.weather.com" example_zip="USDC0001" unit="F" /> <locale_settings locale="utf-8" encoding="utf8" /> 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 [email protected] 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; i<data_custom_image_list.size(); i++ ) { - 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 ) ); file.open( QIODevice::WriteOnly ); file.write( data_custom_image_list.at( i ) ); } - data_current_icon.save( local_data_path + QString( "/cwp_icon_current_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[0].save( local_data_path + QString( "/cwp_icon_0_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[1].save( local_data_path + QString( "/cwp_icon_1_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[2].save( local_data_path + QString( "/cwp_icon_2_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[3].save( local_data_path + QString( "/cwp_icon_3_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[4].save( local_data_path + QString( "/cwp_icon_4_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[5].save( local_data_path + QString( "/cwp_icon_5_%1.png" ).arg( local_data_identifier ) ); - data_day_icon[6].save( local_data_path + QString( "/cwp_icon_6_%1.png" ).arg( local_data_identifier ) ); + data_current_icon.save( local_data_path + QString( "cwp_icon_current_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[0].save( local_data_path + QString( "cwp_icon_0_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[1].save( local_data_path + QString( "cwp_icon_1_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[2].save( local_data_path + QString( "cwp_icon_2_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[3].save( local_data_path + QString( "cwp_icon_3_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[4].save( local_data_path + QString( "cwp_icon_4_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[5].save( local_data_path + QString( "cwp_icon_5_%1.png" ).arg( local_data_identifier ) ); + data_day_icon[6].save( local_data_path + QString( "cwp_icon_6_%1.png" ).arg( local_data_identifier ) ); } void Data_Provider::get_weather_values( QString &data_location_location_tmp, QString &data_location_country_tmp, QString &data_sun_sunrise_tmp, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/plasma-cwp.cpp new/cwp-1.5.0/plasma-cwp.cpp --- old/cwp-1.4.0/plasma-cwp.cpp 2011-02-25 12:38:20.000000000 +0100 +++ new/cwp-1.5.0/plasma-cwp.cpp 2011-03-07 20:47:38.000000000 +0100 @@ -210,7 +210,7 @@ } else { - data_provider = new Data_Provider( this, QDir::homePath() + "/.cwp", cwpIdentifier ); + data_provider = new Data_Provider( this, KStandardDirs::locateLocal( "data", "cwp/" ), cwpIdentifier ); connect( data_provider, SIGNAL( data_fetched() ), this, SLOT( refresh() ) ); QTimer::singleShot( 10*1000, this, SLOT( reloadData() ) ); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cwp-1.4.0/version.h new/cwp-1.5.0/version.h --- old/cwp-1.4.0/version.h 2011-02-25 12:38:20.000000000 +0100 +++ new/cwp-1.5.0/version.h 2011-03-07 20:47:38.000000000 +0100 @@ -20,7 +20,7 @@ #ifndef version_h #define version_h -#define VERSION "1.4.0" +#define VERSION "1.5.0" #define DATE "2009-2011" #define AUTHOR "Georg Hennig" #define NAME "Customizable Weather Plasmoid (CWP)" ++++++ readme.patch ++++++ --- /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 @@ -1,8 +1,8 @@ ---- README.orig 2009-02-19 22:29:26.000000000 +0100 -+++ README 2009-02-19 22:30:11.000000000 +0100 +--- README.orig 2011-03-07 21:47:38.000000000 +0200 ++++ README 2011-03-19 15:02:57.278000031 +0200 @@ -38,6 +38,8 @@ 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). +The xml files coming with the package are located under /usr/share/kde4/apps/plasma-cwp. + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
