gvfs-afc-volume-monitor
Otacílio
otacilio.neto at bsd.com.br
Thu Nov 1 03:43:21 UTC 2012
Dears
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.
What do you think about this? Is a good solution?
-Otacílio
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
More information about the freebsd-gnome
mailing list