Skip to content

Commit

Permalink
[nuspell] update to version 4.2.0 (#15425)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimztimz committed Jan 5, 2021
1 parent 41e5b08 commit 4533b74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ports/nuspell/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
16 changes: 4 additions & 12 deletions ports/nuspell/cmake-disable-cli-and-docs.patch
Original file line number Diff line number Diff line change
@@ -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()

Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ports/nuspell/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 4533b74

Please sign in to comment.