[Pkg-kde-commits] rev 794 - in trunk/packages/kdelibs/debian: . patches

Adeodato Simó dato-guest@costa.debian.org
Sun, 13 Mar 2005 16:53:43 +0100


Author: dato-guest
Date: 2005-03-12 19:14:59 +0100 (Sat, 12 Mar 2005)
New Revision: 794

Added:
   trunk/packages/kdelibs/debian/patches/20_kspell_aspell-0.6.diff
Modified:
   trunk/packages/kdelibs/debian/changelog
Log:
20_kspell_aspell-0.6.diff: Backport small patch from KDE 3.4 to make
KSpell search for dictionaries in /usr/lib/aspell-0.6, which is now used
by Aspell. (Closes: #296240)


Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog	2005-03-12 17:09:10 UTC (rev 793)
+++ trunk/packages/kdelibs/debian/changelog	2005-03-12 18:14:59 UTC (rev 794)
@@ -15,6 +15,9 @@
   * Backport small patch from KDE 3.4 to prevent kate from printing lots of
     assertion failures to stderr when editing a long line. (Closes: #298308)
 
+  * Backport small patch from KDE 3.4 to make KSpell search for dictionaries
+    in /usr/lib/aspell-0.6, which is now used by Aspell. (Closes: #296240)
+
   * As OpenOffice.org 1.1.3 will enter testing together with this version of
     kdelibs, re-add to kdelibs-data the template .desktop files removed in
     3.3.2-1. Replace openoffice.org-mimelnk (<< 1.1.3), but don't conflict.

Added: trunk/packages/kdelibs/debian/patches/20_kspell_aspell-0.6.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/20_kspell_aspell-0.6.diff	2005-03-12 17:09:10 UTC (rev 793)
+++ trunk/packages/kdelibs/debian/patches/20_kspell_aspell-0.6.diff	2005-03-12 18:14:59 UTC (rev 794)
@@ -0,0 +1,16 @@
+===================================================================
+RCS file: /home/kde/kdelibs/kdeui/ksconfig.cpp,v
+retrieving revision 1.88
+retrieving revision 1.89
+diff -u -r1.88 -r1.89
+--- kdelibs/kdeui/ksconfig.cpp	2004/11/15 19:26:56	1.88
++++ kdelibs/kdeui/ksconfig.cpp	2005/01/31 18:07:49	1.89
+@@ -496,6 +496,8 @@
+   // FIXME: use "aspell dump config" to find out the dict-dir
+   QFileInfo dir ("/usr/lib/aspell");
+   if (!dir.exists() || !dir.isDir())
++    dir.setFile ("/usr/lib/aspell-0.60");
++  if (!dir.exists() || !dir.isDir())
+     dir.setFile ("/usr/local/lib/aspell");
+   if (!dir.exists() || !dir.isDir())
+     dir.setFile ("/usr/share/aspell");