r44020 - /packages/texmaker/trunk/debian/patches/20_spelling_default_dict.patch

tille at users.alioth.debian.org tille at users.alioth.debian.org
Wed Nov 9 09:02:43 UTC 2011


Author: tille
Date: Wed Nov  9 09:02:41 2011
New Revision: 44020

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44020
Log:
Forget to inject patch

Added:
    packages/texmaker/trunk/debian/patches/20_spelling_default_dict.patch

Added: packages/texmaker/trunk/debian/patches/20_spelling_default_dict.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/texmaker/trunk/debian/patches/20_spelling_default_dict.patch?rev=44020&op=file
==============================================================================
--- packages/texmaker/trunk/debian/patches/20_spelling_default_dict.patch (added)
+++ packages/texmaker/trunk/debian/patches/20_spelling_default_dict.patch Wed Nov  9 09:02:41 2011
@@ -1,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Purpose: Adapt default search directory for spelling dictionaries to Debian default
+Closes: #638286
+--- texmaker-3.1.orig/texmaker.cpp
++++ texmaker-3.1/texmaker.cpp
+@@ -3590,8 +3590,12 @@
+ #ifdef USB_VERSION
+ QString dicDir=QCoreApplication::applicationDirPath() + "/";
+ #else
++#ifdef DEBIAN_SPELLDIR
++QString dicDir=PREFIX"/share/myspell/dicts/";
++#else
+ QString dicDir=PREFIX"/share/texmaker/";
+ #endif
++#endif
+ 
+ #endif
+ #if defined( Q_WS_MACX )




More information about the debian-science-commits mailing list