desktop/xfce4-weather-plugin: Fix "Invalid License Key" errors

This is a temporary fix at best due to the weather dot com folks
deciding to stop offering the service for free; most likely the
weather plugin (and some other weather applets) will need minor
API changes (to use other provider(s)) as more permanent fixes.

https://bugzilla.xfce.org/show_bug.cgi?id=8105

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-11-08 00:27:49 -06:00
parent dec3bd3961
commit 01308a3413
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,16 @@
See comment #9 at https://bugzilla.xfce.org/show_bug.cgi?id=8105
diff -Nur xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather.h xfce4-weather-plugin-0.7.4/panel-plugin/weather.h
--- xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather.h 2011-02-02 14:31:29.000000000 -0600
+++ xfce4-weather-plugin-0.7.4/panel-plugin/weather.h 2011-11-08 00:23:54.948635564 -0600
@@ -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

View file

@ -24,7 +24,7 @@
PRGNAM=xfce4-weather-plugin
VERSION=0.7.4
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -71,6 +71,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# See https://bugzilla.xfce.org/show_bug.cgi?id=8105#c9
patch -p1 < $CWD/temporarily_fix_invalid_license_key.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \