1 |
dilfridge 12/08/01 22:54:53 |
2 |
|
3 |
Added: |
4 |
0002-kmail-Only-start-akonadi-asynchronously-on-KDE-4.6.2.patch |
5 |
0005-Fix-bug-276086-crash-on-exit.patch |
6 |
0004-libkdepim-Make-spell-checking-work-again.patch |
7 |
0004-kmail-Make-spell-checking-work-again.patch |
8 |
Log: |
9 |
Add upstream bugfixes |
10 |
|
11 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.1 kde-base/kmail/files/4.4/0002-kmail-Only-start-akonadi-asynchronously-on-KDE-4.6.2.patch |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0002-kmail-Only-start-akonadi-asynchronously-on-KDE-4.6.2.patch?rev=1.1&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0002-kmail-Only-start-akonadi-asynchronously-on-KDE-4.6.2.patch?rev=1.1&content-type=text/plain |
18 |
|
19 |
Index: 0002-kmail-Only-start-akonadi-asynchronously-on-KDE-4.6.2.patch |
20 |
=================================================================== |
21 |
From 0b44b1aa3d66f974e3d255c6e027947f1375b685 Mon Sep 17 00:00:00 2001 |
22 |
From: Stephen Kelly <steveire@×××××.com> |
23 |
Date: Mon, 25 Apr 2011 22:09:08 +0200 |
24 |
Subject: [PATCH 2/6] Only start akonadi asynchronously on KDE 4.6.2. |
25 |
|
26 |
Revises cfa404b7188e4c26bddbc9579728f6d25f8cd214 to hopefully fix |
27 |
the bug seen on fedora. |
28 |
|
29 |
Please re-test this on 4.6.2 on fedora too. Unfortunately that's the |
30 |
best I can do because I can't reproduce the issue. |
31 |
|
32 |
BUG: 268120 |
33 |
--- |
34 |
kaddressbook/main.cpp | 2 +- |
35 |
kmail/kmmainwidget.cpp | 2 +- |
36 |
kmail/main.cpp | 2 +- |
37 |
kontact/src/main.cpp | 2 +- |
38 |
4 files changed, 4 insertions(+), 4 deletions(-) |
39 |
|
40 |
diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp |
41 |
index 10b14e4..f6461d9 100644 |
42 |
--- a/kmail/kmmainwidget.cpp |
43 |
+++ b/kmail/kmmainwidget.cpp |
44 |
@@ -189,7 +189,7 @@ KMMainWidget::KMMainWidget( QWidget *parent, KXMLGUIClient *aGUIClient, |
45 |
mVacationIndicatorActive( false ), |
46 |
mGoToFirstUnreadMessageInSelectedFolder( false ) |
47 |
{ |
48 |
-#if KDE_IS_VERSION(4,6,0) |
49 |
+#if KDE_IS_VERSION(4,6,2) |
50 |
Akonadi::Control::widgetNeedsAkonadi(this); |
51 |
Akonadi::ServerManager::start(); |
52 |
#endif |
53 |
diff --git a/kmail/main.cpp b/kmail/main.cpp |
54 |
index c2dd1c3..f59d5e6 100644 |
55 |
--- a/kmail/main.cpp |
56 |
+++ b/kmail/main.cpp |
57 |
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]) |
58 |
app.setEventLoopReached(); |
59 |
app.delayedInstanceCreation(); |
60 |
|
61 |
-#if !KDE_IS_VERSION(4,6,0) |
62 |
+#if !KDE_IS_VERSION(4,6,2) |
63 |
// Start Akonadi |
64 |
if ( !Akonadi::Control::start( kmkernel->getKMMainWidget() ) ) { |
65 |
//TODO: add message box after string freeze |
66 |
-- |
67 |
1.7.9.2 |
68 |
|
69 |
|
70 |
|
71 |
|
72 |
1.1 kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0005-Fix-bug-276086-crash-on-exit.patch?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: 0005-Fix-bug-276086-crash-on-exit.patch |
78 |
=================================================================== |
79 |
From fb1874f8e2805f0afb3b9e848e8fd4d9ee11a97f Mon Sep 17 00:00:00 2001 |
80 |
From: Montel Laurent <montel@×××.org> |
81 |
Date: Mon, 20 Jun 2011 13:27:05 +0200 |
82 |
Subject: [PATCH 5/6] Fix bug #276086 crash on exit |
83 |
|
84 |
--- |
85 |
kmail/accountmanager.cpp | 3 ++- |
86 |
1 file changed, 2 insertions(+), 1 deletion(-) |
87 |
|
88 |
diff --git a/kmail/accountmanager.cpp b/kmail/accountmanager.cpp |
89 |
index 1745aa4..ca2a7c8 100644 |
90 |
--- a/kmail/accountmanager.cpp |
91 |
+++ b/kmail/accountmanager.cpp |
92 |
@@ -227,7 +227,8 @@ void AccountManager::processNextCheck( bool _newMail ) |
93 |
|
94 |
curAccount->setCheckingMail( true ); |
95 |
mAcctChecking.append( curAccount ); |
96 |
- kmkernel->filterMgr()->ref(); |
97 |
+ if( kmkernel->filterMgr() ) |
98 |
+ kmkernel->filterMgr()->ref(); |
99 |
curAccount->processNewMail( mInteractive ); |
100 |
} |
101 |
|
102 |
-- |
103 |
1.7.9.2 |
104 |
|
105 |
|
106 |
|
107 |
|
108 |
1.1 kde-base/kmail/files/4.4/0004-libkdepim-Make-spell-checking-work-again.patch |
109 |
|
110 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0004-libkdepim-Make-spell-checking-work-again.patch?rev=1.1&view=markup |
111 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0004-libkdepim-Make-spell-checking-work-again.patch?rev=1.1&content-type=text/plain |
112 |
|
113 |
Index: 0004-libkdepim-Make-spell-checking-work-again.patch |
114 |
=================================================================== |
115 |
From 6f62ea1bff318d8efea42f59bdc965ee2ab187a0 Mon Sep 17 00:00:00 2001 |
116 |
From: Thomas McGuire <mcguire@×××.org> |
117 |
Date: Wed, 11 May 2011 18:21:32 +0100 |
118 |
Subject: [PATCH 4/6] Make spell checking work again. The text edit used the |
119 |
wrong config file for loading spell settings. After |
120 |
using the config file, the correct settigns get loaded |
121 |
again, since the Loader from Sonnet is a singleton and |
122 |
therefore shares the settings, so even the textedit |
123 |
with the wrong settings file name gets updated. |
124 |
|
125 |
cherry-picked from d1708effbb68d6eae36ee5177a599c965973725f. |
126 |
|
127 |
BUG: 247486 |
128 |
--- |
129 |
kmail/kmcomposereditor.cpp | 2 +- |
130 |
libkdepim/kmeditor.cpp | 12 ++++++++++++ |
131 |
libkdepim/kmeditor.h | 6 ++++++ |
132 |
3 files changed, 19 insertions(+), 1 deletion(-) |
133 |
|
134 |
diff --git a/libkdepim/kmeditor.cpp b/libkdepim/kmeditor.cpp |
135 |
index e8f0d36..067c781 100644 |
136 |
--- a/libkdepim/kmeditor.cpp |
137 |
+++ b/libkdepim/kmeditor.cpp |
138 |
@@ -28,6 +28,7 @@ |
139 |
#include <KProcess> |
140 |
#include <KPushButton> |
141 |
#include <KTemporaryFile> |
142 |
+#include <kdeversion.h> |
143 |
|
144 |
#include <QApplication> |
145 |
#include <QClipboard> |
146 |
@@ -215,6 +216,17 @@ KMeditor::KMeditor( QWidget *parent ) |
147 |
d->init(); |
148 |
} |
149 |
|
150 |
+KMeditor::KMeditor( QWidget *parent, const QString & configFile ) |
151 |
+#if KDE_IS_VERSION(4,6,0) |
152 |
+ : TextEdit( parent, configFile ), d( new KMeditorPrivate( this ) ) |
153 |
+#else |
154 |
+ : TextEdit( parent ), d( new KMeditorPrivate( this ) ) |
155 |
+#endif |
156 |
+{ |
157 |
+ Q_UNUSED( configFile ) |
158 |
+ d->init(); |
159 |
+} |
160 |
+ |
161 |
KMeditor::~KMeditor() |
162 |
{ |
163 |
delete d; |
164 |
diff --git a/libkdepim/kmeditor.h b/libkdepim/kmeditor.h |
165 |
index 4aab8aa..66ebb4a 100644 |
166 |
--- a/libkdepim/kmeditor.h |
167 |
+++ b/libkdepim/kmeditor.h |
168 |
@@ -61,6 +61,12 @@ class KDEPIM_EXPORT KMeditor : public KPIMTextEdit::TextEdit |
169 |
*/ |
170 |
explicit KMeditor( QWidget *parent = 0 ); |
171 |
|
172 |
+ /** |
173 |
+ * Constructs a KMeditor object. |
174 |
+ */ |
175 |
+ explicit KMeditor( QWidget *parent, const QString& configFile ); |
176 |
+ |
177 |
+ |
178 |
virtual ~KMeditor(); |
179 |
|
180 |
//Redefine it for each apps |
181 |
-- |
182 |
1.7.9.2 |
183 |
|
184 |
|
185 |
|
186 |
|
187 |
1.1 kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch |
188 |
|
189 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch?rev=1.1&view=markup |
190 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/4.4/0004-kmail-Make-spell-checking-work-again.patch?rev=1.1&content-type=text/plain |
191 |
|
192 |
Index: 0004-kmail-Make-spell-checking-work-again.patch |
193 |
=================================================================== |
194 |
From 6f62ea1bff318d8efea42f59bdc965ee2ab187a0 Mon Sep 17 00:00:00 2001 |
195 |
From: Thomas McGuire <mcguire@×××.org> |
196 |
Date: Wed, 11 May 2011 18:21:32 +0100 |
197 |
Subject: [PATCH 4/6] Make spell checking work again. The text edit used the |
198 |
wrong config file for loading spell settings. After |
199 |
using the config file, the correct settigns get loaded |
200 |
again, since the Loader from Sonnet is a singleton and |
201 |
therefore shares the settings, so even the textedit |
202 |
with the wrong settings file name gets updated. |
203 |
|
204 |
cherry-picked from d1708effbb68d6eae36ee5177a599c965973725f. |
205 |
|
206 |
BUG: 247486 |
207 |
--- |
208 |
kmail/kmcomposereditor.cpp | 2 +- |
209 |
libkdepim/kmeditor.cpp | 12 ++++++++++++ |
210 |
libkdepim/kmeditor.h | 6 ++++++ |
211 |
3 files changed, 19 insertions(+), 1 deletion(-) |
212 |
|
213 |
diff --git a/kmail/kmcomposereditor.cpp b/kmail/kmcomposereditor.cpp |
214 |
index f1accab..74de65b 100644 |
215 |
--- a/kmail/kmcomposereditor.cpp |
216 |
+++ b/kmail/kmcomposereditor.cpp |
217 |
@@ -44,7 +44,7 @@ |
218 |
#include <QFileInfo> |
219 |
|
220 |
KMComposerEditor::KMComposerEditor( KMComposeWin *win,QWidget *parent) |
221 |
- :KMeditor(parent),m_composerWin(win) |
222 |
+ :KMeditor(parent, "kmailrc"),m_composerWin(win) |
223 |
{ |
224 |
} |
225 |
|
226 |
-- |
227 |
1.7.9.2 |