diff options
author | Alberto Villa <avilla@FreeBSD.org> | 2011-04-22 23:37:20 +0000 |
---|---|---|
committer | Alberto Villa <avilla@FreeBSD.org> | 2011-04-22 23:37:20 +0000 |
commit | 41e5649995e444cbc51abc45335acb591c4bd5ff (patch) | |
tree | 3057593fcc5de44a7c18ed93150d9dc4b36a4424 /deskutils/kdepim4 | |
parent | e15f606057ce71123adce60db7b6c841412c9c5c (diff) | |
download | ports-41e5649995e444cbc51abc45335acb591c4bd5ff.tar.gz ports-41e5649995e444cbc51abc45335acb591c4bd5ff.zip |
Notes
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r-- | deskutils/kdepim4/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdepim4/distinfo | 4 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-kaddressbook__main.cpp | 16 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-kmail__kmmainwidget.cpp | 23 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-kmail__main.cpp | 17 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-kmail__popaccount.cpp | 21 | ||||
-rw-r--r-- | deskutils/kdepim4/files/patch-kontact__src__main.cpp | 14 |
7 files changed, 2 insertions, 94 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile index 1902c8862328..ce22ee241e3a 100644 --- a/deskutils/kdepim4/Makefile +++ b/deskutils/kdepim4/Makefile @@ -6,7 +6,6 @@ PORTNAME= kdepim PORTVERSION= ${KDEPIM4_VERSION} -PORTREVISION= 1 CATEGORIES= deskutils kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDEPIM4_BRANCH}/kdepim-${PORTVERSION}/src diff --git a/deskutils/kdepim4/distinfo b/deskutils/kdepim4/distinfo index e0d6801ef33b..d09596e75e92 100644 --- a/deskutils/kdepim4/distinfo +++ b/deskutils/kdepim4/distinfo @@ -1,2 +1,2 @@ -SHA256 (KDE/kdepim-4.4.10.tar.bz2) = 9e1770cb8d4bf1f95c3a2006877e7b49bc2a641591c990d07411d7424ea33099 -SIZE (KDE/kdepim-4.4.10.tar.bz2) = 9071402 +SHA256 (KDE/kdepim-4.4.11.1.tar.bz2) = a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf +SIZE (KDE/kdepim-4.4.11.1.tar.bz2) = 8964708 diff --git a/deskutils/kdepim4/files/patch-kaddressbook__main.cpp b/deskutils/kdepim4/files/patch-kaddressbook__main.cpp deleted file mode 100644 index 9e9e0d8ffd10..000000000000 --- a/deskutils/kdepim4/files/patch-kaddressbook__main.cpp +++ /dev/null @@ -1,16 +0,0 @@ ---- kaddressbook/main.cpp -+++ kaddressbook/main.cpp -@@ -49,11 +49,13 @@ int main( int argc, char **argv ) - MainWindow *window = new MainWindow; - window->show(); - -+#if !KDE_IS_VERSION(4,6,0) - if ( !Akonadi::Control::start( window ) ) { - //TODO: add message box after string freeze - kWarning() << "Unable to start Akonadi server, exit application"; - return 1; - } -+#endif - - return app.exec(); - } diff --git a/deskutils/kdepim4/files/patch-kmail__kmmainwidget.cpp b/deskutils/kdepim4/files/patch-kmail__kmmainwidget.cpp deleted file mode 100644 index 05c026f8bda5..000000000000 --- a/deskutils/kdepim4/files/patch-kmail__kmmainwidget.cpp +++ /dev/null @@ -1,23 +0,0 @@ ---- kmail/kmmainwidget.cpp -+++ kmail/kmmainwidget.cpp -@@ -165,6 +165,9 @@ using KMail::TemplateParser; - - #include <errno.h> // ugh - -+#include <akonadi/control.h> -+#include <akonadi/servermanager.h> -+ - #include "kmmainwidget.moc" - - K_GLOBAL_STATIC( KMMainWidget::PtrList, theMainWidgetList ) -@@ -186,6 +189,10 @@ KMMainWidget::KMMainWidget( QWidget *parent, KXMLGUIClient *aGUIClient, - mVacationIndicatorActive( false ), - mGoToFirstUnreadMessageInSelectedFolder( false ) - { -+#if KDE_IS_VERSION(4,6,0) -+ Akonadi::Control::widgetNeedsAkonadi(this); -+ Akonadi::ServerManager::start(); -+#endif - // must be the first line of the constructor: - mStartupDone = false; - mWasEverShown = false; diff --git a/deskutils/kdepim4/files/patch-kmail__main.cpp b/deskutils/kdepim4/files/patch-kmail__main.cpp deleted file mode 100644 index bbdfc3e86f7d..000000000000 --- a/deskutils/kdepim4/files/patch-kmail__main.cpp +++ /dev/null @@ -1,17 +0,0 @@ ---- kmail/main.cpp -+++ kmail/main.cpp -@@ -145,12 +145,14 @@ int main(int argc, char *argv[]) - app.setEventLoopReached(); - app.delayedInstanceCreation(); - -+#if !KDE_IS_VERSION(4,6,0) - // Start Akonadi - if ( !Akonadi::Control::start( kmkernel->getKMMainWidget() ) ) { - //TODO: add message box after string freeze - kWarning() << "Unable to start Akonadi server, exit application"; - return 1; - } -+#endif - - // Go! - int ret = qApp->exec(); diff --git a/deskutils/kdepim4/files/patch-kmail__popaccount.cpp b/deskutils/kdepim4/files/patch-kmail__popaccount.cpp deleted file mode 100644 index 8c8c83e8ecf4..000000000000 --- a/deskutils/kdepim4/files/patch-kmail__popaccount.cpp +++ /dev/null @@ -1,21 +0,0 @@ ---- kmail/popaccount.cpp -+++ kmail/popaccount.cpp -@@ -959,11 +959,13 @@ void PopAccount::slotData( KIO::Job* job, const QByteArray &data) - .subs( numBytesToRead/1024 ).subs( mLogin ).subs( mHost ) - .toString(); - } -- mMailCheckProgressItem->setStatus( msg ); -- mMailCheckProgressItem->setProgress( -- (numBytesToRead <= 100) ? 50 // We never know what the server tells us -- // This way of dividing is required for > 21MB of mail -- : (numBytesRead / (numBytesToRead / 100)) ); -+ if( mMailCheckProgressItem ) { -+ mMailCheckProgressItem->setStatus( msg ); -+ mMailCheckProgressItem->setProgress( -+ (numBytesToRead <= 100) ? 50 // We never know what the server tells us -+ // This way of dividing is required for > 21MB of mail -+ : (numBytesRead / (numBytesToRead / 100)) ); -+ } - } - return; - } diff --git a/deskutils/kdepim4/files/patch-kontact__src__main.cpp b/deskutils/kdepim4/files/patch-kontact__src__main.cpp deleted file mode 100644 index 1e6ce7237350..000000000000 --- a/deskutils/kdepim4/files/patch-kontact__src__main.cpp +++ /dev/null @@ -1,14 +0,0 @@ ---- kontact/src/main.cpp -+++ kontact/src/main.cpp -@@ -199,9 +199,11 @@ int main( int argc, char **argv ) - - KontactApp app; - -+#if !KDE_IS_VERSION(4,6,0) - // KDE 4.4: do akonadi startup before creating any window, since creating - // the window loads kmail. In 4.5 we'll do this startup async instead. - Akonadi::Control::start( 0 ); -+#endif - - // Qt doesn't treat the system tray as a window, and therefore Qt would quit - // the event loop when an error message is clicked away while Kontact is in the |