diff options
Diffstat (limited to 'devel/gnome-vfs/files')
10 files changed, 85 insertions, 167 deletions
diff --git a/devel/gnome-vfs/files/patch-Makefile.in b/devel/gnome-vfs/files/patch-Makefile.in index 8c0d2a13160c..7213df2fa7e0 100644 --- a/devel/gnome-vfs/files/patch-Makefile.in +++ b/devel/gnome-vfs/files/patch-Makefile.in @@ -1,10 +1,10 @@ ---- Makefile.in.orig Tue Nov 30 02:05:26 2004 -+++ Makefile.in Tue Nov 30 02:05:34 2004 -@@ -230,7 +230,6 @@ +--- Makefile.in.orig Tue Jul 11 09:30:02 2006 ++++ Makefile.in Tue Jul 11 09:30:32 2006 +@@ -352,7 +352,6 @@ devel-docs \ doc \ programs \ - test \ - monikers \ po + EXTRA_DIST = \ diff --git a/devel/gnome-vfs/files/patch-configure b/devel/gnome-vfs/files/patch-configure index 8835cb06b0c1..1bef1ebaca77 100644 --- a/devel/gnome-vfs/files/patch-configure +++ b/devel/gnome-vfs/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Wed May 17 11:33:28 2006 -+++ configure Wed May 17 21:44:26 2006 -@@ -23540,6 +23540,8 @@ +--- configure.orig Tue Jul 11 09:30:54 2006 ++++ configure Tue Jul 11 09:31:51 2006 +@@ -23202,6 +23202,8 @@ if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -9,7 +9,7 @@ cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF -@@ -23622,6 +23624,7 @@ +@@ -23283,6 +23285,7 @@ fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -17,7 +17,7 @@ fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -@@ -23629,6 +23632,7 @@ +@@ -23290,6 +23293,7 @@ cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF @@ -25,7 +25,7 @@ have_ngettext=yes else echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 -@@ -25026,7 +25030,7 @@ +@@ -24669,7 +24673,7 @@ @@ -34,7 +34,7 @@ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then -@@ -33396,7 +33400,7 @@ +@@ -32940,7 +32944,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -43,7 +43,7 @@ cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF -@@ -33694,7 +33698,7 @@ +@@ -33236,7 +33240,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -52,7 +52,7 @@ cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF -@@ -37536,6 +37540,9 @@ +@@ -38765,6 +38769,9 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @@ -62,7 +62,7 @@ #include <sys/statfs.h> #include <sys/fstyp.h> _ACEOF -@@ -37577,6 +37584,9 @@ +@@ -38806,6 +38813,9 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @@ -72,9 +72,9 @@ #include <sys/statfs.h> #include <sys/vmount.h> _ACEOF -@@ -39016,6 +39026,7 @@ - s,@ORBIT_IDL@,$ORBIT_IDL,;t t - s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t +@@ -40026,6 +40036,7 @@ + s,@TEST_CFLAGS@,$TEST_CFLAGS,;t t + s,@TEST_LIBS@,$TEST_LIBS,;t t s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t +s,@PTHREAD_LIB@,$BSD_PTHREAD_LIBS,;t t s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t diff --git a/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in b/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in index 088433c51a28..eb0f4592025e 100644 --- a/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in +++ b/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in @@ -1,9 +1,9 @@ ---- gnome-vfs-2.0.pc.in.orig Wed Sep 14 05:30:25 2005 -+++ gnome-vfs-2.0.pc.in Mon Oct 3 12:00:02 2005 +--- gnome-vfs-2.0.pc.in.orig Tue Jul 11 07:31:58 2006 ++++ gnome-vfs-2.0.pc.in Tue Jul 11 09:33:47 2006 @@ -8,5 +8,5 @@ Description: The GNOME virtual file-system libraries Version: @VERSION@ - Requires: bonobo-activation-2.0 libbonobo-2.0 gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0 + Requires: gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0 -Libs: -L${libdir} -lgnomevfs-2 +Libs: -L${libdir} -lgnomevfs-2 @PTHREAD_LIB@ Cflags: -I${includedir}/gnome-vfs-2.0 -I${libdir}/gnome-vfs-2.0/include diff --git a/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in b/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in index c3f0d2c30ea2..168fba882ca8 100644 --- a/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in +++ b/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in @@ -1,9 +1,9 @@ ---- gnome-vfs-module-2.0.pc.in.orig Wed Sep 14 05:30:25 2005 -+++ gnome-vfs-module-2.0.pc.in Mon Oct 3 12:01:04 2005 +--- gnome-vfs-module-2.0.pc.in.orig Tue Jul 11 07:31:58 2006 ++++ gnome-vfs-module-2.0.pc.in Tue Jul 11 09:34:36 2006 @@ -8,5 +8,5 @@ Description: The GNOME virtual file-system module include info Version: @VERSION@ - Requires: bonobo-activation-2.0 libbonobo-2.0 gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0 + Requires: gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0 -Libs: -L${libdir} -lgnomevfs-2 +Libs: -L${libdir} -lgnomevfs-2 @PTHREAD_LIB@ Cflags: -I${includedir}/gnome-vfs-2.0 -I${includedir}/gnome-vfs-module-2.0 -I${libdir}/gnome-vfs-2.0/include diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c index 05dd579ba16d..5260a0f3ec76 100644 --- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c +++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c @@ -1,5 +1,5 @@ ---- libgnomevfs/gnome-vfs-hal-mounts.c.orig Sun May 7 01:07:27 2006 -+++ libgnomevfs/gnome-vfs-hal-mounts.c Sun May 7 01:07:42 2006 +--- libgnomevfs/gnome-vfs-hal-mounts.c.orig Mon Aug 7 04:16:27 2006 ++++ libgnomevfs/gnome-vfs-hal-mounts.c Sun Sep 17 17:39:48 2006 @@ -32,7 +32,9 @@ #include <stdlib.h> #include <string.h> @@ -10,3 +10,34 @@ #include <sys/types.h> #include <unistd.h> #include <limits.h> +@@ -627,20 +629,30 @@ _hal_volume_policy_check (GnomeVFSVolume + "/", + "/bin", + "/boot", ++ "/compat/linux/proc", ++ "/compat/linux/sys", + "/dev", + "/etc", + "/home", + "/lib", + "/lib64", ++ "/libexec", + "/media", + "/mnt", + "/opt", ++ "/rescue", + "/root", + "/sbin", + "/srv", + "/tmp", + "/usr", ++ "/usr/local", ++ "/usr/obj", ++ "/usr/ports", ++ "/usr/src", ++ "/usr/X11R6", + "/var", ++ "/var/tmp", + "/proc", + "/sbin", + NULL 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 11d73973b413..000000000000 --- 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 dc1259ac425f..000000000000 --- 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-libgnomevfs_xdgmime.c b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c index 37cc69f1ea3b..7119f852fa75 100644 --- a/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c +++ b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c @@ -5,7 +5,7 @@ xdg_data_dirs = getenv ("XDG_DATA_DIRS"); if (xdg_data_dirs == NULL) - xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"; ++ xdg_data_dirs = "%%LOCALBASE%%/share/gnome/:%%X11BASE%%/share/gnome/:%%LOCALBASE%%/share/:%%X11BASE%%/share/:/usr/share/"; ptr = xdg_data_dirs; diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.h b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.h new file mode 100644 index 000000000000..218578c258b7 --- /dev/null +++ b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.h @@ -0,0 +1,17 @@ +--- libgnomevfs/xdgmime.h.orig Sat Oct 7 10:42:32 2006 ++++ libgnomevfs/xdgmime.h Sat Oct 7 11:01:57 2006 +@@ -52,11 +52,14 @@ typedef void (*XdgMimeDestroy) (void *u + #define xdg_mime_get_mime_type_from_file_name XDG_ENTRY(get_mime_type_from_file_name) + #define xdg_mime_is_valid_mime_type XDG_ENTRY(is_valid_mime_type) + #define xdg_mime_mime_type_equal XDG_ENTRY(mime_type_equal) ++#define _xdg_mime_mime_type_equal XDG_ENTRY(mime_type_equal_p) + #define xdg_mime_media_type_equal XDG_ENTRY(media_type_equal) + #define xdg_mime_mime_type_subclass XDG_ENTRY(mime_type_subclass) ++#define _xdg_mime_mime_type_subclass XDG_ENTRY(mime_type_subclass_p) + #define xdg_mime_get_mime_parents XDG_ENTRY(get_mime_parents) + #define xdg_mime_list_mime_parents XDG_ENTRY(list_mime_parents) + #define xdg_mime_unalias_mime_type XDG_ENTRY(unalias_mime_type) ++#define _xdg_mime_unalias_mime_type XDG_ENTRY(unalias_mime_type_p) + #define xdg_mime_get_max_buffer_extents XDG_ENTRY(get_max_buffer_extents) + #define xdg_mime_shutdown XDG_ENTRY(shutdown) + #define xdg_mime_dump XDG_ENTRY(dump) diff --git a/devel/gnome-vfs/files/patch-modules_file-method-acl.c b/devel/gnome-vfs/files/patch-modules_file-method-acl.c new file mode 100644 index 000000000000..7ec9a33b8f5f --- /dev/null +++ b/devel/gnome-vfs/files/patch-modules_file-method-acl.c @@ -0,0 +1,11 @@ +--- 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 1 + #endif + |