Date: Thu, 1 Nov 2012 18:30:54 GMT From: Otacílio de Araújo Ramos Neto <otacilio.neto@ee.ufcg.edu.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173267: update of gvfs port to disable gvfs-afc-volume-monitor Message-ID: <201211011830.qA1IUs9J025284@red.freebsd.org> Resent-Message-ID: <201211011840.qA1Ie08M095167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173267 >Category: ports >Synopsis: update of gvfs port to disable gvfs-afc-volume-monitor >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: Thu Nov 01 18:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Otacílio de Araújo Ramos Neto >Release: 8.3-RELEASE-p4 >Organization: >Environment: FreeBSD squitch 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #24: Tue Oct 16 14:24:51 BRT 2012 ota@squitch:/usr/obj/usr/src/sys/SQUITCH i386 >Description: I'm with a problem with the process gvfs-afc-volume-monitor. This process take 100% of CPU and respaw after a while when I kill it. I have noted that some files of this port (gvfs) are not on pkg-plist like: libexec/gvfsd-afc libexec/gvfs-afc-volume-monitor share/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service share/gvfs/mounts/afc.mount share/gvfs/remote-volume-monitors/afc.monitor So I did a patch to this port where the user can disable afc and fix this pkg-plist. >How-To-Repeat: >Fix: Apply this follow patch to port and disable AFC suport before install the port. Patch attached with submission follows: Index: pkg-plist =================================================================== --- pkg-plist (revisão 306772) +++ pkg-plist (cópia de trabalho) @@ -30,6 +30,7 @@ lib/libgvfscommon.la lib/libgvfscommon.so lib/libgvfscommon.so.0 +lib/gio/modules/giomodule.cache %%FUSE%%libexec/gvfs-fuse-daemon %%GPHOTO2%%libexec/gvfs-gphoto2-volume-monitor %%HAL%%libexec/gvfs-hal-volume-monitor @@ -39,6 +40,8 @@ %%CDDA%%libexec/gvfsd-cdda libexec/gvfsd-computer libexec/gvfsd-dav +%%AFC%%libexec/gvfsd-afc +%%AFC%%libexec/gvfs-afc-volume-monitor %%AVAHI%%libexec/gvfsd-dnssd libexec/gvfsd-ftp %%GPHOTO2%%libexec/gvfsd-gphoto2 @@ -52,6 +55,9 @@ libexec/gvfsd-trash share/dbus-1/services/gvfs-daemon.service share/dbus-1/services/gvfs-metadata.service +%%AFC%%share/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service +%%AFC%%share/gvfs/mounts/afc.mount +%%AFC%%share/gvfs/remote-volume-monitors/afc.monitor %%GPHOTO2%%share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service %%HAL%%share/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service share/gvfs/mounts/archive.mount Index: Makefile =================================================================== --- Makefile (revisão 306772) +++ Makefile (cópia de trabalho) @@ -8,7 +8,7 @@ PORTNAME= gvfs PORTVERSION= 1.6.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -34,7 +34,8 @@ SAMBA "Enable Samba" on \ GPHOTO2 "Enable Gphoto 2 camera support (required HAL)" on \ CDDA "Enable CDDA (required HAL)" on \ - HAL "Enable HAL" on + HAL "Enable HAL" on \ + AFC "Enable afc" off .include <bsd.port.pre.mk> @@ -88,6 +89,13 @@ PLIST_SUB+= HAL="@comment " .endif +.if defined(WITH_AFC) +PLIST_SUB+= AFC="" +.else +CONFIGURE_ARGS+=--disable-afc +PLIST_SUB+= AFC="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \ ${WRKSRC}/gconf/Makefile.in >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211011830.qA1IUs9J025284>