r36615 - /desktop/unstable/gvfs/debian/patches/06_metadata_nfs.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Tue Feb 5 14:30:03 UTC 2013
Author: joss
Date: Tue Feb 5 14:30:03 2013
New Revision: 36615
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36615
Log:
Update patch for other filesystem types.
Modified:
desktop/unstable/gvfs/debian/patches/06_metadata_nfs.patch
Modified: desktop/unstable/gvfs/debian/patches/06_metadata_nfs.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gvfs/debian/patches/06_metadata_nfs.patch?rev=36615&op=diff
==============================================================================
--- desktop/unstable/gvfs/debian/patches/06_metadata_nfs.patch [utf-8] (original)
+++ desktop/unstable/gvfs/debian/patches/06_metadata_nfs.patch [utf-8] Tue Feb 5 14:30:03 2013
@@ -1,7 +1,7 @@
Index: gvfs-1.12.3/metadata/meta-daemon.c
===================================================================
---- gvfs-1.12.3.orig/metadata/meta-daemon.c 2013-02-05 12:47:16.644043661 +0100
-+++ gvfs-1.12.3/metadata/meta-daemon.c 2013-02-05 13:51:38.558923599 +0100
+--- gvfs-1.12.3.orig/metadata/meta-daemon.c 2013-02-05 15:27:50.107139266 +0100
++++ gvfs-1.12.3/metadata/meta-daemon.c 2013-02-05 15:29:47.563713526 +0100
@@ -25,6 +25,7 @@
#include <glib.h>
#include <glib/gi18n.h>
@@ -10,7 +10,7 @@
#include <locale.h>
#include <stdlib.h>
#include <dbus/dbus.h>
-@@ -681,6 +682,29 @@ static struct DBusObjectPathVTable metad
+@@ -681,6 +682,34 @@ static struct DBusObjectPathVTable metad
metadata_message
};
@@ -29,7 +29,12 @@
+ G_FILE_ATTRIBUTE_FILESYSTEM_TYPE);
+ if (fstype && (g_str_has_prefix (fstype, "nfs") ||
+ g_str_has_prefix (fstype, "smb") ||
-+ g_str_equal (fstype, "cifs")))
++ g_str_equal (fstype, "cifs") ||
++ g_str_equal (fstype, "9p") ||
++ g_str_equal (fstype, "ceph") ||
++ g_str_equal (fstype, "coda") ||
++ g_str_has_prefix (fstype, "ocfs") ||
++ g_str_has_prefix (fstype, "gfs")))
+ retval = TRUE;
+ g_object_unref (info);
+ }
@@ -40,7 +45,7 @@
int
main (int argc, char *argv[])
{
-@@ -729,6 +753,12 @@ main (int argc, char *argv[])
+@@ -729,6 +758,12 @@ main (int argc, char *argv[])
g_type_init ();
More information about the pkg-gnome-commits
mailing list