Techt3o commited on
Commit
b628b29
·
verified ·
1 Parent(s): 0c86742

ae2637477438a6e584d2d84eecb30908034f0ee0aa32949305ffd56c8890e0f3

Browse files
Files changed (50) hide show
  1. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hpx/portfile.cmake +99 -0
  2. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hpx/vcpkg.json +41 -0
  3. third-party/DPVO/Pangolin/scripts/vcpkg/ports/http-parser/CMakeLists.txt +27 -0
  4. third-party/DPVO/Pangolin/scripts/vcpkg/ports/http-parser/portfile.cmake +26 -0
  5. third-party/DPVO/Pangolin/scripts/vcpkg/ports/http-parser/vcpkg.json +7 -0
  6. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/CMakeLists.txt +29 -0
  7. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/LICENSE.txt +24 -0
  8. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/portfile.cmake +29 -0
  9. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/vcpkg.json +6 -0
  10. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0001_fix_unistd.patch +78 -0
  11. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0002-disable-test.patch +36 -0
  12. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0003-fix-win-build.patch +80 -0
  13. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0004-add-win-arm64.patch +529 -0
  14. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/portfile.cmake +99 -0
  15. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/vcpkg.json +25 -0
  16. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/fix_shared_win_build.patch +30 -0
  17. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/fix_wrong_ifdef.patch +13 -0
  18. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/portfile.cmake +69 -0
  19. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/vcpkg.json +12 -0
  20. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hyperscan/0001-remove-Werror.patch +27 -0
  21. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hyperscan/portfile.cmake +30 -0
  22. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hyperscan/vcpkg.json +31 -0
  23. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypodermic/disable_hypodermic_tests.patch +13 -0
  24. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypodermic/portfile.cmake +22 -0
  25. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypodermic/vcpkg.json +24 -0
  26. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypre/fix-dll-install-destination.patch +12 -0
  27. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypre/portfile.cmake +39 -0
  28. third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypre/vcpkg.json +19 -0
  29. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/disable-escapestr-tool.patch +17 -0
  30. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/disable-static-prefix.patch +20 -0
  31. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/fix-extra.patch +13 -0
  32. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/fix-win-build.patch +35 -0
  33. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/fix_parallel_build_on_windows.patch +25 -0
  34. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/mingw-dll-install.patch +13 -0
  35. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/portfile.cmake +201 -0
  36. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/remove-MD-from-configure.patch +18 -0
  37. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/vcpkg-cmake-wrapper.cmake +6 -0
  38. third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/vcpkg.json +13 -0
  39. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ideviceinstaller/portfile.cmake +16 -0
  40. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ideviceinstaller/vcpkg.json +10 -0
  41. third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/fix-libgen.h-cannot-be-found.patch +32 -0
  42. third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/fix-vcxproj.patch +44 -0
  43. third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/portfile.cmake +19 -0
  44. third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/vcpkg.json +13 -0
  45. third-party/DPVO/Pangolin/scripts/vcpkg/ports/if97/portfile.cmake +16 -0
  46. third-party/DPVO/Pangolin/scripts/vcpkg/ports/if97/vcpkg.json +7 -0
  47. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igloo/portfile.cmake +14 -0
  48. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igloo/vcpkg.json +6 -0
  49. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/do-not-compile-gtest.patch +14 -0
  50. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/fix-find-ign-curl.patch +16 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hpx/portfile.cmake ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO STEllAR-GROUP/hpx
6
+ REF 1.7.1
7
+ SHA512 6bdb294da393a198abf81d5f63799a066334755eed0fda40bbfc4e9a774b6e19a3e5ad7ab45c989d31f3797e7b547bb552c29f51b552d9a79d166f86aee375a3
8
+ HEAD_REF stable
9
+ PATCHES
10
+ fix-dependency-hwloc.patch
11
+ fix-cmakecache-paths.patch
12
+ )
13
+
14
+ set(HPX_WITH_MALLOC system)
15
+ if(VCPKG_TARGET_IS_LINUX)
16
+ # This is done at the request of the hpx maintainers; see
17
+ # https://github.com/microsoft/vcpkg/pull/21673#issuecomment-979904882
18
+ # It must match when gperftools is treated as a dependency of this port.
19
+ set(HPX_WITH_MALLOC tcmalloc)
20
+ endif()
21
+
22
+
23
+ vcpkg_cmake_configure(
24
+ SOURCE_PATH "${SOURCE_PATH}"
25
+ OPTIONS
26
+ -DHPX_WITH_VCPKG=ON
27
+ -DHPX_WITH_TESTS=OFF
28
+ -DHPX_WITH_EXAMPLES=OFF
29
+ -DHPX_WITH_TOOLS=OFF
30
+ -DHPX_WITH_RUNTIME=OFF
31
+ "-DHPX_WITH_MALLOC=${HPX_WITH_MALLOC}"
32
+ )
33
+
34
+ vcpkg_cmake_install()
35
+
36
+ # post build cleanup
37
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/HPX)
38
+
39
+ file(GLOB_RECURSE CMAKE_FILES "${CURRENT_PACKAGES_DIR}/share/hpx/*.cmake")
40
+ foreach(CMAKE_FILE IN LISTS CMAKE_FILES)
41
+ file(READ ${CMAKE_FILE} _contents)
42
+ string(REGEX REPLACE
43
+ "lib/([A-Za-z0-9_.-]+\\.dll)"
44
+ "bin/\\1"
45
+ _contents "${_contents}")
46
+ string(REGEX REPLACE
47
+ "lib/hpx/([A-Za-z0-9_.-]+\\.dll)"
48
+ "bin/hpx/\\1"
49
+ _contents "${_contents}")
50
+ file(WRITE ${CMAKE_FILE} "${_contents}")
51
+ endforeach()
52
+
53
+ vcpkg_replace_string(
54
+ "${CURRENT_PACKAGES_DIR}/share/${PORT}/HPXConfig.cmake"
55
+ "set(HPX_BUILD_TYPE \"Release\")"
56
+ "set(HPX_BUILD_TYPE \"\${CMAKE_BUILD_TYPE}\")")
57
+
58
+ vcpkg_replace_string(
59
+ "${CURRENT_PACKAGES_DIR}/share/${PORT}/HPXMacros.cmake"
60
+ "set(CMAKE_MODULE_PATH \${CMAKE_MODULE_PATH}"
61
+ "list(APPEND CMAKE_MODULE_PATH")
62
+
63
+ file(INSTALL
64
+ "${SOURCE_PATH}/LICENSE_1_0.txt"
65
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
66
+
67
+ file(GLOB DLLS "${CURRENT_PACKAGES_DIR}/lib/*.dll")
68
+ if(DLLS)
69
+ file(COPY ${DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
70
+ file(REMOVE ${DLLS})
71
+ endif()
72
+
73
+ file(GLOB DLLS "${CURRENT_PACKAGES_DIR}/lib/hpx/*.dll")
74
+ if(DLLS)
75
+ file(COPY ${DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/bin/hpx")
76
+ file(REMOVE ${DLLS})
77
+ endif()
78
+
79
+ file(GLOB DLLS "${CURRENT_PACKAGES_DIR}/debug/lib/*.dll")
80
+ if(DLLS)
81
+ file(COPY ${DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
82
+ file(REMOVE ${DLLS})
83
+ endif()
84
+
85
+ file(GLOB DLLS "${CURRENT_PACKAGES_DIR}/debug/lib/hpx/*.dll")
86
+ if(DLLS)
87
+ file(COPY ${DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin/hpx")
88
+ file(REMOVE ${DLLS})
89
+ endif()
90
+
91
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
92
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
93
+
94
+ vcpkg_fixup_pkgconfig()
95
+
96
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/hpxcxx" "\"${CURRENT_PACKAGES_DIR}\"" "os.path.dirname(os.path.dirname(os.path.realpath(__file__)))")
97
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/hpxcxx" "\"${CURRENT_PACKAGES_DIR}/debug\"" "os.path.dirname(os.path.dirname(os.path.realpath(__file__)))")
98
+
99
+ vcpkg_copy_pdbs()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hpx/vcpkg.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hpx",
3
+ "version-semver": "1.7.1",
4
+ "port-version": 5,
5
+ "description": [
6
+ "The C++ Standards Library for Concurrency and Parallelism",
7
+ "HPX is a C++ Standards Library for Concurrency and Parallelism. It implements all of the corresponding facilities as defined by the C++ Standard. Additionally, in HPX we implement functionalities proposed as part of the ongoing C++ standardization process. We also extend the C++ Standard APIs to the distributed case."
8
+ ],
9
+ "homepage": "https://github.com/STEllAR-GROUP/hpx",
10
+ "license": "BSL-1.0",
11
+ "dependencies": [
12
+ "asio",
13
+ "boost-accumulators",
14
+ "boost-config",
15
+ "boost-context",
16
+ "boost-dynamic-bitset",
17
+ "boost-exception",
18
+ "boost-filesystem",
19
+ "boost-iostreams",
20
+ "boost-lockfree",
21
+ "boost-range",
22
+ "boost-spirit",
23
+ "boost-system",
24
+ "boost-throw-exception",
25
+ "boost-variant",
26
+ "boost-winapi",
27
+ {
28
+ "name": "gperftools",
29
+ "platform": "linux"
30
+ },
31
+ "hwloc",
32
+ {
33
+ "name": "vcpkg-cmake",
34
+ "host": true
35
+ },
36
+ {
37
+ "name": "vcpkg-cmake-config",
38
+ "host": true
39
+ }
40
+ ]
41
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/http-parser/CMakeLists.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.4)
2
+ project(http-parser C)
3
+
4
+ if(CMAKE_BUILD_TYPE MATCHES "Release")
5
+ add_definitions(-DHTTP_PARSER_STRICT=0)
6
+ endif()
7
+
8
+ add_library(http_parser http_parser.c http_parser.h)
9
+
10
+ target_include_directories(http_parser PUBLIC $<INSTALL_INTERFACE:include>)
11
+
12
+ install(
13
+ TARGETS http_parser
14
+ EXPORT NODEJS_HTTP_PARSER_ALL_TARGETS
15
+ LIBRARY DESTINATION lib
16
+ ARCHIVE DESTINATION lib
17
+ RUNTIME DESTINATION bin
18
+ )
19
+
20
+ install(
21
+ EXPORT NODEJS_HTTP_PARSER_ALL_TARGETS
22
+ NAMESPACE unofficial::http_parser::
23
+ FILE unofficial-http-parser-config.cmake
24
+ DESTINATION share/unofficial-http-parser
25
+ )
26
+
27
+ install(FILES http_parser.h DESTINATION include)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/http-parser/portfile.cmake ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO nodejs/http-parser
6
+ REF 2343fd6b5214b2ded2cdcf76de2bf60903bb90cd # v2.9.4
7
+ SHA512 9fb95794d2c278c933e9bff0284befd1a8c8cf8ddda8e9929669f3134246d7fe81b54293359164d947f9278e2dd28b87d29a8ad8f523ed659d62713d782c7e46
8
+ HEAD_REF master
9
+ )
10
+
11
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
12
+
13
+ vcpkg_configure_cmake(
14
+ SOURCE_PATH ${SOURCE_PATH}
15
+ PREFER_NINJA
16
+ )
17
+
18
+ vcpkg_install_cmake()
19
+ vcpkg_copy_pdbs()
20
+
21
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
22
+ vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-http-parser TARGET_PATH share/unofficial-http-parser)
23
+
24
+ # Handle copyright
25
+ file(COPY ${SOURCE_PATH}/LICENSE-MIT DESTINATION ${CURRENT_PACKAGES_DIR}/share/http-parser)
26
+ file(RENAME ${CURRENT_PACKAGES_DIR}/share/http-parser/LICENSE-MIT ${CURRENT_PACKAGES_DIR}/share/http-parser/copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/http-parser/vcpkg.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "http-parser",
3
+ "version-string": "2.9.4",
4
+ "port-version": 1,
5
+ "description": "HTTP Parser.",
6
+ "homepage": "https://github.com/nodejs/http-parser"
7
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/CMakeLists.txt ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required (VERSION 3.8)
2
+ project (hungarian C)
3
+
4
+ add_library(hungarian
5
+ ${CMAKE_CURRENT_LIST_DIR}/libhungarian/hungarian.h
6
+ ${CMAKE_CURRENT_LIST_DIR}/libhungarian/hungarian.c
7
+ )
8
+
9
+ target_include_directories(hungarian PUBLIC
10
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libhungarian>
11
+ $<INSTALL_INTERFACE:include>
12
+ )
13
+
14
+ set_target_properties(hungarian PROPERTIES PUBLIC_HEADER ${CMAKE_CURRENT_LIST_DIR}/libhungarian/hungarian.h)
15
+
16
+ install(
17
+ TARGETS hungarian
18
+ EXPORT hungarian
19
+ RUNTIME DESTINATION bin
20
+ LIBRARY DESTINATION lib
21
+ ARCHIVE DESTINATION lib
22
+ PUBLIC_HEADER DESTINATION include
23
+ )
24
+
25
+ install(EXPORT hungarian
26
+ DESTINATION "share/hungarian"
27
+ FILE hungarianConfig.cmake
28
+ NAMESPACE hungarian::
29
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/LICENSE.txt ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /********************************************************************
2
+ ********************************************************************
3
+ **
4
+ ** libhungarian by Cyrill Stachniss, 2004
5
+ **
6
+ **
7
+ ** Solving the Minimum Assignment Problem using the
8
+ ** Hungarian Method.
9
+ **
10
+ ** ** This file may be freely copied and distributed! **
11
+ **
12
+ ** Parts of the used code was originally provided by the
13
+ ** "Stanford GraphGase", but I made changes to this code.
14
+ ** As asked by the copyright node of the "Stanford GraphGase",
15
+ ** I hereby proclaim that this file are *NOT* part of the
16
+ ** "Stanford GraphGase" distrubition!
17
+ **
18
+ ** This file is distributed in the hope that it will be useful,
19
+ ** but WITHOUT ANY WARRANTY; without even the implied
20
+ ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
21
+ ** PURPOSE.
22
+ **
23
+ ********************************************************************
24
+ ********************************************************************/
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/portfile.cmake ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_download_distfile(ARCHIVE
4
+ URLS "http://www2.informatik.uni-freiburg.de/~stachnis/misc/libhungarian-v0.1.3.tgz"
5
+ FILENAME "libhungarian-v0.1.3.tgz"
6
+ SHA512 1fa105e351c307c07bb96892c9d4c44b167d92cbed80962a8653ac35b8afe00fcf5dcc2d920b95671d6c3cd86745362a64dd8dc173623a8179006e2c7b2cbc69
7
+ )
8
+
9
+ vcpkg_extract_source_archive_ex(
10
+ OUT_SOURCE_PATH SOURCE_PATH
11
+ ARCHIVE ${ARCHIVE}
12
+ NO_REMOVE_ONE_LEVEL
13
+ )
14
+
15
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
16
+
17
+ vcpkg_configure_cmake(
18
+ SOURCE_PATH ${SOURCE_PATH}
19
+ PREFER_NINJA
20
+ )
21
+
22
+ vcpkg_install_cmake()
23
+
24
+ vcpkg_fixup_cmake_targets()
25
+
26
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
27
+
28
+ # Handle copyright
29
+ file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/hungarian RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hungarian/vcpkg.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hungarian",
3
+ "version-string": "v0.1.3",
4
+ "port-version": 1,
5
+ "description": "C-implementation of the Hungarian Method: finding the optimal assignment (assigning a set of jobs to a set of machines) in O(n^3), where n=max{#jobs, #machines}. The implementation is a sligntly enhanced version of the implementation provided by the Stanford GraphBase"
6
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0001_fix_unistd.patch ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From 9f33c841afe51be517eaea318d46985c596c94ff Mon Sep 17 00:00:00 2001
2
+ From: Mikhail Paulyshka <[email protected]>
3
+ Date: Tue, 25 Jul 2017 01:58:39 +0300
4
+ Subject: [PATCH] tools/hzip: fix build with MSVC
5
+
6
+ ---
7
+ src/tools/hzip.cxx | 2 ++
8
+ 1 file changed, 2 insertions(+)
9
+
10
+ diff --git a/src/tools/hzip.cxx b/src/tools/hzip.cxx
11
+ index ef1864f..d284c64 100644
12
+ --- a/src/tools/hzip.cxx
13
+ +++ b/src/tools/hzip.cxx
14
+ @@ -41,7 +41,9 @@
15
+ #include <stdio.h>
16
+ #include <stdlib.h>
17
+ #include <string.h>
18
+ +#ifdef HAVE_UNISTD_H
19
+ #include <unistd.h>
20
+ +#endif /* HAVE_UNISTD_H */
21
+ #include <string>
22
+ #include <sys/stat.h>
23
+
24
+ --
25
+ 2.12.2.windows.2
26
+
27
+ From 840f920bcd370668b9e788b3c8272eca1f20ce3a Mon Sep 17 00:00:00 2001
28
+ From: Mikhail Paulyshka <[email protected]>
29
+ Date: Tue, 25 Jul 2017 01:55:13 +0300
30
+ Subject: [PATCH] tools/unmunch: fix build with MSVC
31
+
32
+ ---
33
+ src/tools/unmunch.cxx | 2 ++
34
+ 1 file changed, 2 insertions(+)
35
+
36
+ diff --git a/src/tools/unmunch.cxx b/src/tools/unmunch.cxx
37
+ index 44b4cb1..2144370 100644
38
+ --- a/src/tools/unmunch.cxx
39
+ +++ b/src/tools/unmunch.cxx
40
+ @@ -42,7 +42,9 @@
41
+ #include <ctype.h>
42
+ #include <string.h>
43
+ #include <string>
44
+ +#ifdef HAVE_UNISTD_H
45
+ #include <unistd.h>
46
+ +#endif /* HAVE_UNISTD_H */
47
+ #include <stdlib.h>
48
+ #include <stdint.h>
49
+ #include <stdio.h>
50
+ --
51
+ 2.12.2.windows.2
52
+
53
+ From 1c231aa84624082a0fa52d59be8c449bfe1fadd1 Mon Sep 17 00:00:00 2001
54
+ From: Mikhail Paulyshka <[email protected]>
55
+ Date: Tue, 25 Jul 2017 01:50:21 +0300
56
+ Subject: [PATCH] tools/munch: fix build with MSVC
57
+
58
+ Include <unistd.h> only if exists
59
+ ---
60
+ src/tools/munch.cxx | 2 ++
61
+ 1 file changed, 2 insertions(+)
62
+
63
+ diff --git a/src/tools/munch.cxx b/src/tools/munch.cxx
64
+ index 17fc6fd..8503abe 100644
65
+ --- a/src/tools/munch.cxx
66
+ +++ b/src/tools/munch.cxx
67
+ @@ -40,7 +40,9 @@
68
+ #include <ctype.h>
69
+ #include <string.h>
70
+ #include <string>
71
+ +#ifdef HAVE_UNISTD_H
72
+ #include <unistd.h>
73
+ +#endif /* HAVE_UNISTD_H */
74
+ #include <stdlib.h>
75
+ #include <stdint.h>
76
+ #include <stdio.h>
77
+ --
78
+ 2.12.2.windows.2
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0002-disable-test.patch ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/msvc/Hunspell.sln b/msvc/Hunspell.sln
2
+ index 5607c8d..dabd755 100644
3
+ --- a/msvc/Hunspell.sln
4
+ +++ b/msvc/Hunspell.sln
5
+ @@ -5,8 +5,6 @@ VisualStudioVersion = 14.0.25420.1
6
+ MinimumVisualStudioVersion = 10.0.40219.1
7
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libhunspell", "libhunspell.vcxproj", "{53609BB3-D874-465C-AF7B-DF626DB0D89B}"
8
+ EndProject
9
+ -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testparser", "testparser.vcxproj", "{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}"
10
+ -EndProject
11
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hunspell", "hunspell.vcxproj", "{6A0453F4-B12A-4810-B9A2-8AB059316ED7}"
12
+ EndProject
13
+ Global
14
+ @@ -37,22 +35,6 @@ Global
15
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.Build.0 = Release|Win32
16
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|x64.ActiveCfg = Release|x64
17
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|x64.Build.0 = Release|x64
18
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|Win32.ActiveCfg = Debug|Win32
19
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|Win32.Build.0 = Debug|Win32
20
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|x64.ActiveCfg = Debug|x64
21
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|x64.Build.0 = Debug|x64
22
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|Win32.ActiveCfg = Debug|Win32
23
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|Win32.Build.0 = Debug|Win32
24
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|x64.ActiveCfg = Debug|x64
25
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|x64.Build.0 = Debug|x64
26
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|Win32.ActiveCfg = Release|Win32
27
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|Win32.Build.0 = Release|Win32
28
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|x64.ActiveCfg = Release|x64
29
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|x64.Build.0 = Release|x64
30
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|Win32.ActiveCfg = Release|Win32
31
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|Win32.Build.0 = Release|Win32
32
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|x64.ActiveCfg = Release|x64
33
+ - {611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|x64.Build.0 = Release|x64
34
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.ActiveCfg = Debug|Win32
35
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.Build.0 = Debug|Win32
36
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|x64.ActiveCfg = Debug|x64
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0003-fix-win-build.patch ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/msvc/hunspell.vcxproj b/msvc/hunspell.vcxproj
2
+ index ca39388..d4817a5 100644
3
+ --- a/msvc/hunspell.vcxproj
4
+ +++ b/msvc/hunspell.vcxproj
5
+ @@ -91,7 +91,7 @@
6
+ <PreprocessorDefinitions>W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
7
+ <MinimalRebuild>true</MinimalRebuild>
8
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
9
+ - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
10
+ + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
11
+ <PrecompiledHeader />
12
+ <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
13
+ <WarningLevel>Level4</WarningLevel>
14
+ @@ -112,7 +112,7 @@
15
+ <AdditionalIncludeDirectories>..\src\hunspell;..\src\parsers;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
16
+ <PreprocessorDefinitions>W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
17
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
18
+ - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
19
+ + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
20
+ <PrecompiledHeader>
21
+ </PrecompiledHeader>
22
+ <WarningLevel>Level4</WarningLevel>
23
+ @@ -134,7 +134,7 @@
24
+ <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
25
+ <AdditionalIncludeDirectories>..\src\hunspell;..\src\parsers;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
26
+ <PreprocessorDefinitions>W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27
+ - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
28
+ + <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
29
+ <PrecompiledHeader />
30
+ <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
31
+ <WarningLevel>Level4</WarningLevel>
32
+ @@ -157,7 +157,7 @@
33
+ <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
34
+ <AdditionalIncludeDirectories>..\src\hunspell;..\src\parsers;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
35
+ <PreprocessorDefinitions>W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
36
+ - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
37
+ + <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
38
+ <PrecompiledHeader>
39
+ </PrecompiledHeader>
40
+ <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
41
+ diff --git a/msvc/libhunspell.vcxproj b/msvc/libhunspell.vcxproj
42
+ index a0772da..9a875ca 100644
43
+ --- a/msvc/libhunspell.vcxproj
44
+ +++ b/msvc/libhunspell.vcxproj
45
+ @@ -166,7 +166,7 @@
46
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
47
+ <MinimalRebuild>false</MinimalRebuild>
48
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
49
+ - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
50
+ + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
51
+ <PrecompiledHeader />
52
+ <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
53
+ <WarningLevel>Level4</WarningLevel>
54
+ @@ -187,7 +187,7 @@
55
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
56
+ <MinimalRebuild>false</MinimalRebuild>
57
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
58
+ - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
59
+ + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
60
+ <PrecompiledHeader>
61
+ </PrecompiledHeader>
62
+ <WarningLevel>Level4</WarningLevel>
63
+ @@ -206,7 +206,7 @@
64
+ <AdditionalIncludeDirectories>..\src\hunspell;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
65
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
66
+ <StringPooling>true</StringPooling>
67
+ - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
68
+ + <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
69
+ <FunctionLevelLinking>true</FunctionLevelLinking>
70
+ <PrecompiledHeader />
71
+ <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
72
+ @@ -232,7 +232,7 @@
73
+ <AdditionalIncludeDirectories>..\src\hunspell;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
74
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75
+ <StringPooling>true</StringPooling>
76
+ - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
77
+ + <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
78
+ <FunctionLevelLinking>true</FunctionLevelLinking>
79
+ <PrecompiledHeader>
80
+ </PrecompiledHeader>
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/0004-add-win-arm64.patch ADDED
@@ -0,0 +1,529 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/msvc/Hunspell.sln b/msvc/Hunspell.sln
2
+ index dabd755..9b0d996 100644
3
+ --- a/msvc/Hunspell.sln
4
+ +++ b/msvc/Hunspell.sln
5
+ @@ -11,46 +11,66 @@ Global
6
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
7
+ Debug_dll|Win32 = Debug_dll|Win32
8
+ Debug_dll|x64 = Debug_dll|x64
9
+ + Debug_dll|ARM64 = Debug_dll|ARM64
10
+ Debug|Win32 = Debug|Win32
11
+ Debug|x64 = Debug|x64
12
+ + Debug|ARM64 = Debug|ARM64
13
+ Release_dll|Win32 = Release_dll|Win32
14
+ Release_dll|x64 = Release_dll|x64
15
+ + Release_dll|ARM64 = Release_dll|ARM64
16
+ Release|Win32 = Release|Win32
17
+ Release|x64 = Release|x64
18
+ + Release|ARM64 = Release|ARM64
19
+ EndGlobalSection
20
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
21
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|Win32.ActiveCfg = Debug_dll|Win32
22
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|Win32.Build.0 = Debug_dll|Win32
23
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|x64.ActiveCfg = Debug_dll|x64
24
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|x64.Build.0 = Debug_dll|x64
25
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|ARM64.ActiveCfg = Debug_dll|ARM64
26
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|ARM64.Build.0 = Debug_dll|ARM64
27
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.ActiveCfg = Debug|Win32
28
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.Build.0 = Debug|Win32
29
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|x64.ActiveCfg = Debug|x64
30
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|x64.Build.0 = Debug|x64
31
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|ARM64.ActiveCfg = Debug|ARM64
32
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|ARM64.Build.0 = Debug|ARM64
33
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|Win32.ActiveCfg = Release_dll|Win32
34
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|Win32.Build.0 = Release_dll|Win32
35
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|x64.ActiveCfg = Release_dll|x64
36
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|x64.Build.0 = Release_dll|x64
37
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|ARM64.ActiveCfg = Release_dll|ARM64
38
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|ARM64.Build.0 = Release_dll|ARM64
39
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.ActiveCfg = Release|Win32
40
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.Build.0 = Release|Win32
41
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|x64.ActiveCfg = Release|x64
42
+ {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|x64.Build.0 = Release|x64
43
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|ARM64.ActiveCfg = Release|ARM64
44
+ + {53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|ARM64.Build.0 = Release|ARM64
45
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.ActiveCfg = Debug|Win32
46
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.Build.0 = Debug|Win32
47
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|x64.ActiveCfg = Debug|x64
48
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|x64.Build.0 = Debug|x64
49
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|ARM64.ActiveCfg = Debug|ARM64
50
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|ARM64.Build.0 = Debug|ARM64
51
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|Win32.ActiveCfg = Debug|Win32
52
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|Win32.Build.0 = Debug|Win32
53
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|x64.ActiveCfg = Debug|x64
54
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|x64.Build.0 = Debug|x64
55
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|ARM64.ActiveCfg = Debug|ARM64
56
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|ARM64.Build.0 = Debug|ARM64
57
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|Win32.ActiveCfg = Release|Win32
58
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|Win32.Build.0 = Release|Win32
59
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|x64.ActiveCfg = Release|x64
60
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|x64.Build.0 = Release|x64
61
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|ARM64.ActiveCfg = Release|ARM64
62
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|ARM64.Build.0 = Release|ARM64
63
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|Win32.ActiveCfg = Release|Win32
64
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|Win32.Build.0 = Release|Win32
65
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|x64.ActiveCfg = Release|x64
66
+ {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|x64.Build.0 = Release|x64
67
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|ARM64.ActiveCfg = Release|ARM64
68
+ + {6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|ARM64.Build.0 = Release|ARM64
69
+ EndGlobalSection
70
+ GlobalSection(SolutionProperties) = preSolution
71
+ HideSolutionNode = FALSE
72
+ diff --git a/msvc/hunspell.vcxproj b/msvc/hunspell.vcxproj
73
+ index d4817a5..b8afa73 100644
74
+ --- a/msvc/hunspell.vcxproj
75
+ +++ b/msvc/hunspell.vcxproj
76
+ @@ -9,6 +9,10 @@
77
+ <Configuration>Debug</Configuration>
78
+ <Platform>x64</Platform>
79
+ </ProjectConfiguration>
80
+ + <ProjectConfiguration Include="Debug|ARM64">
81
+ + <Configuration>Debug</Configuration>
82
+ + <Platform>ARM64</Platform>
83
+ + </ProjectConfiguration>
84
+ <ProjectConfiguration Include="Release|Win32">
85
+ <Configuration>Release</Configuration>
86
+ <Platform>Win32</Platform>
87
+ @@ -17,6 +21,10 @@
88
+ <Configuration>Release</Configuration>
89
+ <Platform>x64</Platform>
90
+ </ProjectConfiguration>
91
+ + <ProjectConfiguration Include="Release|ARM64">
92
+ + <Configuration>Release</Configuration>
93
+ + <Platform>ARM64</Platform>
94
+ + </ProjectConfiguration>
95
+ </ItemGroup>
96
+ <PropertyGroup Label="Globals">
97
+ <ProjectGuid>{6A0453F4-B12A-4810-B9A2-8AB059316ED7}</ProjectGuid>
98
+ @@ -37,6 +45,12 @@
99
+ <CharacterSet>MultiByte</CharacterSet>
100
+ <WholeProgramOptimization>true</WholeProgramOptimization>
101
+ </PropertyGroup>
102
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
103
+ + <ConfigurationType>Application</ConfigurationType>
104
+ + <PlatformToolset>v141</PlatformToolset>
105
+ + <CharacterSet>MultiByte</CharacterSet>
106
+ + <WholeProgramOptimization>true</WholeProgramOptimization>
107
+ + </PropertyGroup>
108
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
109
+ <ConfigurationType>Application</ConfigurationType>
110
+ <PlatformToolset>v140_xp</PlatformToolset>
111
+ @@ -47,6 +61,11 @@
112
+ <PlatformToolset>v140_xp</PlatformToolset>
113
+ <CharacterSet>MultiByte</CharacterSet>
114
+ </PropertyGroup>
115
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
116
+ + <ConfigurationType>Application</ConfigurationType>
117
+ + <PlatformToolset>v141</PlatformToolset>
118
+ + <CharacterSet>MultiByte</CharacterSet>
119
+ + </PropertyGroup>
120
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
121
+ <ImportGroup Label="ExtensionSettings">
122
+ </ImportGroup>
123
+ @@ -56,12 +75,18 @@
124
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
125
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
126
+ </ImportGroup>
127
+ + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
128
+ + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
129
+ + </ImportGroup>
130
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
131
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
132
+ </ImportGroup>
133
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
134
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
135
+ </ImportGroup>
136
+ + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
137
+ + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
138
+ + </ImportGroup>
139
+ <PropertyGroup Label="UserMacros" />
140
+ <PropertyGroup>
141
+ <_ProjectFileVersion>14.0.25420.1</_ProjectFileVersion>
142
+ @@ -75,6 +100,10 @@
143
+ <LinkIncremental>true</LinkIncremental>
144
+ <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
145
+ </PropertyGroup>
146
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
147
+ + <LinkIncremental>true</LinkIncremental>
148
+ + <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
149
+ + </PropertyGroup>
150
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
151
+ <OutDir>$(SolutionDir)$(Configuration)\$(ProjectName)\</OutDir>
152
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
153
+ @@ -84,6 +113,10 @@
154
+ <LinkIncremental>false</LinkIncremental>
155
+ <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
156
+ </PropertyGroup>
157
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
158
+ + <LinkIncremental>false</LinkIncremental>
159
+ + <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
160
+ + </PropertyGroup>
161
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
162
+ <ClCompile>
163
+ <Optimization>Disabled</Optimization>
164
+ @@ -128,6 +161,27 @@
165
+ </DataExecutionPrevention>
166
+ </Link>
167
+ </ItemDefinitionGroup>
168
+ + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
169
+ + <ClCompile>
170
+ + <Optimization>Disabled</Optimization>
171
+ + <AdditionalIncludeDirectories>..\src\hunspell;..\src\parsers;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
172
+ + <PreprocessorDefinitions>W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
173
+ + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
174
+ + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
175
+ + <PrecompiledHeader>
176
+ + </PrecompiledHeader>
177
+ + <WarningLevel>Level4</WarningLevel>
178
+ + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
179
+ + <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
180
+ + <DisableSpecificWarnings>4127;4267;4706</DisableSpecificWarnings>
181
+ + </ClCompile>
182
+ + <Link>
183
+ + <GenerateDebugInformation>true</GenerateDebugInformation>
184
+ + <SubSystem>Console</SubSystem>
185
+ + <DataExecutionPrevention>
186
+ + </DataExecutionPrevention>
187
+ + </Link>
188
+ + </ItemDefinitionGroup>
189
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
190
+ <ClCompile>
191
+ <Optimization>Full</Optimization>
192
+ @@ -176,6 +230,30 @@
193
+ </DataExecutionPrevention>
194
+ </Link>
195
+ </ItemDefinitionGroup>
196
+ + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
197
+ + <ClCompile>
198
+ + <Optimization>Full</Optimization>
199
+ + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
200
+ + <AdditionalIncludeDirectories>..\src\hunspell;..\src\parsers;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
201
+ + <PreprocessorDefinitions>W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
202
+ + <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
203
+ + <PrecompiledHeader>
204
+ + </PrecompiledHeader>
205
+ + <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
206
+ + <WarningLevel>Level4</WarningLevel>
207
+ + <DebugInformationFormat>
208
+ + </DebugInformationFormat>
209
+ + <DisableSpecificWarnings>4127;4267;4706</DisableSpecificWarnings>
210
+ + </ClCompile>
211
+ + <Link>
212
+ + <GenerateDebugInformation>true</GenerateDebugInformation>
213
+ + <SubSystem>Console</SubSystem>
214
+ + <OptimizeReferences>true</OptimizeReferences>
215
+ + <EnableCOMDATFolding>true</EnableCOMDATFolding>
216
+ + <DataExecutionPrevention>
217
+ + </DataExecutionPrevention>
218
+ + </Link>
219
+ + </ItemDefinitionGroup>
220
+ <ItemGroup>
221
+ <ClCompile Include="..\src\parsers\firstparser.cxx" />
222
+ <ClCompile Include="..\src\parsers\htmlparser.cxx" />
223
+ diff --git a/msvc/libhunspell.vcxproj b/msvc/libhunspell.vcxproj
224
+ index 9a875ca..b7ed6b2 100644
225
+ --- a/msvc/libhunspell.vcxproj
226
+ +++ b/msvc/libhunspell.vcxproj
227
+ @@ -9,6 +9,10 @@
228
+ <Configuration>Debug_dll</Configuration>
229
+ <Platform>x64</Platform>
230
+ </ProjectConfiguration>
231
+ + <ProjectConfiguration Include="Debug_dll|ARM64">
232
+ + <Configuration>Debug_dll</Configuration>
233
+ + <Platform>x64</Platform>
234
+ + </ProjectConfiguration>
235
+ <ProjectConfiguration Include="Debug|Win32">
236
+ <Configuration>Debug</Configuration>
237
+ <Platform>Win32</Platform>
238
+ @@ -17,6 +21,10 @@
239
+ <Configuration>Debug</Configuration>
240
+ <Platform>x64</Platform>
241
+ </ProjectConfiguration>
242
+ + <ProjectConfiguration Include="Debug|ARM64">
243
+ + <Configuration>Debug</Configuration>
244
+ + <Platform>ARM64</Platform>
245
+ + </ProjectConfiguration>
246
+ <ProjectConfiguration Include="Release_dll|Win32">
247
+ <Configuration>Release_dll</Configuration>
248
+ <Platform>Win32</Platform>
249
+ @@ -24,6 +32,10 @@
250
+ <ProjectConfiguration Include="Release_dll|x64">
251
+ <Configuration>Release_dll</Configuration>
252
+ <Platform>x64</Platform>
253
+ + </ProjectConfiguration>
254
+ + <ProjectConfiguration Include="Release_dll|ARM64">
255
+ + <Configuration>Release_dll</Configuration>
256
+ + <Platform>ARM64</Platform>
257
+ </ProjectConfiguration>
258
+ <ProjectConfiguration Include="Release|Win32">
259
+ <Configuration>Release</Configuration>
260
+ @@ -33,6 +45,10 @@
261
+ <Configuration>Release</Configuration>
262
+ <Platform>x64</Platform>
263
+ </ProjectConfiguration>
264
+ + <ProjectConfiguration Include="Release|ARM64">
265
+ + <Configuration>Release</Configuration>
266
+ + <Platform>ARM64</Platform>
267
+ + </ProjectConfiguration>
268
+ </ItemGroup>
269
+ <PropertyGroup Label="Globals">
270
+ <ProjectGuid>{53609BB3-D874-465C-AF7B-DF626DB0D89B}</ProjectGuid>
271
+ @@ -53,6 +69,12 @@
272
+ <UseOfMfc>false</UseOfMfc>
273
+ <CharacterSet>MultiByte</CharacterSet>
274
+ </PropertyGroup>
275
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|ARM64'" Label="Configuration">
276
+ + <ConfigurationType>DynamicLibrary</ConfigurationType>
277
+ + <PlatformToolset>v141</PlatformToolset>
278
+ + <UseOfMfc>false</UseOfMfc>
279
+ + <CharacterSet>MultiByte</CharacterSet>
280
+ + </PropertyGroup>
281
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|Win32'" Label="Configuration">
282
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
283
+ <PlatformToolset>v140_xp</PlatformToolset>
284
+ @@ -67,6 +89,13 @@
285
+ <CharacterSet>MultiByte</CharacterSet>
286
+ <WholeProgramOptimization>true</WholeProgramOptimization>
287
+ </PropertyGroup>
288
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|ARM64'" Label="Configuration">
289
+ + <ConfigurationType>DynamicLibrary</ConfigurationType>
290
+ + <PlatformToolset>v141</PlatformToolset>
291
+ + <UseOfMfc>false</UseOfMfc>
292
+ + <CharacterSet>MultiByte</CharacterSet>
293
+ + <WholeProgramOptimization>true</WholeProgramOptimization>
294
+ + </PropertyGroup>
295
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
296
+ <ConfigurationType>StaticLibrary</ConfigurationType>
297
+ <PlatformToolset>v140_xp</PlatformToolset>
298
+ @@ -80,6 +109,13 @@
299
+ <UseOfMfc>false</UseOfMfc>
300
+ <CharacterSet>MultiByte</CharacterSet>
301
+ <WholeProgramOptimization>true</WholeProgramOptimization>
302
+ + </PropertyGroup>
303
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
304
+ + <ConfigurationType>StaticLibrary</ConfigurationType>
305
+ + <PlatformToolset>v141</PlatformToolset>
306
+ + <UseOfMfc>false</UseOfMfc>
307
+ + <CharacterSet>MultiByte</CharacterSet>
308
+ + <WholeProgramOptimization>true</WholeProgramOptimization>
309
+ </PropertyGroup>
310
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
311
+ <ConfigurationType>StaticLibrary</ConfigurationType>
312
+ @@ -93,6 +129,12 @@
313
+ <UseOfMfc>false</UseOfMfc>
314
+ <CharacterSet>MultiByte</CharacterSet>
315
+ </PropertyGroup>
316
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
317
+ + <ConfigurationType>StaticLibrary</ConfigurationType>
318
+ + <PlatformToolset>v140_xp</PlatformToolset>
319
+ + <UseOfMfc>false</UseOfMfc>
320
+ + <CharacterSet>MultiByte</CharacterSet>
321
+ + </PropertyGroup>
322
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
323
+ <ImportGroup Label="ExtensionSettings">
324
+ </ImportGroup>
325
+ @@ -102,24 +144,36 @@
326
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|x64'" Label="PropertySheets">
327
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
328
+ </ImportGroup>
329
+ + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|ARM64'" Label="PropertySheets">
330
+ + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
331
+ + </ImportGroup>
332
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|Win32'" Label="PropertySheets">
333
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
334
+ </ImportGroup>
335
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|x64'" Label="PropertySheets">
336
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
337
+ </ImportGroup>
338
+ + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|ARM64'" Label="PropertySheets">
339
+ + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
340
+ + </ImportGroup>
341
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
342
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
343
+ </ImportGroup>
344
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
345
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
346
+ </ImportGroup>
347
+ + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
348
+ + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
349
+ + </ImportGroup>
350
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
351
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
352
+ </ImportGroup>
353
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
354
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
355
+ </ImportGroup>
356
+ + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
357
+ + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
358
+ + </ImportGroup>
359
+ <PropertyGroup Label="UserMacros" />
360
+ <PropertyGroup>
361
+ <_ProjectFileVersion>14.0.25420.1</_ProjectFileVersion>
362
+ @@ -141,6 +195,10 @@
363
+ <LinkIncremental />
364
+ <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
365
+ </PropertyGroup>
366
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|ARM64'">
367
+ + <LinkIncremental />
368
+ + <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
369
+ + </PropertyGroup>
370
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|Win32'">
371
+ <OutDir>$(SolutionDir)$(Configuration)\$(ProjectName)\</OutDir>
372
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
373
+ @@ -150,12 +208,23 @@
374
+ <LinkIncremental>true</LinkIncremental>
375
+ <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
376
+ </PropertyGroup>
377
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|ARM64'">
378
+ + <LinkIncremental>true</LinkIncremental>
379
+ + <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
380
+ + </PropertyGroup>
381
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
382
+ <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
383
+ </PropertyGroup>
384
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
385
+ + <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
386
+ + </PropertyGroup>
387
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
388
+ <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
389
+ </PropertyGroup>
390
+ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
391
+ + <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
392
+ + </PropertyGroup>
393
+ +
394
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
395
+ <PreBuildEvent>
396
+ <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
397
+ @@ -196,6 +265,25 @@
398
+ </ClCompile>
399
+ <Lib />
400
+ </ItemDefinitionGroup>
401
+ + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
402
+ + <PreBuildEvent>
403
+ + <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
404
+ + </PreBuildEvent>
405
+ + <ClCompile>
406
+ + <Optimization>Disabled</Optimization>
407
+ + <AdditionalIncludeDirectories>..\src\hunspell;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
408
+ + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
409
+ + <MinimalRebuild>false</MinimalRebuild>
410
+ + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
411
+ + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
412
+ + <PrecompiledHeader>
413
+ + </PrecompiledHeader>
414
+ + <WarningLevel>Level4</WarningLevel>
415
+ + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
416
+ + <DisableSpecificWarnings>4706;4251;4267</DisableSpecificWarnings>
417
+ + </ClCompile>
418
+ + <Lib />
419
+ + </ItemDefinitionGroup>
420
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
421
+ <PreBuildEvent>
422
+ <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
423
+ @@ -250,6 +338,34 @@
424
+ <SuppressStartupBanner>false</SuppressStartupBanner>
425
+ </Bscmake>
426
+ </ItemDefinitionGroup>
427
+ + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
428
+ + <PreBuildEvent>
429
+ + <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
430
+ + </PreBuildEvent>
431
+ + <ClCompile>
432
+ + <Optimization>Full</Optimization>
433
+ + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
434
+ + <AdditionalIncludeDirectories>..\src\hunspell;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
435
+ + <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
436
+ + <StringPooling>true</StringPooling>
437
+ + <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
438
+ + <FunctionLevelLinking>true</FunctionLevelLinking>
439
+ + <PrecompiledHeader>
440
+ + </PrecompiledHeader>
441
+ + <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
442
+ + <WarningLevel>Level4</WarningLevel>
443
+ + <DebugInformationFormat>
444
+ + </DebugInformationFormat>
445
+ + <DisableSpecificWarnings>4706;4251;4267</DisableSpecificWarnings>
446
+ + </ClCompile>
447
+ + <ResourceCompile>
448
+ + <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
449
+ + <Culture>0x0409</Culture>
450
+ + </ResourceCompile>
451
+ + <Bscmake>
452
+ + <SuppressStartupBanner>false</SuppressStartupBanner>
453
+ + </Bscmake>
454
+ + </ItemDefinitionGroup>
455
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|Win32'">
456
+ <PreBuildEvent>
457
+ <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
458
+ @@ -315,6 +431,39 @@
459
+ <SubSystem>Windows</SubSystem>
460
+ </Link>
461
+ </ItemDefinitionGroup>
462
+ + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_dll|ARM64'">
463
+ + <PreBuildEvent>
464
+ + <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
465
+ + </PreBuildEvent>
466
+ + <ClCompile>
467
+ + <Optimization>Full</Optimization>
468
+ + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
469
+ + <AdditionalIncludeDirectories>..\src\hunspell;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
470
+ + <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILDING_LIBHUNSPELL;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
471
+ + <StringPooling>true</StringPooling>
472
+ + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
473
+ + <FunctionLevelLinking>true</FunctionLevelLinking>
474
+ + <PrecompiledHeader>
475
+ + </PrecompiledHeader>
476
+ + <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
477
+ + <WarningLevel>Level4</WarningLevel>
478
+ + <DebugInformationFormat>
479
+ + </DebugInformationFormat>
480
+ + <DisableSpecificWarnings>4706;4251;4267</DisableSpecificWarnings>
481
+ + </ClCompile>
482
+ + <ResourceCompile>
483
+ + <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
484
+ + <Culture>0x0409</Culture>
485
+ + </ResourceCompile>
486
+ + <Link>
487
+ + <GenerateDebugInformation>false</GenerateDebugInformation>
488
+ + <OptimizeReferences>true</OptimizeReferences>
489
+ + <EnableCOMDATFolding>true</EnableCOMDATFolding>
490
+ + <DataExecutionPrevention>
491
+ + </DataExecutionPrevention>
492
+ + <SubSystem>Windows</SubSystem>
493
+ + </Link>
494
+ + </ItemDefinitionGroup>
495
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|Win32'">
496
+ <PreBuildEvent>
497
+ <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
498
+ @@ -366,6 +515,31 @@
499
+ </DataExecutionPrevention>
500
+ </Link>
501
+ </ItemDefinitionGroup>
502
+ + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_dll|ARM64'">
503
+ + <PreBuildEvent>
504
+ + <Command>echo N | copy /-Y ..\src\hunspell\hunvisapi.h.in ..\src\hunspell\hunvisapi.h</Command>
505
+ + </PreBuildEvent>
506
+ + <ClCompile>
507
+ + <Optimization>Disabled</Optimization>
508
+ + <AdditionalIncludeDirectories>..\src\hunspell;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
509
+ + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;BUILDING_LIBHUNSPELL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
510
+ + <MinimalRebuild>false</MinimalRebuild>
511
+ + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
512
+ + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
513
+ + <PrecompiledHeader>
514
+ + </PrecompiledHeader>
515
+ + <ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
516
+ + <WarningLevel>Level4</WarningLevel>
517
+ + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
518
+ + <DisableSpecificWarnings>4706;4251;4267</DisableSpecificWarnings>
519
+ + </ClCompile>
520
+ + <Link>
521
+ + <GenerateDebugInformation>true</GenerateDebugInformation>
522
+ + <SubSystem>Windows</SubSystem>
523
+ + <DataExecutionPrevention>
524
+ + </DataExecutionPrevention>
525
+ + </Link>
526
+ + </ItemDefinitionGroup>
527
+ <ItemGroup>
528
+ <ClInclude Include="..\src\hunspell\affentry.hxx" />
529
+ <ClInclude Include="..\src\hunspell\affixmgr.hxx" />
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/portfile.cmake ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO hunspell/hunspell
4
+ REF v1.7.0
5
+ SHA512 8149b2e8b703a0610c9ca5160c2dfad3cf3b85b16b3f0f5cfcb7ebb802473b2d499e8e2d0a637a97a37a24d62424e82d3880809210d3f043fa17a4970d47c903
6
+ HEAD_REF master
7
+ PATCHES
8
+ 0001_fix_unistd.patch
9
+ 0002-disable-test.patch
10
+ 0003-fix-win-build.patch
11
+ 0004-add-win-arm64.patch
12
+ )
13
+
14
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
15
+ FEATURES
16
+ tools BUILD_TOOLS
17
+ )
18
+
19
+ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
20
+ file(REMOVE "${SOURCE_PATH}/README") #README is a symlink
21
+
22
+ #architecture detection
23
+ if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
24
+ set(HUNSPELL_ARCH Win32)
25
+ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
26
+ set(HUNSPELL_ARCH x64)
27
+ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
28
+ set(HUNSPELL_ARCH ARM64)
29
+ else()
30
+ message(FATAL_ERROR "unsupported architecture")
31
+ endif()
32
+
33
+ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
34
+ set(HUNSPELL_CONFIGURATION _dll)
35
+ else()
36
+ set(HUNSPELL_CONFIGURATION )
37
+ endif()
38
+
39
+ if("tools" IN_LIST FEATURES)
40
+ set(HSP_TARGET hunspell)
41
+ else()
42
+ set(HSP_TARGET libhunspell)
43
+ endif()
44
+
45
+ vcpkg_install_msbuild(
46
+ SOURCE_PATH "${SOURCE_PATH}"
47
+ PROJECT_SUBPATH "msvc/Hunspell.sln"
48
+ INCLUDES_SUBPATH src/hunspell
49
+ PLATFORM ${HUNSPELL_ARCH}
50
+ RELEASE_CONFIGURATION Release${HUNSPELL_CONFIGURATION}
51
+ DEBUG_CONFIGURATION Debug${HUNSPELL_CONFIGURATION}
52
+ ALLOW_ROOT_INCLUDES
53
+ )
54
+ else()
55
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
56
+ set(ENV{CFLAGS} "$ENV{CFLAGS} -DHUNSPELL_STATIC")
57
+ set(ENV{CXXFLAGS} "$ENV{CXXFLAGS} -DHUNSPELL_STATIC")
58
+ endif()
59
+ if(NOT "tools" IN_LIST FEATURES) # Building the tools is not possible on windows!
60
+ file(READ "${SOURCE_PATH}/src/Makefile.am" _contents)
61
+ string(REPLACE " parsers tools" "" _contents "${_contents}")
62
+ file(WRITE "${SOURCE_PATH}/src/Makefile.am" "${_contents}")
63
+ endif()
64
+ vcpkg_add_to_path("${CURRENT_HOST_INSTALLED_DIR}/tools/gettext/bin")
65
+ vcpkg_configure_make(
66
+ SOURCE_PATH ${SOURCE_PATH}
67
+ OPTIONS
68
+ AUTOCONFIG
69
+ ADDITIONAL_MSYS_PACKAGES gzip
70
+ )
71
+ #install-pkgconfDATA:
72
+ vcpkg_build_make(BUILD_TARGET dist LOGFILE_ROOT build-dist)
73
+ vcpkg_install_make()
74
+
75
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug")
76
+ vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
77
+ vcpkg_fixup_pkgconfig()
78
+ endif()
79
+ vcpkg_copy_pdbs()
80
+
81
+ if (VCPKG_LIBRARY_LINKAGE STREQUAL "static")
82
+ if (VCPKG_TARGET_IS_WINDOWS)
83
+ set(HUNSPELL_EXPORT_HDR "${CURRENT_PACKAGES_DIR}/include/hunvisapi.h")
84
+ else()
85
+ set(HUNSPELL_EXPORT_HDR "${CURRENT_PACKAGES_DIR}/include/hunspell/hunvisapi.h")
86
+ endif()
87
+ vcpkg_replace_string(
88
+ ${HUNSPELL_EXPORT_HDR}
89
+ "#if defined(HUNSPELL_STATIC)"
90
+ "#if 1"
91
+ )
92
+ endif()
93
+
94
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
95
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
96
+
97
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
98
+ file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright-lgpl)
99
+ file(INSTALL "${SOURCE_PATH}/COPYING.MPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright-mpl)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hunspell/vcpkg.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hunspell",
3
+ "version": "1.7.0",
4
+ "port-version": 8,
5
+ "description": "The most popular spellchecking library.",
6
+ "homepage": "https://github.com/hunspell/hunspell",
7
+ "supports": "!uwp",
8
+ "dependencies": [
9
+ "libiconv"
10
+ ],
11
+ "features": {
12
+ "tools": {
13
+ "description": "Build hunspell tools",
14
+ "dependencies": [
15
+ {
16
+ "name": "gettext",
17
+ "host": true,
18
+ "features": [
19
+ "tools"
20
+ ]
21
+ }
22
+ ]
23
+ }
24
+ }
25
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/fix_shared_win_build.patch ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/configure.ac b/configure.ac
2
+ index 8af26ec..0d52b00 100644
3
+ --- a/configure.ac
4
+ +++ b/configure.ac
5
+ @@ -127,6 +127,8 @@ AS_IF([test "$enable_embedded_mode" != "yes"],
6
+ ####################################################################
7
+
8
+ AC_SUBST([libhwloc_so_version])
9
+ +libhwloc_so_version_current_minus_age=`expr [[ $libhwloc_so_version=~ ([[:digit:]]+):[[:digit:]]+:([[:digit:]]+) ]] && real_so_ver=$(expr ${BASH_REMATCH[1]} - ${BASH_REMATCH[2]})`
10
+ +AC_SUBST(libhwloc_so_version_current_minus_age)
11
+ AC_SUBST([libhwloc_so_name])
12
+
13
+ # Setup the hwloc core
14
+ diff --git a/hwloc/Makefile.am b/hwloc/Makefile.am
15
+ index 4b3800a..f96473c 100644
16
+ --- a/hwloc/Makefile.am
17
+ +++ b/hwloc/Makefile.am
18
+ @@ -189,11 +189,10 @@ if HWLOC_HAVE_WINDOWS
19
+
20
+ LC_MESSAGES=C
21
+ export LC_MESSAGES
22
+ -ldflags += -Xlinker --output-def -Xlinker .libs/libhwloc.def
23
+
24
+ if HWLOC_HAVE_MS_LIB
25
+ .libs/libhwloc.lib: libhwloc.la
26
+ - [ ! -r .libs/libhwloc.def ] || "$(HWLOC_MS_LIB)" -machine:$(HWLOC_MS_LIB_ARCH) -def:.libs/libhwloc.def -name:libhwloc-$(libhwloc_so_name) -out:.libs/libhwloc.lib
27
+ +# [ ! -r .libs/libhwloc.def ] || "$(HWLOC_MS_LIB)" -machine:$(HWLOC_MS_LIB_ARCH) -def:.libs/libhwloc.def -name:libhwloc-$(libhwloc_so_name) -out:.libs/libhwloc.lib
28
+ all-local: .libs/libhwloc.lib
29
+ endif HWLOC_HAVE_MS_LIB
30
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/fix_wrong_ifdef.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/hwloc/topology.c b/hwloc/topology.c
2
+ index 01e5a863c..211f2cbd1 100644
3
+ --- a/hwloc/topology.c
4
+ +++ b/hwloc/topology.c
5
+ @@ -69,7 +69,7 @@
6
+ * it will break in cygwin, we'll have to use both putenv() and SetEnvironmentVariable().
7
+ * Hopefully L0 will be provide a way to enable Sysman without env vars before it happens.
8
+ */
9
+ -#ifdef HWLOC_HAVE_ATTRIBUTE_CONSTRUCTOR
10
+ +#if HWLOC_HAVE_ATTRIBUTE_CONSTRUCTOR
11
+ static void hwloc_constructor(void) __attribute__((constructor));
12
+ static void hwloc_constructor(void)
13
+ {
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/portfile.cmake ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO open-mpi/hwloc
4
+ REF 6fa8466a9c9c28de8ca3bd9e879c426edd85decf # hwloc-2.7.0
5
+ SHA512 33bcc30362ba27076eacc83327a9d6235e2914a3c64536631e05e2d44c2c12b0176d55cc42ec0dc3c80682b977a83e60bd3a41f3ef486581cf8afa62ad2e9516
6
+ PATCHES
7
+ fix_shared_win_build.patch
8
+ )
9
+
10
+ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
11
+ set(OPTIONS ac_cv_prog_cc_c99= # To avoid the compiler check for C99 which will fail for MSVC
12
+ --disable-plugin-dlopen)
13
+ endif()
14
+
15
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
16
+ list(APPEND OPTIONS "HWLOC_LDFLAGS=-no-undefined")
17
+ elseif(VCPKG_TARGET_IS_OSX)
18
+ list(APPEND OPTIONS "HWLOC_LDFLAGS=-framework CoreFoundation")
19
+ endif()
20
+
21
+ vcpkg_configure_make(
22
+ SOURCE_PATH "${SOURCE_PATH}"
23
+ AUTOCONFIG
24
+ OPTIONS
25
+ ${OPTIONS}
26
+ --disable-libxml2
27
+ --disable-opencl
28
+ --disable-cairo
29
+ --disable-cuda
30
+ --disable-libudev
31
+ --disable-levelzero
32
+ --disable-nvml
33
+ --disable-rsmi
34
+ --disable-pci
35
+ #--disable-cpuid
36
+ #--disable-picky
37
+ )
38
+
39
+ vcpkg_install_make()
40
+ vcpkg_fixup_pkgconfig()
41
+ vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
42
+
43
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
44
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
45
+
46
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-compress-dir")
47
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-compress-dir" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
48
+ endif()
49
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-compress-dir")
50
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-compress-dir" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
51
+ endif()
52
+
53
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-gather-topology")
54
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-gather-topology" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
55
+ endif()
56
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-gather-topology")
57
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-gather-topology" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
58
+ endif()
59
+
60
+ # Handle copyright
61
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
62
+
63
+ file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/COPYING.txt"
64
+ "${CURRENT_PACKAGES_DIR}/debug/README.txt"
65
+ "${CURRENT_PACKAGES_DIR}/debug/NEWS.txt"
66
+ "${CURRENT_PACKAGES_DIR}/COPYING.txt"
67
+ "${CURRENT_PACKAGES_DIR}/README.txt"
68
+ "${CURRENT_PACKAGES_DIR}/NEWS.txt"
69
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hwloc/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hwloc",
3
+ "version": "2.7.0",
4
+ "maintainers": "bgoglin<[email protected]>",
5
+ "description": [
6
+ "Portable Hardware Locality (hwloc)",
7
+ "The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, ...) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading. It also gathers various system attributes such as cache and memory information as well as the locality of I/O devices such as network interfaces, InfiniBand HCAs or GPUs."
8
+ ],
9
+ "homepage": "https://github.com/open-mpi/hwloc",
10
+ "license": "BSD-2-Clause",
11
+ "supports": "!uwp"
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hyperscan/0001-remove-Werror.patch ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From e2c0779de8096623be874c5fa0d275113b9d1204 Mon Sep 17 00:00:00 2001
2
+ From: Nicole Mazzuca <[email protected]>
3
+ Date: Tue, 22 Sep 2020 14:44:36 -0700
4
+ Subject: [PATCH] remove Werror
5
+
6
+ ---
7
+ CMakeLists.txt | 4 ++--
8
+ 1 file changed, 2 insertions(+), 2 deletions(-)
9
+
10
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
11
+ index 83197af..d27eb76 100644
12
+ --- a/CMakeLists.txt
13
+ +++ b/CMakeLists.txt
14
+ @@ -235,8 +235,8 @@ else()
15
+ if (NOT RELEASE_BUILD)
16
+ # -Werror is most useful during development, don't potentially break
17
+ # release builds
18
+ - set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Werror")
19
+ - set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -Werror")
20
+ + #set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Werror")
21
+ + #set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -Werror")
22
+ endif()
23
+
24
+ if (DISABLE_ASSERTS)
25
+ --
26
+ 2.24.3 (Apple Git-128)
27
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hyperscan/portfile.cmake ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ set(HYPERSCAN_VERSION 5.3.0)
4
+
5
+ vcpkg_from_github(
6
+ OUT_SOURCE_PATH SOURCE_PATH
7
+ REPO intel/hyperscan
8
+ REF v${HYPERSCAN_VERSION}
9
+ SHA512 a4d85ffd2264e8e6745340ba51431361775a1e7a2da78edd31f6f53552ac61fdef718710ae53a254b7d5000f9ec1aafe7a48d9c55e76f5c6822486150bbc6c56
10
+ HEAD_REF master
11
+ PATCHES
12
+ 0001-remove-Werror.patch
13
+ )
14
+
15
+ vcpkg_find_acquire_program(PYTHON3)
16
+
17
+ vcpkg_configure_cmake(
18
+ SOURCE_PATH ${SOURCE_PATH}
19
+ PREFER_NINJA
20
+ OPTIONS "-DPYTHON_EXECUTABLE=${PYTHON3}"
21
+ )
22
+
23
+ vcpkg_install_cmake()
24
+
25
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
26
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
27
+
28
+ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
29
+
30
+ vcpkg_fixup_pkgconfig()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hyperscan/vcpkg.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hyperscan",
3
+ "version-string": "5.3.0",
4
+ "port-version": 3,
5
+ "description": "A regular expression library with O(length of input) match times that takes advantage of Intel hardware to provide blazing speed.",
6
+ "homepage": "https://www.hyperscan.io",
7
+ "supports": "!arm",
8
+ "dependencies": [
9
+ "boost-array",
10
+ "boost-chrono",
11
+ "boost-config",
12
+ "boost-core",
13
+ "boost-crc",
14
+ "boost-detail",
15
+ "boost-dynamic-bitset",
16
+ "boost-functional",
17
+ "boost-graph",
18
+ "boost-icl",
19
+ "boost-multi-array",
20
+ "boost-ptr-container",
21
+ "boost-random",
22
+ "boost-regex",
23
+ "boost-system",
24
+ "boost-thread",
25
+ "boost-type-traits",
26
+ "boost-unordered",
27
+ "boost-utility",
28
+ "pcre",
29
+ "ragel"
30
+ ]
31
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypodermic/disable_hypodermic_tests.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 9b6358a..5f55bc2 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -76,7 +76,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILER_FLAGS} ${WARNING_FLAGS}")
6
+
7
+
8
+ add_subdirectory(Hypodermic)
9
+ -add_subdirectory(Hypodermic.Tests)
10
+ +#add_subdirectory(Hypodermic.Tests)
11
+
12
+
13
+ # uninstall target
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypodermic/portfile.cmake ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO ybainier/Hypodermic
4
+ REF 0e0d85d70aa2f2391dfd84f8af4a3863d4fb1611 # v2.5.3
5
+ SHA512 6fc3f9eca034a4de3f7086bd51e9ba11ee31c8ec000a3e0bdfc06db1f3c12a89b66793adf5d219441e680541e26acaef72d21f9dd0acf3f5fee3aa12d3fb7b4d
6
+ HEAD_REF master
7
+ PATCHES
8
+ "disable_hypodermic_tests.patch"
9
+ )
10
+
11
+ vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
12
+
13
+ vcpkg_cmake_install()
14
+
15
+ file(REMOVE_RECURSE
16
+ "${CURRENT_PACKAGES_DIR}/lib"
17
+ "${CURRENT_PACKAGES_DIR}/debug"
18
+ )
19
+
20
+
21
+ # Put the license file where vcpkg expects it
22
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypodermic/vcpkg.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hypodermic",
3
+ "version": "2.5.3",
4
+ "description": "Hypodermic is a non-intrusive header only IoC container for C++",
5
+ "homepage": "https://github.com/ybainier/Hypodermic",
6
+ "license": "MIT",
7
+ "dependencies": [
8
+ "boost-algorithm",
9
+ "boost-config",
10
+ "boost-format",
11
+ "boost-range",
12
+ "boost-signals2",
13
+ "boost-system",
14
+ "boost-test",
15
+ {
16
+ "name": "vcpkg-cmake",
17
+ "host": true
18
+ },
19
+ {
20
+ "name": "vcpkg-cmake-config",
21
+ "host": true
22
+ }
23
+ ]
24
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypre/fix-dll-install-destination.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2
+ --- a/src/CMakeLists.txt
3
+ +++ b/src/CMakeLists.txt
4
+ @@ -459,7 +459,7 @@ install(TARGETS ${PROJECT_NAME}
5
+ EXPORT HYPRETargets
6
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
7
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
8
+ - RUNTIME DESTINATION "${CMAKE_INSTALL_LIBDIR}"
9
+ + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
10
+ INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
11
+ install(FILES ${HYPRE_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
12
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypre/portfile.cmake ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if(VCPKG_TARGET_IS_WINDOWS)
2
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
3
+ endif()
4
+
5
+ vcpkg_from_github(
6
+ OUT_SOURCE_PATH SOURCE_PATH
7
+ REPO hypre-space/hypre
8
+ REF v2.23.0
9
+ SHA512 bed8426d093e2290ab443f49deffad96a64e1b3844a4236bc59af19523b16ea8bf2318db21e42ab2b8a4dd529246ba1d9a4eb0cb3bd943633569d03e6311f67f
10
+ HEAD_REF master
11
+ PATCHES
12
+ fix-dll-install-destination.patch
13
+ )
14
+
15
+ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" HYPRE_SHARED)
16
+
17
+ vcpkg_cmake_configure(
18
+ SOURCE_PATH "${SOURCE_PATH}/src"
19
+ OPTIONS
20
+ -DHYPRE_SHARED=${HYPRE_SHARED}
21
+ -DHYPRE_ENABLE_HYPRE_BLAS=OFF
22
+ -DHYPRE_ENABLE_HYPRE_LAPACK=OFF
23
+ OPTIONS_RELEASE
24
+ -DHYPRE_BUILD_TYPE=Release
25
+ "-DHYPRE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}"
26
+ OPTIONS_DEBUG
27
+ -DHYPRE_BUILD_TYPE=Debug
28
+ "-DHYPRE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}/debug"
29
+ )
30
+
31
+ vcpkg_cmake_install()
32
+ vcpkg_copy_pdbs()
33
+
34
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/HYPRE)
35
+
36
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
37
+
38
+ # Handle copyright
39
+ file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/hypre/vcpkg.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hypre",
3
+ "version": "2.23.0",
4
+ "description": "Parallel solvers for sparse linear systems featuring multigrid methods",
5
+ "homepage": "https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods",
6
+ "dependencies": [
7
+ "blas",
8
+ "lapack",
9
+ "mpi",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ }
18
+ ]
19
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/disable-escapestr-tool.patch ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/source/tools/Makefile.in b/source/tools/Makefile.in
2
+ index e0896f1..5ead980 100644
3
+ --- a/source/tools/Makefile.in
4
+ +++ b/source/tools/Makefile.in
5
+ @@ -19,9 +19,9 @@ SUBDIRS = toolutil ctestfw makeconv genrb genbrk \
6
+ gencnval gensprep icuinfo genccode gencmn icupkg pkgdata \
7
+ gentest gennorm2 gencfu gendict icuexportdata
8
+
9
+ -ifneq (@platform_make_fragment_name@,mh-cygwin-msvc)
10
+ -SUBDIRS += escapesrc
11
+ -endif
12
+ +#ifneq (@platform_make_fragment_name@,mh-cygwin-msvc)
13
+ +#SUBDIRS += escapesrc
14
+ +#endif
15
+
16
+ ## List of phony targets
17
+ .PHONY : all all-local all-recursive install install-local \
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/disable-static-prefix.patch ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/source/icudefs.mk.in b/source/icudefs.mk.in
2
+ index 24bd97a..33169de 100644
3
+ --- a/source/icudefs.mk.in
4
+ +++ b/source/icudefs.mk.in
5
+ @@ -213,13 +213,13 @@ LIBICU = $(LIBPREFIX)$(ICUPREFIX)
6
+
7
+ ## If we can't use the shared libraries, use the static libraries
8
+ ifneq ($(ENABLE_SHARED),YES)
9
+ -STATIC_PREFIX_WHEN_USED = s
10
+ +STATIC_PREFIX_WHEN_USED =
11
+ else
12
+ STATIC_PREFIX_WHEN_USED =
13
+ endif
14
+
15
+ # Static library prefix and file extension
16
+ -STATIC_PREFIX = s
17
+ +STATIC_PREFIX =
18
+ LIBSICU = $(LIBPREFIX)$(STATIC_PREFIX)$(ICUPREFIX)
19
+ A = a
20
+ SOBJ = $(SO)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/fix-extra.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --urN a/source/extra/Makefile.in b/source/extra/Makefile.in
2
+ --- a/source/extra/Makefile.in
3
+ +++ b/source/extra/Makefile.in
4
+ @@ -23,7 +23,7 @@
5
+ ## Files to remove for 'make clean'
6
+ CLEANFILES = *~
7
+
8
+ -SUBDIRS = scrptrun uconv
9
+ +SUBDIRS = uconv
10
+
11
+ ## List of phony targets
12
+ .PHONY : all all-local all-recursive install install-local \
13
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/fix-win-build.patch ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/source/configure.ac b/source/configure.ac
2
+ index 425fdc7..97210f8 100644
3
+ --- a/source/configure.ac
4
+ +++ b/source/configure.ac
5
+ @@ -114,6 +114,15 @@ AC_ARG_ENABLE([icu-config],
6
+ esac], [enable_icu_config=true])
7
+ AC_SUBST(INSTALL_ICU_CONFIG, [$enable_icu_config])
8
+
9
+ +AC_ARG_ENABLE([icu-build-win],
10
+ + AS_HELP_STRING([--enable-icu-build-win], [install icu-build-win]),
11
+ + [case "${enableval}" in
12
+ + yes) enable_icu_build_win=true ;;
13
+ + no) enable_icu_build_win=false ;;
14
+ + *) AC_MSG_ERROR([bad value '${enableval}' for --enable-icu-build-win]) ;;
15
+ + esac], [enable_icu_build_win=true])
16
+ +AC_SUBST(INSTALL_ICU_BUILD_WIN, [$enable_icu_build_win])
17
+ +
18
+ # Check whether to build debug libraries
19
+ AC_MSG_CHECKING([whether to build debug libraries])
20
+ enabled=no
21
+ @@ -263,12 +272,14 @@ ICU_CHECK_MH_FRAG
22
+ # Checks for libraries and other host specific stuff
23
+ # On HP/UX, don't link to -lm from a shared lib because it isn't
24
+ # PIC (at least on 10.2)
25
+ +if test "$enable_icu_build_win" = no; then
26
+ case "${host}" in
27
+ *-*-hpux*) AC_CHECK_LIB(m, floor, LIB_M="-lm") ;;
28
+
29
+ *) AC_CHECK_LIB(m, floor)
30
+ LIB_M="" ;;
31
+ esac
32
+ +fi
33
+ AC_SUBST(LIB_M)
34
+
35
+ # Check whether to build shared libraries
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/fix_parallel_build_on_windows.patch ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --urN a/source/data/Makefile.in b/source/data/Makefile.in
2
+ --- a/source/data/Makefile.in
3
+ +++ b/source/data/Makefile.in
4
+ @@ -236,11 +236,12 @@
5
+ ## Include the main build rules for data files
6
+ include $(top_builddir)/$(subdir)/rules.mk
7
+
8
+ +PKGDATA_LIST = $(TMP_DIR)/icudata.lst
9
+
10
+ ifeq ($(ENABLE_SO_VERSION_DATA),1)
11
+ ifeq ($(PKGDATA_MODE),dll)
12
+ SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res
13
+ -$(SO_VERSION_DATA) : $(MISCSRCDIR)/icudata.rc | $(TMP_DIR)/dirs.timestamp
14
+ +$(SO_VERSION_DATA) : $(MISCSRCDIR)/icudata.rc $(PKGDATA_LIST)
15
+ ifeq ($(MSYS_RC_MODE),1)
16
+ rc.exe -i$(srcdir)/../common -i$(top_builddir)/common -fo$@ $(CPPFLAGS) $<
17
+ else
18
+ @@ -249,7 +250,6 @@
19
+ endif
20
+ endif
21
+
22
+ -PKGDATA_LIST = $(TMP_DIR)/icudata.lst
23
+
24
+
25
+ #####################################################
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/mingw-dll-install.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/source/config/mh-mingw64 b/source/config/mh-mingw64
2
+ index fb64c56..a43cc4d 100644
3
+ --- a/source/config/mh-mingw64
4
+ +++ b/source/config/mh-mingw64
5
+ @@ -10,7 +10,7 @@
6
+ # On Windows we generally have the DLLs in the bin directory rather than the lib directory.
7
+ # This setting moves the ICU DLLs into the bin folder for MinGW/MSYS2 when "make install" is run.
8
+ # If you prefer to have the DLLs in the lib folder, then set this to NO instead.
9
+ -MINGW_MOVEDLLSTOBINDIR = YES
10
+ +MINGW_MOVEDLLSTOBINDIR = NO
11
+
12
+ # This file is similar to mh-mingw
13
+ # Any changes made here may also need to be made in mh-mingw
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/portfile.cmake ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set(ICU_VERSION_MAJOR 70)
2
+ set(ICU_VERSION_MINOR 1)
3
+ set(VERSION "${ICU_VERSION_MAJOR}.${ICU_VERSION_MINOR}")
4
+ set(VERSION2 "${ICU_VERSION_MAJOR}_${ICU_VERSION_MINOR}")
5
+ set(VERSION3 "${ICU_VERSION_MAJOR}-${ICU_VERSION_MINOR}")
6
+
7
+ vcpkg_download_distfile(
8
+ ARCHIVE
9
+ URLS "https://github.com/unicode-org/icu/releases/download/release-${VERSION3}/icu4c-${VERSION2}-src.tgz"
10
+ FILENAME "icu4c-${VERSION2}-src.tgz"
11
+ SHA512 0b26ae7207155cb65a8fdb25f7b2fa4431e74b12bccbed0884a17feaae3c96833d12451064dd152197fd6ea5fd3adfd95594284a463e66c82e0d860f645880c9
12
+ )
13
+
14
+ vcpkg_extract_source_archive_ex(
15
+ OUT_SOURCE_PATH SOURCE_PATH
16
+ ARCHIVE ${ARCHIVE}
17
+ PATCHES
18
+ disable-escapestr-tool.patch
19
+ remove-MD-from-configure.patch
20
+ fix_parallel_build_on_windows.patch
21
+ fix-extra.patch
22
+ mingw-dll-install.patch
23
+ disable-static-prefix.patch # https://gitlab.kitware.com/cmake/cmake/-/issues/16617; also mingw.
24
+ fix-win-build.patch
25
+ )
26
+
27
+ vcpkg_find_acquire_program(PYTHON3)
28
+ set(ENV{PYTHON} "${PYTHON3}")
29
+
30
+ if(VCPKG_TARGET_IS_WINDOWS)
31
+ list(APPEND CONFIGURE_OPTIONS --enable-icu-build-win)
32
+ endif()
33
+
34
+ list(APPEND CONFIGURE_OPTIONS --disable-samples --disable-tests --disable-layoutex)
35
+
36
+ list(APPEND CONFIGURE_OPTIONS_RELEASE --disable-debug --enable-release)
37
+ list(APPEND CONFIGURE_OPTIONS_DEBUG --enable-debug --disable-release)
38
+
39
+ set(RELEASE_TRIPLET ${TARGET_TRIPLET}-rel)
40
+ set(DEBUG_TRIPLET ${TARGET_TRIPLET}-dbg)
41
+
42
+ if(CMAKE_HOST_WIN32 AND VCPKG_TARGET_IS_MINGW AND NOT HOST_TRIPLET MATCHES "mingw")
43
+ # Assuming no cross compiling because the host (windows) pkgdata tool doesn't
44
+ # use the '/' path separator when creating compiler commands for mingw bash.
45
+ elseif(VCPKG_CROSSCOMPILING)
46
+ set(TOOL_PATH "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}")
47
+ # convert to unix path
48
+ string(REGEX REPLACE "^([a-zA-Z]):/" "/\\1/" _VCPKG_TOOL_PATH "${TOOL_PATH}")
49
+ list(APPEND CONFIGURE_OPTIONS "--with-cross-build=${_VCPKG_TOOL_PATH}")
50
+ endif()
51
+
52
+ vcpkg_configure_make(
53
+ SOURCE_PATH "${SOURCE_PATH}"
54
+ AUTOCONFIG
55
+ PROJECT_SUBPATH source
56
+ ADDITIONAL_MSYS_PACKAGES autoconf-archive
57
+ OPTIONS ${CONFIGURE_OPTIONS}
58
+ OPTIONS_RELEASE ${CONFIGURE_OPTIONS_RELEASE}
59
+ OPTIONS_DEBUG ${CONFIGURE_OPTIONS_DEBUG}
60
+ DETERMINE_BUILD_TRIPLET
61
+ )
62
+
63
+ if(VCPKG_TARGET_IS_OSX AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic" AND (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release"))
64
+
65
+ vcpkg_build_make()
66
+ # remove this block if https://unicode-org.atlassian.net/browse/ICU-21458
67
+ # is resolved and use the configure script instead
68
+ if(DEFINED CMAKE_INSTALL_NAME_DIR)
69
+ set(ID_PREFIX "${CMAKE_INSTALL_NAME_DIR}")
70
+ else()
71
+ set(ID_PREFIX "@rpath")
72
+ endif()
73
+
74
+ # install_name_tool may be missing if cross-compiling
75
+ find_program(
76
+ INSTALL_NAME_TOOL
77
+ install_name_tool
78
+ HINTS /usr/bin /Library/Developer/CommandLineTools/usr/bin/
79
+ DOC "Absolute path of install_name_tool"
80
+ REQUIRED
81
+ )
82
+
83
+ message(STATUS "setting rpath prefix for macOS dynamic libraries")
84
+
85
+ # add ID_PREFIX to libicudata libicui18n libicuio libicutu libicuuc
86
+ foreach(LIB_NAME libicudata libicui18n libicuio libicutu libicuuc)
87
+ vcpkg_execute_build_process(
88
+ COMMAND ${INSTALL_NAME_TOOL} -id "${ID_PREFIX}/${LIB_NAME}.${ICU_VERSION_MAJOR}.dylib"
89
+ "${LIB_NAME}.${VERSION}.dylib"
90
+ WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${RELEASE_TRIPLET}/lib"
91
+ LOGNAME "make-build-fix-rpath-${RELEASE_TRIPLET}"
92
+ )
93
+ endforeach()
94
+
95
+ # add ID_PREFIX to libicui18n libicuio libicutu dependencies
96
+ foreach(LIB_NAME libicui18n libicuio)
97
+ vcpkg_execute_build_process(
98
+ COMMAND ${INSTALL_NAME_TOOL} -change "libicuuc.${ICU_VERSION_MAJOR}.dylib"
99
+ "${ID_PREFIX}/libicuuc.${ICU_VERSION_MAJOR}.dylib"
100
+ "${LIB_NAME}.${VERSION}.dylib"
101
+ WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${RELEASE_TRIPLET}/lib"
102
+ LOGNAME "make-build-fix-rpath-${RELEASE_TRIPLET}"
103
+ )
104
+ vcpkg_execute_build_process(
105
+ COMMAND ${INSTALL_NAME_TOOL} -change "libicudata.${ICU_VERSION_MAJOR}.dylib"
106
+ "${ID_PREFIX}/libicudata.${ICU_VERSION_MAJOR}.dylib"
107
+ "${LIB_NAME}.${VERSION}.dylib"
108
+ WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${RELEASE_TRIPLET}/lib"
109
+ LOGNAME "make-build-fix-rpath-${RELEASE_TRIPLET}"
110
+ )
111
+ endforeach()
112
+
113
+ # add ID_PREFIX to remaining libicuio libicutu dependencies
114
+ foreach(LIB_NAME libicuio libicutu)
115
+ vcpkg_execute_build_process(
116
+ COMMAND ${INSTALL_NAME_TOOL} -change "libicui18n.${ICU_VERSION_MAJOR}.dylib"
117
+ "${ID_PREFIX}/libicui18n.${ICU_VERSION_MAJOR}.dylib"
118
+ "${LIB_NAME}.${VERSION}.dylib"
119
+ WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${RELEASE_TRIPLET}/lib"
120
+ LOGNAME "make-build-fix-rpath-${RELEASE_TRIPLET}"
121
+ )
122
+ endforeach()
123
+
124
+ # add ID_PREFIX to libicuuc dependencies
125
+ vcpkg_execute_build_process(
126
+ COMMAND ${INSTALL_NAME_TOOL} -change "libicudata.${ICU_VERSION_MAJOR}.dylib"
127
+ "${ID_PREFIX}/libicudata.${ICU_VERSION_MAJOR}.dylib"
128
+ "libicuuc.${VERSION}.dylib"
129
+ WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${RELEASE_TRIPLET}/lib"
130
+ LOGNAME "make-build-fix-rpath-${RELEASE_TRIPLET}"
131
+ )
132
+ endif()
133
+
134
+ vcpkg_install_make()
135
+
136
+ file(REMOVE_RECURSE
137
+ "${CURRENT_PACKAGES_DIR}/share"
138
+ "${CURRENT_PACKAGES_DIR}/debug/share"
139
+ "${CURRENT_PACKAGES_DIR}/lib/icu"
140
+ "${CURRENT_PACKAGES_DIR}/debug/lib/icu"
141
+ "${CURRENT_PACKAGES_DIR}/debug/lib/icud")
142
+
143
+ file(GLOB TEST_LIBS
144
+ "${CURRENT_PACKAGES_DIR}/lib/*test*"
145
+ "${CURRENT_PACKAGES_DIR}/debug/lib/*test*")
146
+ if(TEST_LIBS)
147
+ file(REMOVE ${TEST_LIBS})
148
+ endif()
149
+
150
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
151
+ # force U_STATIC_IMPLEMENTATION macro
152
+ foreach(HEADER utypes.h utf_old.h platform.h)
153
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/unicode/${HEADER}" "defined(U_STATIC_IMPLEMENTATION)" "1")
154
+ endforeach()
155
+ endif()
156
+
157
+ # Install executables from /tools/icu/sbin to /tools/icu/bin on unix (/bin because icu require this for cross compiling)
158
+ if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
159
+ vcpkg_copy_tools(
160
+ TOOL_NAMES icupkg gennorm2 gencmn genccode gensprep
161
+ SEARCH_DIR "${CURRENT_PACKAGES_DIR}/tools/icu/sbin"
162
+ DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin"
163
+ )
164
+ endif()
165
+
166
+ file(REMOVE_RECURSE
167
+ "${CURRENT_PACKAGES_DIR}/tools/icu/sbin"
168
+ "${CURRENT_PACKAGES_DIR}/tools/icu/debug")
169
+
170
+ # To cross compile, we need some files at specific positions. So lets copy them
171
+ file(GLOB CROSS_COMPILE_DEFS "${CURRENT_BUILDTREES_DIR}/${RELEASE_TRIPLET}/config/icucross.*")
172
+ file(INSTALL ${CROSS_COMPILE_DEFS} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/config")
173
+
174
+ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
175
+ file(GLOB RELEASE_DLLS "${CURRENT_PACKAGES_DIR}/lib/*icu*${ICU_VERSION_MAJOR}.dll")
176
+ file(COPY ${RELEASE_DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
177
+ endif()
178
+
179
+ # copy dlls
180
+ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
181
+ file(GLOB RELEASE_DLLS "${CURRENT_PACKAGES_DIR}/lib/*icu*${ICU_VERSION_MAJOR}.dll")
182
+ file(COPY ${RELEASE_DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
183
+ endif()
184
+ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
185
+ file(GLOB DEBUG_DLLS "${CURRENT_PACKAGES_DIR}/debug/lib/*icu*${ICU_VERSION_MAJOR}.dll")
186
+ file(COPY ${DEBUG_DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
187
+ endif()
188
+
189
+ # remove any remaining dlls in /lib
190
+ file(GLOB DUMMY_DLLS "${CURRENT_PACKAGES_DIR}/lib/*.dll" "${CURRENT_PACKAGES_DIR}/debug/lib/*.dll")
191
+ if(DUMMY_DLLS)
192
+ file(REMOVE ${DUMMY_DLLS})
193
+ endif()
194
+
195
+ vcpkg_copy_pdbs()
196
+ vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES pthread m)
197
+
198
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/icu/bin/icu-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../")
199
+
200
+ configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY)
201
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/remove-MD-from-configure.patch ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff -urN a/source/runConfigureICU b/source/runConfigureICU
2
+ --- a/source/runConfigureICU 2018-03-26 21:38:44.000000000 +0800
3
+ +++ b/source/runConfigureICU 2018-08-26 09:04:53.197454400 +0800
4
+ @@ -322,10 +322,10 @@
5
+ THE_COMP="Microsoft Visual C++"
6
+ CC=cl; export CC
7
+ CXX=cl; export CXX
8
+ - RELEASE_CFLAGS='-Gy -MD'
9
+ - RELEASE_CXXFLAGS='-Gy -MD'
10
+ - DEBUG_CFLAGS='-FS -Zi -MDd'
11
+ - DEBUG_CXXFLAGS='-FS -Zi -MDd'
12
+ + RELEASE_CFLAGS='-Gy'
13
+ + RELEASE_CXXFLAGS='-Gy'
14
+ + DEBUG_CFLAGS='-FS -Zi'
15
+ + DEBUG_CXXFLAGS='-FS -Zi'
16
+ DEBUG_LDFLAGS='-DEBUG'
17
+ ;;
18
+ *BSD)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/vcpkg-cmake-wrapper.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ list(FIND ARGS "COMPONENTS" COMPONENTS_IDX)
2
+ if(COMPONENTS_IDX EQUAL -1)
3
+ _find_package(${ARGS} COMPONENTS data)
4
+ else()
5
+ _find_package(${ARGS})
6
+ endif()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/icu/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "icu",
3
+ "version": "70.1",
4
+ "description": "Mature and widely used Unicode and localization library.",
5
+ "homepage": "https://icu.unicode.org/home",
6
+ "supports": "!uwp",
7
+ "dependencies": [
8
+ {
9
+ "name": "icu",
10
+ "host": true
11
+ }
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ideviceinstaller/portfile.cmake ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO libimobiledevice-win32/ideviceinstaller
4
+ REF 1.1.2.23
5
+ SHA512 d0801b3a38eb02206a6f06e05cc19b794c69a87c06895165f64522c61e07030046499c5f0e436981682f9e17f91eae87913cca091e2e039a74ee35a5136100d4
6
+ HEAD_REF msvc-master
7
+ )
8
+
9
+ vcpkg_install_msbuild(
10
+ SOURCE_PATH ${SOURCE_PATH}
11
+ PROJECT_SUBPATH ideviceinstaller.vcxproj
12
+ LICENSE_SUBPATH COPYING
13
+ USE_VCPKG_INTEGRATION
14
+ )
15
+
16
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ideviceinstaller/vcpkg.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ideviceinstaller",
3
+ "version-string": "1.1.2.23",
4
+ "port-version": 2,
5
+ "description": "Manage apps of iOS devices",
6
+ "dependencies": [
7
+ "libimobiledevice",
8
+ "libzip"
9
+ ]
10
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/fix-libgen.h-cannot-be-found.patch ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/common.c b/src/common.c
2
+ index afe1bc0..9219a8f 100644
3
+ --- a/src/common.c
4
+ +++ b/src/common.c
5
+ @@ -29,7 +29,9 @@
6
+ #include <stdlib.h>
7
+ #include <string.h>
8
+ #include <errno.h>
9
+ +#ifndef _MSC_VER
10
+ #include <libgen.h>
11
+ +#endif
12
+ #include <time.h>
13
+
14
+ #include "common.h"
15
+ diff --git a/src/idevicerestore.c b/src/idevicerestore.c
16
+ index efa13c3..c17a2ba 100644
17
+ --- a/src/idevicerestore.c
18
+ +++ b/src/idevicerestore.c
19
+ @@ -38,12 +38,12 @@
20
+ #include <string.h>
21
+ #ifndef _MSC_VER
22
+ #include <unistd.h>
23
+ +#include <libgen.h>
24
+ #endif
25
+ #include <ctype.h>
26
+ #include <getopt.h>
27
+ #include <plist/plist.h>
28
+ #include <zlib.h>
29
+ -#include <libgen.h>
30
+
31
+ #include <curl/curl.h>
32
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/fix-vcxproj.patch ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/idevicerestore.vcxproj b/idevicerestore.vcxproj
2
+ index fa209fa..6afa088 100644
3
+ --- a/idevicerestore.vcxproj
4
+ +++ b/idevicerestore.vcxproj
5
+ @@ -92,9 +92,10 @@
6
+ <Optimization>Disabled</Optimization>
7
+ <SDLCheck>true</SDLCheck>
8
+ <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;WIN32;_WINSOCK_DEPRECATED_NO_WARNINGS</PreprocessorDefinitions>
9
+ + <DisableSpecificWarnings>4996</DisableSpecificWarnings>
10
+ </ClCompile>
11
+ <Link>
12
+ - <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Ws2_32.lib;libcurl.lib;%(AdditionalDependencies)</AdditionalDependencies>
13
+ + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Ws2_32.lib;libcurl-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
14
+ </Link>
15
+ </ItemDefinitionGroup>
16
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
17
+ @@ -103,9 +104,10 @@
18
+ <Optimization>Disabled</Optimization>
19
+ <SDLCheck>true</SDLCheck>
20
+ <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;WIN32;_WINSOCK_DEPRECATED_NO_WARNINGS</PreprocessorDefinitions>
21
+ + <DisableSpecificWarnings>4996</DisableSpecificWarnings>
22
+ </ClCompile>
23
+ <Link>
24
+ - <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Ws2_32.lib;libcurl.lib;%(AdditionalDependencies)</AdditionalDependencies>
25
+ + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Ws2_32.lib;libcurl-d.lib;%(AdditionalDependencies)</AdditionalDependencies>
26
+ </Link>
27
+ </ItemDefinitionGroup>
28
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
29
+ @@ -116,6 +118,7 @@
30
+ <IntrinsicFunctions>true</IntrinsicFunctions>
31
+ <SDLCheck>true</SDLCheck>
32
+ <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;WIN32;_WINSOCK_DEPRECATED_NO_WARNINGS</PreprocessorDefinitions>
33
+ + <DisableSpecificWarnings>4996</DisableSpecificWarnings>
34
+ </ClCompile>
35
+ <Link>
36
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
37
+ @@ -131,6 +134,7 @@
38
+ <IntrinsicFunctions>true</IntrinsicFunctions>
39
+ <SDLCheck>true</SDLCheck>
40
+ <PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;WIN32;_WINSOCK_DEPRECATED_NO_WARNINGS</PreprocessorDefinitions>
41
+ + <DisableSpecificWarnings>4996</DisableSpecificWarnings>
42
+ </ClCompile>
43
+ <Link>
44
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/portfile.cmake ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO libimobiledevice-win32/idevicerestore
4
+ REF 1.0.12
5
+ SHA512 ba623be56c2f37853516d7d4c32e16f1ec72f33d512f18aa812ce6830af4b9e389f7af5321888dd0ddd168e282b652e379b60f90970680e213eabf489f406915
6
+ HEAD_REF msvc-master
7
+ PATCHES
8
+ fix-vcxproj.patch
9
+ fix-libgen.h-cannot-be-found.patch
10
+ )
11
+
12
+ vcpkg_install_msbuild(
13
+ SOURCE_PATH ${SOURCE_PATH}
14
+ PROJECT_SUBPATH idevicerestore.vcxproj
15
+ LICENSE_SUBPATH COPYING
16
+ USE_VCPKG_INTEGRATION
17
+ )
18
+
19
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/idevicerestore/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "idevicerestore",
3
+ "version": "1.0.12",
4
+ "port-version": 7,
5
+ "description": "Restore/upgrade firmware of iOS devices",
6
+ "supports": "windows",
7
+ "dependencies": [
8
+ "curl",
9
+ "libimobiledevice",
10
+ "libirecovery",
11
+ "libzip"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/if97/portfile.cmake ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO CoolProp/IF97
4
+ REF v2.1.2
5
+ SHA512 a7625fcc1ca0763df5b4cf5be741babbaefc09022940b4fc5ee1c05121751282c18ebd87ae58e1eee9bdb46dab5ae6fb4ed9a31fc2c53dc6de5cbd243fa4c8e9
6
+ HEAD_REF master
7
+ )
8
+
9
+ file(INSTALL ${SOURCE_PATH}/IF97.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
10
+
11
+ # Handle copyright
12
+ file(
13
+ INSTALL ${SOURCE_PATH}/LICENSE
14
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/if97
15
+ RENAME copyright
16
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/if97/vcpkg.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "if97",
3
+ "version-string": "2.1.2",
4
+ "port-version": 1,
5
+ "description": "This repository implements the IF97 formulation for the properties of pure water substance.",
6
+ "homepage": "https://github.com/CoolProp/IF97"
7
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igloo/portfile.cmake ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO joakimkarlsson/igloo
4
+ REF igloo.1.1.1
5
+ SHA512 69d8edb840aa1e2c1df4529a39b94e2d33dbc9fb5869ae91a0f062d29b7fbb73d4e2180080e7696cb69fbf5126c7c53c98dddb003e0e5e796812330e1a4ba32e
6
+ HEAD_REF master
7
+ )
8
+
9
+ file(COPY ${SOURCE_PATH}/igloo DESTINATION ${CURRENT_PACKAGES_DIR}/include/ FILES_MATCHING PATTERN *.h)
10
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse)
11
+ file(WRITE "${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse/snowhouse/snowhouse.h" "#include <snowhouse/snowhouse.h>")
12
+
13
+ file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/igloo)
14
+ file(RENAME ${CURRENT_PACKAGES_DIR}/share/igloo/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/igloo/copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igloo/vcpkg.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "name": "igloo",
3
+ "version-string": "1.1.1",
4
+ "port-version": 1,
5
+ "description": "A framework for unit testing in C++"
6
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/do-not-compile-gtest.patch ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/cmake/IgnConfigureBuild.cmake b/cmake/IgnConfigureBuild.cmake
2
+ --- a/cmake/IgnConfigureBuild.cmake
3
+ +++ b/cmake/IgnConfigureBuild.cmake
4
+ @@ -109,7 +109,9 @@
5
+ # Add all the source code directories
6
+ add_subdirectory(src)
7
+ add_subdirectory(include)
8
+ - add_subdirectory(test)
9
+ + if(BUILD_TESTING)
10
+ + add_subdirectory(test)
11
+ + endif()
12
+
13
+
14
+ #--------------------------------------
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/fix-find-ign-curl.patch ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff -r 3276aecbcbb4 -r 33b5d95affd2 cmake/FindIgnCURL.cmake
2
+ --- a/cmake/FindIgnCURL.cmake
3
+ +++ b/cmake/FindIgnCURL.cmake
4
+ @@ -46,6 +46,12 @@
5
+
6
+ # Older versions of curl don't create imported targets, so we will create
7
+ # them here if they have not been provided.
8
+ + if(TARGET CURL::libcurl AND NOT TARGET curl::curl)
9
+ + add_library(curl::curl INTERFACE IMPORTED)
10
+ + set_target_properties(curl::curl PROPERTIES
11
+ + INTERFACE_LINK_LIBRARIES CURL::libcurl)
12
+ + endif()
13
+ +
14
+ include(IgnImportTarget)
15
+
16
+ if(NOT TARGET curl::curl)