xfce4-weather-plugin Fix for Slackware

Some of you Slackers out there who use this panel applet may have noticed that it’s no longer updating.

There’s a reason why: Xfce Bugzilla – Bug 8105.

I’d been sloughing this off for a few weeks now. Today, I decided I was going to find a way to fix the damned thing… or dump it from my panel. I had noticed last night that it was still working fine in my Arch installation. Hmm… seems that the Arch folks patched their package with a working license key and partner ID to alleviate the bug issue reported above.

I snooped around a bit and found that good ol’ Robby Workman had already posted a patch for the SlackBuild. Excellent! I downloaded a fresh SlackBuild and source for the app and went to work.

The first thing you want to do is extract the /xfce4-weather-plugin-0.7.4/panel-plugin/weather.h file from the source tarball. Modify this file as per the patch linked above by exchanging the old license key/partner ID for the newer ones:

remove:

#define PARTNER_ID       “1121946239”
#define LICENSE_KEY      “3c4cd39ee5dec84f”

add:

#define PARTNER_ID       “1003666583”
#define LICENSE_KEY      “4128909340a9b2fc”

Once that’s done, save the file and add it back to the tarball.

Now you can build and install your SlackBuild as you normally would. After which, your xfce4-weather-plugin will work again. YAY! Thanks, Robby! :)

NOTE: I found no need to modify the SlackBuild file as Robby does for his patch. It worked fine without any changes.

Enjoy your weather, wherever you may be.

Later…

~Eric

About these ads

5 Comments on “xfce4-weather-plugin Fix for Slackware”

  1. Barnaby says:

    Hey, cool Eric and thanks for the tip. I had been wondering two or three times why it did not update was too busy to really care find out. Good thing I got you linked on my page so I always see your latest update ;) Take care -

    • Hiya, Barnaby!

      I’m glad you were able to use this info. Of course, credit where credit is due… 1) the Arch devs for creating a fix in Arch, and 2) to Robby Workman for patching the SlackBuild for Slackware.

      I’m just the messenger. :)

      Thanks for reading/commenting. It’s nice to know someone still comes by here every so often. ;)

  2. Tamas says:

    Thanks for the tip, with your help I managed to patch the Debian Testing package. For those who are interested, these are the steps (with root):

    1. apt-get source xfce4-weather-plugin
    2. apt-get build-dep xfce4-weather-plugin
    3. cd xfce4-weather-plugin-*
    4. do the changes to weather.h mentioned in the above post
    5. edit debian/changelog – add a new entry to the top, with a new version number, for example I added:

    xfce4-weather-plugin (0.7.4-tamas) unstable; urgency=low

    * New partner id and license key.

    — Tamas Marki Mon, 21 Nov 2011 20:55:02 +0200

    6. dpkg-buildpackage -rfakeroot -uc -b
    7. dpkg -i ../xfce4-weather-plugin-*deb

    After these steps the new, patched version will be installed, and you can use it right away.

    • Hi Tamas! I’m glad that you found the article helpful. Debian was one of my first Linux loves. It’s only recently that I haven’t had an installation of Debian somewhere on my machines. I had some initial issues installing 6.0 when it first came out. I need to download a fresh .iso and attempt and install again. I have a set of partitions on my main system and on one of my secondary systems just sitting there waiting for Debian. This will serve as a reminder note for me to go download Debian as soon as I have a minute or two.

      Have a great day! :)

      ~Eric


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 42 other followers