aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/nuspell/CONTROL2
-rw-r--r--ports/nuspell/cmake-disable-cli-and-docs.patch16
-rw-r--r--ports/nuspell/portfile.cmake4
3 files changed, 7 insertions, 15 deletions
diff --git a/ports/nuspell/CONTROL b/ports/nuspell/CONTROL
index 919a5c89e..cb81a16bf 100644
--- a/ports/nuspell/CONTROL
+++ b/ports/nuspell/CONTROL
@@ -1,5 +1,5 @@
Source: nuspell
-Version: 4.0.1
+Version: 4.2.0
Description: Nuspell is a fast and safe spelling checker software program.
It is designed for languages with rich morphology and complex word compounding.
Nuspell is written in modern C++ and it supports Hunspell dictionaries.
diff --git a/ports/nuspell/cmake-disable-cli-and-docs.patch b/ports/nuspell/cmake-disable-cli-and-docs.patch
index 77d5ff076..4495ae040 100644
--- a/ports/nuspell/cmake-disable-cli-and-docs.patch
+++ b/ports/nuspell/cmake-disable-cli-and-docs.patch
@@ -1,16 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 835ebfb..82fa335 100644
+index a98ed58..3756bae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -8,7 +8,6 @@ include(GNUInstallDirs)
- include(CMakePackageConfigHelpers)
-
- find_package(ICU REQUIRED COMPONENTS uc data)
--find_package(Boost 1.48.0 REQUIRED COMPONENTS locale)
-
- get_directory_property(subproject PARENT_DIRECTORY)
-
-@@ -20,8 +19,6 @@ if (subproject)
+@@ -19,8 +19,6 @@ if (subproject)
return()
endif()
@@ -20,7 +12,7 @@ index 835ebfb..82fa335 100644
set(Catch2_FOUND Catch2-NOTFOUND PARENT_SCOPE)
set(catch_cmake_lists ${PROJECT_SOURCE_DIR}/external/Catch2/CMakeLists.txt)
diff --git a/src/nuspell/CMakeLists.txt b/src/nuspell/CMakeLists.txt
-index a8d215f..78553c5 100644
+index 9535686..78553c5 100644
--- a/src/nuspell/CMakeLists.txt
+++ b/src/nuspell/CMakeLists.txt
@@ -27,22 +27,6 @@ target_include_directories(nuspell
@@ -33,7 +25,7 @@ index a8d215f..78553c5 100644
- RUNTIME_OUTPUT_NAME nuspell)
-target_compile_definitions(nuspell-bin PRIVATE
- PROJECT_VERSION=\"${PROJECT_VERSION}\")
--target_link_libraries(nuspell-bin nuspell Boost::locale)
+-target_link_libraries(nuspell-bin nuspell)
-if (BUILD_SHARED_LIBS AND WIN32)
- # This should be PRE_LINK (or PRE_BUILD), so Vcpkg's POST_BUILD
- # step (see VCPKG_APPLOCAL_DEPS) that copies dll can pick up nuspell.dll
diff --git a/ports/nuspell/portfile.cmake b/ports/nuspell/portfile.cmake
index bac0aef7a..6b2da7cad 100644
--- a/ports/nuspell/portfile.cmake
+++ b/ports/nuspell/portfile.cmake
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nuspell/nuspell
- REF v4.0.1
- SHA512 122616fd24c2de35000ba12d680d3617e7fe97881d33febbcb106ce70d3bac356a00d90680a1bc8ee631ed532ace0f4b4f9fce4760a25b0f7fc1d60553e74528
+ REF v4.2.0
+ SHA512 ae9157e9753868c002ed69a765fb705d29d993f3940e11efbc2699778a8b1abee2eb7daa0ff51187b899d6935a215a24662e5b52ec1ef5c644e90a0245f7583d
HEAD_REF master
PATCHES cmake-disable-cli-and-docs.patch
# This patch disables building the CLI tool and leaves only the library.