The weather.com XOAP API key used by the xfce weather plugin has
expired. The plugin keeps showing "No data".

The real problem is that weather.com is cancelling its free service.
The plugin authors now want to rewrite the plugin to use a different
provider. A different API key obtained from another open source project
can keep the plugin working for now.
See for details: https://bugzilla.xfce.org/show_bug.cgi?id=8105

Should we apply this patch? I don't know if this breaks weather.com
terms of use. I don't care for my own personal use. But I don't know
if committing this to the CVS repository is ok.

The alternative is to mark the package BROKEN until upstream releases
a new release which uses a free provider. We can always point people
to this patch in the list archives if they need it.

Thoughts?

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/xfce4/xfce4-weather/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile    3 Dec 2011 22:39:12 -0000       1.41
+++ Makefile    10 Dec 2011 13:54:47 -0000
@@ -4,7 +4,7 @@ COMMENT=        Xfce4 temperature/weather condi
 
 XFCE_VERSION=  0.7.4
 XFCE_PLUGIN=   weather
-REVISION=      2
+REVISION=      3
 
 # GPLv2
 PERMIT_DISTFILES_CDROM=        Yes
Index: patches/patch-panel-plugin_weather_h
===================================================================
RCS file: patches/patch-panel-plugin_weather_h
diff -N patches/patch-panel-plugin_weather_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-panel-plugin_weather_h        10 Dec 2011 13:11:49 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+Temporary hack to get data updates working (expired XOAP license key).
+See https://bugzilla.xfce.org/show_bug.cgi?id=8105
+and 
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xfce4-weather-plugin&id=ea5bc563d6deeeb531a8509da684d36b3ad9a58e
+--- panel-plugin/weather.h.orig        Sat Dec 10 14:10:28 2011
++++ panel-plugin/weather.h     Sat Dec 10 14:10:47 2011
+@@ -21,8 +21,8 @@
+ #include <libxfce4panel/libxfce4panel.h>
+ #include <libxfce4util/libxfce4util.h>
+ #define PLUGIN_WEBSITE   
"http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin";
+-#define PARTNER_ID       "1121946239"
+-#define LICENSE_KEY      "3c4cd39ee5dec84f"
++#define PARTNER_ID       "1003666583"
++#define LICENSE_KEY      "4128909340a9b2fc"
+ 
+ G_BEGIN_DECLS
+ 

Reply via email to