Ignore:
Timestamp:
01/28/11 04:12:43 (2 years ago)
Author:
alanbach-guest
Message:
  • Updated 24_home_dir_fakeroot
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.c 
     1Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-application-registry.c 
    22=================================================================== 
    3 --- gnome-vfs-2.24.2.orig/libgnomevfs/gnome-vfs-application-registry.c  2009-04-20 12:46:46.000000000 +0200 
    4 +++ gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-application-registry.c       2010-02-06 11:55:50.725285502 +0100 
     3--- 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 
    55@@ -965,7 +965,7 @@ 
    66                                                       NULL); 
     
    1212                                                      "application-info", 
    1313                                                      NULL); 
    14 Index: gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-init.c 
     14Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-init.c 
    1515=================================================================== 
    16 --- gnome-vfs-2.24.2.orig/libgnomevfs/gnome-vfs-init.c  2009-04-20 12:46:46.000000000 +0200 
    17 +++ gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-init.c       2010-02-06 11:55:50.725285502 +0100 
    18 @@ -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 @@ 
    1919  
    2020 static GPrivate * private_is_primary_thread; 
     
    2424-{ 
    2525-       gboolean retval = TRUE; 
     26-       gboolean create_dirs; 
    2627-       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; 
    2735- 
    2836-       dirname = g_build_filename (g_get_home_dir (), ".gnome2", NULL); 
     
    4654 gnome_vfs_thread_init (void) 
    4755 { 
    48 @@ -110,7 +87,8 @@ 
     56@@ -118,7 +87,8 @@ 
    4957        char *bogus_argv[2] = { "dummy", NULL }; 
    5058        */ 
     
    5664        } 
    5765  
    58 Index: gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-private-utils.c 
     66Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-private-utils.c 
    5967=================================================================== 
    60 --- gnome-vfs-2.24.2.orig/libgnomevfs/gnome-vfs-private-utils.c 2009-04-20 12:46:46.000000000 +0200 
    61 +++ gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-private-utils.c      2010-02-06 11:55:50.725285502 +0100 
    62 @@ -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 @@ 
    6371 } 
    6472 #endif 
     
    6876+{ 
    6977+       gboolean retval = TRUE; 
     78+       gboolean create_dirs; 
    7079+       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; 
    7187+ 
    7288+       dirname = g_build_filename (home_dir, ".gnome2", NULL); 
     
    115131+       return home; 
    116132+} 
    117 Index: gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-private-utils.h 
     133Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-private-utils.h 
    118134=================================================================== 
    119 --- gnome-vfs-2.24.2.orig/libgnomevfs/gnome-vfs-private-utils.h 2009-04-20 12:46:46.000000000 +0200 
    120 +++ gnome-vfs-2.24.2/libgnomevfs/gnome-vfs-private-utils.h      2010-02-06 11:55:50.729281262 +0100 
     135--- 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 
    121137@@ -124,6 +124,8 @@ 
    122138  
     
    128144  
    129145 #endif /* _GNOME_VFS_PRIVATE_UTILS_H */ 
    130 Index: gnome-vfs-2.24.2/modules/file-method.c 
     146Index: gnome-vfs-2.24.4/modules/file-method.c 
    131147=================================================================== 
    132 --- gnome-vfs-2.24.2.orig/modules/file-method.c 2010-02-06 11:55:49.537282516 +0100 
    133 +++ gnome-vfs-2.24.2/modules/file-method.c      2010-02-06 11:55:50.729281262 +0100 
     148--- 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 
    134150@@ -1537,7 +1537,7 @@ 
    135151        GList *p; 
Note: See TracChangeset for help on using the changeset viewer.