summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-04-08 10:41:15 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-04-08 10:41:15 +0000
commitd3c760ca97323625ad78234ae76521096b6008ed (patch)
tree01e5f9df59d635e8dd9a0bb30ff4e66ad95c4807 /CMakeScripts
parentEMF/WMF: Hopefully resolve locale issues with decimal separator for good (diff)
downloadinkscape-d3c760ca97323625ad78234ae76521096b6008ed.tar.gz
inkscape-d3c760ca97323625ad78234ae76521096b6008ed.zip
cmake/MSYS2: Spell checking via gtkspell now working
* the Aspell backend for Enchant was missing (now available [1]) * actually install the backend * install translations required by gtkspell Also re-enable installation of gtk3 translations after r15583 as we still need them in the context menu of native gtk inputs [1] https://github.com/Alexpux/MINGW-packages/pull/2369 (bzr r15618)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/InstallMSYS2.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake
index 87867ff73..bff09cabf 100644
--- a/CMakeScripts/InstallMSYS2.cmake
+++ b/CMakeScripts/InstallMSYS2.cmake
@@ -167,6 +167,13 @@ if(WIN32)
install(DIRECTORY ${MINGW_PATH}/share/icons/Adwaita
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons)
+ # translations for libraries (we usually shouldn't need many)
+ install(DIRECTORY ${MINGW_PATH}/share/locale
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share
+ FILES_MATCHING
+ PATTERN "*gtk30.mo"
+ PATTERN "*gtkspell3.mo")
+
install(DIRECTORY ${MINGW_PATH}/share/poppler
DESTINATION ${CMAKE_INSTALL_PREFIX}/share)
@@ -196,6 +203,11 @@ if(WIN32)
install(DIRECTORY ${MINGW_LIB}/aspell-0.60
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+ # Aspell backend for Enchant (gtkspell uses Enchant to access Aspell dictionaries)
+ install(FILES
+ ${MINGW_LIB}/enchant/libenchant_aspell.dll
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/enchant)
+
# Necessary to run extensions on windows if it is not in the path
if (HAVE_MINGW64)
install(FILES