[Pkg-kde-commits] rev 1221 - in branches/kde-3.4.0/packages/kdebase/debian: . patches

Christopher Martin chrsmrtn-guest@costa.debian.org
Sun, 12 Jun 2005 14:45:56 +0000


Author: chrsmrtn-guest
Date: 2005-06-12 14:45:55 +0000 (Sun, 12 Jun 2005)
New Revision: 1221

Added:
   branches/kde-3.4.0/packages/kdebase/debian/patches/24_knotify_arts.diff
Modified:
   branches/kde-3.4.0/packages/kdebase/debian/changelog
Log:
Add the knotify/arts work-around patch. Better than nothing.


Modified: branches/kde-3.4.0/packages/kdebase/debian/changelog
===================================================================
--- branches/kde-3.4.0/packages/kdebase/debian/changelog	2005-06-11 23:51:00 UTC (rev 1220)
+++ branches/kde-3.4.0/packages/kdebase/debian/changelog	2005-06-12 14:45:55 UTC (rev 1221)
@@ -11,10 +11,15 @@
     instances of potentially harmful partial upgrades. In particular, ensure
     that kdm is upgraded along with kdebase-bin. (Closes: #312358)
 
-  * Fix typos in the kappfinder manpage. Thanks to A. Costa. (Closes: #312767)
+  * Fix typos in the kappfinder manpage. Thanks to A Costa. (Closes: #312767)
 
- -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>  Fri, 10 Jun 2005 19:52:16 -0400
+  * Add a patch that makes knotify aware that arts is available when arts is
+    manually started. This (more or less) resolves the issue wherein knotify
+    did not work with arts, had arts ever once been unavailable.
+    (Closes: #312217)
 
+ -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>  Sun, 12 Jun 2005 10:43:24 -0400
+
 kdebase (4:3.4.1-1) experimental; urgency=low
 
   * New upstream release.

Added: branches/kde-3.4.0/packages/kdebase/debian/patches/24_knotify_arts.diff
===================================================================
--- branches/kde-3.4.0/packages/kdebase/debian/patches/24_knotify_arts.diff	2005-06-11 23:51:00 UTC (rev 1220)
+++ branches/kde-3.4.0/packages/kdebase/debian/patches/24_knotify_arts.diff	2005-06-12 14:45:55 UTC (rev 1221)
@@ -0,0 +1,15 @@
+--- kde.orig/kcontrol/arts/arts.cpp
++++ kde.patched/kcontrol/arts/arts.cpp
+@@ -383,6 +383,12 @@
+ 
+ 	delete midiConfig;
+ 
++	KConfig *knotifyConfig = new KConfig( "knotifyrc", false );
++        knotifyConfig->setGroup( "StartProgress" );
++        knotifyConfig->writeEntry( "Arts Init", startServer->isChecked());
++        knotifyConfig->writeEntry( "Use Arts", startServer->isChecked());
++        delete knotifyConfig;
++
+ 	config->sync();
+ }
+