diff options
author | Jim Ramsay <lack@gentoo.org> | 2007-06-07 19:35:32 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2007-06-07 19:35:32 +0000 |
commit | 93c5d62ddcc86bae5b84cc38a1c5bfa08b56a2c0 (patch) | |
tree | 27e68f9bf9ee83d149af5eac68b7bbf7b28ac936 /rox-base/rox-lib | |
download | rox-93c5d62ddcc86bae5b84cc38a1c5bfa08b56a2c0.tar.gz rox-93c5d62ddcc86bae5b84cc38a1c5bfa08b56a2c0.tar.bz2 rox-93c5d62ddcc86bae5b84cc38a1c5bfa08b56a2c0.zip |
Commiting initial overlay: multilib changes and preliminary zeroinstall support
svn path=/trunk/overlay/; revision=2
Diffstat (limited to 'rox-base/rox-lib')
-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-r3.ebuild | 36 | ||||
-rw-r--r-- | rox-base/rox-lib/rox-lib-2.0.3-r4.ebuild | 38 |
3 files changed, 92 insertions, 0 deletions
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 0000000..eff2aa3 --- /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-r3.ebuild b/rox-base/rox-lib/rox-lib-2.0.3-r3.ebuild new file mode 100644 index 0000000..85b1a0d --- /dev/null +++ b/rox-base/rox-lib/rox-lib-2.0.3-r3.ebuild @@ -0,0 +1,36 @@ +# 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 multilib + +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() { + local baselibdir="/usr/$(get_libdir)" + dodir ${baselibdir} + cp -r ROX-Lib2/ ${D}${baselibdir} + python_mod_optimize ${D}${baselibdir}/ROX-Lib2/ >/dev/null 2>&1 + dodir /usr/share/doc/ + dosym ${baselibdir}/ROX-Lib2/Help /usr/share/doc/${P} +} diff --git a/rox-base/rox-lib/rox-lib-2.0.3-r4.ebuild b/rox-base/rox-lib/rox-lib-2.0.3-r4.ebuild new file mode 100644 index 0000000..1e20348 --- /dev/null +++ b/rox-base/rox-lib/rox-lib-2.0.3-r4.ebuild @@ -0,0 +1,38 @@ +# 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 0install multilib + +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="" +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() { + local baselibdir="/usr/$(get_libdir)" + dodir ${baselibdir} + cp -r ROX-Lib2/ ${D}${baselibdir} + python_mod_optimize ${D}${baselibdir}/ROX-Lib2/ >/dev/null 2>&1 + dodir /usr/share/doc/ + dosym ${baselibdir}/ROX-Lib2/Help /usr/share/doc/${P} + + 0install_local_feed ROX-Lib2/ROX-Lib2.xml ${baselibdir}/ROX-Lib2 +} |