ports/153428: [UPDATE] x11/xfce4-verve-plugin to 1.0.0

Olivier Duchateau duchateau.olivier at gmail.com
Fri Dec 24 13:50:07 UTC 2010


>Number:         153428
>Category:       ports
>Synopsis:       [UPDATE] x11/xfce4-verve-plugin to 1.0.0
>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 Dec 24 13:50:06 UTC 2010
>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:
ChangeLog: http://foo-projects.org/pipermail/xfce/2010-December/028063.html

- Use XFCE master site macro, instead of one mirror.
- Add NLS (Native Language Support) and DBUS options

Note: this port was tested under Xfce 4.8pre2 (the next stable version of Xfce4).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/x11/xfce4-verve-plugin/Makefile xfce4-verve-plugin/Makefile
--- /usr/ports/x11/xfce4-verve-plugin/Makefile	2010-05-31 17:27:34.000000000 +0200
+++ xfce4-verve-plugin/Makefile	2010-12-24 14:02:08.000000000 +0100
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	verve-plugin
-PORTVERSION=	0.3.6
-PORTREVISION=	8
+PORTVERSION=	1.0.0
 CATEGORIES=	x11 xfce
-MASTER_SITES=	http://goodies.xfce.org/releases/xfce4-verve-plugin/
+MASTER_SITES=	${MASTER_SITE_XFCE}
+MASTER_SITE_SUBDIR=	src/panel-plugins/${DISTNAME:S/-${PORTVERSION}//}/${PORTVERSION:R}
 PKGNAMEPREFIX=	xfce4-
 DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	xfce4
@@ -17,14 +17,38 @@
 MAINTAINER=	miwi at FreeBSD.org
 COMMENT=	A command line plugin for xfce4
 
-RUN_DEPENDES=	dbus-daemon:${PORTSDIR}/devel/dbus
-LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
 
+USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
-USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnometarget gtk20 intltool intlhack pkgconfig
-USE_XFCE=	configenv panel libexo libutil
+USE_GNOME=	gnomehack glib20 intltool intlhack pkgconfig
+USE_XFCE=	configenv panel libexo libgui libutil
+
+CONFIGURE_ARGS=	--disable-debug
+
+OPTIONS=	NLS "Enable Native Language Support" on \
+		DBUS "Enable D-BUS support" on
+
+.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
+
+.if !defined(WITHOUT_DBUS)
+LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+CONFIGURE_ARGS+=--enable-dbus
+PLIST_SUB+=	DBUS=""
+.else
+CONFIGURE_ARGS+=--disable-dbus
+PLIST_SUB+=	DBUS="@comment "
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/x11/xfce4-verve-plugin/distinfo xfce4-verve-plugin/distinfo
--- /usr/ports/x11/xfce4-verve-plugin/distinfo	2008-11-29 21:58:36.000000000 +0100
+++ xfce4-verve-plugin/distinfo	2010-12-24 14:02:08.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (xfce4/xfce4-verve-plugin-0.3.6.tar.bz2) = 1dee60c7c4e11130226cab381fcb945c
-SHA256 (xfce4/xfce4-verve-plugin-0.3.6.tar.bz2) = a36991328ce4080b615f2e603628f397feb03848a5cabbedf0f5a8f4d701239f
-SIZE (xfce4/xfce4-verve-plugin-0.3.6.tar.bz2) = 283337
+SHA256 (xfce4/xfce4-verve-plugin-1.0.0.tar.bz2) = d011a47ed3b075afdb9673342537fae5deeedc7834daf64b95bc0b541545f1a3
+SIZE (xfce4/xfce4-verve-plugin-1.0.0.tar.bz2) = 324945
diff -urN /usr/ports/x11/xfce4-verve-plugin/pkg-plist xfce4-verve-plugin/pkg-plist
--- /usr/ports/x11/xfce4-verve-plugin/pkg-plist	2008-11-29 21:58:36.000000000 +0100
+++ xfce4-verve-plugin/pkg-plist	2010-12-24 14:02:08.000000000 +0100
@@ -1,40 +1,52 @@
-bin/verve-focus
+%%DBUS%%bin/verve-focus
 libexec/xfce4/panel-plugins/xfce4-verve-plugin
-share/locale/ar/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/ca/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/cs/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/da/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/de/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/el/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/en_GB/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/eo/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/es/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/eu/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/fi/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/fr/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/gl/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/hu/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/id/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/it/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/ja/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/lv/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/nb_NO/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/nl/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/pa/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/pl/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/pt_BR/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/pt_PT/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/ru/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/uk/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/ur/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/vi/LC_MESSAGES/xfce4-verve-plugin.mo
-share/locale/zh_TW/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/da/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/el/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/id/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ug/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ur/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-verve-plugin.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-verve-plugin.mo
 share/xfce4/panel-plugins/xfce4-verve-plugin.desktop
 @dirrmtry share/xfce4/panel-plugins
 @dirrmtry share/xfce4
- at dirrmtry share/locale/ur/LC_MESSAGES
- at dirrmtry share/locale/ur
- at dirrmtry share/locale/nb_NO/LC_MESSAGES
- at dirrmtry share/locale/nb_NO
+%%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