diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-25 10:20:26 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-25 10:20:26 +0800 |
commit | 6fd4afa2f1a534545f82ce94be37a51b5e2173ac (patch) | |
tree | 1a0a95ffb093a747cc747a492fe63f6e13a746a7 /devel | |
parent | 1cbe26a7de85866d3a8c2ffd61fc5345128efd4f (diff) | |
download | marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.tar marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.tar.gz marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.tar.bz2 marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.tar.lz marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.tar.xz marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.tar.zst marcuscom-ports-6fd4afa2f1a534545f82ce94be37a51b5e2173ac.zip |
- Update to 2.15.90
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6767 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gnome-vfs/Makefile | 8 | ||||
-rw-r--r-- | devel/gnome-vfs/distinfo | 6 | ||||
-rw-r--r-- | devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-monitor.c | 131 | ||||
-rw-r--r-- | devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c | 10 | ||||
-rw-r--r-- | devel/gnome-vfs/files/patch-modules_file-method-acl.c | 6 | ||||
-rw-r--r-- | devel/gnome-vfs/pkg-plist | 3 |
6 files changed, 11 insertions, 153 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile index 2acbdff59..c47ff3b93 100644 --- a/devel/gnome-vfs/Makefile +++ b/devel/gnome-vfs/Makefile @@ -3,12 +3,12 @@ # Whom: Ade Lovett <ade@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/gnome-vfs/Makefile,v 1.151 2006/07/22 20:45:37 mezz Exp $ +# $MCom: ports/devel/gnome-vfs/Makefile,v 1.152 2006/07/23 18:48:39 marcus Exp $ # PORTNAME= gnome-vfs -PORTVERSION= 2.15.3 -PORTREVISION?= 4 +PORTVERSION= 2.15.90 +PORTREVISION?= 0 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-vfs/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -99,8 +99,6 @@ pre-configure: post-install: @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${MV} -f ${PREFIX}/share/dbus-1/services/gnome-vfs-daemon.service \ - ${PREFIX}/share/dbus-1/services/org.gnome.GnomeVFS.Daemon.service .include <bsd.port.post.mk> diff --git a/devel/gnome-vfs/distinfo b/devel/gnome-vfs/distinfo index c2f706801..72c15a625 100644 --- a/devel/gnome-vfs/distinfo +++ b/devel/gnome-vfs/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gnome-vfs-2.15.3.tar.bz2) = f7eb8f2c658d6c8dfc34b5a2161e6890 -SHA256 (gnome2/gnome-vfs-2.15.3.tar.bz2) = 30fe94196a41565f66cf4f8a876dcb10f2ea3fcb1b0b2cb20f0863138ff3c5e8 -SIZE (gnome2/gnome-vfs-2.15.3.tar.bz2) = 1842761 +MD5 (gnome2/gnome-vfs-2.15.90.tar.bz2) = 5922610d181ec7a8b35aeb826dbe107d +SHA256 (gnome2/gnome-vfs-2.15.90.tar.bz2) = 1a22e82e02f66ed8a623429a96486d1ae42370701b9c2dd311666f34a4ca0dae +SIZE (gnome2/gnome-vfs-2.15.90.tar.bz2) = 1861993 diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-monitor.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-monitor.c deleted file mode 100644 index 11d73973b..000000000 --- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-monitor.c +++ /dev/null @@ -1,131 +0,0 @@ ---- libgnomevfs/gnome-vfs-monitor.c.orig Fri May 12 20:46:39 2006 -+++ libgnomevfs/gnome-vfs-monitor.c Fri May 12 22:29:57 2006 -@@ -48,9 +48,6 @@ - - GList *pending_callbacks; /* protected by handle_hash */ - guint pending_timeout; /* protected by handle_hash */ -- guint timeout_count; /* count up each time pending_timeout is changed -- to avoid timeout remove race. -- protected by handle_hash */ - }; - - struct GnomeVFSMonitorCallbackData { -@@ -69,6 +66,9 @@ - static GHashTable *handle_hash = NULL; - G_LOCK_DEFINE_STATIC (handle_hash); - -+static gint actually_dispatch_callback (gpointer data); -+static guint32 get_min_delay (GList *list, gint32 now); -+ - static void - init_hash_table (void) - { -@@ -202,17 +202,25 @@ - return result; - } - -+static void -+install_timeout (GnomeVFSMonitorHandle *monitor_handle, time_t now) -+{ -+ guint32 delay; - --typedef struct { -- guint timeout_count; -- GnomeVFSMonitorHandle *monitor_handle; --} DispatchData; -+ if (monitor_handle->pending_timeout) -+ g_source_remove (monitor_handle->pending_timeout); -+ -+ delay = get_min_delay (monitor_handle->pending_callbacks, now); -+ if (delay == 0) -+ monitor_handle->pending_timeout = g_idle_add (actually_dispatch_callback, monitor_handle); -+ else -+ monitor_handle->pending_timeout = g_timeout_add (delay * 1000, actually_dispatch_callback, monitor_handle); -+} - - static gint - actually_dispatch_callback (gpointer data) - { -- DispatchData *ddata = data; -- GnomeVFSMonitorHandle *monitor_handle = ddata->monitor_handle; -+ GnomeVFSMonitorHandle *monitor_handle = data; - GnomeVFSMonitorCallbackData *callback_data; - gchar *uri; - GList *l, *next; -@@ -228,13 +236,6 @@ - - G_LOCK (handle_hash); - -- /* Don't clear pending_timeout if we started another timeout -- * (and removed this) -- */ -- if (monitor_handle->timeout_count == ddata->timeout_count) { -- monitor_handle->pending_timeout = 0; -- } -- - if (!monitor_handle->cancelled) { - /* Find all callbacks that needs to be dispatched */ - dispatch = NULL; -@@ -305,13 +306,17 @@ - - } - -- /* if we were waiting for this callback to be dispatched to free -- * this monitor, then do it now. -- */ -- if (monitor_handle->cancelled && -- no_live_callbacks (monitor_handle)) { -- destroy_monitor_handle (monitor_handle); -- } -+ if (no_live_callbacks (monitor_handle)) { -+ /* if we were waiting for this callback to be dispatched -+ * to free this monitor, then do it now. -+ */ -+ if (monitor_handle->cancelled) -+ destroy_monitor_handle (monitor_handle); -+ else -+ monitor_handle->pending_timeout = 0; -+ } else -+ /* pending callbacks left, install another timeout */ -+ install_timeout (monitor_handle, now); - - G_UNLOCK (handle_hash); - -@@ -375,9 +380,7 @@ - GnomeVFSMonitorHandle *monitor_handle; - char *uri; - time_t now; -- guint32 delay; - GList *l; -- DispatchData *ddata; - - g_return_if_fail (info_uri != NULL); - -@@ -435,26 +438,7 @@ - monitor_handle->pending_callbacks = - g_list_append(monitor_handle->pending_callbacks, callback_data); - -- delay = get_min_delay (monitor_handle->pending_callbacks, now); -- -- if (monitor_handle->pending_timeout) { -- g_source_remove (monitor_handle->pending_timeout); -- } -- -- ddata = g_new (DispatchData, 1); -- ddata->monitor_handle = monitor_handle; -- ddata->timeout_count = ++monitor_handle->timeout_count; -- -- if (delay == 0) { -- monitor_handle->pending_timeout = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, -- actually_dispatch_callback, -- ddata, (GDestroyNotify)g_free); -- } else { -- monitor_handle->pending_timeout = g_timeout_add_full (G_PRIORITY_DEFAULT, -- delay * 1000, -- actually_dispatch_callback, -- ddata, (GDestroyNotify)g_free); -- } -+ install_timeout (monitor_handle, now); - } - - g_free (uri); diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c deleted file mode 100644 index dc1259ac4..000000000 --- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c +++ /dev/null @@ -1,10 +0,0 @@ ---- libgnomevfs/gnome-vfs-volume-ops.c.orig Wed Dec 14 22:20:23 2005 -+++ libgnomevfs/gnome-vfs-volume-ops.c Wed Dec 14 22:20:43 2005 -@@ -25,6 +25,7 @@ - - #include <sys/types.h> - #include <errno.h> -+#include <signal.h> - #include <string.h> - #include <stdlib.h> - #include <glib.h> diff --git a/devel/gnome-vfs/files/patch-modules_file-method-acl.c b/devel/gnome-vfs/files/patch-modules_file-method-acl.c index 9134fbb89..7ec9a33b8 100644 --- a/devel/gnome-vfs/files/patch-modules_file-method-acl.c +++ b/devel/gnome-vfs/files/patch-modules_file-method-acl.c @@ -1,11 +1,11 @@ ---- modules/file-method-acl.c.orig Tue Jun 13 16:04:46 2006 -+++ modules/file-method-acl.c Tue Jul 11 09:36:57 2006 +--- modules/file-method-acl.c.orig Mon Jul 24 18:47:12 2006 ++++ modules/file-method-acl.c Mon Jul 24 22:01:34 2006 @@ -45,7 +45,7 @@ #endif #ifdef HAVE_POSIX_ACL -# include <acl/libacl.h> +# include <sys/acl.h> - #define HAVE_ACL + #define HAVE_ACL 1 #endif diff --git a/devel/gnome-vfs/pkg-plist b/devel/gnome-vfs/pkg-plist index f53bac3aa..8426d8c6f 100644 --- a/devel/gnome-vfs/pkg-plist +++ b/devel/gnome-vfs/pkg-plist @@ -43,6 +43,7 @@ include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-standard-callbacks.h include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-types.h include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-uri.h include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-utils.h +include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-version.h include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-volume-monitor.h include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-volume.h include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-xfer.h @@ -106,7 +107,7 @@ lib/libgnomevfs-2.so.0 libdata/pkgconfig/gnome-vfs-2.0.pc libdata/pkgconfig/gnome-vfs-module-2.0.pc libexec/gnome-vfs-daemon -share/dbus-1/services/org.gnome.GnomeVFS.Daemon.service +share/dbus-1/services/gnome-vfs-daemon.service share/locale/af/LC_MESSAGES/gnome-vfs-2.0.mo share/locale/am/LC_MESSAGES/gnome-vfs-2.0.mo share/locale/ar/LC_MESSAGES/gnome-vfs-2.0.mo |