r21730 - in /packages/unstable/gobject-introspection/debian: changelog patches/02_home_permissions.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Thu Oct 1 07:49:52 UTC 2009


Author: joss
Date: Thu Oct  1 07:49:52 2009
New Revision: 21730

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21730
Log:
02_home_permissions.patch: new patch. Do not crash when $HOME is not 
writable. Closes: #549126.

Added:
    packages/unstable/gobject-introspection/debian/patches/02_home_permissions.patch
Modified:
    packages/unstable/gobject-introspection/debian/changelog

Modified: packages/unstable/gobject-introspection/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gobject-introspection/debian/changelog?rev=21730&op=diff
==============================================================================
--- packages/unstable/gobject-introspection/debian/changelog [utf-8] (original)
+++ packages/unstable/gobject-introspection/debian/changelog [utf-8] Thu Oct  1 07:49:52 2009
@@ -1,3 +1,10 @@
+gobject-introspection (0.6.5-2) unstable; urgency=low
+
+  * 02_home_permissions.patch: new patch. Do not crash when $HOME is not 
+    writable. Closes: #549126.
+
+ -- Josselin Mouette <joss at debian.org>  Thu, 01 Oct 2009 09:49:46 +0200
+
 gobject-introspection (0.6.5-1) unstable; urgency=low
 
   * New upstream release:

Added: packages/unstable/gobject-introspection/debian/patches/02_home_permissions.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gobject-introspection/debian/patches/02_home_permissions.patch?rev=21730&op=file
==============================================================================
--- packages/unstable/gobject-introspection/debian/patches/02_home_permissions.patch (added)
+++ packages/unstable/gobject-introspection/debian/patches/02_home_permissions.patch [utf-8] Thu Oct  1 07:49:52 2009
@@ -1,0 +1,17 @@
+Debian #549126
+GNOME #596960
+
+--- giscanner/cachestore.py.orig	2009-10-01 09:42:51.295078017 +0200
++++ giscanner/cachestore.py	2009-10-01 09:44:09.391500464 +0200
+@@ -35,7 +35,10 @@
+ 
+     cachedir = os.path.join(homedir, '.cache')
+     if not os.path.exists(cachedir):
+-        os.mkdir(cachedir, 0755)
++        try:
++            os.mkdir(cachedir, 0755)
++        except OSError:
++            return None
+ 
+     scannerdir = os.path.join(cachedir, 'g-ir-scanner')
+     if not os.path.exists(scannerdir):




More information about the pkg-gnome-commits mailing list