summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-09-02 21:47:45 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-09-02 21:47:45 +0000
commit2aeda07b84812f9600646dd75dd29d9ea9b06308 (patch)
treea6a2ac39311ed16bb6e78643fb8c8b1e4acc01f8 /net-p2p/kmldonkey
parentlazy (diff)
downloadgentoo-2-2aeda07b84812f9600646dd75dd29d9ea9b06308.tar.gz
gentoo-2-2aeda07b84812f9600646dd75dd29d9ea9b06308.tar.bz2
gentoo-2-2aeda07b84812f9600646dd75dd29d9ea9b06308.zip
Added a patch to suppress a wrong dialog. Fixes bug 189334. Thanks to pTeppic for providing the patch!
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-p2p/kmldonkey')
-rw-r--r--net-p2p/kmldonkey/ChangeLog10
-rw-r--r--net-p2p/kmldonkey/files/digest-kmldonkey-0.10.1-r13
-rw-r--r--net-p2p/kmldonkey/files/kmldonkey-0.10.1-failed-dialog-189334.diff12
-rw-r--r--net-p2p/kmldonkey/kmldonkey-0.10.1-r1.ebuild32
4 files changed, 56 insertions, 1 deletions
diff --git a/net-p2p/kmldonkey/ChangeLog b/net-p2p/kmldonkey/ChangeLog
index 2e3c5fcdc864..8d02988761da 100644
--- a/net-p2p/kmldonkey/ChangeLog
+++ b/net-p2p/kmldonkey/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-p2p/kmldonkey
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/kmldonkey/ChangeLog,v 1.23 2007/02/04 00:14:31 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/kmldonkey/ChangeLog,v 1.24 2007/09/02 21:47:45 philantrop Exp $
+
+*kmldonkey-0.10.1-r1 (02 Sep 2007)
+
+ 02 Sep 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/kmldonkey-0.10.1-failed-dialog-189334.diff,
+ +kmldonkey-0.10.1-r1.ebuild:
+ Added a patch to suppress a wrong failed dialog. Fixes bug 189334. Thanks to
+ pTeppic for providing the patch!
04 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-p2p/kmldonkey/files/digest-kmldonkey-0.10.1-r1 b/net-p2p/kmldonkey/files/digest-kmldonkey-0.10.1-r1
new file mode 100644
index 000000000000..030991d94a5b
--- /dev/null
+++ b/net-p2p/kmldonkey/files/digest-kmldonkey-0.10.1-r1
@@ -0,0 +1,3 @@
+MD5 e1932b1455c7a5cec53145b675bdd8d7 kmldonkey-0.10.1.tar.bz2 960967
+RMD160 fb1c89bd8790c9f937ee6dae26a80200157dcf1f kmldonkey-0.10.1.tar.bz2 960967
+SHA256 d73efc6d967494b1e13f174aee18fa5e4cd2232f480e9d88310d17cfd6e3e5d1 kmldonkey-0.10.1.tar.bz2 960967
diff --git a/net-p2p/kmldonkey/files/kmldonkey-0.10.1-failed-dialog-189334.diff b/net-p2p/kmldonkey/files/kmldonkey-0.10.1-failed-dialog-189334.diff
new file mode 100644
index 000000000000..c983ce08a587
--- /dev/null
+++ b/net-p2p/kmldonkey/files/kmldonkey-0.10.1-failed-dialog-189334.diff
@@ -0,0 +1,12 @@
+diff -Naur kmldonkey-0.10.1.orig/src/scripts/submit.cpp kmldonkey-0.10.1/src/scripts/submit.cpp
+--- kmldonkey-0.10.1.orig/src/scripts/submit.cpp 2005-07-26 18:40:40.000000000 +0200
++++ kmldonkey-0.10.1/src/scripts/submit.cpp 2007-09-02 23:36:00.000000000 +0200
+@@ -48,7 +48,7 @@
+ {
+ kdDebug() << "Callback cmd: " << cmd << endl;
+ kdDebug() << "Callback result: " << res << endl;
+- if (res.lower() != "done" && !res.contains("parsing http url", false)) {
++ if (!res.contains("Added link", false)) {
+ /*
+ if (res.contains("force_download")) {
+ if (KMessageBox::warningYesNo(0, i18n("Failed to submit URL %1\n\nForce download?")
diff --git a/net-p2p/kmldonkey/kmldonkey-0.10.1-r1.ebuild b/net-p2p/kmldonkey/kmldonkey-0.10.1-r1.ebuild
new file mode 100644
index 000000000000..61288eaa2209
--- /dev/null
+++ b/net-p2p/kmldonkey/kmldonkey-0.10.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/kmldonkey/kmldonkey-0.10.1-r1.ebuild,v 1.1 2007/09/02 21:47:45 philantrop Exp $
+
+inherit kde eutils
+
+DESCRIPTION="Provides integration for the MLDonkey P2P software and KDE 3"
+HOMEPAGE="http://www.kmldonkey.org/"
+SRC_URI="http://savannah.nongnu.org/download/kmldonkey/${P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="|| ( kde-base/kcontrol kde-base/kdebase )"
+
+need-kde 3.5
+
+src_unpack() {
+ kde_src_unpack
+
+ epatch "${FILESDIR}/${P}-sandbox.patch"
+ epatch "${FILESDIR}/${P}-failed-dialog-189334.diff"
+ rm -f "${S}/configure"
+}
+
+pkg_postinst() {
+ echo
+ einfo "To configure Kmldonkey, you can use the KDE Control Center."
+ echo
+}