Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 10:40:53 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426027 - in head/sysutils/xfce4-mount-plugin: . files
Message-ID:  <201611131040.uADAerox043842@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sun Nov 13 10:40:53 2016
New Revision: 426027
URL: https://svnweb.freebsd.org/changeset/ports/426027

Log:
  - Don't call fusermount for fuse mount points
  - Bump PORTREVISION
  
  While I'm here, adjust dependencies (reported by QA script)
  
  PR:		214336
  Submitted by:	<rozhuk.im@gmail.com>
  MFH:		2016Q4

Added:
  head/sysutils/xfce4-mount-plugin/files/
  head/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c   (contents, props changed)
Modified:
  head/sysutils/xfce4-mount-plugin/Makefile

Modified: head/sysutils/xfce4-mount-plugin/Makefile
==============================================================================
--- head/sysutils/xfce4-mount-plugin/Makefile	Sun Nov 13 10:31:26 2016	(r426026)
+++ head/sysutils/xfce4-mount-plugin/Makefile	Sun Nov 13 10:40:53 2016	(r426027)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xfce4-mount-plugin
 PORTVERSION=	0.6.7
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils xfce
 MASTER_SITES=	XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	xfce4
@@ -13,11 +13,14 @@ COMMENT=	Mount and umount utility for th
 
 LICENSE=	GPLv2
 
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+	libfreetype.so:print/freetype2
+
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 INSTALL_TARGET=	install-strip
 USES=		gettext gmake libtool pkgconfig xfce tar:bzip2
-USE_GNOME=	intltool intlhack
+USE_GNOME=	gtk20 cairo intltool intlhack
 USE_LDCONFIG=	yes
 USE_XFCE=	panel
 

Added: head/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c	Sun Nov 13 10:40:53 2016	(r426027)
@@ -0,0 +1,14 @@
+--- panel-plugin/devices.c.orig	2014-04-26 21:31:42 UTC
++++ panel-plugin/devices.c
+@@ -329,9 +329,11 @@ disk_umount (t_disk *pdisk, char* umount
+     {
+ 
+         DBG("disk_umount: dev=%s, mountpoint=%s, umount_command=%s, show_message_dialog=%d, eject=%d, type=%s", pdisk->device, pdisk->mount_point, umount_command, show_message_dialog, eject, pdisk->mount_info->type);
++#if !defined(__FreeBSD__) || !defined(__DragonFly__)
+         if (strstr(pdisk->mount_info->type, "fuse"))
+           deviceprintf(&tmp, "fusermount -u %m", pdisk->device);
+         else
++#endif
+           deviceprintf(&tmp, umount_command, pdisk->device);
+         
+         mountpointprintf(&cmd, tmp, pdisk->mount_point);



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