Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2011 19:53:44 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163189: [PATCH] misc/xfce4-weather-plugin
Message-ID:  <201112111953.pBBJri5K085249@red.freebsd.org>
Resent-Message-ID: <201112112000.pBBK0ALA055556@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163189
>Category:       ports
>Synopsis:       [PATCH] misc/xfce4-weather-plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 11 20:00:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
I found a patch [1] which fixes (temporarily) this plugin. It used into Debian, Gentoo, Arch Linux.

[1] https://bugzilla.xfce.org/show_bug.cgi?id=8105#c9
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/misc/xfce4-weather-plugin/Makefile xfce4-weather-plugin/Makefile
--- /usr/ports/misc/xfce4-weather-plugin/Makefile	2011-11-06 17:32:42.000000000 +0100
+++ xfce4-weather-plugin/Makefile	2011-12-11 20:38:35.000000000 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	xfce4-weather-plugin
 PORTVERSION=	0.7.4
+PORTREVISION=	1
 CATEGORIES=	misc xfce geography
 MASTER_SITES=	${MASTER_SITE_XFCE}
 MASTER_SITE_SUBDIR=/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
@@ -15,14 +16,18 @@
 MAINTAINER=	xfce@FreeBSD.org
 COMMENT=	Xfce 4 weather module for xfce4-panel
 
-IGNORE=		free data feed service discontinued
-
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	glib20 gtk20 intltool intlhack libxml2 pkgconfig
+USE_GNOME=	gnomehack glib20 gtk20 intltool intlhack libxml2 pkgconfig
 USE_XFCE=	configenv libgui libutil panel
 
+post-patch:
+# Patch taken from https://bugzilla.xfce.org/show_bug.cgi?id=8105#c9 
+	@${REINPLACE_CMD} -e 's|1121946239|1003666583| ; \
+		s|3c4cd39ee5dec84f|4128909340a9b2fc|' \
+		${WRKSRC}/panel-plugin/weather.h
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112111953.pBBJri5K085249>