small patch, #66453
authorCarsten Lohrke <carlo@gentoo.org>
Fri, 29 Oct 2004 18:38:39 +0000 (18:38 +0000)
committerCarsten Lohrke <carlo@gentoo.org>
Fri, 29 Oct 2004 18:38:39 +0000 (18:38 +0000)
net-nds/luma/ChangeLog
net-nds/luma/Manifest
net-nds/luma/files/winpopup-error.patch [new file with mode: 0644]
net-nds/luma/luma-1.4.ebuild

index 1ddb00bb3295081e91d439f61ca487063c37c067..eed3e904f5d1ab71c4ade02b076d6b01f8b820b3 100644 (file)
@@ -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)
 
index 23b0f3a714820ce818989ad7a6af6be99dae0f28..5b34ba1d18feee2e54762f61cd2ad612b6bfb8ee 100644 (file)
@@ -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 (file)
index 0000000..3564b87
--- /dev/null
@@ -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):
index 8d369e55a8e0f75a88758ac24b2ed5a922539bfc..4dce413e68a9d646e107c49f57c9d9f7279e54cd 100644 (file)
@@ -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
 }