[kdepim-runtime] disable akonadi nepomuk/strigi notification spam
Rex Dieter
rdieter at fedoraproject.org
Thu Oct 13 13:42:28 UTC 2011
commit 57c489cc60c385c4383fcaa3758f379b501f6355
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Thu Oct 13 08:49:45 2011 -0500
disable akonadi nepomuk/strigi notification spam
kdepim-runtime-4.7.2-nepomuk_notification.patch | 14 ++++++++++++++
kdepim-runtime.spec | 13 ++++++++++---
2 files changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/kdepim-runtime-4.7.2-nepomuk_notification.patch b/kdepim-runtime-4.7.2-nepomuk_notification.patch
new file mode 100644
index 0000000..f0eda28
--- /dev/null
+++ b/kdepim-runtime-4.7.2-nepomuk_notification.patch
@@ -0,0 +1,14 @@
+diff -up kdepim-runtime-4.7.2/agents/nepomukfeeder/nepomukfeederagentbase.cpp.nepomuk_notification kdepim-runtime-4.7.2/agents/nepomukfeeder/nepomukfeederagentbase.cpp
+--- kdepim-runtime-4.7.2/agents/nepomukfeeder/nepomukfeederagentbase.cpp.nepomuk_notification 2011-10-02 08:24:50.000000000 -0500
++++ kdepim-runtime-4.7.2/agents/nepomukfeeder/nepomukfeederagentbase.cpp 2011-10-13 08:45:05.662502890 -0500
+@@ -417,7 +417,9 @@ void NepomukFeederAgentBase::selfTest()
+ emit status( Broken, i18n( "Nepomuk not operational" ) );
+ if ( !QDBusConnection::sessionBus().registerService( QLatin1String( "org.kde.pim.nepomukfeeder.selftestreport" ) ) )
+ return;
+- KNotification::event( KNotification::Warning, i18n( "Nepomuk Indexing Disabled" ), message );
++ // Disable knotification spam
++ // FIXME/TODO: make this configurable via systemsettings->app&system notifications
++ // KNotification::event( KNotification::Warning, i18n( "Nepomuk Indexing Disabled" ), message );
+ QDBusConnection::sessionBus().unregisterService( QLatin1String( "org.kde.pim.nepomukfeeder.selftestreport" ) );
+ }
+
diff --git a/kdepim-runtime.spec b/kdepim-runtime.spec
index e7114a4..8cc3483 100644
--- a/kdepim-runtime.spec
+++ b/kdepim-runtime.spec
@@ -5,7 +5,7 @@ Name: kdepim-runtime
Summary: KDE PIM Runtime Environment
Epoch: 1
Version: 4.7.2
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2
Group: Applications/Productivity
@@ -16,9 +16,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# show the Akonadi KCM in System Settings (#565420)
Patch0: kdepim-runtime-4.4.93-show_akonadi_kcm.patch
+# disable nepomuk/strigi notification spam
+Patch1: kdepim-runtime-4.7.2-nepomuk_notification.patch
+
## upstreamable patches
# Enable SQLite support in akonadi
-Patch1: kdepim-runtime-4.7.1-sqlite-support.patch
+Patch50: kdepim-runtime-4.7.1-sqlite-support.patch
## upstream patches
# http://bugs.kde.org/283467
@@ -71,7 +74,8 @@ Install %{name}-devel if you want to write or compile %{name} plugins.
%setup -q -n kdepim-runtime-%{version}%{?pre}
%patch0 -p1 -b .show_akonadi_kcm
-%patch1 -p1 -b .sqlite-support
+%patch1 -p1 -b .nepomuk_notification
+%patch50 -p1 -b .sqlite-support
%patch100 -p1 -b .kde283467
@@ -153,6 +157,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Oct 13 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.2-4
+- disable akonadi nepomuk/strigi notification spam
+
* Wed Oct 12 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.2-3
- akonadi_maildispatcher_agent crashes when sending email (kde#283364)
More information about the scm-commits
mailing list