--- xfce4-weather-plugin-0.6.2.orig/debian/rules +++ xfce4-weather-plugin-0.6.2/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/xfce.mk + +makebuilddir/xfce4-weather-plugin:: + -rm config.status + +binary-post-install/xfce4-weather-plugin:: + -rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.a + -rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.la --- xfce4-weather-plugin-0.6.2.orig/debian/changelog +++ xfce4-weather-plugin-0.6.2/debian/changelog @@ -0,0 +1,236 @@ +xfce4-weather-plugin (0.6.2-1ubuntu1.3) hardy-proposed; urgency=low + + * debian/patches/03_fix-100%-cpu-with-network-down.patch: fix 100% cpu + utilization when network is down (e.g. on resume). LP: #412596 + + -- Lionel Le Folgoc Tue, 01 Dec 2009 15:27:25 +0100 + +xfce4-weather-plugin (0.6.2-1ubuntu1.2) hardy-proposed; urgency=low + + * debian/patches: + - 02_add-weather.com-api-key added: use the xfce4-weather-plugin API + key so weather.com gives us the weather (LP: #396880). + + -- Lionel Le Folgoc Mon, 13 Jul 2009 08:39:16 +0200 + +xfce4-weather-plugin (0.6.2-1ubuntu1.1) hardy-proposed; urgency=low + + * Rebuild to include missing translations (ca, cs, de, en_GB, eu, fi, fr, gl, + hu, lt, nb_NO, nl, pa, pt_BR, pt_PT, sk, sq, ur and zh_TW). LP: #238399 + + -- Lionel Le Folgoc Sat, 14 Jun 2008 15:29:39 +0200 + +xfce4-weather-plugin (0.6.2-1ubuntu1) hardy; urgency=low + + * Merge with Debian Unstable, remaining Ubuntu changes: + - Use xfce.mk + - adhere to DebianMaintainerField + - keep 01_save_config.patch. + * debian/control: bump debhelper b-d to (>= 5). + * debian/rules: do not delete upstream changelog, cdbs takes care of this. + + -- Lionel Le Folgoc Sat, 08 Dec 2007 22:07:06 +0100 + +xfce4-weather-plugin (0.6.2-1) unstable; urgency=low + + [ Simon Huggins ] + * debian/control: Move fake Homepage field to a real one now dpkg + supports it. + * Add Vcs-* headers to debian/control + + [ Yves-Alexis Perez ] + * New upstream release. + * debian/control: + - updated standard versions to 3.7.3. + - updated my email to the debian.org one. + * debian/copyright: updated copyrights, authors and license. + * debian/NEWS: remove tab at beginning of lines. + + -- Yves-Alexis Perez Sat, 08 Dec 2007 19:28:17 +0100 + +xfce4-weather-plugin (0.6.2-0ubuntu1) hardy; urgency=low + + * New upstream release: + - Hide event box window, this makes the right-click menu a bit harder + to access, but the background transparent, which looks a lot better + with a lot of themes. + - Improved icon handling. Icons are now always sized to the maximum + available size. It also uses the entire panel when you remove all the + labels. + - Fix 100% CPU usage when there is no connection. This is not entirely + fixed since the plugin might hang, but it's better then it was... + - Plugin works on FreeBSD and some other minor issues. + * debian/control: add a Homepage field. + + -- Lionel Le Folgoc Thu, 22 Nov 2007 12:55:47 +0100 + +xfce4-weather-plugin (0.6.0-1ubuntu1) gutsy; urgency=low + + * Merge with Debian Unstable, remaining Ubuntu changes: + - Use xfce.mk + - Set Ubuntu maintainer address + - 01_save_config.patch: updated. + * debian/control: drop autotools-dev build-dependency. + + -- Lionel Le Folgoc Sun, 13 May 2007 21:26:51 +0200 + +xfce4-weather-plugin (0.6.0-1) unstable; urgency=low + + (Yves-Alexis Perez) + * New upstream release. + * debian/control: + - removed Jani from uploaders as he's not anymore in the team. + - removed gtk from build-dep as it's pulled by xfce4-panel-dev anyway. + + (Stefan Ott) + * debian/control: updated the url + + (Simon Huggins) + * Build against latest and greatest xfce. + + -- Yves-Alexis Perez Mon, 16 Apr 2007 18:56:13 +0100 + +xfce4-weather-plugin (0.5.99.1-2ubuntu2) feisty; urgency=low + + * Rebuild for changes in the amd64 toolchain. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 5 Mar 2007 01:28:02 +0000 + +xfce4-weather-plugin (0.5.99.1-2ubuntu1) feisty; urgency=low + + * Merge from debian unstable: + - Use xfce.mk + - 01_save_config.patch: updated + * debian/patches/{fix_g_strconcat_srasher,glib2.10_crash_fix}.patch: + dropped, included upstream + + -- Gauvain Pocentek Wed, 15 Nov 2006 15:02:13 +0100 + +xfce4-weather-plugin (0.5.99.1-2) unstable; urgency=low + + * debian/control: bumped xfce4-panel build-dep to 4.4rc1 to fix FTBFS. + + -- Yves-Alexis Perez Fri, 29 Sep 2006 12:14:42 +0100 + +xfce4-weather-plugin (0.5.99.1-1) unstable; urgency=low + + * New upstream release. + * Fix crash when xfce-mcs-manager is refreshed. Closes: #381925 + + -- Yves-Alexis Perez Sat, 23 Sep 2006 15:41:49 +0100 + +xfce4-weather-plugin (0.5.0-0ubuntu6) dapper; urgency=low + + * Add 01_save_config.patch to correctly restore saved unit configuration + Closes LP #42054 + + -- Gauvain Pocentek Sat, 20 May 2006 18:20:55 +0200 + +xfce4-weather-plugin (0.5.0-0ubuntu5) dapper; urgency=low + + * Rebuild to fix FTBFS (missing xfce4-panel-dev) + + -- Jani Monoses Tue, 9 May 2006 07:06:30 +0300 + +xfce4-weather-plugin (0.5.0-0ubuntu4) dapper; urgency=low + + * Rebuild for new libxfce4util + + -- Jani Monoses Mon, 8 May 2006 20:54:55 +0300 + +xfce4-weather-plugin (0.5.0-0ubuntu3) dapper; urgency=low + + * Rebuild for new libxfce4util + + -- Jani Monoses Mon, 8 May 2006 20:19:47 +0300 + +xfce4-weather-plugin (0.5.0-0ubuntu2) dapper; urgency=low + + * Fix crash because of missing trailing NULL in g_strconcat() + * Use g_object_unref() instead of g_free() to avoid crash when changing Gtk + style. + + -- Jani Monoses Fri, 28 Apr 2006 23:03:38 +0300 + +xfce4-weather-plugin (0.5.0-0ubuntu1) dapper; urgency=low + + * New upstream release + * Set Standard policy version to 3.6.2 + * Add build-depend libxml-parser-perl + * Set xfce4-panel >= 4.3 + * Bump debhelper + * Do not use Update aclocal libtool in rules (they generate files out + of the debian dir) + * debian/rules: Use xfce.mk CDBS class + * Apply fix for crash with glib-2.10 from upstream bugzilla + + -- Daniele Favara Fri, 10 Mar 2006 01:22:21 +0100 + +xfce4-weather-plugin (0.5-2) unstable; urgency=low + + * Updated build-deps to 4.3.90.2 (Xfce 4.4 Beta2). + * Updated standards version to 3.7.2. + + -- Yves-Alexis Perez Wed, 26 Jul 2006 15:06:32 +0100 + +xfce4-weather-plugin (0.5-1) unstable; urgency=low + + * (Yves-Alexis Perez) + * New upstream release + * Add build-depends on >= 4.3.90.1 + * Removed explicit dependency on xfce4-panel (managed by shlibs) + * (Simon Huggins) + * Set Standard policy version to 3.6.2 + + -- Yves-Alexis Perez Wed, 03 May 2006 19:17:15 +0100 + +xfce4-weather-plugin (0.4.9-2ubuntu3) breezy; urgency=low + + * Remove the libglitz1-dev build-dep. + * Rebuild again to rid us of the unwanted libglitz dependency. + + -- Adam Conrad Tue, 30 Aug 2005 05:50:14 +1000 + +xfce4-weather-plugin (0.4.9-2ubuntu2) breezy; urgency=low + + * Rebuild with the new cairo version + + -- Sebastien Bacher Thu, 18 Aug 2005 17:24:00 +0000 + +xfce4-weather-plugin (0.4.9-2ubuntu1) breezy; urgency=low + + * Fix FTBFS: + + Build-Depend on libglitz1-dev. + + -- Daniel T Chen Thu, 4 Aug 2005 01:53:28 -0700 + +xfce4-weather-plugin (0.4.9-2) unstable; urgency=low + + * Rebuilding to fix libxfcegui dependency (Closes: #315447) + * Moving to unstable + + -- Emanuele Rocca Mon, 20 Jun 2005 21:28:42 +0200 + +xfce4-weather-plugin (0.4.9-1) experimental; urgency=low + + * New upstream release + + -- Emanuele Rocca Sun, 17 Apr 2005 19:38:26 +0200 + +xfce4-weather-plugin (0.4.1-1) experimental; urgency=low + + * New upstream version + - Do not hang when closing properties without changes (Closes: #265249) + * Added libstartup-notification0-dev to Build-depends + * Package adopted by the Debian Xfce Maintainers + * Added note about refreshing informations to NEWS.Debian + (Closes: #265250) + + -- Emanuele Rocca Tue, 29 Mar 2005 15:25:21 +0200 + +xfce4-weather-plugin (0.3.9-1) unstable; urgency=low + + * Initial Release. (Closes: #258600) + + -- Emanuele Rocca Sun, 11 Jul 2004 12:09:48 +0200 --- xfce4-weather-plugin-0.6.2.orig/debian/watch +++ xfce4-weather-plugin-0.6.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://goodies.xfce.org/releases/xfce4-weather-plugin/ \ + xfce4-weather-plugin-(.*)\.tar\.bz2 --- xfce4-weather-plugin-0.6.2.orig/debian/copyright +++ xfce4-weather-plugin-0.6.2/debian/copyright @@ -0,0 +1,19 @@ +This package was debianized by Emanuele Rocca on +Thu, 8 Jul 2004 14:08:20 +0200. + +It was downloaded from + +Upstream Authors: +Benedikt Meurer +Jasper Huijsmans +Masse Nicolas +Nick Schermer + + +Copyright holders: +Copyright (c) 2003-2007 Xfce Development Team + +xfce4-weather-plugin is released under the GNU General Public License (v2). + +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL' --- xfce4-weather-plugin-0.6.2.orig/debian/control +++ xfce4-weather-plugin-0.6.2/debian/control @@ -0,0 +1,24 @@ +Source: xfce4-weather-plugin +Section: x11 +Priority: optional +Maintainer: Xubuntu Developers +XSBC-Original-Maintainer: Debian Xfce Maintainers +Uploaders: Emanuele Rocca , Simon Huggins , Rudy Godoy , Martin Loschwitz , Yves-Alexis Perez +Build-Depends: autotools-dev, cdbs, debhelper (>= 5), xfce4-panel-dev (>= 4.4.1), libxml2-dev, libxml-parser-perl +Standards-Version: 3.7.3 +Homepage: http://goodies.xfce.org/ +Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/xfce4-weather-plugin/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/goodies/xfce4-weather-plugin/ + +Package: xfce4-weather-plugin +Architecture: any +Depends: ${shlibs:Depends} +Description: weather information plugin for the Xfce4 panel + The weather plugin displays information about the current weather according + your timezone and settings. It allows to search weather location code in + the same plugin and displays weather status in little icons. + . + Features include: + - Temperature, atmospheric pressure and state. + - Wind speed, gust, and direction. + - Humidity, Visibility, Dew-point, UV Index. --- xfce4-weather-plugin-0.6.2.orig/debian/compat +++ xfce4-weather-plugin-0.6.2/debian/compat @@ -0,0 +1 @@ +5 --- xfce4-weather-plugin-0.6.2.orig/debian/NEWS +++ xfce4-weather-plugin-0.6.2/debian/NEWS @@ -0,0 +1,9 @@ +xfce4-weather-plugin (0.4.1-1) experimental; urgency=low + + It is possible to refresh the applet status simply clicking with + the central button on it. + + This is particulary useful if you started xfce without a network + connection and bring it up later. + + -- Emanuele Rocca Tue, 29 Mar 2005 15:25:21 +0200 --- xfce4-weather-plugin-0.6.2.orig/debian/patches/03_fix-100%-cpu-with-network-down.patch +++ xfce4-weather-plugin-0.6.2/debian/patches/03_fix-100%-cpu-with-network-down.patch @@ -0,0 +1,20 @@ +--- xfce4-weather-plugin-0.6.2.orig/panel-plugin/weather-http.c ++++ xfce4-weather-plugin-0.6.2/panel-plugin/weather-http.c +@@ -315,7 +315,7 @@ + WeatherConnection *connection = user_data; + + /* close the socket */ +- if (connection->fd != -1) ++ if (connection->fd >= 0) + { + close (connection->fd); + connection->fd = -1; +@@ -398,7 +398,7 @@ + connection->cb_user_data = user_data; + connection->status = STATUS_NOT_EXECUTED; + connection->received = NULL; +- connection->fd = 0; ++ connection->fd = -1; + connection->counter = 1; + + /* start idle function */ --- xfce4-weather-plugin-0.6.2.orig/debian/patches/02_add-weather.com-api-key.patch +++ xfce4-weather-plugin-0.6.2/debian/patches/02_add-weather.com-api-key.patch @@ -0,0 +1,29 @@ +diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c +index 75c3d3c..0eb9487 100644 +--- a/panel-plugin/weather.c ++++ b/panel-plugin/weather.c +@@ -338,9 +338,10 @@ update_weatherdata (xfceweather_data *data) + } + + /* build url */ +- url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c", ++ url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c&link=xoap&prod=xoap&par=%s&key=%s", + data->location_code, XML_WEATHER_DAYF_N, +- data->unit == METRIC ? 'm' : 'i'); ++ data->unit == METRIC ? 'm' : 'i', ++ PARTNER_ID, LICENSE_KEY); + + /* start receive thread */ + weather_http_receive_data ("xoap.weather.com", url, data->proxy_host, +diff --git a/panel-plugin/weather.h b/panel-plugin/weather.h +index ef85749..f0adb47 100644 +--- a/panel-plugin/weather.h ++++ b/panel-plugin/weather.h +@@ -22,6 +22,8 @@ + + #include + #include ++#define PARTNER_ID "1121946239" ++#define LICENSE_KEY "3c4cd39ee5dec84f" + + G_BEGIN_DECLS --- xfce4-weather-plugin-0.6.2.orig/debian/patches/01_save_config.patch +++ xfce4-weather-plugin-0.6.2/debian/patches/01_save_config.patch @@ -0,0 +1,24 @@ +diff -Nur xfce4-weather-plugin-0.6.0/panel-plugin/weather.c xfce4-weather-plugin-0.6.0.new/panel-plugin/weather.c +--- xfce4-weather-plugin-0.6.0/panel-plugin/weather.c 2007-01-17 19:02:39.000000000 +0100 ++++ xfce4-weather-plugin-0.6.0.new/panel-plugin/weather.c 2007-05-13 21:32:47.000000000 +0200 +@@ -417,10 +417,7 @@ + data->location_code = g_strdup (value); + } + +- if (xfce_rc_read_bool_entry (rc, "celcius", TRUE)) +- data->unit = METRIC; +- else +- data->unit = IMPERIAL; ++ data->unit = xfce_rc_read_int_entry (rc, "unit", 0); + + if (data->proxy_host) + { +@@ -495,7 +492,7 @@ + if (!rc) + return; + +- xfce_rc_write_bool_entry (rc, "celcius", (data->unit == METRIC)); ++ xfce_rc_write_int_entry (rc, "unit", data->unit); + + if (data->location_code) + xfce_rc_write_entry (rc, "loc_code", data->location_code);