summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2004-10-29 18:38:39 +0000
committerCarsten Lohrke <carlo@gentoo.org>2004-10-29 18:38:39 +0000
commit67382dc2c6d552b410a6490895e9bd0c4168c360 (patch)
tree65e4fd19c085d74e40379638a93347f8faf0c8f0 /net-nds/luma
parentversion bump (diff)
downloadhistorical-67382dc2c6d552b410a6490895e9bd0c4168c360.tar.gz
historical-67382dc2c6d552b410a6490895e9bd0c4168c360.tar.bz2
historical-67382dc2c6d552b410a6490895e9bd0c4168c360.zip
small patch, #66453
Diffstat (limited to 'net-nds/luma')
-rw-r--r--net-nds/luma/ChangeLog6
-rw-r--r--net-nds/luma/Manifest9
-rw-r--r--net-nds/luma/files/winpopup-error.patch54
-rw-r--r--net-nds/luma/luma-1.4.ebuild14
4 files changed, 75 insertions, 8 deletions
diff --git a/net-nds/luma/ChangeLog b/net-nds/luma/ChangeLog
index 1ddb00bb3295..eed3e904f5d1 100644
--- a/net-nds/luma/ChangeLog
+++ b/net-nds/luma/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nds/luma
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/luma/ChangeLog,v 1.3 2004/08/20 00:09:26 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/luma/ChangeLog,v 1.4 2004/10/29 18:38:39 carlo Exp $
+
+ 29 Oct 2004; Carsten Lohrke <carlo@gentoo.org> +files/winpopup-error.patch,
+ luma-1.4.ebuild:
+ small patch, #66453
*luma-1.4 (20 Aug 2004)
diff --git a/net-nds/luma/Manifest b/net-nds/luma/Manifest
index 23b0f3a71482..5b34ba1d18fe 100644
--- a/net-nds/luma/Manifest
+++ b/net-nds/luma/Manifest
@@ -1,6 +1,7 @@
-MD5 b71bcf600c98f1d3ad14c08a0a506d41 ChangeLog 540
-MD5 387d3d3f95dab7a4b1e7a09fca8f77a5 luma-1.3.ebuild 840
+MD5 42797d47c08e67bdc2ff1373b9b5072c luma-1.4.ebuild 946
+MD5 23daa08a119eb4efb8be87d1fde6d67f ChangeLog 660
MD5 811c07ba7510a315382249fc3adb44fc metadata.xml 175
-MD5 19e066b060b61b2875cc8c4df0c16230 luma-1.4.ebuild 855
-MD5 16949160b2f6f63b47cf329f3fb9a087 files/digest-luma-1.4 64
+MD5 387d3d3f95dab7a4b1e7a09fca8f77a5 luma-1.3.ebuild 840
MD5 383f321b77b335c6f3aba204164c8061 files/digest-luma-1.3 61
+MD5 16949160b2f6f63b47cf329f3fb9a087 files/digest-luma-1.4 64
+MD5 0d493d96bbe30ded626e2e2ca6106241 files/winpopup-error.patch 2127
diff --git a/net-nds/luma/files/winpopup-error.patch b/net-nds/luma/files/winpopup-error.patch
new file mode 100644
index 000000000000..3564b875be07
--- /dev/null
+++ b/net-nds/luma/files/winpopup-error.patch
@@ -0,0 +1,54 @@
+Index: lib/luma/base/utils/gui/SearchResultView.py
+===================================================================
+RCS file: /cvsroot/luma/luma/lib/luma/base/utils/gui/SearchResultView.py,v
+retrieving revision 1.14
+retrieving revision 1.15
+diff -U3 -r1.14 -r1.15
+--- lib/luma/base/utils/gui/SearchResultView.py 8 Jul 2004 20:39:16 -0000 1.14
++++ lib/luma/base/utils/gui/SearchResultView.py 25 Aug 2004 16:07:16 -0000 1.15
+@@ -50,18 +50,14 @@
+
+ def show_entry(self, listItem):
+ while len(self.childsToClean) > 0:
+- number = -1
+- for x in range(0, len(self.childWidgets)):
+- name1 = self.childWidgets[x].name()
+- name2 = self.childsToClean[0]
+- if name1 == name2:
+- number = x
+- if not(number == -1):
+- del self.childWidgets[number]
+- del self.childsToClean[0]
++ childName = self.childsToClean[0]
++ childIndex = self.childWidgets.index(childName)
++ del self.childWidgets[childIndex]
++ del self.childsToClean[0]
+
+- floatingWidget = ChildWindow(None)
++ floatingWidget = ChildWindow(None, unicode(listItem.text(0)).encode('utf-8'))
+ widget = ObjectWidget(floatingWidget, unicode(listItem.text(0)).encode('utf-8'), 0)
++
+ floatingWidget.setCentralWidget(widget)
+ widget.buildToolBar(floatingWidget)
+ values = [self.RESULT[unicode(listItem.text(0)).encode('utf-8')]]
+@@ -127,8 +123,7 @@
+
+ def eventFilter(self, object, event):
+ if (event.type() == QEvent.Close):
+- name = object.name()
+- self.childsToClean.append(name)
++ self.childsToClean.append(object)
+ return 0
+
+ ###############################################################################
+@@ -252,8 +247,8 @@
+
+ class ChildWindow(QMainWindow):
+
+- def __init__(self, parent = None):
+- QMainWindow.__init__(self)
++ def __init__(self, parent = None, name= None):
++ QMainWindow.__init__(self, parent, name)
+
+
+ def closeEvent(self, event):
diff --git a/net-nds/luma/luma-1.4.ebuild b/net-nds/luma/luma-1.4.ebuild
index 8d369e55a8e0..4dce413e68a9 100644
--- a/net-nds/luma/luma-1.4.ebuild
+++ b/net-nds/luma/luma-1.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/luma/luma-1.4.ebuild,v 1.1 2004/08/20 00:09:26 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/luma/luma-1.4.ebuild,v 1.2 2004/10/29 18:38:39 carlo Exp $
+
+inherit eutils
DESCRIPTION="Luma is a graphical utility for accessing and managing data stored on LDAP servers."
HOMEPAGE="http://luma.sourceforge.net/"
@@ -21,10 +23,16 @@ RDEPEND=">=x11-libs/qt-3.2
DEPEND=">=x11-libs/qt-3.2
>=dev-lang/python-2.3
>=dev-python/PyQt-3.10
- >=dev-python/python-ldap-2.0.0_pre13
+ >=dev-python/python-ldap-2.0.1
samba? ( >=dev-python/py-smbpasswd-1.0 )"
-src_install () {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/winpopup-error.patch
+}
+
+src_install() {
dodir /usr
python install.py --prefix=${D}/usr
}