diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2004-09-13 19:22:44 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2004-09-13 19:22:44 +0000 |
commit | d30b8589171206af406c754cf92e931141956228 (patch) | |
tree | 124741cc13d481d27c7c3d15d25ff708cc5a7982 /kde-base | |
parent | fix patch source #63909 (diff) | |
download | historical-d30b8589171206af406c754cf92e931141956228.tar.gz historical-d30b8589171206af406c754cf92e931141956228.tar.bz2 historical-d30b8589171206af406c754cf92e931141956228.zip |
fixed spam-assistant patch
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdepim/ChangeLog | bin | 13733 -> 13912 bytes | |||
-rw-r--r-- | kde-base/kdepim/Manifest | 6 | ||||
-rw-r--r-- | kde-base/kdepim/files/kdepim-3.3.0-spam-assistant.patch | 230 | ||||
-rw-r--r-- | kde-base/kdepim/kdepim-3.3.0-r1.ebuild | 10 |
4 files changed, 211 insertions, 35 deletions
diff --git a/kde-base/kdepim/ChangeLog b/kde-base/kdepim/ChangeLog Binary files differindex 224806e2d95b..be0a94e7a83a 100644 --- a/kde-base/kdepim/ChangeLog +++ b/kde-base/kdepim/ChangeLog diff --git a/kde-base/kdepim/Manifest b/kde-base/kdepim/Manifest index a8e0f9041a4b..a7e2a43b4677 100644 --- a/kde-base/kdepim/Manifest +++ b/kde-base/kdepim/Manifest @@ -3,10 +3,10 @@ MD5 20ad9e465bdba8ac154491af0bfce253 kdepim-3.1.5.ebuild 788 MD5 2bd08076067fdbc1cda3cddffb65faee kdepim-3.2.3.ebuild 753 MD5 9b804c502e4f3943f9321f8e1455675d kdepim-3.2.2.ebuild 763 MD5 dfc869b0fce3a68f0378581c3eafacc1 kdepim-3.3.0.ebuild 696 -MD5 8db7a0fc825b84db4ff586a3128f9f5d kdepim-3.3.0-r1.ebuild 560 -MD5 8f94535677176d4aa34edd840a5a5a23 ChangeLog 13733 +MD5 5633598eeb339343a8b9593133e626a7 kdepim-3.3.0-r1.ebuild 657 +MD5 7b24aed84463f17dbaa5743b8ac36ed5 ChangeLog 13912 MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161 -MD5 4eeb577118c8fce3af1c295c0b2ec0c3 files/kdepim-3.3.0-spam-assistant.patch 23551 +MD5 f4d1f0db7f8d8af2a3a67ca332fcdaef files/kdepim-3.3.0-spam-assistant.patch 29970 MD5 0658e29c8e0fa024884f165bf129e8e9 files/digest-kdepim-3.1.5 66 MD5 037cd03c8e7281aec672e6e44c15e7e6 files/digest-kdepim-3.2.2 66 MD5 318e6b50444a5837fed2a5ea9ecc57e9 files/digest-kdepim-3.2.3 66 diff --git a/kde-base/kdepim/files/kdepim-3.3.0-spam-assistant.patch b/kde-base/kdepim/files/kdepim-3.3.0-spam-assistant.patch index d0afe4287795..790b8da1b2bd 100644 --- a/kde-base/kdepim/files/kdepim-3.3.0-spam-assistant.patch +++ b/kde-base/kdepim/files/kdepim-3.3.0-spam-assistant.patch @@ -1,6 +1,6 @@ -diff -ru kmail/antispamwizard.cpp /home/carsten/a/antispamwizard.cpp ---- kmail/antispamwizard.cpp 2004-08-05 21:26:52.000000000 +0200 -+++ /home/carsten/a/antispamwizard.cpp 2004-09-03 13:58:25.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/antispamwizard.cpp ./kmail/antispamwizard.cpp +--- /home/fiam/kdepim-3.3.0.orig/kmail/antispamwizard.cpp 2004-08-05 21:26:52.000000000 +0200 ++++ ./kmail/antispamwizard.cpp 2004-09-11 14:27:58.745702928 +0200 @@ -141,6 +141,7 @@ << mVirusRulesPage->selectedFolderName() << endl; @@ -156,10 +156,18 @@ diff -ru kmail/antispamwizard.cpp /home/carsten/a/antispamwizard.cpp } } -diff -ru kmail/kmail_part.cpp /home/carsten/a/kmail_part.cpp ---- kmail/kmail_part.cpp 2004-08-05 21:26:53.000000000 +0200 -+++ /home/carsten/a/kmail_part.cpp 2004-09-03 13:58:38.000000000 +0200 -@@ -58,7 +58,7 @@ +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmail_part.cpp ./kmail/kmail_part.cpp +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmail_part.cpp 2004-08-05 21:26:53.000000000 +0200 ++++ ./kmail/kmail_part.cpp 2004-09-11 14:27:58.746702776 +0200 +@@ -49,6 +49,7 @@ + #include <dcopclient.h> + #include <kiconloader.h> + #include <kdebug.h> ++#include <libkdepim/part.h> + + #include <qlayout.h> + +@@ -58,7 +59,7 @@ KMailPart::KMailPart(QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const QStringList &) : @@ -168,7 +176,7 @@ diff -ru kmail/kmail_part.cpp /home/carsten/a/kmail_part.cpp mParentWidget( parentWidget ) { kdDebug(5006) << "KMailPart()" << endl; -@@ -94,6 +94,8 @@ +@@ -94,6 +95,8 @@ kmsetSignalHandler(kmsignalHandler); kapp->dcopClient()->resume(); // Ok. We are ready for DCOP requests. @@ -177,7 +185,7 @@ diff -ru kmail/kmail_part.cpp /home/carsten/a/kmail_part.cpp // create a canvas to insert our widget QWidget *canvas = new QWidget(parentWidget, widgetName); canvas->setFocusPolicy(QWidget::ClickFocus); -@@ -118,7 +120,8 @@ +@@ -118,7 +121,8 @@ setXMLFile( "kmmainwin.rc" ); kmkernel->inboxFolder()->close(); #else @@ -187,7 +195,7 @@ diff -ru kmail/kmail_part.cpp /home/carsten/a/kmail_part.cpp QVBoxLayout *topLayout = new QVBoxLayout(canvas); topLayout->addWidget(mainWidget); mainWidget->setFocusPolicy(QWidget::ClickFocus); -@@ -237,6 +240,7 @@ +@@ -237,6 +241,7 @@ return mParentWidget; } @@ -195,9 +203,29 @@ diff -ru kmail/kmail_part.cpp /home/carsten/a/kmail_part.cpp KMailBrowserExtension::KMailBrowserExtension(KMailPart *parent) : KParts::BrowserExtension(parent, "KMailBrowserExtension") { -diff -ru kmail/kmfilter.cpp /home/carsten/a/kmfilter.cpp ---- kmail/kmfilter.cpp 2004-05-22 22:58:05.000000000 +0200 -+++ /home/carsten/a/kmfilter.cpp 2004-09-03 13:58:02.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmail_part.h ./kmail/kmail_part.h +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmail_part.h 2004-06-25 10:57:47.000000000 +0200 ++++ ./kmail/kmail_part.h 2004-09-11 14:27:58.747702624 +0200 +@@ -33,6 +33,7 @@ + #include <kparts/factory.h> + #include <kparts/event.h> + #include <qwidget.h> ++#include <libkdepim/part.h> + + class KInstance; + class KAboutData; +@@ -47,7 +48,7 @@ + + class ActionManager; + +-class KMailPart: public KParts::ReadOnlyPart, virtual public KMailPartIface ++class KMailPart: public KPIM::Part, virtual public KMailPartIface + { + Q_OBJECT + public: +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmfilter.cpp ./kmail/kmfilter.cpp +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmfilter.cpp 2004-05-22 22:58:05.000000000 +0200 ++++ ./kmail/kmfilter.cpp 2004-09-11 14:27:58.748702472 +0200 @@ -180,6 +180,8 @@ bStopProcessingHere = config->readBoolEntry("StopProcessingHere", true); @@ -215,9 +243,9 @@ diff -ru kmail/kmfilter.cpp /home/carsten/a/kmfilter.cpp config->writeEntry( "Icon", mIcon ); QString key; -diff -ru kmail/kmfilter.h /home/carsten/a/kmfilter.h ---- kmail/kmfilter.h 2004-05-22 22:58:05.000000000 +0200 -+++ /home/carsten/a/kmfilter.h 2004-09-03 13:57:48.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmfilter.h ./kmail/kmfilter.h +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmfilter.h 2004-05-22 22:58:05.000000000 +0200 ++++ ./kmail/kmfilter.h 2004-09-11 14:27:58.749702320 +0200 @@ -154,10 +154,42 @@ void setStopProcessingHere( bool aStop ) { bStopProcessingHere = aStop; } bool stopProcessingHere() const { return bStopProcessingHere; } @@ -270,9 +298,40 @@ diff -ru kmail/kmfilter.h /home/carsten/a/kmfilter.h }; #endif /*kmfilter_h*/ -diff -ru kmail/kmmainwidget.cpp /home/carsten/a/kmmainwidget.cpp ---- kmail/kmmainwidget.cpp 2004-08-09 11:27:48.000000000 +0200 -+++ /home/carsten/a/kmmainwidget.cpp 2004-09-03 13:55:55.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmfiltermgr.cpp ./kmail/kmfiltermgr.cpp +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmfiltermgr.cpp 2004-05-22 22:58:05.000000000 +0200 ++++ ./kmail/kmfiltermgr.cpp 2004-09-11 14:27:58.750702168 +0200 +@@ -321,6 +321,15 @@ + endUpdate(); + } + ++void KMFilterMgr::appendFilters( const QPtrList <KMFilter> filters ) ++{ ++ beginUpdate(); ++ QPtrListIterator<KMFilter> it(filters); ++ for ( it.toFirst(); it.current() ; ++it ) ++ append( *it ); ++ writeConfig( TRUE ); ++ endUpdate(); ++} + + //----------------------------------------------------------------------------- + bool KMFilterMgr::folderRemoved(KMFolder* aFolder, KMFolder* aNewFolder) +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmfiltermgr.h ./kmail/kmfiltermgr.h +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmfiltermgr.h 2004-05-22 22:58:05.000000000 +0200 ++++ ./kmail/kmfiltermgr.h 2004-09-11 14:27:58.751702016 +0200 +@@ -48,6 +48,8 @@ + write everything back into the configuration.*/ + void appendFilter( KMFilter* filter ); + ++ void appendFilters( const QPtrList <KMFilter> ); ++ + /** Process given message by applying the filter rules one by + one. You can select which set of filters (incoming or outgoing) + should be used. +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwidget.cpp ./kmail/kmmainwidget.cpp +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwidget.cpp 2004-08-09 11:27:48.000000000 +0200 ++++ ./kmail/kmmainwidget.cpp 2004-09-11 14:27:58.754701560 +0200 @@ -101,8 +101,9 @@ static KStaticDeleter<QPtrList<KMMainWidget> > mwlsd; @@ -470,9 +529,9 @@ diff -ru kmail/kmmainwidget.cpp /home/carsten/a/kmmainwidget.cpp } //----------------------------------------------------------------------------- -diff -ru kmail/kmmainwidget.h /home/carsten/a/kmmainwidget.h ---- kmail/kmmainwidget.h 2004-08-05 21:26:53.000000000 +0200 -+++ /home/carsten/a/kmmainwidget.h 2004-09-03 13:55:26.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwidget.h ./kmail/kmmainwidget.h +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwidget.h 2004-08-05 21:26:53.000000000 +0200 ++++ ./kmail/kmmainwidget.h 2004-09-11 14:27:58.756701256 +0200 @@ -9,6 +9,7 @@ #define __KMMAINWIDGET @@ -562,9 +621,9 @@ diff -ru kmail/kmmainwidget.h /home/carsten/a/kmmainwidget.h static QPtrList<KMMainWidget>* s_mainWidgetList; }; -diff -ru kmail/kmmainwin.cpp /home/carsten/a/kmmainwin.cpp ---- kmail/kmmainwin.cpp 2004-08-05 21:26:53.000000000 +0200 -+++ /home/carsten/a/kmmainwin.cpp 2004-09-03 13:54:47.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwin.cpp ./kmail/kmmainwin.cpp +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwin.cpp 2004-08-05 21:26:53.000000000 +0200 ++++ ./kmail/kmmainwin.cpp 2004-09-11 14:27:58.757701104 +0200 @@ -27,7 +27,7 @@ mReallyClose( false ) { @@ -585,9 +644,9 @@ diff -ru kmail/kmmainwin.cpp /home/carsten/a/kmmainwin.cpp applyMainWindowSettings(KMKernel::config(), "Main Window"); connect( KPIM::BroadcastStatus::instance(), SIGNAL( statusMsg( const QString& ) ), -diff -ru kmail/kmmainwin.rc /home/carsten/a/kmmainwin.rc ---- kmail/kmmainwin.rc 2004-07-17 21:16:37.000000000 +0200 -+++ /home/carsten/a/kmmainwin.rc 2004-09-03 13:57:00.000000000 +0200 +diff -uNr /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwin.rc ./kmail/kmmainwin.rc +--- /home/fiam/kdepim-3.3.0.orig/kmail/kmmainwin.rc 2004-07-17 21:16:37.000000000 +0200 ++++ ./kmail/kmmainwin.rc 2004-09-11 14:27:58.758700952 +0200 @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui> -<kpartgui version="77" name="kmmainwin" > @@ -615,3 +674,118 @@ diff -ru kmail/kmmainwin.rc /home/carsten/a/kmmainwin.rc + <ActionList name="toolbar_filter_actions" /> </ToolBar> </kpartgui> +diff -uNr /home/fiam/kdepim-3.3.0.orig/libkdepim/Makefile.am ./libkdepim/Makefile.am +--- /home/fiam/kdepim-3.3.0.orig/libkdepim/Makefile.am 2004-08-05 21:27:05.000000000 +0200 ++++ ./libkdepim/Makefile.am 2004-09-11 14:28:18.001775560 +0200 +@@ -24,7 +24,7 @@ + overlaywidget.cpp progressmanager.cpp progressdialog.cpp \ + statusbarprogresswidget.cpp ssllabel.cpp completionordereditor.cpp \ + resourceabc.cpp diffalgo.cpp addresseediffalgo.cpp calendardiffalgo.cpp \ +- htmldiffalgodisplay.cpp broadcaststatus.cpp ++ htmldiffalgodisplay.cpp broadcaststatus.cpp part.cpp + + noinst_HEADERS = categoryselectdialog.h categoryeditdialog.h ktimeedit.h + $(srcdir)/categoryselectdialog.h: categoryselectdialog_base.h +@@ -36,7 +36,7 @@ + AddressBookServiceIface_DIR = $(srcdir)/interfaces + + libkdepim_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 1:0:0 +-libkdepim_la_LIBADD = $(LIB_KIO) $(LIB_KABC) \ ++libkdepim_la_LIBADD = $(LIB_KIO) $(LIB_KABC) $(LIB_KPARTS) \ + $(top_builddir)/libkcal/libkcal.la $(LIB_KDEUI) + # $top_builddir)/libkdepim/resources/libkpimresources.la + +diff -uNr /home/fiam/kdepim-3.3.0.orig/libkdepim/part.cpp ./libkdepim/part.cpp +--- /home/fiam/kdepim-3.3.0.orig/libkdepim/part.cpp 1970-01-01 01:00:00.000000000 +0100 ++++ ./libkdepim/part.cpp 2004-09-11 14:27:58.791695936 +0200 +@@ -0,0 +1,35 @@ ++/* ++ This file is part of libkdepim. ++ ++ Copyright (c) 2004 Tobias Koenig <tokoe@kde.org> ++ ++ This library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Library General Public ++ License as published by the Free Software Foundation; either ++ version 2 of the License, or (at your option) any later version. ++ ++ This library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public License ++ along with this library; see the file COPYING.LIB. If not, write to ++ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, ++ Boston, MA 02111-1307, USA. ++*/ ++ ++#include "part.h" ++ ++using namespace KPIM; ++ ++Part::Part( QObject *parent, const char *name ) ++ : KParts::ReadOnlyPart( parent, name ) ++{ ++} ++ ++Part::~Part() ++{ ++} ++ ++#include "part.moc" +diff -uNr /home/fiam/kdepim-3.3.0.orig/libkdepim/part.h ./libkdepim/part.h +--- /home/fiam/kdepim-3.3.0.orig/libkdepim/part.h 1970-01-01 01:00:00.000000000 +0100 ++++ ./libkdepim/part.h 2004-09-11 14:27:58.798694872 +0200 +@@ -0,0 +1,51 @@ ++/* ++ This file is part of libkdepim. ++ ++ Copyright (c) 2004 Tobias Koenig <tokoe@kde.org> ++ ++ This library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Library General Public ++ License as published by the Free Software Foundation; either ++ version 2 of the License, or (at your option) any later version. ++ ++ This library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Library General Public License for more details. ++ ++ You should have received a copy of the GNU Library General Public License ++ along with this library; see the file COPYING.LIB. If not, write to ++ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, ++ Boston, MA 02111-1307, USA. ++*/ ++ ++#ifndef KPIM_PART_H ++#define KPIM_PART_H ++ ++#include <kparts/part.h> ++ ++namespace KPIM { ++ ++/** ++ This special part should be used as base class for all applications ++ which shall be integrated in Kontact. ++ */ ++class Part : public KParts::ReadOnlyPart ++{ ++ Q_OBJECT ++ ++ public: ++ Part( QObject *parent, const char *name ); ++ virtual ~Part(); ++ ++ signals: ++ /** ++ Emit this signal whenever the plugin with this part shall be ++ raised inside Kontact. ++ */ ++ void raise(); ++}; ++ ++} ++ ++#endif diff --git a/kde-base/kdepim/kdepim-3.3.0-r1.ebuild b/kde-base/kdepim/kdepim-3.3.0-r1.ebuild index 17d85c534cc9..0c654a97b9bf 100644 --- a/kde-base/kdepim/kdepim-3.3.0-r1.ebuild +++ b/kde-base/kdepim/kdepim-3.3.0-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-3.3.0-r1.ebuild,v 1.1 2004/09/03 20:29:26 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-3.3.0-r1.ebuild,v 1.2 2004/09/13 19:22:44 carlo Exp $ -inherit kde-dist +inherit kde-dist eutils DESCRIPTION="KDE PIM (Personal Information Management) apps: korganizer, kmail, knode..." @@ -14,5 +14,7 @@ DEPEND="pda? ( app-pda/pilot-link dev-libs/libmal ) src_unpack() { kde_src_unpack - epatch ${FILESDIR}/${P}-spam-assistant.patch -}
\ No newline at end of file + epatch ${FILESDIR}/kdepim-3.3.0-korganizer.patch + epatch ${FILESDIR}/kdepim-3.3.0-spam-assistant.patch + make -f admin/Makefile.common +} |