summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2008-10-02 16:17:56 +0000
committerJim Ramsay <lack@gentoo.org>2008-10-02 16:17:56 +0000
commit68404f4e9671b975526ad21efec1c8521b232d29 (patch)
treecee6759889ce08aeee422b3f4baa626516651395 /rox-base
parentSparc stable --- Bug #239301 --- looks good and all tests successful. (diff)
downloadgentoo-2-68404f4e9671b975526ad21efec1c8521b232d29.tar.gz
gentoo-2-68404f4e9671b975526ad21efec1c8521b232d29.tar.bz2
gentoo-2-68404f4e9671b975526ad21efec1c8521b232d29.zip
Added patch which fixes #239136, and version cleanup
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'rox-base')
-rw-r--r--rox-base/rox-lib/ChangeLog9
-rw-r--r--rox-base/rox-lib/files/rox-lib-nosvg.patch (renamed from rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch)0
-rw-r--r--rox-base/rox-lib/rox-lib-2.0.4.ebuild39
-rw-r--r--rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild63
4 files changed, 71 insertions, 40 deletions
diff --git a/rox-base/rox-lib/ChangeLog b/rox-base/rox-lib/ChangeLog
index f66a988c1698..3b8d44f8145c 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.30 2008/08/31 21:11:29 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.31 2008/10/02 16:17:55 lack Exp $
+
+*rox-lib-2.0.5-r1 (02 Oct 2008)
+
+ 02 Oct 2008; Jim Ramsay <lack@gentoo.org>
+ -files/rox-lib-2.0.3-nosvg.patch, +files/rox-lib-nosvg.patch,
+ -rox-lib-2.0.4.ebuild, +rox-lib-2.0.5-r1.ebuild:
+ Added patch which fixes #239136, and version cleanup
31 Aug 2008; Raúl Porcel <armin76@gentoo.org> rox-lib-2.0.5.ebuild:
alpha/sparc stable wrt #236057
diff --git a/rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch b/rox-base/rox-lib/files/rox-lib-nosvg.patch
index eff2aa325c40..eff2aa325c40 100644
--- a/rox-base/rox-lib/files/rox-lib-2.0.3-nosvg.patch
+++ b/rox-base/rox-lib/files/rox-lib-nosvg.patch
diff --git a/rox-base/rox-lib/rox-lib-2.0.4.ebuild b/rox-base/rox-lib/rox-lib-2.0.4.ebuild
deleted file mode 100644
index c27dd7140844..000000000000
--- a/rox-base/rox-lib/rox-lib-2.0.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2008 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.4.ebuild,v 1.7 2008/06/04 13:15:41 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 ~sparc x86"
-IUSE=""
-
-RDEPEND=">=rox-base/rox-2.2.0
- >=dev-python/pygtk-2.8.2"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-src_install() {
- local baselibdir="/usr/$(get_libdir)"
- dodir ${baselibdir}
- cp -r ROX-Lib2/ "${D}${baselibdir}"
- dodir /usr/share/doc/
- dosym ${baselibdir}/ROX-Lib2/Help /usr/share/doc/${P}
-}
-
-pkg_postinst() {
- local baselibdir="/usr/$(get_libdir)"
- python_mod_optimize "${baselibdir}/ROX-Lib2/"
-}
-
-pkg_postrm() {
- local baselibdir="/usr/$(get_libdir)"
- python_mod_cleanup "${baselibdir}/ROX-Lib2/"
-}
diff --git a/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild b/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild
new file mode 100644
index 000000000000..a337fb038945
--- /dev/null
+++ b/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 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.5-r1.ebuild,v 1.1 2008/10/02 16:17:55 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="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=rox-base/rox-2.2.0
+ >=dev-python/pygtk-2.8.2"
+
+DEPEND="rox-base/zeroinstall-injector"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/rox-lib-nosvg.patch"
+}
+
+src_install() {
+ local baselibdir="/usr/$(get_libdir)"
+ local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds"
+ local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons"
+
+ dodir "${baselibdir}"
+ cp -r ROX-Lib2/ "${D}${baselibdir}"
+ dodir /usr/share/doc/
+ dosym "${baselibdir}/ROX-Lib2/Help" "/usr/share/doc/${P}"
+
+ 0distutils ROX-Lib2/ROX-Lib2.xml > tmp.native_feed || die "0distutilss feed edit failed"
+ insinto "${baselibdir}/ROX-Lib2/"
+ newins tmp.native_feed ROX-Lib2.xml
+
+ local feedname
+ feedname=$(0distutils -e tmp.native_feed) || die "0distutils URI escape failed"
+ dosym "${baselibdir}/ROX-Lib2/ROX-Lib2.xml" "${NATIVE_FEED_DIR}/${feedname}"
+
+ local cachedname
+ cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed"
+ dosym "${baselibdir}/ROX-Lib2/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}"
+}
+
+pkg_postinst() {
+ local baselibdir="/usr/$(get_libdir)"
+ python_mod_optimize "${baselibdir}/ROX-Lib2/"
+}
+
+pkg_postrm() {
+ local baselibdir="/usr/$(get_libdir)"
+ python_mod_cleanup "${baselibdir}/ROX-Lib2/"
+}