diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-11-08 00:27:49 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-08 00:27:49 -0600 |
commit | 01308a3413c3f33912e331c8d76a865f8f309f86 (patch) | |
tree | 3c6141edf3dc747a7580f4e4435fde61d1a191ee /desktop/xfce4-weather-plugin | |
parent | dec3bd3961a1e2897392e9658d5631df84380138 (diff) | |
download | slackbuilds-01308a3413c3f33912e331c8d76a865f8f309f86.tar.gz |
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>
Diffstat (limited to 'desktop/xfce4-weather-plugin')
-rw-r--r-- | desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch | 16 | ||||
-rw-r--r-- | desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild | 5 |
2 files changed, 20 insertions, 1 deletions
diff --git a/desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch b/desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch new file mode 100644 index 0000000000..1772b3c647 --- /dev/null +++ b/desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch @@ -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 + diff --git a/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild b/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild index 48e92d73f3..6f56315d87 100644 --- a/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild +++ b/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild @@ -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 \ |