ports/154515: [UPDATE] misc/xfce4-weather-plugin to 0.7.4

Olivier Duchateau duchateau.olivier at gmail.com
Fri Feb 4 21:50:10 UTC 2011


>Number:         154515
>Category:       ports
>Synopsis:       [UPDATE] misc/xfce4-weather-plugin to 0.7.4
>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:   Fri Feb 04 21:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.1-RELEASE
>Organization:
>Environment:
FreeBSD bornem.errements.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
- Use XFCE master site macro, instead of one mirror.
- Add NLS (Native Language Support) option

Note: this port was tested with Xfce 4.8 (there are some adjustements to do), but target is Xfce 4.6.2 (which is a current version in ports tree).

Also in Mk/bsd.sites.mk, Xfce's mirrors are not up to date, I used Oliver's list (the maintainer of Xfce in ports tree).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/misc/xfce4-weather-plugin/Makefile xfce4-weather-plugin/Makefile
--- /usr/ports/misc/xfce4-weather-plugin/Makefile	2010-05-31 17:27:24.000000000 +0200
+++ xfce4-weather-plugin/Makefile	2011-02-04 22:40:54.000000000 +0100
@@ -6,21 +6,33 @@
 #
 
 PORTNAME=	xfce4-weather-plugin
-PORTVERSION=	0.7.3
-PORTREVISION=	5
+PORTVERSION=	0.7.4
 CATEGORIES=	misc xfce geography
-MASTER_SITES=	http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.7/
+MASTER_SITES=	${MASTER_SITE_XFCE}
+MASTER_SITE_SUBDIR=	src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	xfce4
 
 MAINTAINER=	miwi at FreeBSD.org
 COMMENT=	XFce 4 weather module for xfce4-panel
 
+USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 USE_BZIP2=	yes
-USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnometarget glib20 gtk20 intltool intlhack libxml2 pkgconfig
+USE_GNOME=	gnomehack glib20 gtk20 intltool intlhack libxml2 pkgconfig
 USE_XFCE=	configenv libgui libutil panel
+INSTALLS_ICONS=	yes
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=	yes
+CONFIGURE_ARGS+=--enable-nls
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/misc/xfce4-weather-plugin/distinfo xfce4-weather-plugin/distinfo
--- /usr/ports/misc/xfce4-weather-plugin/distinfo	2009-08-28 09:26:18.000000000 +0200
+++ xfce4-weather-plugin/distinfo	2011-02-03 14:35:33.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (xfce4/xfce4-weather-plugin-0.7.3.tar.bz2) = b3436929dd94cdd8acc744c474cca5c4
-SHA256 (xfce4/xfce4-weather-plugin-0.7.3.tar.bz2) = 3b369296ecf5b89a9906264647212b88c7ed5fdd3b2e54021e9b6dcd0463a5ab
-SIZE (xfce4/xfce4-weather-plugin-0.7.3.tar.bz2) = 658780
+SHA256 (xfce4/xfce4-weather-plugin-0.7.4.tar.bz2) = 3f76207b8a845d15bfec6825bd5300aedd086c455259c4dd8670a89a3c8ab382
+SIZE (xfce4/xfce4-weather-plugin-0.7.4.tar.bz2) = 686773
diff -urN /usr/ports/misc/xfce4-weather-plugin/pkg-plist xfce4-weather-plugin/pkg-plist
--- /usr/ports/misc/xfce4-weather-plugin/pkg-plist	2009-08-28 09:26:18.000000000 +0200
+++ xfce4-weather-plugin/pkg-plist	2011-02-04 22:40:54.000000000 +0100
@@ -1,37 +1,41 @@
 libexec/xfce4/panel-plugins/xfce4-weather-plugin
 share/icons/hicolor/48x48/apps/xfce4-weather.png
-share/locale/ar/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/ca/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/cs/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/da/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/de/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/en_GB/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/es/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/eu/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/fi/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/fr/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/gl/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/hu/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/id/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/it/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/ja/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/lt/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/lv/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/nb/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/nl/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/pa/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/pl/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/pt/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/pt_BR/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/sk/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/sq/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/sv/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/tr/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/uk/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/ur/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/ur_PK/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/zh_CN/LC_MESSAGES/xfce4-weather-plugin.mo
-share/locale/zh_TW/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/da/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/el/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/id/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ug/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ur/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-weather-plugin.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-weather-plugin.mo
 share/xfce4/panel-plugins/weather.desktop
 share/xfce4/weather/icons/liquid/0.png
 share/xfce4/weather/icons/liquid/1.png
@@ -87,9 +91,13 @@
 @dirrm share/xfce4/weather
 @dirrmtry share/xfce4/panel-plugins
 @dirrmtry share/xfce4
- at dirrmtry share/locale/ur_PK/LC_MESSAGES
- at dirrmtry share/locale/ur_PK
- at dirrmtry share/locale/ur/LC_MESSAGES
- at dirrmtry share/locale/ur
+%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ur_PK
+%%NLS%%@dirrmtry share/locale/ur/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ur
+%%NLS%%@dirrmtry share/locale/ug/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ug
+%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ast
 @dirrmtry libexec/xfce4/panel-plugins
 @dirrmtry libexec/xfce4


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



More information about the freebsd-ports-bugs mailing list