applied-ai-018 commited on
Commit
7e86781
·
verified ·
1 Parent(s): eda0b75

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. cc-multilingual-main/cc_net/vcpkg/ports/asynch/portfile.cmake +13 -0
  2. cc-multilingual-main/cc_net/vcpkg/ports/asynch/vcpkg.json +7 -0
  3. cc-multilingual-main/cc_net/vcpkg/ports/azure-storage-files-shares-cpp/portfile.cmake +31 -0
  4. cc-multilingual-main/cc_net/vcpkg/ports/azure-storage-files-shares-cpp/vcpkg.json +26 -0
  5. cc-multilingual-main/cc_net/vcpkg/ports/blas/CMakeLists.txt +4 -0
  6. cc-multilingual-main/cc_net/vcpkg/ports/blas/portfile.cmake +15 -0
  7. cc-multilingual-main/cc_net/vcpkg/ports/blas/vcpkg-cmake-wrapper.cmake +9 -0
  8. cc-multilingual-main/cc_net/vcpkg/ports/blas/vcpkg.json +13 -0
  9. cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/CMakeLists.txt +38 -0
  10. cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/missing_header.patch +12 -0
  11. cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/portfile.cmake +27 -0
  12. cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/vcpkg.json +19 -0
  13. cc-multilingual-main/cc_net/vcpkg/ports/caffe2/portfile.cmake +2 -0
  14. cc-multilingual-main/cc_net/vcpkg/ports/caffe2/vcpkg.json +14 -0
  15. cc-multilingual-main/cc_net/vcpkg/ports/cdt/portfile.cmake +32 -0
  16. cc-multilingual-main/cc_net/vcpkg/ports/cdt/vcpkg.json +25 -0
  17. cc-multilingual-main/cc_net/vcpkg/ports/cgal/portfile.cmake +64 -0
  18. cc-multilingual-main/cc_net/vcpkg/ports/cgal/usage +5 -0
  19. cc-multilingual-main/cc_net/vcpkg/ports/cgal/vcpkg.json +80 -0
  20. cc-multilingual-main/cc_net/vcpkg/ports/cgal/x86_windows.patch +24 -0
  21. cc-multilingual-main/cc_net/vcpkg/ports/chaiscript/portfile.cmake +11 -0
  22. cc-multilingual-main/cc_net/vcpkg/ports/chaiscript/vcpkg.json +7 -0
  23. cc-multilingual-main/cc_net/vcpkg/ports/check/fix-lib-path.patch +43 -0
  24. cc-multilingual-main/cc_net/vcpkg/ports/cutelyst2/fix-static-build.patch +38 -0
  25. cc-multilingual-main/cc_net/vcpkg/ports/cutelyst2/portfile.cmake +53 -0
  26. cc-multilingual-main/cc_net/vcpkg/ports/cutelyst2/vcpkg.json +20 -0
  27. cc-multilingual-main/cc_net/vcpkg/ports/glog/fix_cplusplus_macro.patch +15 -0
  28. cc-multilingual-main/cc_net/vcpkg/ports/glog/fix_glog_CMAKE_MODULE_PATH.patch +33 -0
  29. cc-multilingual-main/cc_net/vcpkg/ports/glog/glog_disable_debug_postfix.patch +13 -0
  30. cc-multilingual-main/cc_net/vcpkg/ports/glog/portfile.cmake +44 -0
  31. cc-multilingual-main/cc_net/vcpkg/ports/kubernetes/001-fix-destination.patch +12 -0
  32. cc-multilingual-main/cc_net/vcpkg/ports/kubernetes/portfile.cmake +25 -0
  33. cc-multilingual-main/cc_net/vcpkg/ports/kubernetes/vcpkg.json +23 -0
  34. cc-multilingual-main/cc_net/vcpkg/ports/libcds/002-lib-suffix-option.patch +13 -0
  35. cc-multilingual-main/cc_net/vcpkg/ports/libcds/portfile.cmake +35 -0
  36. cc-multilingual-main/cc_net/vcpkg/ports/libcds/vcpkg.json +21 -0
  37. cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/dependencies.diff +26 -0
  38. cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/msvc-arm.diff +25 -0
  39. cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/no-windows-namespace.diff +56 -0
  40. cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/portfile.cmake +34 -0
  41. cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/vcpkg.json +20 -0
  42. cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/dependencies.diff +26 -0
  43. cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/fix-zlib-ver-required.patch +13 -0
  44. cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/portfile.cmake +31 -0
  45. cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/vcpkg.json +16 -0
  46. cc-multilingual-main/cc_net/vcpkg/ports/libxmp/fix-cmake-config-dir.patch +13 -0
  47. cc-multilingual-main/cc_net/vcpkg/ports/libzim/cross-builds.diff +45 -0
  48. cc-multilingual-main/cc_net/vcpkg/ports/libzim/dllexport.diff +16 -0
  49. cc-multilingual-main/cc_net/vcpkg/ports/libzim/portfile.cmake +37 -0
  50. cc-multilingual-main/cc_net/vcpkg/ports/libzim/subdirs.diff +20 -0
cc-multilingual-main/cc_net/vcpkg/ports/asynch/portfile.cmake ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO naasking/async.h
4
+ REF 080cbb257ab60ad06008c574d7feb94f8478efdd #Commits on Sep 21, 2019
5
+ SHA512 4fe0229ffd8b3c6438294a419ccb213b4d28a0a04d834406b67120e9bc90d339ec91f3b3eb52d4e27c1f12add41e9347bffbea47868b0d7a1da40f784d113c71
6
+ HEAD_REF master
7
+ )
8
+
9
+ # Copy the single reusable library header
10
+ file(COPY ${SOURCE_PATH}/async/async.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
11
+
12
+ # Handle copyright
13
+ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/asynch/vcpkg.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "asynch",
3
+ "version-date": "2019-09-21",
4
+ "port-version": 3,
5
+ "description": "Async.h - asynchronous, stackless subroutines.",
6
+ "homepage": "https://github.com/naasking/async.h"
7
+ }
cc-multilingual-main/cc_net/vcpkg/ports/azure-storage-files-shares-cpp/portfile.cmake ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # NOTE: All changes made to this file will get overwritten by the next port release.
2
+ # Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp.
3
+
4
+ vcpkg_from_github(
5
+ OUT_SOURCE_PATH SOURCE_PATH
6
+ REPO Azure/azure-sdk-for-cpp
7
+ REF azure-storage-files-shares_12.8.0
8
+ SHA512 a22cce4f43fd77aabdb43fdbc9ea3e5a501f5abeaafe5f5fea7e8737b6b017dc2ca3b674ac0c5f8bcda9b836af7644b3c17db050b02db5e076728047aa5c2ec0
9
+ )
10
+
11
+ if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-files-shares")
12
+ file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/storage/_")
13
+ file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/_")
14
+ file(REMOVE_RECURSE "${SOURCE_PATH}/_")
15
+
16
+ file(RENAME "${SOURCE_PATH}/sdk/storage/azure-storage-files-shares" "${SOURCE_PATH}/sdk/storage/_")
17
+ file(RENAME "${SOURCE_PATH}/sdk/storage" "${SOURCE_PATH}/sdk/_")
18
+ file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_")
19
+ endif()
20
+
21
+ vcpkg_cmake_configure(
22
+ SOURCE_PATH "${SOURCE_PATH}/_/_/_"
23
+ OPTIONS
24
+ -DWARNINGS_AS_ERRORS=OFF
25
+ )
26
+
27
+ vcpkg_cmake_install()
28
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
29
+ vcpkg_cmake_config_fixup()
30
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
31
+ vcpkg_copy_pdbs()
cc-multilingual-main/cc_net/vcpkg/ports/azure-storage-files-shares-cpp/vcpkg.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$comment": "NOTE: All changes made to this file will get overwritten by the next port release. Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp.",
3
+ "name": "azure-storage-files-shares-cpp",
4
+ "version-semver": "12.8.0",
5
+ "description": [
6
+ "Microsoft Azure Storage Files Shares SDK for C++",
7
+ "This library provides Azure Storage Files Shares SDK."
8
+ ],
9
+ "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-files-shares",
10
+ "license": "MIT",
11
+ "dependencies": [
12
+ {
13
+ "name": "azure-storage-common-cpp",
14
+ "default-features": false,
15
+ "version>=": "12.5.0"
16
+ },
17
+ {
18
+ "name": "vcpkg-cmake",
19
+ "host": true
20
+ },
21
+ {
22
+ "name": "vcpkg-cmake-config",
23
+ "host": true
24
+ }
25
+ ]
26
+ }
cc-multilingual-main/cc_net/vcpkg/ports/blas/CMakeLists.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.17)
2
+
3
+ project(Find_BLAS_external)
4
+ find_package(BLAS REQUIRED)
cc-multilingual-main/cc_net/vcpkg/ports/blas/portfile.cmake ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
2
+
3
+ file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/blas")
4
+
5
+ # Make sure BLAS can be found
6
+ vcpkg_list(SET CMAKE_IGNORE_PATH)
7
+ if(NOT DEFINED ENV{MKLROOT})
8
+ list(APPEND CMAKE_IGNORE_PATH "${CURRENT_INSTALLED_DIR}/lib/intel64")
9
+ endif()
10
+ vcpkg_cmake_configure(
11
+ SOURCE_PATH "${CURRENT_PORT_DIR}"
12
+ OPTIONS
13
+ "-DCMAKE_PREFIX_PATH=${CURRENT_PACKAGES_DIR}"
14
+ "-DCMAKE_IGNORE_PATH=${CMAKE_IGNORE_PATH}"
15
+ )
cc-multilingual-main/cc_net/vcpkg/ports/blas/vcpkg-cmake-wrapper.cmake ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ if(NOT DEFINED ENV{MKLROOT})
2
+ set(z_vcpkg_blas_ignore_path "${CMAKE_IGNORE_PATH}")
3
+ list(APPEND CMAKE_IGNORE_PATH "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/intel64")
4
+ endif()
5
+ _find_package(${ARGS})
6
+ if(NOT DEFINED ENV{MKLROOT})
7
+ set(CMAKE_IGNORE_PATH "${z_vcpkg_blas_ignore_path}")
8
+ unset(z_vcpkg_blas_ignore_path)
9
+ endif()
cc-multilingual-main/cc_net/vcpkg/ports/blas/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "blas",
3
+ "version-date": "2023-03-25",
4
+ "description": "Metapackage for packages which provide BLAS",
5
+ "license": null,
6
+ "dependencies": [
7
+ "openblas",
8
+ {
9
+ "name": "vcpkg-cmake",
10
+ "host": true
11
+ }
12
+ ]
13
+ }
cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/CMakeLists.txt ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.8.0)
2
+ project(butteraugli CXX)
3
+
4
+ add_compile_options(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
5
+ if(MSVC)
6
+ add_compile_options(/W3 /wd4005 /wd4996 /wd4018)
7
+ else()
8
+ add_compile_options(-std=c++11)
9
+ endif()
10
+
11
+ find_package(JPEG REQUIRED)
12
+ find_package(PNG REQUIRED)
13
+
14
+ include_directories("." ${JPEG_INCLUDE_DIR} ${PNG_INCLUDE_DIRS})
15
+
16
+ add_library(butteraugli_lib butteraugli/butteraugli.cc)
17
+
18
+ install(
19
+ TARGETS butteraugli_lib
20
+ RUNTIME DESTINATION bin
21
+ LIBRARY DESTINATION lib
22
+ ARCHIVE DESTINATION lib
23
+ )
24
+
25
+ if(NOT DISABLE_INSTALL_TOOLS)
26
+ add_executable(butteraugli butteraugli/butteraugli_main.cc)
27
+ find_library(TURBO turbojpeg)
28
+ target_link_libraries(butteraugli butteraugli_lib ${JPEG_LIBRARIES} ${TURBO} ${PNG_LIBRARIES})
29
+
30
+ install (
31
+ TARGETS butteraugli
32
+ RUNTIME DESTINATION tools/butteraugli
33
+ )
34
+ endif()
35
+
36
+ if(NOT DISABLE_INSTALL_HEADERS)
37
+ install(FILES butteraugli/butteraugli.h DESTINATION include/butteraugli)
38
+ endif()
cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/missing_header.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git "a/butteraugli/butteraugli_main.cc" "b/butteraugli/butteraugli_main.cc"
2
+ index f38af1d..ebf3197 100644
3
+ --- "a/butteraugli/butteraugli_main.cc"
4
+ +++ "b/butteraugli/butteraugli_main.cc"
5
+ @@ -2,6 +2,7 @@
6
+ #include <cstdint>
7
+ #include <cstdio>
8
+ #include <vector>
9
+ +#include <algorithm>
10
+ #include "butteraugli/butteraugli.h"
11
+
12
+ extern "C" {
cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/portfile.cmake ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO google/butteraugli
6
+ REF 71b18b636b9c7d1ae0c1d3730b85b3c127eb4511
7
+ SHA512 2e73f8ad8953307eea956ed8bd828e110419d6d9f8a42685d225953d3a8017a79d0701bde0282459dc51198e75a99dcd99dd3c4e7ef065736c512a7b11ea0fdf
8
+ HEAD_REF master
9
+ PATCHES
10
+ missing_header.patch
11
+ )
12
+
13
+ file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
14
+
15
+ vcpkg_cmake_configure(
16
+ SOURCE_PATH "${SOURCE_PATH}"
17
+ OPTIONS_DEBUG
18
+ -DDISABLE_INSTALL_HEADERS=ON
19
+ -DDISABLE_INSTALL_TOOLS=ON
20
+ )
21
+
22
+ vcpkg_cmake_install()
23
+ vcpkg_copy_pdbs()
24
+
25
+ vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}")
26
+
27
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/butteraugli/vcpkg.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "butteraugli",
3
+ "version-date": "2019-05-08",
4
+ "port-version": 4,
5
+ "description": "butteraugli estimates the psychovisual difference between two images",
6
+ "homepage": "https://github.com/google/butteraugli",
7
+ "dependencies": [
8
+ "libjpeg-turbo",
9
+ "libpng",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ }
18
+ ]
19
+ }
cc-multilingual-main/cc_net/vcpkg/ports/caffe2/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
2
+ message(WARNING "The 'caffe2' port is deprecated, using 'libtorch' instead")
cc-multilingual-main/cc_net/vcpkg/ports/caffe2/vcpkg.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "caffe2",
3
+ "version": "0.8.1",
4
+ "port-version": 8,
5
+ "description": "Caffe2 is a lightweight, modular, and scalable deep learning framework.",
6
+ "homepage": "https://github.com/caffe2/caffe2",
7
+ "license": "Apache-2.0",
8
+ "dependencies": [
9
+ {
10
+ "name": "libtorch",
11
+ "default-features": false
12
+ }
13
+ ]
14
+ }
cc-multilingual-main/cc_net/vcpkg/ports/cdt/portfile.cmake ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO artem-ogre/CDT
4
+ REF "${VERSION}"
5
+ SHA512 0ecadd96ecaf6e7799065e89beda706e4018f9ad6a2076604a7b84c57225ac7231f9438932cb63e967ae0dfe72361aee2f286794cfb6303ec894f4948e4e611d
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
10
+ FEATURES
11
+ "64-bit-index-type" CDT_USE_64_BIT_INDEX_TYPE
12
+ "as-compiled-library" CDT_USE_AS_COMPILED_LIBRARY
13
+ )
14
+
15
+ if (NOT CDT_USE_AS_COMPILED_LIBRARY)
16
+ set(VCPKG_BUILD_TYPE "release") # header-only
17
+ endif()
18
+
19
+ vcpkg_cmake_configure(
20
+ SOURCE_PATH "${SOURCE_PATH}/CDT"
21
+ OPTIONS
22
+ ${FEATURE_OPTIONS}
23
+ )
24
+
25
+ vcpkg_cmake_install()
26
+ vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
27
+
28
+ if (CDT_USE_AS_COMPILED_LIBRARY)
29
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
30
+ endif()
31
+
32
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
cc-multilingual-main/cc_net/vcpkg/ports/cdt/vcpkg.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "cdt",
3
+ "version": "1.4.0",
4
+ "description": "Constrained Delaunay Triangulation",
5
+ "homepage": "https://github.com/artem-ogre/CDT.git",
6
+ "license": "MPL-2.0",
7
+ "dependencies": [
8
+ {
9
+ "name": "vcpkg-cmake",
10
+ "host": true
11
+ },
12
+ {
13
+ "name": "vcpkg-cmake-config",
14
+ "host": true
15
+ }
16
+ ],
17
+ "features": {
18
+ "64-bit-index-type": {
19
+ "description": "64bits are used to store vertex/triangle index types"
20
+ },
21
+ "as-compiled-library": {
22
+ "description": "Templates for float and double will be instantiated and compiled into a library"
23
+ }
24
+ }
25
+ }
cc-multilingual-main/cc_net/vcpkg/ports/cgal/portfile.cmake ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Header only
2
+ vcpkg_buildpath_length_warning(37)
3
+
4
+ vcpkg_from_github(
5
+ OUT_SOURCE_PATH SOURCE_PATH
6
+ REPO CGAL/cgal
7
+ REF v5.6.1
8
+ SHA512 943413bf3b94da066d47051b22f1c1b66a39a43dad865dd0e4912a9ae6508d9a490bcfe4ef7d662844e9a1ba6e552748fad785b52b2cce98133c2dfdfbfe1a4d
9
+ HEAD_REF master
10
+ )
11
+
12
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
13
+ FEATURES
14
+ qt WITH_CGAL_Qt5
15
+ )
16
+
17
+ vcpkg_cmake_configure(
18
+ SOURCE_PATH "${SOURCE_PATH}"
19
+ OPTIONS
20
+ -DCGAL_HEADER_ONLY=ON
21
+ -DCGAL_INSTALL_CMAKE_DIR=share/cgal
22
+ -DBUILD_TESTING=OFF
23
+ -DBUILD_DOC=OFF
24
+ -DCGAL_BUILD_THREE_DOC=OFF
25
+ ${FEATURE_OPTIONS}
26
+ MAYBE_UNUSED_VARIABLES
27
+ CGAL_BUILD_THREE_DOC
28
+ CGAL_HEADER_ONLY
29
+ WITH_CGAL_Qt5
30
+ )
31
+
32
+ vcpkg_cmake_install()
33
+
34
+ vcpkg_cmake_config_fixup()
35
+
36
+ vcpkg_copy_pdbs()
37
+
38
+ # Clean
39
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
40
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
41
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
42
+ else()
43
+ foreach(ROOT "${CURRENT_PACKAGES_DIR}/bin")
44
+ file(REMOVE
45
+ "${ROOT}/cgal_create_CMakeLists"
46
+ "${ROOT}/cgal_create_cmake_script"
47
+ "${ROOT}/cgal_make_macosx_app"
48
+ )
49
+ endforeach()
50
+ endif()
51
+
52
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc" "${CURRENT_PACKAGES_DIR}/share/man")
53
+
54
+ set(LICENSES
55
+ "${SOURCE_PATH}/Installation/LICENSE"
56
+ "${SOURCE_PATH}/Installation/LICENSE.BSL"
57
+ "${SOURCE_PATH}/Installation/LICENSE.RFL"
58
+ "${SOURCE_PATH}/Installation/LICENSE.GPL"
59
+ "${SOURCE_PATH}/Installation/LICENSE.LGPL"
60
+ )
61
+
62
+ vcpkg_install_copyright(FILE_LIST ${LICENSES})
63
+
64
+ file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
cc-multilingual-main/cc_net/vcpkg/ports/cgal/usage ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ The package cgal provides CMake targets:
2
+
3
+ find_package(CGAL CONFIG REQUIRED)
4
+ target_link_libraries(main PRIVATE CGAL::CGAL)
5
+
cc-multilingual-main/cc_net/vcpkg/ports/cgal/vcpkg.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "cgal",
3
+ "version": "5.6.1",
4
+ "description": "The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.",
5
+ "homepage": "https://github.com/CGAL/cgal",
6
+ "license": "GPL-3.0-or-later AND LGPL-3.0-or-later AND BSL-1.0",
7
+ "supports": "!xbox",
8
+ "dependencies": [
9
+ "boost-accumulators",
10
+ "boost-algorithm",
11
+ "boost-bimap",
12
+ "boost-callable-traits",
13
+ "boost-concept-check",
14
+ "boost-container",
15
+ "boost-core",
16
+ "boost-detail",
17
+ "boost-filesystem",
18
+ "boost-functional",
19
+ "boost-fusion",
20
+ "boost-geometry",
21
+ "boost-graph",
22
+ "boost-heap",
23
+ "boost-intrusive",
24
+ "boost-iostreams",
25
+ "boost-iterator",
26
+ "boost-lambda",
27
+ "boost-logic",
28
+ "boost-math",
29
+ "boost-mpl",
30
+ "boost-multi-array",
31
+ "boost-multi-index",
32
+ "boost-multiprecision",
33
+ "boost-numeric-conversion",
34
+ "boost-optional",
35
+ "boost-parameter",
36
+ "boost-pool",
37
+ "boost-preprocessor",
38
+ "boost-property-map",
39
+ "boost-property-tree",
40
+ "boost-ptr-container",
41
+ "boost-random",
42
+ "boost-range",
43
+ "boost-serialization",
44
+ "boost-spirit",
45
+ "boost-thread",
46
+ "boost-tuple",
47
+ "boost-type-traits",
48
+ "boost-units",
49
+ "boost-utility",
50
+ "boost-variant",
51
+ "gmp",
52
+ "mpfr",
53
+ {
54
+ "name": "vcpkg-cmake",
55
+ "host": true
56
+ },
57
+ {
58
+ "name": "vcpkg-cmake-config",
59
+ "host": true
60
+ },
61
+ "zlib"
62
+ ],
63
+ "features": {
64
+ "qt": {
65
+ "description": "Qt GUI support for CGAL",
66
+ "dependencies": [
67
+ "boost-format",
68
+ "eigen3",
69
+ "qt5-3d",
70
+ {
71
+ "name": "qt5-base",
72
+ "default-features": false
73
+ },
74
+ "qt5-script",
75
+ "qt5-svg",
76
+ "qt5-xmlpatterns"
77
+ ]
78
+ }
79
+ }
80
+ }
cc-multilingual-main/cc_net/vcpkg/ports/cgal/x86_windows.patch ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/Number_types/include/CGAL/boost_mp.h b/Number_types/include/CGAL/boost_mp.h
2
+ index 3dcaadcad21..b98980acbc5 100644
3
+ --- a/Number_types/include/CGAL/boost_mp.h
4
+ +++ b/Number_types/include/CGAL/boost_mp.h
5
+ @@ -20,8 +20,18 @@
6
+ // easy solution.
7
+ // MSVC had trouble with versions <= 1.69:
8
+ // https://github.com/boostorg/multiprecision/issues/98
9
+ +//
10
+ +// Disable also on Windows 32 bits
11
+ +// because CGAL/cpp_float.h assumes _BitScanForward64 is available
12
+ +// See https://learn.microsoft.com/en-us/cpp/intrinsics/bitscanforward-bitscanforward64
13
+ +//
14
+ +// Disable also with PowerPC processors, with Boost<1.80 because of that bug:
15
+ +// https://github.com/boostorg/multiprecision/pull/421
16
+ +//
17
+ #if !defined CGAL_DO_NOT_USE_BOOST_MP && \
18
+ - (!defined _MSC_VER || BOOST_VERSION >= 107000)
19
+ + (!defined _MSC_VER || BOOST_VERSION >= 107000) && \
20
+ + (!defined _WIN32 || defined _WIN64) && \
21
+ + (BOOST_VERSION >= 108000 || (!defined _ARCH_PPC && !defined _ARCH_PPC64))
22
+ #define CGAL_USE_BOOST_MP 1
23
+
24
+ #include <CGAL/Quotient.h>
cc-multilingual-main/cc_net/vcpkg/ports/chaiscript/portfile.cmake ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO ChaiScript/ChaiScript
4
+ REF v6.1.0
5
+ SHA512 7728abd8d3e1e8007f4d95c8065ba5a9154583bcd1d493bfd96d608ff91f4c9bb23e538378b77c1cfd6c637d6b4885af94ac0a2a9a34b6bae19581d9f1a831cc
6
+ HEAD_REF master
7
+ )
8
+
9
+ file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/)
10
+
11
+ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/chaiscript/vcpkg.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "chaiscript",
3
+ "version": "6.1.0",
4
+ "port-version": 3,
5
+ "description": "Embedded Scripting Language Designed for C++",
6
+ "homepage": "https://github.com/ChaiScript/ChaiScript"
7
+ }
cc-multilingual-main/cc_net/vcpkg/ports/check/fix-lib-path.patch ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/doc/example/src/CMakeLists.txt b/doc/example/src/CMakeLists.txt
2
+ index b5e211e..2a92a1a 100644
3
+ --- a/doc/example/src/CMakeLists.txt
4
+ +++ b/doc/example/src/CMakeLists.txt
5
+ @@ -18,7 +18,7 @@ target_link_libraries(main money)
6
+
7
+ install(TARGETS money
8
+ RUNTIME DESTINATION bin
9
+ - LIBRARY DESTINATION lib
10
+ - ARCHIVE DESTINATION lib)
11
+ + LIBRARY DESTINATION lib/manual-link
12
+ + ARCHIVE DESTINATION lib/manual-link)
13
+
14
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/money.h DESTINATION include)
15
+ diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
16
+ index 38cbc53..d8a4272 100644
17
+ --- a/lib/CMakeLists.txt
18
+ +++ b/lib/CMakeLists.txt
19
+ @@ -75,5 +75,11 @@ set(HEADERS libcompat.h)
20
+
21
+ add_library(compat STATIC ${SOURCES} ${HEADERS})
22
+
23
+ +install(TARGETS compat
24
+ + RUNTIME DESTINATION bin
25
+ + LIBRARY DESTINATION lib/manual-link
26
+ + ARCHIVE DESTINATION lib/manual-link
27
+ +)
28
+ +
29
+ # vim: shiftwidth=2:softtabstop=2:tabstop=2:expandtab:autoindent
30
+
31
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
32
+ index 4a02dbe..3bf2fa6 100644
33
+ --- a/src/CMakeLists.txt
34
+ +++ b/src/CMakeLists.txt
35
+ @@ -191,7 +191,7 @@ if(NOT THIS_IS_SUBPROJECT)
36
+ install(TARGETS check checkShared
37
+ EXPORT check-targets
38
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
39
+ - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
40
+ + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/manual-link
41
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
42
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
43
+ )
cc-multilingual-main/cc_net/vcpkg/ports/cutelyst2/fix-static-build.patch ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 9a695fd..0667668 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -129,6 +129,33 @@ add_definitions(
6
+ -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00
7
+ )
8
+
9
+ +if (BUILD_WIN_STATIC)
10
+ + add_definitions(
11
+ + -DCutelyst2Qt5_EXPORTS
12
+ + -DActionRenderView_EXPORTS
13
+ + -DActionREST_EXPORTS
14
+ + -DActionRoleACL_EXPORTS
15
+ + -DCutelyst2Qt5Authentication_EXPORTS
16
+ + -DCutelyst2Qt5Session_EXPORTS
17
+ + -DCutelyst2Qt5StaticSimple_EXPORTS
18
+ + -DCutelyst2Qt5StaticCompressed_EXPORTS
19
+ + -DCutelyst2Qt5UtilsPagination_EXPORTS
20
+ + -DCutelyst2Qt5StatusMessage_EXPORTS
21
+ + -DCutelyst2Qt5Memcached_EXPORTS
22
+ + -DCutelyst2Qt5MemcachedSessionStore_EXPORTS
23
+ + -DCutelyst2Qt5CSRFProtection_EXPORTS
24
+ + -DCutelyst2Qt5UtilsSql_EXPORTS
25
+ + -DCutelyst2Qt5UtilsValidator_EXPORTS
26
+ + -DCutelyst2Qt5UtilsLangSelect_EXPORTS
27
+ + -DCutelyst2Qt5ViewClearSilver_EXPORTS
28
+ + -DCutelyst2Qt5ViewEmail_EXPORTS
29
+ + -DCutelyst2Qt5ViewGrantlee_EXPORTS
30
+ + -DCutelyst2Qt5ViewJson_EXPORTS
31
+ + -DCutelyst2Qt5Wsgi_EXPORTS
32
+ + -DCutelyst2Qt5UserAgent_EXPORTS
33
+ + )
34
+ +endif()
35
+ +
36
+ set(CMAKE_CXX_STANDARD 11)
37
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
38
+ set(CMAKE_CXX_EXTENSIONS OFF)
cc-multilingual-main/cc_net/vcpkg/ports/cutelyst2/portfile.cmake ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO cutelyst/cutelyst
4
+ REF 526aef6b4c1a48f8e91d59607763fade9157d01f # v2.12.0
5
+ SHA512 0960801ae8d772a93e3f2dcd221f919ff28000076cecd4d1a2ff7b6e62575805738292257e63a48e455f6fc0bc446c90214fc33679ea1deb17b0c31d6f125e2a
6
+ HEAD_REF master
7
+ PATCHES fix-static-build.patch
8
+ )
9
+
10
+ set(BUILD_WIN_STATIC OFF)
11
+ if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL static)
12
+ set(BUILD_WIN_STATIC ON)
13
+ endif()
14
+
15
+ vcpkg_cmake_configure(
16
+ SOURCE_PATH "${SOURCE_PATH}"
17
+ OPTIONS
18
+ -DBUILD_TESTS:BOOL=OFF
19
+ -DBUILD_WIN_STATIC=${BUILD_WIN_STATIC}
20
+ )
21
+
22
+ vcpkg_cmake_install()
23
+
24
+ # Move CMake config files to the right place
25
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Cutelyst2Qt5)
26
+
27
+ file(GLOB EXES "${CURRENT_PACKAGES_DIR}/bin/cutelyst2" "${CURRENT_PACKAGES_DIR}/bin/cutelyst2-wsgi" "${CURRENT_PACKAGES_DIR}/bin/cutelyst2.exe" "${CURRENT_PACKAGES_DIR}/bin/cutelyst-wsgi2.exe")
28
+ file(GLOB DEBUG_EXES "${CURRENT_PACKAGES_DIR}/debug/bin/cutelyst2" "${CURRENT_PACKAGES_DIR}/debug/bin/cutelyst2-wsgi" "${CURRENT_PACKAGES_DIR}/debug/bin/cutelyst2.exe" "${CURRENT_PACKAGES_DIR}/debug/bin/cutelyst-wsgi2.exe")
29
+ if(EXES OR DEBUG_EXES)
30
+ file(COPY ${EXES} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/cutelyst2")
31
+ file(REMOVE ${EXES} ${DEBUG_EXES})
32
+ vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/cutelyst2")
33
+ endif()
34
+
35
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cutelyst2-plugins/ActionREST.dll")
36
+ file(RENAME "${CURRENT_PACKAGES_DIR}/lib/cutelyst2-plugins" "${CURRENT_PACKAGES_DIR}/bin/cutelyst2-plugins")
37
+ endif()
38
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/cutelyst2-plugins/ActionREST.dll")
39
+ file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/cutelyst2-plugins" "${CURRENT_PACKAGES_DIR}/debug/bin/cutelyst2-plugins")
40
+ endif()
41
+
42
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
43
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
44
+
45
+ # Handle copyright
46
+ configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/cutelyst2/copyright" COPYONLY)
47
+
48
+ vcpkg_copy_pdbs()
49
+ if(VCPKG_TARGET_IS_WINDOWS)
50
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
51
+ else()
52
+ vcpkg_fixup_pkgconfig()
53
+ endif()
cc-multilingual-main/cc_net/vcpkg/ports/cutelyst2/vcpkg.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "cutelyst2",
3
+ "version": "2.12.0",
4
+ "port-version": 2,
5
+ "description": "A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework",
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ {
12
+ "name": "vcpkg-cmake",
13
+ "host": true
14
+ },
15
+ {
16
+ "name": "vcpkg-cmake-config",
17
+ "host": true
18
+ }
19
+ ]
20
+ }
cc-multilingual-main/cc_net/vcpkg/ports/glog/fix_cplusplus_macro.patch ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 985f5f5..bf6600e 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -476,6 +476,10 @@ if (CYGWIN OR WIN32)
6
+ target_compile_definitions (glog PUBLIC GLOG_NO_ABBREVIATED_SEVERITIES)
7
+ endif (CYGWIN OR WIN32)
8
+
9
+ +if ((MSVC) AND (MSVC_VERSION GREATER_EQUAL 1914))
10
+ + target_compile_options(glog INTERFACE "$<$<NOT:$<COMPILE_LANGUAGE:CUDA>>:/Zc:__cplusplus>")
11
+ +endif()
12
+ +
13
+ set_target_properties (glog PROPERTIES PUBLIC_HEADER "${GLOG_PUBLIC_H}")
14
+
15
+ target_include_directories (glog BEFORE PUBLIC
cc-multilingual-main/cc_net/vcpkg/ports/glog/fix_glog_CMAKE_MODULE_PATH.patch ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index b787631..41bf110 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -1000,7 +1000,7 @@ write_basic_package_version_file (
6
+
7
+ export (TARGETS glog NAMESPACE glog:: FILE glog-targets.cmake)
8
+ export (PACKAGE glog)
9
+ -
10
+ +if(0)
11
+ get_filename_component (_PREFIX "${CMAKE_INSTALL_PREFIX}" ABSOLUTE)
12
+
13
+ # Directory containing the find modules relative to the config install
14
+ @@ -1036,6 +1036,7 @@ file (INSTALL
15
+ "
16
+ COMPONENT Development
17
+ )
18
+ +endif()
19
+
20
+ install (FILES
21
+ ${glog_BINARY_DIR}/glog-config.cmake
22
+ diff --git a/glog-config.cmake.in b/glog-config.cmake.in
23
+ index 7d98525..93bc7d9 100644
24
+ --- a/glog-config.cmake.in
25
+ +++ b/glog-config.cmake.in
26
+ @@ -5,7 +5,6 @@ endif (CMAKE_VERSION VERSION_LESS @glog_CMake_VERSION@)
27
+ @PACKAGE_INIT@
28
+
29
+ include (CMakeFindDependencyMacro)
30
+ -include (${CMAKE_CURRENT_LIST_DIR}/glog-modules.cmake)
31
+
32
+ find_dependency (Threads)
33
+
cc-multilingual-main/cc_net/vcpkg/ports/glog/glog_disable_debug_postfix.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 41bf110..fe1d85f 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -61,7 +61,7 @@ set (CMAKE_CXX_VISIBILITY_PRESET hidden)
6
+ set (CMAKE_POSITION_INDEPENDENT_CODE ON)
7
+ set (CMAKE_VISIBILITY_INLINES_HIDDEN ON)
8
+
9
+ -set (CMAKE_DEBUG_POSTFIX d)
10
+ +#set (CMAKE_DEBUG_POSTFIX d)
11
+
12
+ find_package (GTest NO_MODULE)
13
+
cc-multilingual-main/cc_net/vcpkg/ports/glog/portfile.cmake ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO google/glog
4
+ REF "v${VERSION}"
5
+ SHA512 7222bb432c2b645238018233b2d18f254156617ef2921d18d17364866a7a3a05533fff1d63fd5033e1e5d3746a11806d007e7a36efaff667a0d3006dee45c278
6
+ HEAD_REF master
7
+ PATCHES
8
+ fix_glog_CMAKE_MODULE_PATH.patch
9
+ glog_disable_debug_postfix.patch
10
+ fix_crosscompile_symbolize.patch
11
+ fix_cplusplus_macro.patch
12
+ )
13
+
14
+ vcpkg_check_features(
15
+ OUT_FEATURE_OPTIONS FEATURE_OPTIONS
16
+ FEATURES
17
+ unwind WITH_UNWIND
18
+ customprefix WITH_CUSTOM_PREFIX
19
+ )
20
+ file(REMOVE "${SOURCE_PATH}/glog-modules.cmake.in")
21
+
22
+ vcpkg_cmake_configure(
23
+ SOURCE_PATH "${SOURCE_PATH}"
24
+ OPTIONS
25
+ -DBUILD_TESTING=OFF
26
+ ${FEATURE_OPTIONS}
27
+ )
28
+
29
+ vcpkg_cmake_install()
30
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/glog)
31
+
32
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
33
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
34
+
35
+ vcpkg_copy_pdbs()
36
+ vcpkg_fixup_pkgconfig()
37
+
38
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
39
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/${PORT}/export.h" "#ifdef GLOG_STATIC_DEFINE" "#if 1")
40
+ else()
41
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/${PORT}/export.h" "#ifdef GLOG_STATIC_DEFINE" "#if 0")
42
+ endif()
43
+
44
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
cc-multilingual-main/cc_net/vcpkg/ports/kubernetes/001-fix-destination.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/kubernetes/CMakeLists.txt b/kubernetes/CMakeLists.txt
2
+ --- a/kubernetes/CMakeLists.txt (revision 80aff0a1c71c2cb8a1ab4b73e0592f0f88c59376)
3
+ +++ b/kubernetes/CMakeLists.txt (date 1642600807646)
4
+ @@ -1255,7 +1255,7 @@
5
+ install(TARGETS ${pkgName} DESTINATION lib)
6
+ else()
7
+ include(GNUInstallDirs)
8
+ - install(TARGETS ${pkgName} DESTINATION lib EXPORT ${pkgName}Targets)
9
+ + install(TARGETS ${pkgName} EXPORT ${pkgName}Targets)
10
+
11
+ foreach(HDR_FILE ${HDRS})
12
+ get_filename_component(HDR_DIRECTORY ${HDR_FILE} DIRECTORY)
cc-multilingual-main/cc_net/vcpkg/ports/kubernetes/portfile.cmake ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO kubernetes-client/c
4
+ REF "v${VERSION}"
5
+ SHA512 42f74f87a8e534a936ae3e7148375ddb350de753ec9514d139d87febb5c3355e7722aec0a5b745abad3ee9691fd7a139b81e2e2688102e72a61ed488320fe3f5
6
+ HEAD_REF master
7
+ PATCHES
8
+ 001-fix-destination.patch
9
+ )
10
+
11
+ vcpkg_cmake_configure(
12
+ SOURCE_PATH ${SOURCE_PATH}/kubernetes
13
+ )
14
+
15
+ vcpkg_cmake_install()
16
+
17
+ if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL debug)
18
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
19
+ endif()
20
+
21
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
22
+
23
+ vcpkg_copy_pdbs()
24
+
25
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/kubernetes/vcpkg.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "kubernetes",
3
+ "version": "0.6.0",
4
+ "port-version": 1,
5
+ "description": "Kubernetes C client",
6
+ "homepage": "https://github.com/kubernetes-client/c/",
7
+ "license": "Apache-2.0",
8
+ "supports": "!uwp",
9
+ "dependencies": [
10
+ "curl",
11
+ "libwebsockets",
12
+ "libyaml",
13
+ "openssl",
14
+ {
15
+ "name": "vcpkg-cmake",
16
+ "host": true
17
+ },
18
+ {
19
+ "name": "vcpkg-cmake-config",
20
+ "host": true
21
+ }
22
+ ]
23
+ }
cc-multilingual-main/cc_net/vcpkg/ports/libcds/002-lib-suffix-option.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index aa287ff8..20fe7b49 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -118,7 +118,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_C
6
+
7
+ if(CMAKE_TARGET_ARCHITECTURE STREQUAL "x86_64")
8
+ list(APPEND LIBCDS_PUBLIC_CXX_FLAGS "-mcx16")
9
+ - set(LIB_SUFFIX "64")
10
+ + set(LIB_SUFFIX "64" CACHE STRING "")
11
+
12
+ # GCC-7: 128-bit atomics support is implemented via libatomic on amd64
13
+ # see https://gcc.gnu.org/ml/gcc/2017-01/msg00167.html
cc-multilingual-main/cc_net/vcpkg/ports/libcds/portfile.cmake ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO khizmax/libcds
4
+ REF v2.3.3
5
+ SHA512 95e67da4336d622d47bdf124d76827ca3e82e65ab5f725ccf58c2d7957960e7d17ee1ebb2126eed70f7a3ca1c97f840d9f59c1ae2eb80215d10abf70b215e510
6
+ HEAD_REF master
7
+ PATCHES
8
+ 001-cmake-install.patch
9
+ 002-lib-suffix-option.patch
10
+ )
11
+
12
+ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" DISABLE_INSTALL_STATIC)
13
+ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" DISABLE_INSTALL_SHARED)
14
+
15
+ vcpkg_cmake_configure(
16
+ SOURCE_PATH "${SOURCE_PATH}"
17
+ OPTIONS
18
+ -DENABLE_UNIT_TEST=OFF
19
+ -DENABLE_STRESS_TEST=OFF
20
+ -DDISABLE_INSTALL_STATIC=${DISABLE_INSTALL_STATIC}
21
+ -DDISABLE_INSTALL_SHARED=${DISABLE_INSTALL_SHARED}
22
+ "-DLIB_SUFFIX="
23
+ )
24
+
25
+ vcpkg_cmake_install()
26
+
27
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
28
+
29
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/LibCDS)
30
+
31
+ file(INSTALL
32
+ "${SOURCE_PATH}/LICENSE"
33
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
34
+
35
+ vcpkg_copy_pdbs()
cc-multilingual-main/cc_net/vcpkg/ports/libcds/vcpkg.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "libcds",
3
+ "version": "2.3.3",
4
+ "port-version": 4,
5
+ "description": "a collection of concurrent containers that don't require external (manual) synchronization for shared access, and safe memory reclamation (SMR) algorithms like Hazard Pointer and user-space RCU that is used as an epoch-based SMR.",
6
+ "homepage": "https://github.com/khizmax/libcds",
7
+ "license": "BSL-1.0",
8
+ "supports": "!(arm & (osx | windows)) & !uwp",
9
+ "dependencies": [
10
+ "boost-system",
11
+ "boost-thread",
12
+ {
13
+ "name": "vcpkg-cmake",
14
+ "host": true
15
+ },
16
+ {
17
+ "name": "vcpkg-cmake-config",
18
+ "host": true
19
+ }
20
+ ]
21
+ }
cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/dependencies.diff ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/Project/CMake/cmake/modules/FindTinyXML.cmake b/Project/CMake/cmake/modules/FindTinyXML.cmake
2
+ index af97107..4667b65 100644
3
+ --- a/Project/CMake/cmake/modules/FindTinyXML.cmake
4
+ +++ b/Project/CMake/cmake/modules/FindTinyXML.cmake
5
+ @@ -23,7 +23,7 @@ endif(PKG_CONFIG_FOUND)
6
+
7
+ set(TinyXML_INCLUDE_DIRS ${PC_TINYXML_INCLUDE_DIRS} CACHE PATH "TinyXML include directory" FORCE)
8
+ set(TinyXML_LIBRARY_DIRS ${PC_TINYXML_LIBRARY_DIRS} CACHE PATH "TinyXML library directory" FORCE)
9
+ -set(TinyXML_LIBRARIES ${PC_TINYXML_LIBRARIES} CACHE STRING "TinyXML libraries" FORCE)
10
+ +set(TinyXML_LIBRARIES ${PC_TINYXML_LINK_LIBRARIES} CACHE STRING "TinyXML libraries" FORCE)
11
+ include(FindPackageHandleStandardArgs)
12
+
13
+ find_package_handle_standard_args(TinyXML
14
+ diff --git a/Project/CMake/libmediainfo.pc.in b/Project/CMake/libmediainfo.pc.in
15
+ index 31e53fe..0829d71 100644
16
+ --- a/Project/CMake/libmediainfo.pc.in
17
+ +++ b/Project/CMake/libmediainfo.pc.in
18
+ @@ -8,6 +8,6 @@ Name: libmediainfo
19
+ Version: @MediaInfoLib_VERSION@
20
+ Description: MediaInfoLib
21
+ Requires: libzen
22
+ -Requires.private:@CURL_PC@
23
+ -Libs: -L${libdir} -lmediainfo -lz
24
+ +Requires.private: libcurl tinyxml2 zlib
25
+ +Libs: -L${libdir} -lmediainfo
26
+ Cflags: -I${includedir}
cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/msvc-arm.diff ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/Source/ThirdParty/aes-gladman/aesopt.h b/Source/ThirdParty/aes-gladman/aesopt.h
2
+ index d3ac0f9..eeefa40 100644
3
+ --- a/Source/ThirdParty/aes-gladman/aesopt.h
4
+ +++ b/Source/ThirdParty/aes-gladman/aesopt.h
5
+ @@ -183,7 +183,7 @@ Issue Date: 20/12/2007
6
+ AES_REV_DKS must NOT be defined when such assembler files are
7
+ built
8
+ */
9
+ -#if 1 && defined( _WIN64 ) && defined( _MSC_VER )
10
+ +#if 1 && defined( _WIN64 ) && defined( _MSC_VER ) && defined( _M_AMD64 )
11
+ # define INTEL_AES_POSSIBLE
12
+ #endif
13
+
14
+ diff --git a/Source/ThirdParty/aes-gladman/brg_endian.h b/Source/ThirdParty/aes-gladman/brg_endian.h
15
+ index b44c5cb..6ba31c1 100644
16
+ --- a/Source/ThirdParty/aes-gladman/brg_endian.h
17
+ +++ b/Source/ThirdParty/aes-gladman/brg_endian.h
18
+ @@ -101,6 +101,7 @@ Issue Date: 20/12/2007
19
+ defined( __i386__ ) || defined( _M_I86 ) || defined( _M_IX86 ) || \
20
+ defined( __OS2__ ) || defined( sun386 ) || defined( __TURBOC__ ) || \
21
+ defined( vax ) || defined( vms ) || defined( VMS ) || \
22
+ + defined( _M_ARM64 ) || defined ( _M_ARM ) || \
23
+ defined( __VMS ) || defined( _M_X64 )
24
+ # define PLATFORM_BYTE_ORDER IS_LITTLE_ENDIAN
25
+
cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/no-windows-namespace.diff ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/Source/MediaInfo/MediaInfo_Internal.cpp b/Source/MediaInfo/MediaInfo_Internal.cpp
2
+ index 05e0d53..1da1ef5 100644
3
+ --- a/Source/MediaInfo/MediaInfo_Internal.cpp
4
+ +++ b/Source/MediaInfo/MediaInfo_Internal.cpp
5
+ @@ -66,12 +66,14 @@
6
+ #if MEDIAINFO_ADVANCED && defined(MEDIAINFO_FILE_YES)
7
+ #include <limits>
8
+ #ifdef WINDOWS
9
+ - namespace WindowsNamespace
10
+ - {
11
+ + #ifndef WIN32_LEAN_AND_MEAN
12
+ + #define WIN32_LEAN_AND_MEAN
13
+ + #endif
14
+ + #ifndef NOMINMAX
15
+ + #define NOMINMAX
16
+ + #endif
17
+ #include <windows.h>
18
+ #undef Yield
19
+ - #undef max
20
+ - }
21
+ #else
22
+ #include <unistd.h>
23
+ #include <signal.h>
24
+ @@ -973,7 +975,7 @@ static void CtrlC_Received()
25
+ }
26
+
27
+ #ifdef WINDOWS
28
+ -static WindowsNamespace::BOOL WINAPI SignalHandler(WindowsNamespace::DWORD SignalType)
29
+ +static BOOL WINAPI SignalHandler(DWORD SignalType)
30
+ {
31
+ if (SignalType==CTRL_C_EVENT)
32
+ {
33
+ @@ -986,12 +988,12 @@ static WindowsNamespace::BOOL WINAPI SignalHandler(WindowsNamespace::DWORD Signa
34
+
35
+ static void CtrlC_Register()
36
+ {
37
+ - WindowsNamespace::SetConsoleCtrlHandler(SignalHandler, TRUE);
38
+ + SetConsoleCtrlHandler(SignalHandler, TRUE);
39
+ }
40
+
41
+ static void CtrlC_Unregister()
42
+ {
43
+ - WindowsNamespace::SetConsoleCtrlHandler(SignalHandler, FALSE);
44
+ + SetConsoleCtrlHandler(SignalHandler, FALSE);
45
+ }
46
+ #else //WINDOWS
47
+ static void SignalHandler(int SignalType)
48
+ @@ -1445,7 +1447,7 @@ void MediaInfo_Internal::Entry()
49
+ }
50
+
51
+ #ifdef WINDOWS
52
+ - WindowsNamespace::Sleep(0);
53
+ + Sleep(0);
54
+ #elif defined(_POSIX_PRIORITY_SCHEDULING)
55
+ sched_yield();
56
+ #endif //_POSIX_PRIORITY_SCHEDULING
cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/portfile.cmake ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ string(REGEX REPLACE "^([0-9]+)[.]([1-9])\$" "\\1.0\\2" MEDIAINFO_VERSION "${VERSION}")
2
+ vcpkg_from_github(
3
+ OUT_SOURCE_PATH SOURCE_PATH
4
+ REPO MediaArea/MediaInfoLib
5
+ REF "v${MEDIAINFO_VERSION}"
6
+ SHA512 e664153197611647ee5496a0eb2105ac0574522585ecae2c51e35ea018a33a3da230158a4d1159e0abb5935ef953b7f841c6719eecfbba13de3fd9fdf06b8556
7
+ HEAD_REF master
8
+ PATCHES
9
+ msvc-arm.diff
10
+ dependencies.diff
11
+ no-windows-namespace.diff
12
+ )
13
+
14
+ vcpkg_find_acquire_program(PKGCONFIG)
15
+
16
+ vcpkg_cmake_configure(
17
+ SOURCE_PATH "${SOURCE_PATH}/Project/CMake"
18
+ OPTIONS
19
+ -DBUILD_ZENLIB=0
20
+ -DBUILD_ZLIB=0
21
+ "-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
22
+ -DCMAKE_REQUIRE_FIND_PACKAGE_PkgConfig=1
23
+ -DCMAKE_REQUIRE_FIND_PACKAGE_TinyXML=1
24
+ )
25
+ vcpkg_cmake_install()
26
+ vcpkg_cmake_config_fixup(PACKAGE_NAME mediainfolib)
27
+ vcpkg_fixup_pkgconfig()
28
+ if(NOT VCPKG_BUILD_TYPE AND VCPKG_TARGET_IS_WINDOWS)
29
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libmediainfo.pc" " -lmediainfo" " -lmediainfod")
30
+ endif()
31
+
32
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
33
+
34
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
cc-multilingual-main/cc_net/vcpkg/ports/libmediainfo/vcpkg.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "libmediainfo",
3
+ "version": "24.1",
4
+ "description": "Get most relevant technical and tag data from video and audio files",
5
+ "homepage": "https://github.com/MediaArea/MediaInfoLib",
6
+ "dependencies": [
7
+ "curl",
8
+ "libzen",
9
+ "tinyxml2",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ },
18
+ "zlib"
19
+ ]
20
+ }
cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/dependencies.diff ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index e656184..776c88a 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -225,8 +225,8 @@ message("zlib version: " ${ZLIB_VERSION})
6
+
7
+ # MINIZIP
8
+ if (USE_SYSTEM_MINIZIP)
9
+ - find_package(MINIZIP REQUIRED "1.0")
10
+ - list(APPEND LXW_PRIVATE_INCLUDE_DIRS ${MINIZIP_INCLUDE_DIRS})
11
+ + find_package(MINIZIP NAMES unofficial-minizip REQUIRED)
12
+ + set(MINIZIP_LIBRARIES unofficial::minizip::minizip)
13
+ endif()
14
+
15
+ # LIBRARY
16
+ diff --git a/dev/release/pkg-config.txt b/dev/release/pkg-config.txt
17
+ index a87d080..fa58047 100644
18
+ --- a/dev/release/pkg-config.txt
19
+ +++ b/dev/release/pkg-config.txt
20
+ @@ -7,4 +7,5 @@ Name: libxlsxwriter
21
+ Description: A C library for creating Excel XLSX files
22
+ Version: @VERSION@
23
+ Cflags: -I${includedir}
24
+ -Libs: -L${libdir} -lxlsxwriter -lz
25
+ +Libs: -L${libdir} -lxlsxwriter
26
+ +Requires.private: minizip zlib
cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/fix-zlib-ver-required.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 776c88a..ccc057d 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -219,7 +219,7 @@ enable_language(CXX)
6
+ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
7
+
8
+ # ZLIB
9
+ -find_package(ZLIB REQUIRED "1.0")
10
+ +find_package(ZLIB "1.0" REQUIRED)
11
+ list(APPEND LXW_PRIVATE_INCLUDE_DIRS ${ZLIB_INCLUDE_DIRS})
12
+ message("zlib version: " ${ZLIB_VERSION})
13
+
cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/portfile.cmake ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO jmcnamara/libxlsxwriter
4
+ REF "RELEASE_${VERSION}"
5
+ SHA512 bd7db0fcf25ebf492b4d8f7da8fdb6cc79400d7d0fa5856ddae259cb24817034fc97d4828cbde42434f41198dcfb6732ac63c756abd962689f4249ca64bf19c6
6
+ HEAD_REF master
7
+ PATCHES
8
+ dependencies.diff
9
+ fix-zlib-ver-required.patch
10
+ )
11
+ file(REMOVE_RECURSE "${SOURCE_PATH}/third_party/minizip")
12
+
13
+ set(USE_WINDOWSSTORE OFF)
14
+ if (VCPKG_TARGET_IS_UWP)
15
+ set(USE_WINDOWSSTORE ON)
16
+ endif()
17
+
18
+ vcpkg_cmake_configure(
19
+ SOURCE_PATH "${SOURCE_PATH}"
20
+ OPTIONS
21
+ -DUSE_SYSTEM_MINIZIP=1
22
+ -DWINDOWSSTORE=${USE_WINDOWSSTORE}
23
+ )
24
+
25
+ vcpkg_cmake_install()
26
+ vcpkg_fixup_pkgconfig()
27
+ vcpkg_copy_pdbs()
28
+
29
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
30
+
31
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.txt")
cc-multilingual-main/cc_net/vcpkg/ports/libxlsxwriter/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "libxlsxwriter",
3
+ "version": "1.1.5",
4
+ "port-version": 2,
5
+ "description": "Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.",
6
+ "homepage": "https://github.com/jmcnamara/libxlsxwriter",
7
+ "license": null,
8
+ "dependencies": [
9
+ "minizip",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ "zlib"
15
+ ]
16
+ }
cc-multilingual-main/cc_net/vcpkg/ports/libxmp/fix-cmake-config-dir.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 1794cb2c1534d53d502785e0446d302e5439216a..c960405632c0d1b4797470424fce4ff8a7ec1aef 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -170,7 +170,7 @@ add_subdirectory(docs)
6
+
7
+ include(CMakePackageConfigHelpers)
8
+
9
+ -if(WIN32)
10
+ +if(0)
11
+ set(cmake_install_cmakdir "cmake")
12
+ else()
13
+ set(cmake_install_cmakdir "${CMAKE_INSTALL_LIBDIR}/cmake/libxmp")
cc-multilingual-main/cc_net/vcpkg/ports/libzim/cross-builds.diff ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/meson.build b/meson.build
2
+ index f3e7a27..d946c49 100644
3
+ --- a/meson.build
4
+ +++ b/meson.build
5
+ @@ -1,9 +1,9 @@
6
+ project('libzim', ['c', 'cpp'],
7
+ version : '9.0.0',
8
+ license : 'GPL2',
9
+ - default_options : ['c_std=c11', 'cpp_std=c++17', 'werror=true'])
10
+ + default_options : ['c_std=c11', 'cpp_std=c++17'])
11
+
12
+ -if build_machine.system() != 'windows'
13
+ +if host_machine.system() != 'windows' or meson.get_compiler('cpp').get_id() == 'gcc'
14
+ add_project_arguments('-D_LARGEFILE64_SOURCE=1', '-D_FILE_OFFSET_BITS=64', language: 'cpp')
15
+ endif
16
+
17
+ @@ -56,8 +56,8 @@ private_conf.set('ENABLE_XAPIAN', xapian_dep.found())
18
+ public_conf.set('LIBZIM_WITH_XAPIAN', xapian_dep.found())
19
+
20
+ pkg_requires = ['liblzma', 'libzstd']
21
+ -if build_machine.system() == 'windows'
22
+ - extra_link_args = ['-lRpcrt4', '-lWs2_32', '-lwinmm', '-licuuc', '-licuin']
23
+ +if host_machine.system() == 'windows'
24
+ + extra_link_args = ['-lrpcrt4', '-lws2_32', '-lwinmm']
25
+ extra_cpp_args = ['-DSORTPP_PASS']
26
+ else
27
+ extra_link_args = []
28
+ @@ -65,7 +65,7 @@ else
29
+ endif
30
+
31
+ compiler = meson.get_compiler('cpp')
32
+ -if (compiler.get_id() == 'gcc' and build_machine.system() == 'linux') or host_machine.system() == 'freebsd'
33
+ +if (compiler.get_id() == 'gcc' and host_machine.system() == 'linux') or host_machine.system() == 'freebsd'
34
+ # C++ std::thread is implemented using pthread on linux by gcc
35
+ thread_dep = dependency('threads')
36
+ else
37
+ @@ -74,6 +74,8 @@ endif
38
+
39
+ if xapian_dep.found()
40
+ pkg_requires += ['xapian-core']
41
+ +endif
42
+ +if true
43
+ icu_dep = dependency('icu-i18n', static:static_linkage)
44
+ pkg_requires += ['icu-i18n']
45
+ else
cc-multilingual-main/cc_net/vcpkg/ports/libzim/dllexport.diff ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/include/zim/zim.h b/include/zim/zim.h
2
+ index 80e8596..631cfab 100644
3
+ --- a/include/zim/zim.h
4
+ +++ b/include/zim/zim.h
5
+ @@ -35,8 +35,10 @@
6
+
7
+ #include <zim/zim_config.h>
8
+
9
+ -#if defined(_MSC_VER) && defined(LIBZIM_EXPORT_DLL)
10
+ +#if defined(_WIN32) && defined(LIBZIM_EXPORT_DLL)
11
+ #define LIBZIM_API __declspec(dllexport)
12
+ +#elif defined(_WIN32) && defined(LIBZIM_IMPORT_DLL)
13
+ + #define LIBZIM_API __declspec(dllimport)
14
+ #else
15
+ #define LIBZIM_API
16
+ #endif
cc-multilingual-main/cc_net/vcpkg/ports/libzim/portfile.cmake ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO openzim/libzim
4
+ REF "${VERSION}"
5
+ SHA512 55d18535d677d3249c8331ceac1acd4afa650de1f61a0aa3ffc1c98ca2a395bc657c774d01780f1a2c2aedd7d9c5d2e7d9f5e717ed879de84dc6d1be6accfe5e
6
+ HEAD_REF main
7
+ PATCHES
8
+ cross-builds.diff
9
+ dllexport.diff
10
+ subdirs.diff
11
+ )
12
+
13
+ set(EXTRA_OPTIONS "")
14
+
15
+ if(NOT "xapian" IN_LIST FEATURES)
16
+ list(APPEND EXTRA_OPTIONS "-Dwith_xapian=false")
17
+ endif()
18
+
19
+ vcpkg_configure_meson(
20
+ SOURCE_PATH "${SOURCE_PATH}"
21
+ OPTIONS
22
+ -Dexamples=false
23
+ ${EXTRA_OPTIONS}
24
+ )
25
+
26
+ vcpkg_install_meson()
27
+
28
+ vcpkg_copy_pdbs()
29
+
30
+ vcpkg_fixup_pkgconfig()
31
+
32
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
33
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/zim/zim.h" "defined(LIBZIM_IMPORT_DLL)" "1")
34
+ endif()
35
+
36
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
37
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
cc-multilingual-main/cc_net/vcpkg/ports/libzim/subdirs.diff ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/meson.build b/meson.build
2
+ index d946c49..eded01d 100644
3
+ --- a/meson.build
4
+ +++ b/meson.build
5
+ @@ -90,6 +90,7 @@ subdir('include')
6
+ subdir('scripts')
7
+ subdir('static')
8
+ subdir('src')
9
+ +if false
10
+ if get_option('examples')
11
+ subdir('examples')
12
+ endif
13
+ @@ -97,6 +98,7 @@ subdir('test')
14
+ if get_option('doc')
15
+ subdir('docs')
16
+ endif
17
+ +endif
18
+
19
+ pkg_mod = import('pkgconfig')
20
+ pkg_mod.generate(libraries : libzim,