[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texworks] 02/02: move dictionary fix into quilt patch



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texworks.

commit 0f03d61e019550488319b3061bbd1cf046908ea0
Author: Norbert Preining <preining@debian.org>
Date:   Tue May 24 16:56:36 2016 +0900

    move dictionary fix into quilt patch
---
 CMakeLists.txt                     |  2 +-
 debian/patches/fix-dictionary-path | 17 +++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f460bbe..75d29a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,7 +165,7 @@ ENDIF ()
 
 IF (UNIX AND NOT APPLE)
   SET(TeXworks_HELP_DIR share/doc/texworks-help CACHE PATH "Path where TeXworks looks for help files")
-  SET(TeXworks_DIC_DIR /usr/share/hunspell CACHE PATH "Path where TeXworks looks for spellchecking dictionaries")
+  SET(TeXworks_DIC_DIR /usr/share/myspell/dicts CACHE PATH "Path where TeXworks looks for spellchecking dictionaries")
   SET(TeXworks_DOCS_DIR share/doc/texworks CACHE PATH "Path in which documentation files are installed")
   SET(TeXworks_ICON_DIR share/pixmaps CACHE PATH "Path in which icons are installed")
   SET(TeXworks_MAN_DIR share/man/man1 CACHE PATH "Path in which manpages are installed")
diff --git a/debian/patches/fix-dictionary-path b/debian/patches/fix-dictionary-path
new file mode 100644
index 0000000..b8454e4
--- /dev/null
+++ b/debian/patches/fix-dictionary-path
@@ -0,0 +1,17 @@
+adjust search path for dictionaries to conform with the standard
+according to https://dict-common.alioth.debian.org/dsdt-policy.html#installdir
+---
+ CMakeLists.txt |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- texworks-debian.git.orig/CMakeLists.txt
++++ texworks-debian.git/CMakeLists.txt
+@@ -165,7 +165,7 @@
+ 
+ IF (UNIX AND NOT APPLE)
+   SET(TeXworks_HELP_DIR share/doc/texworks-help CACHE PATH "Path where TeXworks looks for help files")
+-  SET(TeXworks_DIC_DIR /usr/share/myspell/dicts CACHE PATH "Path where TeXworks looks for spellchecking dictionaries")
++  SET(TeXworks_DIC_DIR /usr/share/hunspell CACHE PATH "Path where TeXworks looks for spellchecking dictionaries")
+   SET(TeXworks_DOCS_DIR share/doc/texworks CACHE PATH "Path in which documentation files are installed")
+   SET(TeXworks_ICON_DIR share/pixmaps CACHE PATH "Path in which icons are installed")
+   SET(TeXworks_MAN_DIR share/man/man1 CACHE PATH "Path in which manpages are installed")
diff --git a/debian/patches/series b/debian/patches/series
index 8ce04a5..1d569e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 #patch-luatex
 #patch-py
 #QtXml.patch
+fix-dictionary-path

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texworks.git


Reply to: