diff options
author | Jim Ramsay <lack@gentoo.org> | 2007-02-13 17:03:46 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2007-02-13 17:03:46 +0000 |
commit | 89faf68fc1ff3fc748fe3c50dba2ff6c9c597bdf (patch) | |
tree | 6f138fec492cff17d6bfc682d47cae8ed753d50d /rox-base/rox-lib | |
parent | * signed commit (diff) | |
download | gentoo-2-89faf68fc1ff3fc748fe3c50dba2ff6c9c597bdf.tar.gz gentoo-2-89faf68fc1ff3fc748fe3c50dba2ff6c9c597bdf.tar.bz2 gentoo-2-89faf68fc1ff3fc748fe3c50dba2ff6c9c597bdf.zip |
Applies patch which prevents crash when no svg libs are installed and the appdir has an SVG .DirIcon (Bug 166649)
(Portage version: 2.1.2-r8)
Diffstat (limited to 'rox-base/rox-lib')
-rw-r--r-- | rox-base/rox-lib/ChangeLog | 11 | ||||
-rw-r--r-- | rox-base/rox-lib/files/digest-rox-lib-2.0.3-r2 | 3 | ||||
-rw-r--r-- | rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch | 18 | ||||
-rw-r--r-- | rox-base/rox-lib/rox-lib-2.0.3-r2.ebuild | 35 |
4 files changed, 65 insertions, 2 deletions
diff --git a/rox-base/rox-lib/ChangeLog b/rox-base/rox-lib/ChangeLog index 3717e1462cfa..7bb5e863f473 100644 --- a/rox-base/rox-lib/ChangeLog +++ b/rox-base/rox-lib/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for rox-base/rox-lib -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.12 2006/11/24 19:36:28 lack Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.13 2007/02/13 17:03:46 lack Exp $ + +*rox-lib-2.0.3-r2 (13 Feb 2007) + + 13 Feb 2007; Jim Ramsay <lack@gentoo.org> + +files/rox-lib-2.0.3-nosvg.patch, +rox-lib-2.0.3-r2.ebuild: + Applied patch which prevents crash when no svg libs are installed and the + appdir has an SVG .DirIcon (Bug 166649) 24 Nov 2006; Jim Ramsay <lack@gentoo.org> -rox-lib-2.0.3.ebuild: Version cleanup diff --git a/rox-base/rox-lib/files/digest-rox-lib-2.0.3-r2 b/rox-base/rox-lib/files/digest-rox-lib-2.0.3-r2 new file mode 100644 index 000000000000..b1fd12970c36 --- /dev/null +++ b/rox-base/rox-lib/files/digest-rox-lib-2.0.3-r2 @@ -0,0 +1,3 @@ +MD5 16ebb244896d92c3a1dec3eab512d1cf rox-lib2-2.0.3.tar.bz2 127605 +RMD160 dd5a1472a8e5db1c7af330d2c0f4a03e5088b899 rox-lib2-2.0.3.tar.bz2 127605 +SHA256 8d2f7475f2ab131d03453b1da7ed4472a564a93927836add77291d8fc6cdd355 rox-lib2-2.0.3.tar.bz2 127605 diff --git a/rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch b/rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch new file mode 100644 index 000000000000..eff2aa325c40 --- /dev/null +++ b/rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch @@ -0,0 +1,18 @@ +Index: ROX-Lib2/python/rox/__init__.py +=================================================================== +--- ROX-Lib2/python/rox/__init__.py (revision 4953) ++++ ROX-Lib2/python/rox/__init__.py (working copy) +@@ -197,8 +197,11 @@ + try: + g.window_set_default_icon_list(g.gdk.pixbuf_new_from_file(_icon_path)) + except: +- # Older pygtk +- _window_icon = g.gdk.pixbuf_new_from_file(_icon_path) ++ try: ++ # Older pygtk ++ _window_icon = g.gdk.pixbuf_new_from_file(_icon_path) ++ except: ++ pass + del _icon_path + + class Window(g.Window): diff --git a/rox-base/rox-lib/rox-lib-2.0.3-r2.ebuild b/rox-base/rox-lib/rox-lib-2.0.3-r2.ebuild new file mode 100644 index 000000000000..6f3026eb2a4e --- /dev/null +++ b/rox-base/rox-lib/rox-lib-2.0.3-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.3-r2.ebuild,v 1.1 2007/02/13 17:03:46 lack Exp $ + +NEED_PYTHON="2.3" +inherit python eutils + +MY_PN="rox-lib2" +DESCRIPTION="ROX-Lib2 - Shared code for ROX applications by Thomas Leonard" +HOMEPAGE="http://rox.sourceforge.net/desktop/ROX-Lib" +SRC_URI="mirror://sourceforge/rox/${MY_PN}-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=rox-base/rox-2.2.0 + >=dev-python/pygtk-2.8.2" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-nosvg.patch" +} + +src_install() { + dodir /usr/lib/ + cp -r ROX-Lib2/ ${D}/usr/lib/ + python_mod_optimize ${D}/usr/lib/ROX-Lib2/ >/dev/null 2>&1 + dodir /usr/share/doc/ + dosym /usr/lib/ROX-Lib2/Help /usr/share/doc/${P} +} |