Changeset 7256 for pkg/raul/main/gnome-vfs
- Timestamp:
- 01/28/11 04:12:43 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pkg/raul/main/gnome-vfs/trunk/debian/patches/24_home_dir_fakeroot.patch
r6647 r7256 1 Index: gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-application-registry.c1 Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-application-registry.c 2 2 =================================================================== 3 --- gnome-vfs-2.24. 2.orig/libgnomevfs/gnome-vfs-application-registry.c 2009-04-20 12:46:46.000000000 +02004 +++ gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-application-registry.c 2010-02-06 11:55:50.725285502 +01003 --- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-application-registry.c 2010-11-25 15:46:59.763441002 +1100 4 +++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-application-registry.c 2010-11-25 15:47:10.953441002 +1100 5 5 @@ -965,7 +965,7 @@ 6 6 NULL); … … 12 12 "application-info", 13 13 NULL); 14 Index: gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-init.c14 Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-init.c 15 15 =================================================================== 16 --- gnome-vfs-2.24. 2.orig/libgnomevfs/gnome-vfs-init.c 2009-04-20 12:46:46.000000000 +020017 +++ gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-init.c 2010-02-06 11:55:50.725285502 +010018 @@ -57, 29+57,6 @@16 --- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-init.c 2010-11-25 15:46:59.793441002 +1100 17 +++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-init.c 2010-11-25 15:47:34.113441001 +1100 18 @@ -57,37 +57,6 @@ 19 19 20 20 static GPrivate * private_is_primary_thread; … … 24 24 -{ 25 25 - gboolean retval = TRUE; 26 - gboolean create_dirs; 26 27 - gchar *dirname; 28 - 29 - /* If the user does not have a writable HOME directory, then 30 - avoid creating the directory. */ 31 - create_dirs = (g_access (g_get_home_dir(), W_OK) == 0); 32 - 33 - if (create_dirs != TRUE) 34 - return TRUE; 27 35 - 28 36 - dirname = g_build_filename (g_get_home_dir (), ".gnome2", NULL); … … 46 54 gnome_vfs_thread_init (void) 47 55 { 48 @@ -11 0,7 +87,8 @@56 @@ -118,7 +87,8 @@ 49 57 char *bogus_argv[2] = { "dummy", NULL }; 50 58 */ … … 56 64 } 57 65 58 Index: gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-private-utils.c66 Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-private-utils.c 59 67 =================================================================== 60 --- gnome-vfs-2.24. 2.orig/libgnomevfs/gnome-vfs-private-utils.c 2009-04-20 12:46:46.000000000 +020061 +++ gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-private-utils.c 2010-02-06 11:55:50.725285502 +010062 @@ -1085,3 +1085, 54@@68 --- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-private-utils.c 2010-11-25 15:46:59.783441002 +1100 69 +++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-private-utils.c 2010-11-25 15:47:42.053441001 +1100 70 @@ -1085,3 +1085,62 @@ 63 71 } 64 72 #endif … … 68 76 +{ 69 77 + gboolean retval = TRUE; 78 + gboolean create_dirs; 70 79 + gchar *dirname; 80 + 81 + /* If the user does not have a writable HOME directory, then 82 + avoid creating the directory. */ 83 + create_dirs = (g_access (home_dir, W_OK) == 0); 84 + 85 + if (create_dirs != TRUE) 86 + return TRUE; 71 87 + 72 88 + dirname = g_build_filename (home_dir, ".gnome2", NULL); … … 115 131 + return home; 116 132 +} 117 Index: gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-private-utils.h133 Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-private-utils.h 118 134 =================================================================== 119 --- gnome-vfs-2.24. 2.orig/libgnomevfs/gnome-vfs-private-utils.h 2009-04-20 12:46:46.000000000 +0200120 +++ gnome-vfs-2.24. 2/libgnomevfs/gnome-vfs-private-utils.h 2010-02-06 11:55:50.729281262 +0100135 --- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-private-utils.h 2010-11-25 15:46:59.773441002 +1100 136 +++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-private-utils.h 2010-11-25 15:47:10.953441002 +1100 121 137 @@ -124,6 +124,8 @@ 122 138 … … 128 144 129 145 #endif /* _GNOME_VFS_PRIVATE_UTILS_H */ 130 Index: gnome-vfs-2.24. 2/modules/file-method.c146 Index: gnome-vfs-2.24.4/modules/file-method.c 131 147 =================================================================== 132 --- gnome-vfs-2.24. 2.orig/modules/file-method.c 2010-02-06 11:55:49.537282516 +0100133 +++ gnome-vfs-2.24. 2/modules/file-method.c 2010-02-06 11:55:50.729281262 +0100148 --- gnome-vfs-2.24.4.orig/modules/file-method.c 2010-11-25 15:46:59.803441002 +1100 149 +++ gnome-vfs-2.24.4/modules/file-method.c 2010-11-25 15:47:10.953441002 +1100 134 150 @@ -1537,7 +1537,7 @@ 135 151 GList *p;
Note: See TracChangeset
for help on using the changeset viewer.


