ports/167427: [PATCH] x11/xfce4-screenshooter-plugin
Olivier Duchateau
duchateau.olivier at gmail.com
Sun Apr 29 15:50:10 UTC 2012
>Number: 167427
>Category: ports
>Synopsis: [PATCH] x11/xfce4-screenshooter-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 Apr 29 15:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Olivier Duchateau
>Release: FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
Correct Makefile, because it depends of x11/libxfce4menu not x11-toolkits/libxfce4gui.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -u /usr/ports/x11/xfce4-screenshooter-plugin/Makefile xfce4-screenshooter-plugin/Makefile
--- /usr/ports/x11/xfce4-screenshooter-plugin/Makefile 2011-10-26 22:27:23.000000000 +0200
+++ xfce4-screenshooter-plugin/Makefile 2012-04-29 16:02:50.000000000 +0200
@@ -7,6 +7,7 @@
PORTNAME= xfce4-screenshooter-plugin
PORTVERSION= 1.8.0
+PORTREVISION= 1
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/apps/xfce4-screenshooter/${PORTVERSION:R}
@@ -24,8 +25,9 @@
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_ICONS= yes
-USE_GNOME= glib20 gtk20 intltool intlhack pkgconfig
-USE_XFCE= configenv panel libutil libgui
+USE_GNOME= glib20 gtk20 intltool intlhack pkgconfig desktopfileutils
+USE_XFCE= configenv libexo panel libutil libmenu
+USE_XORG= xext xfixes
MAN1= xfce4-screenshooter.1
.include <bsd.port.pre.mk>
@@ -41,4 +43,7 @@
post-patch:
@${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|g' ${WRKSRC}/Makefile.in
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.post.mk>
Common subdirectories: /usr/ports/x11/xfce4-screenshooter-plugin/files and xfce4-screenshooter-plugin/files
diff -u /usr/ports/x11/xfce4-screenshooter-plugin/pkg-plist xfce4-screenshooter-plugin/pkg-plist
--- /usr/ports/x11/xfce4-screenshooter-plugin/pkg-plist 2011-08-26 08:39:47.000000000 +0200
+++ xfce4-screenshooter-plugin/pkg-plist 2012-04-29 15:37:06.000000000 +0200
@@ -111,8 +111,8 @@
share/locale/zh_CN/LC_MESSAGES/xfce4-screenshooter.mo
share/locale/zh_TW/LC_MESSAGES/xfce4-screenshooter.mo
share/xfce4/panel-plugins/screenshooter.desktop
- at dirrm share/xfce4/panel-plugins
- at dirrm share/xfce4
+ at dirrmtry share/xfce4/panel-plugins
+ at dirrmtry share/xfce4
@dirrmtry share/locale/ur_PK/LC_MESSAGES
@dirrmtry share/locale/ur_PK
@dirrmtry share/locale/ur/LC_MESSAGES
@@ -152,6 +152,7 @@
@dirrm %%DOCSDIR%%/C/images
@dirrm %%DOCSDIR%%/C
@dirrm %%DOCSDIR%%
- at dirrmtry share/applications
@dirrmtry libexec/xfce4/panel-plugins
@dirrmtry libexec/xfce4
+ at exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true
+ at unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list