summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-02-27 23:00:25 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-02-27 23:00:25 +0000
commita88bc50b4493a962bb7d11b705672e324bc2a5b8 (patch)
treeec3b4a6205119259402bf47fa6eb1aa7403b7fdd /kde-base/kdepim
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-a88bc50b4493a962bb7d11b705672e324bc2a5b8.tar.gz
gentoo-2-a88bc50b4493a962bb7d11b705672e324bc2a5b8.tar.bz2
gentoo-2-a88bc50b4493a962bb7d11b705672e324bc2a5b8.zip
New version.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'kde-base/kdepim')
-rw-r--r--kde-base/kdepim/ChangeLog7
-rw-r--r--kde-base/kdepim/files/digest-kdepim-3.4.0_rc11
-rw-r--r--kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch89
-rw-r--r--kde-base/kdepim/kdepim-3.4.0_rc1.ebuild27
4 files changed, 123 insertions, 1 deletions
diff --git a/kde-base/kdepim/ChangeLog b/kde-base/kdepim/ChangeLog
index 7495bba9a717..069af440287a 100644
--- a/kde-base/kdepim/ChangeLog
+++ b/kde-base/kdepim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kdepim
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/ChangeLog,v 1.140 2005/02/22 19:02:19 hardave Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/ChangeLog,v 1.141 2005/02/27 22:57:14 greg_g Exp $
+
+*kdepim-3.4.0_rc1 (27 Feb 2005)
+
+ 27 Feb 2005; Gregorio Guidi <greg_g@gentoo.org> +kdepim-3.4.0_rc1.ebuild:
+ New version.
22 Feb 2005; Hardave Riar <hardave@gentoo.org> kdepim-3.3.2.ebuild:
Marked ~mips
diff --git a/kde-base/kdepim/files/digest-kdepim-3.4.0_rc1 b/kde-base/kdepim/files/digest-kdepim-3.4.0_rc1
new file mode 100644
index 000000000000..96d7917ae66a
--- /dev/null
+++ b/kde-base/kdepim/files/digest-kdepim-3.4.0_rc1
@@ -0,0 +1 @@
+MD5 74359ff04bd4ca12538fffb2217ac789 kdepim-3.4.0-rc1.tar.bz2 11405429
diff --git a/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch b/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch
new file mode 100644
index 000000000000..59ea61bb4337
--- /dev/null
+++ b/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch
@@ -0,0 +1,89 @@
+--- kdepim-3.4.0/kioslaves/imap4/imap4.cc 2005-02-23 12:08:47.000000000 +0100
++++ kdepim-3.4.0/kioslaves/imap4/imap4.cc 2005-02-27 00:39:39.231224880 +0100
+@@ -1220,9 +1220,9 @@
+ void
+ IMAP4Protocol::special (const QByteArray & aData)
+ {
++ kdDebug(7116) << "IMAP4Protocol::special" << endl;
+ if (!makeLogin()) return;
+
+- kdDebug(7116) << "IMAP4Protocol::special" << endl;
+ QDataStream stream(aData, IO_ReadOnly);
+
+ int tmp;
+@@ -1249,6 +1249,12 @@
+ {
+ // NOOP
+ imapCommand *cmd = doCommand(imapCommand::clientNoop());
++ if (cmd->result () != "OK")
++ {
++ completeQueue.removeRef (cmd);
++ error (ERR_CONNECTION_BROKEN, myHost);
++ return;
++ }
+ completeQueue.removeRef (cmd);
+ finished();
+ break;
+@@ -1271,6 +1277,7 @@
+ imapCommand *cmd = doCommand(imapCommand::clientUnsubscribe(aBox));
+ if (cmd->result () != "OK")
+ {
++ completeQueue.removeRef (cmd);
+ error(ERR_SLAVE_DEFINED, i18n("Unsubscribe of folder %1 "
+ "failed. The server returned: %2")
+ .arg(_url.prettyURL())
+@@ -1291,6 +1298,7 @@
+ imapCommand *cmd = doCommand(imapCommand::clientSubscribe(aBox));
+ if (cmd->result () != "OK")
+ {
++ completeQueue.removeRef (cmd);
+ error(ERR_SLAVE_DEFINED, i18n("Subscribe of folder %1 "
+ "failed. The server returned: %2")
+ .arg(_url.prettyURL())
+@@ -1340,6 +1348,7 @@
+ "\\SEEN \\ANSWERED \\FLAGGED \\DRAFT"));
+ if (cmd->result () != "OK")
+ {
++ completeQueue.removeRef (cmd);
+ error(ERR_COULD_NOT_WRITE, i18n("Changing the flags of message %1 "
+ "failed.").arg(_url.prettyURL()));
+ return;
+@@ -1351,6 +1360,7 @@
+ clientStore (aSequence, "+FLAGS.SILENT", newFlags));
+ if (cmd->result () != "OK")
+ {
++ completeQueue.removeRef (cmd);
+ error(ERR_COULD_NOT_WRITE, i18n("Changing the flags of message %1 "
+ "failed.").arg(_url.prettyURL()));
+ return;
+@@ -1632,10 +1642,9 @@
+ void
+ IMAP4Protocol::slave_status ()
+ {
+- kdDebug(7116) << "IMAP4::slave_status" << endl;
+-// KIO::TCPSlaveBase::slave_status();
+- slaveStatus (myHost, !(getState () == ISTATE_NO));
+-// slaveStatus(QString::null,false);
++ bool connected = (getState() != ISTATE_NO) && isConnectionValid();
++ kdDebug(7116) << "IMAP4::slave_status " << connected << endl;
++ slaveStatus ( connected ? myHost : QString::null, connected );
+ }
+
+ void
+@@ -1838,6 +1847,7 @@
+
+ kdDebug(7116) << "IMAP4::makeLogin - checking login" << endl;
+ bool alreadyConnected = getState() == ISTATE_CONNECT;
++ kdDebug(7116) << "IMAP4::makeLogin - alreadyConnected " << alreadyConnected << endl;
+ if (alreadyConnected || connectToHost (myHost.latin1(), myPort))
+ {
+ // fcntl (m_iSock, F_SETFL, (fcntl (m_iSock, F_GETFL) | O_NDELAY));
+@@ -1982,6 +1992,8 @@
+ }
+ }
+ completeQueue.removeRef (cmd);
++ } else {
++ kdDebug(7116) << "makeLogin - NO login" << endl;
+ }
+
+ return getState() == ISTATE_LOGIN;
diff --git a/kde-base/kdepim/kdepim-3.4.0_rc1.ebuild b/kde-base/kdepim/kdepim-3.4.0_rc1.ebuild
new file mode 100644
index 000000000000..718a9b08f400
--- /dev/null
+++ b/kde-base/kdepim/kdepim-3.4.0_rc1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-3.4.0_rc1.ebuild,v 1.1 2005/02/27 22:57:14 greg_g Exp $
+
+inherit kde-dist eutils
+
+DESCRIPTION="KDE PIM (Personal Information Management) apps: korganizer, kmail, knode..."
+
+KEYWORDS="~x86 ~amd64 ~sparc"
+IUSE="crypt gnokii pda"
+
+DEPEND="~kde-base/kdebase-${PV}
+ >=dev-libs/cyrus-sasl-2
+ pda? ( app-pda/pilot-link dev-libs/libmal )
+ gnokii? ( net-dialup/gnokii )
+ crypt? ( >=app-crypt/gpgme-0.9.0-r1 )
+ !net-www/akregator"
+
+src_compile() {
+ # grave kmail bug, probably it will be fixed in 3.4.0 final.
+ epatch ${FILESDIR}/${P}-dimap-cache-loss.patch
+
+ # needed to detect pi-notepad.h, used by the kpilot notepad conduit.
+ use pda && myconf="${myconf} --with-extra-includes=/usr/include/libpisock"
+
+ kde_src_compile
+}