Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2011 20:29:05 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154275: [UPDATE] deskutils/xfce4-notes-plugin to 1.7.7
Message-ID:  <201101242029.p0OKT5wH002851@red.freebsd.org>
Resent-Message-ID: <201101242030.p0OKUF7K082099@freefall.freebsd.org>

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

>Number:         154275
>Category:       ports
>Synopsis:       [UPDATE] deskutils/xfce4-notes-plugin to 1.7.7
>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:   Mon Jan 24 20:30:15 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@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 make), but target is Xfce 4.6.2 (which is a current version in ports tree).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/deskutils/xfce4-notes-plugin/Makefile xfce4-notes-plugin/Makefile
--- /usr/ports/deskutils/xfce4-notes-plugin/Makefile	2010-07-10 09:38:13.000000000 +0200
+++ xfce4-notes-plugin/Makefile	2011-01-24 21:14:58.000000000 +0100
@@ -6,9 +6,10 @@
 #
 
 PORTNAME=	xfce4-notes-plugin
-PORTVERSION=	1.7.6
+PORTVERSION=	1.7.7
 CATEGORIES=	deskutils xfce
-MASTER_SITES=	http://archive.xfce.org/src/panel-plugins/${PORTNAME}/1.7/
+MASTER_SITES=	${MASTER_SITE_XFCE}
+MASTER_SITE_SUBDIR=	src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	xfce4
 
 MAINTAINER=	miwi@FreeBSD.org
@@ -16,12 +17,32 @@
 
 LIB_DEPENDS=	unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
 
+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 libgui libutil panel
+USE_GNOME=	gnomehack glib20 gtk20 intltool intlhack desktopfileutils pkgconfig
+USE_XFCE=	configenv libgui libutil panel xfconf
+USE_XORG=	x11
 INSTALLS_ICONS=	yes
 
-.include <bsd.port.mk>
+CONFIGURE_ARGS=	--disable-debug \
+		--disable-maintainer-mode
+
+OPTIONS=	NLS "Enable Native Language 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
+
+post-install:
+	@-update-desktop-database
+
+.include <bsd.port.post.mk>
diff -urN /usr/ports/deskutils/xfce4-notes-plugin/distinfo xfce4-notes-plugin/distinfo
--- /usr/ports/deskutils/xfce4-notes-plugin/distinfo	2010-07-10 09:38:13.000000000 +0200
+++ xfce4-notes-plugin/distinfo	2011-01-21 21:43:14.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (xfce4/xfce4-notes-plugin-1.7.6.tar.bz2) = a9fff3633f2d0b87f57f4aa93a8a3784
-SHA256 (xfce4/xfce4-notes-plugin-1.7.6.tar.bz2) = 0e7cf9703ab584a53ffe0d049cf42562f7342212f47bbd7159ae659923a4604a
-SIZE (xfce4/xfce4-notes-plugin-1.7.6.tar.bz2) = 446554
+SHA256 (xfce4/xfce4-notes-plugin-1.7.7.tar.bz2) = a7baa105b37ad05dea4d6b55d98fd3214c77ad5c7a0e91471d4906c81e5f5217
+SIZE (xfce4/xfce4-notes-plugin-1.7.7.tar.bz2) = 472082
diff -urN /usr/ports/deskutils/xfce4-notes-plugin/pkg-plist xfce4-notes-plugin/pkg-plist
--- /usr/ports/deskutils/xfce4-notes-plugin/pkg-plist	2010-07-10 09:38:13.000000000 +0200
+++ xfce4-notes-plugin/pkg-plist	2011-01-24 21:14:58.000000000 +0100
@@ -2,49 +2,53 @@
 bin/xfce4-notes-settings
 bin/xfce4-popup-notes
 etc/xdg/autostart/xfce4-notes-autostart.desktop
-libexec/xfce4/panel-plugins/xfce4-notes-plugin
+lib/xfce4/panel-plugins/libnotes.a
+lib/xfce4/panel-plugins/libnotes.la
+lib/xfce4/panel-plugins/libnotes.so
+lib/xfce4/panel-plugins/libnotes.so.0
 share/applications/xfce4-notes.desktop
 share/icons/hicolor/16x16/apps/xfce4-notes-plugin.png
 share/icons/hicolor/22x22/apps/xfce4-notes-plugin.png
 share/icons/hicolor/24x24/apps/xfce4-notes-plugin.png
 share/icons/hicolor/32x32/apps/xfce4-notes-plugin.png
 share/icons/hicolor/scalable/apps/xfce4-notes-plugin.svg
-share/locale/ar/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ast/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ca/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/cs/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/da/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/de/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/el/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/en_GB/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/es/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/eu/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/fi/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/fr/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/gl/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/hu/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/id/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/it/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ja/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/kk/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/lv/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/nb/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/nl/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/pl/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/pt/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/pt_BR/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ro/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ru/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/sk/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/sq/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/sv/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/tr/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/uk/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ur/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/ur_PK/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/vi/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/zh_CN/LC_MESSAGES/xfce4-notes-plugin.mo
-share/locale/zh_TW/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/da/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/el/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/id/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/kk/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ug/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ur/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-notes-plugin.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-notes-plugin.mo
 %%DATADIR%%/gtk-2.0/gradient.png
 %%DATADIR%%/gtk-2.0/notes.gtkrc
 %%DATADIR%%/gtk-2.0/scrollbars/slider-horiz-active.png
@@ -63,21 +67,27 @@
 %%DATADIR%%/gtk-2.0/scrollbars/trough-scrollbar-vert.png
 %%DATADIR%%/pixmaps/notes-menu-active.png
 %%DATADIR%%/pixmaps/notes-menu.png
-share/xfce4/panel-plugins/xfce4-notes-plugin.desktop
+share/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop
+@exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true 
+@unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true 
 @dirrmtry share/xfce4/panel-plugins
 @dirrmtry share/xfce4
 @dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%/gtk-2.0/scrollbars
 @dirrm %%DATADIR%%/gtk-2.0
 @dirrm %%DATADIR%%
-@dirrmtry share/locale/ur_PK/LC_MESSAGES
-@dirrmtry share/locale/ur_PK
-@dirrmtry share/locale/ur/LC_MESSAGES
-@dirrmtry share/locale/ur
-@dirrmtry share/locale/kk/LC_MESSAGES
-@dirrmtry share/locale/kk
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
-@dirrmtry share/applications
-@dirrmtry libexec/xfce4/panel-plugins
-@dirrmtry libexec/xfce4
+@dirrmtry share/xfce4
+%%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/kk/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/kk
+%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ast
+@dirrmtry lib/xfce4/panel-plugins
+@dirrmtry lib/xfce4
+@dirrmtry etc/xdg/autostart
+@dirrmtry etc/xdg


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



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