diff options
-rw-r--r-- | x11-plugins/desklet-ImageSlideShow/ChangeLog | 10 | ||||
-rw-r--r-- | x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild (renamed from x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8.ebuild) | 7 | ||||
-rw-r--r-- | x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch | 27 |
3 files changed, 42 insertions, 2 deletions
diff --git a/x11-plugins/desklet-ImageSlideShow/ChangeLog b/x11-plugins/desklet-ImageSlideShow/ChangeLog index 7cab546a6cee..e5ab0c8f6cfd 100644 --- a/x11-plugins/desklet-ImageSlideShow/ChangeLog +++ b/x11-plugins/desklet-ImageSlideShow/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for x11-plugins/desklet-ImageSlideShow # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-ImageSlideShow/ChangeLog,v 1.1 2009/04/28 01:15:12 nixphoeni Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-ImageSlideShow/ChangeLog,v 1.2 2009/09/10 02:19:55 nixphoeni Exp $ + +*desklet-ImageSlideShow-0.8-r1 (10 Sep 2009) + + 10 Sep 2009; Joe Sapp <nixphoeni@gentoo.org> + -desklet-ImageSlideShow-0.8.ebuild, +desklet-ImageSlideShow-0.8-r1.ebuild, + +files/ImageSlideShow-0.8-cache-dir.patch: + Patched to try to fix bug #271777. Thanks to Peter GAAL for all his work + on it. *desklet-ImageSlideShow-0.8 (28 Apr 2009) diff --git a/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8.ebuild b/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild index 97978f17e7e5..7fcc65e2fc85 100644 --- a/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8.ebuild +++ b/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8.ebuild,v 1.1 2009/04/28 01:15:12 nixphoeni Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-ImageSlideShow/desklet-ImageSlideShow-0.8-r1.ebuild,v 1.1 2009/09/10 02:19:55 nixphoeni Exp $ DESKLET_NAME="${PN#desklet-}" @@ -15,3 +15,8 @@ IUSE="" RDEPEND="${RDEPEND} dev-python/imaging" DOCS="MANIFEST README" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${DESKLET_NAME}-${PV}-cache-dir.patch" +} diff --git a/x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch b/x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch new file mode 100644 index 000000000000..64bcd08422b9 --- /dev/null +++ b/x11-plugins/desklet-ImageSlideShow/files/ImageSlideShow-0.8-cache-dir.patch @@ -0,0 +1,27 @@ +--- ImageSlideShow/__init__.py.orig 2008-01-15 16:36:23.000000000 +0100 ++++ ImageSlideShow/__init__.py 2009-05-10 16:57:27.000000000 +0200 +@@ -45,11 +45,10 @@ + self.__previous_width = 300 + + #Cache folder +- #folder = os.path.expanduser("~") + "/" + ".cache2/imageslideshow" +- folder = "/tmp/imageslideshow" ++ folder = os.path.expanduser("~") + "/" + ".thumbnails/imageslideshow" + debugger("cache folder is:" + folder) + if not os.path.isdir(folder): +- os.mkdir(folder) ++ os.makedirs(folder) + + self.__thumbnail_folder=folder + +--- ImageSlideShow/directorywalk.py.orig 2009-05-02 20:42:41.000000000 +0200 ++++ ImageSlideShow/directorywalk.py 2009-05-28 18:57:51.000000000 +0200 +@@ -10,7 +10,7 @@ + st = os.lstat(os.path.join(top, name)) + except os.error: + continue +- if stat.S_ISDIR(st.st_mode): ++ if stat.S_ISDIR(st.st_mode) or stat.S_ISLNK(st.st_mode): + for (newtop, children) in walktree (os.path.join(top, name), depthfirst): + yield newtop, children + if depthfirst: |