summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-10-05 23:16:43 +0000
committerTristan Heaven <tristan@gentoo.org>2008-10-05 23:16:43 +0000
commit0c5b9cb208e5dc6f5b4be8383602378b681d7e4c (patch)
tree591879fb2204ceee42cd0d8dbf9a054e8a0491c1 /x11-misc
parentExtend patch to actually build with glibc 2.8. Closes bug #239611. (diff)
downloadhistorical-0c5b9cb208e5dc6f5b4be8383602378b681d7e4c.tar.gz
historical-0c5b9cb208e5dc6f5b4be8383602378b681d7e4c.tar.bz2
historical-0c5b9cb208e5dc6f5b4be8383602378b681d7e4c.zip
Patch from Ubuntu to fix IndexError, bug #239169 by W. Elschner
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/revelation/ChangeLog8
-rw-r--r--x11-misc/revelation/Manifest10
-rw-r--r--x11-misc/revelation/files/revelation-0.4.11-list-index.patch14
-rw-r--r--x11-misc/revelation/revelation-0.4.11-r1.ebuild47
4 files changed, 74 insertions, 5 deletions
diff --git a/x11-misc/revelation/ChangeLog b/x11-misc/revelation/ChangeLog
index 75cb421ca8b7..a0f2bf85abb9 100644
--- a/x11-misc/revelation/ChangeLog
+++ b/x11-misc/revelation/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/revelation
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/ChangeLog,v 1.10 2008/05/29 18:20:23 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/ChangeLog,v 1.11 2008/10/05 23:16:42 nyhm Exp $
+
+*revelation-0.4.11-r1 (05 Oct 2008)
+
+ 05 Oct 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/revelation-0.4.11-list-index.patch, +revelation-0.4.11-r1.ebuild:
+ Patch from Ubuntu to fix IndexError, bug #239169 by W. Elschner
29 May 2008; Ali Polatel <hawking@gentoo.org> revelation-0.4.11.ebuild:
python_mod_optimize is ROOT aware.
diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
index 921d58ec0266..ca3e257c8194 100644
--- a/x11-misc/revelation/Manifest
+++ b/x11-misc/revelation/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX revelation-0.4.11-list-index.patch 484 RMD160 bba307ddcb513d4eb3a992abfbbc84d621f30214 SHA1 476e25be6fc0d3eb45ed6d955c3f15e9101fa28b SHA256 eb999a96294d500925eea0bde83ea7f67823afbdbe90e8d09670f1caedc9a729
DIST revelation-0.4.11.tar.bz2 639842 RMD160 7253dd746cb992cd9bdb8220ee03a1dad6b2af5d SHA1 6adec19f57bfed5e365a39ed23f4d8185a01a2e7 SHA256 82c321ed75dbb6f6e36afd3275598cae3d880fab60c7a0ec6ead08184635efeb
+EBUILD revelation-0.4.11-r1.ebuild 1102 RMD160 b8e467090bc02261a2e595a912ee44f577b727ca SHA1 e44020ed2e1e0c4cb84081e5374d3b740dc8651b SHA256 06f409734d594fbbbeddd83685b54a691f73557412e71886279f4acbc0a2792c
EBUILD revelation-0.4.11.ebuild 1055 RMD160 62ab703dac6b0c5908e1be49bb8fb3875f598de6 SHA1 bddd47119ecf200b15e4b4207835ea5d43dccf14 SHA256 cb1607a801cda44fe4eb0ae4aa83584ac78c225f4c1a28da01fdb5d581153448
-MISC ChangeLog 1381 RMD160 aec223f7d3cb3b3ed858a072e52849bb9a2dcc1b SHA1 c5e33240e81b395ff857c7773c185bc7c5191883 SHA256 e1aa9ba0ad2f3e3da3ea5dff110e6d65306ea575e931adeeb88fa8cd79e1bf73
+MISC ChangeLog 1605 RMD160 da510e0571e7c2327f7f50cf3145a9d68b2a840e SHA1 41be7c90520af8fa6a42cccae82f7ba4eb6edff8 SHA256 7f79a39088c493923d193cfcbc97efc43b15506ca5220d8f472667b9aa32a29e
MISC metadata.xml 253 RMD160 33155d552badd3133f93e25bfcd82b62d296deb9 SHA1 b30245f00aae656e7a024b2ab4b8ad8e5549250f SHA256 2ddc2634b7e897546998869bcf0803bfbf4940cb75da9e45a2a8f421b4dabfd3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkg+8+UACgkQQU4yORhF8iARKACfYcuwfcIdP1c6JqG99qZ9csU5
-VjkAniN1W5wJuSAkkbK1fJ0dzS7ysKe5
-=D7i+
+iEYEARECAAYFAkjpSuAACgkQdz7hIScOURFG6wCdEjTRndYVmHxlTuhf5MVhyYZE
+RHYAoLk/+D+mp8YShNTE1S+hCduCNCSc
+=FAKf
-----END PGP SIGNATURE-----
diff --git a/x11-misc/revelation/files/revelation-0.4.11-list-index.patch b/x11-misc/revelation/files/revelation-0.4.11-list-index.patch
new file mode 100644
index 000000000000..efbbc0af2dad
--- /dev/null
+++ b/x11-misc/revelation/files/revelation-0.4.11-list-index.patch
@@ -0,0 +1,14 @@
+--- src/lib/ui.py.orig 2008-10-04 14:23:30.000000000 +0200
++++ src/lib/ui.py 2008-10-04 14:23:46.000000000 +0200
+@@ -1257,8 +1257,9 @@
+ def __init__(self, stock, text = None):
+ gtk.ImageMenuItem.__init__(self, stock)
+
+- self.label = self.get_children()[0]
+- self.image = self.get_children()[1]
++ children=self.get_children()
++ if len(children) > 0 : self.label = children[0]
++ if len(children) > 1 : self.image = children[1]
+
+ if text is not None:
+ self.set_text(text)
diff --git a/x11-misc/revelation/revelation-0.4.11-r1.ebuild b/x11-misc/revelation/revelation-0.4.11-r1.ebuild
new file mode 100644
index 000000000000..a979fb39d375
--- /dev/null
+++ b/x11-misc/revelation/revelation-0.4.11-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/revelation-0.4.11-r1.ebuild,v 1.1 2008/10/05 23:16:42 nyhm Exp $
+
+inherit eutils multilib python gnome2
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="http://oss.codepoet.no/revelation/"
+SRC_URI="ftp://oss.codepoet.no/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-python/pygtk
+ dev-python/pycrypto
+ dev-python/gnome-applets-python
+ dev-python/gnome-python
+ dev-python/gnome-python-extras
+ sys-libs/cracklib"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_unpack() {
+ gnome2_src_unpack
+ ln -sf $(type -P true) py-compile
+ epatch "${FILESDIR}"/${P}-list-index.patch
+}
+
+src_compile() {
+ gnome2_src_compile \
+ --disable-dependency-tracking \
+ --disable-desktop-update \
+ --disable-mime-update
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup
+}