applied-ai-018 commited on
Commit
fa9fedc
·
verified ·
1 Parent(s): 2d5835d

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/boost-random/portfile.cmake +14 -0
  2. cc-multilingual-main/cc_net/vcpkg/ports/boost-random/vcpkg.json +81 -0
  3. cc-multilingual-main/cc_net/vcpkg/ports/boost-ratio/portfile.cmake +12 -0
  4. cc-multilingual-main/cc_net/vcpkg/ports/boost-ratio/vcpkg.json +18 -0
  5. cc-multilingual-main/cc_net/vcpkg/ports/buck-yeh-bux/portfile.cmake +15 -0
  6. cc-multilingual-main/cc_net/vcpkg/ports/buck-yeh-bux/vcpkg.json +16 -0
  7. cc-multilingual-main/cc_net/vcpkg/ports/coin-or-osi/glpk.patch +13 -0
  8. cc-multilingual-main/cc_net/vcpkg/ports/coin-or-osi/portfile.cmake +37 -0
  9. cc-multilingual-main/cc_net/vcpkg/ports/coin-or-osi/vcpkg.json +9 -0
  10. cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/fix-shared-keyword.patch +13 -0
  11. cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/portfile.cmake +28 -0
  12. cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/use-uriparser.patch +127 -0
  13. cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/vcpkg.json +24 -0
  14. cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/vs-version-detection.patch +39 -0
  15. cc-multilingual-main/cc_net/vcpkg/ports/dmlc/cxx-fix.patch +12 -0
  16. cc-multilingual-main/cc_net/vcpkg/ports/dmlc/portfile.cmake +39 -0
  17. cc-multilingual-main/cc_net/vcpkg/ports/dmlc/vcpkg.json +23 -0
  18. cc-multilingual-main/cc_net/vcpkg/ports/edlib/portfile.cmake +21 -0
  19. cc-multilingual-main/cc_net/vcpkg/ports/edlib/vcpkg.json +17 -0
  20. cc-multilingual-main/cc_net/vcpkg/ports/im3d/CMakeLists.txt +44 -0
  21. cc-multilingual-main/cc_net/vcpkg/ports/im3d/portfile.cmake +24 -0
  22. cc-multilingual-main/cc_net/vcpkg/ports/im3d/vcpkg.json +17 -0
  23. cc-multilingual-main/cc_net/vcpkg/ports/kf5textwidgets/portfile.cmake +32 -0
  24. cc-multilingual-main/cc_net/vcpkg/ports/kf5textwidgets/vcpkg.json +32 -0
  25. cc-multilingual-main/cc_net/vcpkg/ports/libebur128/portfile.cmake +19 -0
  26. cc-multilingual-main/cc_net/vcpkg/ports/libebur128/vcpkg.json +15 -0
  27. cc-multilingual-main/cc_net/vcpkg/ports/libredwg/fix_arm64_build.patch +14 -0
  28. cc-multilingual-main/cc_net/vcpkg/ports/libredwg/fix_install.patch +45 -0
  29. cc-multilingual-main/cc_net/vcpkg/ports/libredwg/vcpkg.json +24 -0
  30. cc-multilingual-main/cc_net/vcpkg/ports/marisa-trie/vcpkg.json +9 -0
  31. cc-multilingual-main/cc_net/vcpkg/ports/mcpp/0001-fix-_POSIX_C_SOURCE.patch +38 -0
  32. cc-multilingual-main/cc_net/vcpkg/ports/mcpp/portfile.cmake +27 -0
  33. cc-multilingual-main/cc_net/vcpkg/ports/mcpp/vcpkg.json +13 -0
  34. cc-multilingual-main/cc_net/vcpkg/ports/metis/build-fixes.patch +144 -0
  35. cc-multilingual-main/cc_net/vcpkg/ports/metis/portfile.cmake +22 -0
  36. cc-multilingual-main/cc_net/vcpkg/ports/metis/vcpkg.json +18 -0
  37. cc-multilingual-main/cc_net/vcpkg/ports/numcpp/portfile.cmake +20 -0
  38. cc-multilingual-main/cc_net/vcpkg/ports/numcpp/vcpkg.json +35 -0
  39. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0003-force-package-requirements.patch +47 -0
  40. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0004-add-ffmpeg-missing-defines.patch +12 -0
  41. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0006-fix-jasper.patch +20 -0
  42. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0007-fix-config.patch +18 -0
  43. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0019-fix-openexr.patch +30 -0
  44. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0020-missing-include.patch +12 -0
  45. cc-multilingual-main/cc_net/vcpkg/ports/opencv2/vcpkg.json +143 -0
  46. cc-multilingual-main/cc_net/vcpkg/ports/qt5-connectivity/portfile.cmake +2 -0
  47. cc-multilingual-main/cc_net/vcpkg/ports/qt5-connectivity/vcpkg.json +13 -0
  48. cc-multilingual-main/cc_net/vcpkg/ports/rang/portfile.cmake +20 -0
  49. cc-multilingual-main/cc_net/vcpkg/ports/rang/vcpkg.json +16 -0
  50. cc-multilingual-main/cc_net/vcpkg/ports/rsm-mmio/portfile.cmake +26 -0
cc-multilingual-main/cc_net/vcpkg/ports/boost-random/portfile.cmake ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Automatically generated by scripts/boost/generate-ports.ps1
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO boostorg/random
6
+ REF boost-${VERSION}
7
+ SHA512 43a331bf6edb7805766ea9a009ff4dd2e03645acf4da6cc2fa3756501e555d3d414a7af3659919300afa58ec2b4c553a11ac4ea298caaa4b36f848b1d91fcd49
8
+ HEAD_REF master
9
+ )
10
+
11
+ include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
12
+ boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
13
+ include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
14
+ boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
cc-multilingual-main/cc_net/vcpkg/ports/boost-random/vcpkg.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
3
+ "name": "boost-random",
4
+ "version": "1.84.0",
5
+ "description": "Boost random module",
6
+ "homepage": "https://github.com/boostorg/random",
7
+ "license": "BSL-1.0",
8
+ "supports": "!uwp",
9
+ "dependencies": [
10
+ {
11
+ "name": "boost-array",
12
+ "version>=": "1.84.0"
13
+ },
14
+ {
15
+ "name": "boost-assert",
16
+ "version>=": "1.84.0"
17
+ },
18
+ {
19
+ "name": "boost-build",
20
+ "host": true,
21
+ "version>=": "1.84.0"
22
+ },
23
+ {
24
+ "name": "boost-config",
25
+ "version>=": "1.84.0"
26
+ },
27
+ {
28
+ "name": "boost-core",
29
+ "version>=": "1.84.0"
30
+ },
31
+ {
32
+ "name": "boost-dynamic-bitset",
33
+ "version>=": "1.84.0"
34
+ },
35
+ {
36
+ "name": "boost-integer",
37
+ "version>=": "1.84.0"
38
+ },
39
+ {
40
+ "name": "boost-io",
41
+ "version>=": "1.84.0"
42
+ },
43
+ {
44
+ "name": "boost-modular-build-helper",
45
+ "host": true,
46
+ "version>=": "1.84.0"
47
+ },
48
+ {
49
+ "name": "boost-range",
50
+ "version>=": "1.84.0"
51
+ },
52
+ {
53
+ "name": "boost-static-assert",
54
+ "version>=": "1.84.0"
55
+ },
56
+ {
57
+ "name": "boost-system",
58
+ "version>=": "1.84.0"
59
+ },
60
+ {
61
+ "name": "boost-throw-exception",
62
+ "version>=": "1.84.0"
63
+ },
64
+ {
65
+ "name": "boost-type-traits",
66
+ "version>=": "1.84.0"
67
+ },
68
+ {
69
+ "name": "boost-utility",
70
+ "version>=": "1.84.0"
71
+ },
72
+ {
73
+ "name": "boost-vcpkg-helpers",
74
+ "version>=": "1.84.0"
75
+ },
76
+ {
77
+ "name": "vcpkg-cmake",
78
+ "host": true
79
+ }
80
+ ]
81
+ }
cc-multilingual-main/cc_net/vcpkg/ports/boost-ratio/portfile.cmake ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Automatically generated by scripts/boost/generate-ports.ps1
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO boostorg/ratio
6
+ REF boost-${VERSION}
7
+ SHA512 a6c4e399ef26bc9abfec1bdea88c05e2d0a05f91df0e8601a68b070b0e26b39c9856987dece64904c380c44e565d458e87f1a6d1573557bd8b897e260fca3804
8
+ HEAD_REF master
9
+ )
10
+
11
+ include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
12
+ boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
cc-multilingual-main/cc_net/vcpkg/ports/boost-ratio/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
3
+ "name": "boost-ratio",
4
+ "version": "1.84.0",
5
+ "description": "Boost ratio module",
6
+ "homepage": "https://github.com/boostorg/ratio",
7
+ "license": "BSL-1.0",
8
+ "dependencies": [
9
+ {
10
+ "name": "boost-config",
11
+ "version>=": "1.84.0"
12
+ },
13
+ {
14
+ "name": "boost-vcpkg-helpers",
15
+ "version>=": "1.84.0"
16
+ }
17
+ ]
18
+ }
cc-multilingual-main/cc_net/vcpkg/ports/buck-yeh-bux/portfile.cmake ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO buck-yeh/bux
4
+ REF "${VERSION}"
5
+ SHA512 7b58e67d0744ead50fb5a826118d1026dc85b6bd880a2d3f30a9d355fc20f48697057eec139ad3960a65cebfbd0e30b99bee42b71bd23058c815a50b6df10c5c
6
+ HEAD_REF main
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ )
12
+
13
+ vcpkg_cmake_install()
14
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
15
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/buck-yeh-bux/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "buck-yeh-bux",
3
+ "version": "1.6.8",
4
+ "port-version": 1,
5
+ "description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.",
6
+ "homepage": "https://github.com/buck-yeh/bux",
7
+ "license": "MIT",
8
+ "supports": "!(arm | uwp | osx | linux)",
9
+ "dependencies": [
10
+ "fmt",
11
+ {
12
+ "name": "vcpkg-cmake",
13
+ "host": true
14
+ }
15
+ ]
16
+ }
cc-multilingual-main/cc_net/vcpkg/ports/coin-or-osi/glpk.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/configure.ac b/configure.ac
2
+ index e4bd1361e..4c3a2a166 100644
3
+ --- a/configure.ac
4
+ +++ b/configure.ac
5
+ @@ -78,7 +78,7 @@ AC_COIN_CHK_HERE([OsiLib],[OsiCommonTestLib],[osi])
6
+ # downloaded and built. The general flow here is as above: Initialise the
7
+ # library, add external components, finalize the flags, and add any components
8
+ # being built here.
9
+ -AC_COIN_CHK_PKG(Glpk,[OsiGlpkLib OsiTest],[coinglpk])
10
+ +AC_COIN_CHK_PKG(Glpk,[OsiGlpkLib OsiTest],[glpk])
11
+
12
+ AC_LANG_PUSH(C++)
13
+ AC_COIN_CHK_LIBHDR(SoPlex,[OsiSpxLib OsiTest],[-lsoplex],[],[],
cc-multilingual-main/cc_net/vcpkg/ports/coin-or-osi/portfile.cmake ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO coin-or/Osi
4
+ REF 79167ab9a4487b5a1f88ec4fdfd4ed529a1c31ff
5
+ SHA512 405206d1a8e1f0adff8223ad4843251532dc954a6400f8566d826f93dd55741423185001f4d5a97b4d02ed39a9fe32ef063978d101c0a3eaa341a7c0dbce9765
6
+ PATCHES glpk.patch
7
+ )
8
+
9
+ file(COPY "${CURRENT_INSTALLED_DIR}/share/coin-or-buildtools/" DESTINATION "${SOURCE_PATH}")
10
+
11
+ set(ENV{ACLOCAL} "aclocal -I \"${SOURCE_PATH}/BuildTools\"")
12
+
13
+ vcpkg_configure_make(
14
+ SOURCE_PATH "${SOURCE_PATH}"
15
+ AUTOCONFIG
16
+ OPTIONS
17
+ --with-glpk
18
+ --with-lapack
19
+ --with-coinutils
20
+ --without-netlib
21
+ --without-sample
22
+ --without-gurobi
23
+ --without-xpress
24
+ --without-cplex
25
+ --without-soplex
26
+ --enable-relocatable
27
+ --disable-readline
28
+ )
29
+
30
+ vcpkg_install_make()
31
+ vcpkg_copy_pdbs()
32
+ vcpkg_fixup_pkgconfig()
33
+
34
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
35
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
36
+
37
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/coin-or-osi/vcpkg.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "coin-or-osi",
3
+ "version-date": "2023-02-01",
4
+ "description": "Osi (Open Solver Interface) provides an abstract base class to a generic linear programming (LP) solver, along with derived classes for specific solvers. Many applications may be able to use the Osi to insulate themselves from a specific LP solver.",
5
+ "license": "EPL-2.0",
6
+ "dependencies": [
7
+ "coinutils"
8
+ ]
9
+ }
cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/fix-shared-keyword.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/dom/CMakeLists.txt b/dom/CMakeLists.txt
2
+ index 62e1b8a..7ff49b5 100644
3
+ --- a/dom/CMakeLists.txt
4
+ +++ b/dom/CMakeLists.txt
5
+ @@ -28,7 +28,7 @@ if( OPT_COLLADA14 )
6
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/1.4 DESTINATION ${COLLADA_DOM_INCLUDE_INSTALL_DIR} COMPONENT ${COMPONENT_PREFIX}-dev PATTERN ".svn" EXCLUDE PATTERN ".~" EXCLUDE)
7
+ endif()
8
+
9
+ -add_library(collada-dom SHARED ${COLLADA_BASE_SOURCES})
10
+ +add_library(collada-dom ${COLLADA_BASE_SOURCES})
11
+ target_link_libraries(collada-dom ${COLLADA_LIBS})
12
+ set_target_properties(collada-dom PROPERTIES
13
+ COMPILE_FLAGS "${COLLADA_COMPILE_FLAGS}"
cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/portfile.cmake ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO rdiankov/collada-dom
4
+ REF d37ae7532e350b87c88712e9f6ab4b1f440d20cd
5
+ SHA512 cb923d296219765096f5246cc7a2b69712931f58171ae885dbdbd215fca86d911c34d12748d3304d6a5a350dc737ff0caead2495acac488af5431b437cbacc7d
6
+ HEAD_REF v2.5.0
7
+ PATCHES
8
+ vs-version-detection.patch
9
+ use-uriparser.patch
10
+ use-vcpkg-minizip.patch
11
+ fix-shared-keyword.patch
12
+ fix-emscripten.patch
13
+ )
14
+
15
+ vcpkg_cmake_configure(
16
+ SOURCE_PATH "${SOURCE_PATH}"
17
+ )
18
+
19
+ vcpkg_cmake_install()
20
+
21
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/collada_dom-2.5)
22
+
23
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
24
+
25
+ # Handle copyright
26
+ file(INSTALL "${SOURCE_PATH}/licenses/license_e.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
27
+
28
+ vcpkg_fixup_pkgconfig()
cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/use-uriparser.patch ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 3ec1527..3f044d3 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -237,23 +237,29 @@ else()
6
+ set(MINIZIP_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dom/external-libs/minizip-1.1 ${ZLIB_INCLUDE_DIR})
7
+ endif()
8
+
9
+ -pkg_check_modules(liburiparser liburiparser)
10
+ -
11
+ -if(liburiparser_FOUND)
12
+ - set(liburiparser_CFLAGS_OTHERS "-DUSE_URIPARSER")
13
+ +find_package(UriParser)
14
+ +if(URIPARSER_FOUND)
15
+ + set(URIPARSER_CFLAGS_OTHERS "-DUSE_URIPARSER")
16
+ + set(URIPARSER_LIBRARIES ${URIPARSER_LIBRARY})
17
+ + message(STATUS "liburiparser found")
18
+ else()
19
+ - # try using pcrecpp
20
+ - pkg_check_modules(libpcrecpp libpcrecpp)
21
+ - if( libpcrecpp_FOUND )
22
+ + pkg_check_modules(liburiparser liburiparser)
23
+ + if(liburiparser_FOUND)
24
+ + set(URIPARSER_CFLAGS_OTHERS "-DUSE_URIPARSER")
25
+ + message(STATUS "liburiparser found")
26
+ + else()
27
+ + # try using pcrecpp
28
+ + pkg_check_modules(libpcrecpp libpcrecpp)
29
+ + if( libpcrecpp_FOUND )
30
+ set(CMAKE_REQUIRED_INCLUDES ${libpcrecpp_INCLUDE_DIRS})
31
+ check_include_file_cxx(pcrecpp.h HAVE_PCRECPP_H)
32
+ set(CMAKE_REQUIRED_INCLUDES)
33
+ if( NOT HAVE_PCRECPP_H )
34
+ - set(libpcrecpp_FOUND 0)
35
+ + set(libpcrecpp_FOUND 0)
36
+ + endif()
37
+ endif()
38
+ - endif()
39
+
40
+ - if( NOT libpcrecpp_FOUND )
41
+ + if( NOT libpcrecpp_FOUND )
42
+ message(STATUS "System pcre not found, using local from sources")
43
+ # include the local pcre
44
+ add_subdirectory(dom/external-libs/pcre-8.02)
45
+ @@ -262,6 +268,7 @@ else()
46
+ set(libpcrecpp_LIBRARIES pcrecpp_local)
47
+ set(libpcrecpp_CFLAGS_OTHERS "-DPCRE_STATIC")
48
+ set(libpcrecpp_LDFLAGS_OTHERS)
49
+ + endif()
50
+ endif()
51
+ endif()
52
+
53
+ diff --git a/cmake-modules/FindUriParser.cmake b/cmake-modules/FindUriParser.cmake
54
+ new file mode 100644
55
+ index 0000000..91f466b
56
+ --- /dev/null
57
+ +++ b/cmake-modules/FindUriParser.cmake
58
+ @@ -0,0 +1,35 @@
59
+ +# Find the UriParser library
60
+ +# Defines:
61
+ +
62
+ +# URIPARSER_INCLUDE_DIR - uriparser include directory
63
+ +# URIPARSER_LIBRARY - uriparser library file
64
+ +# URIPARSER_FOUND - TRUE if uriparser is found
65
+ +
66
+ +if (URIPARSER_INCLUDE_DIR)
67
+ + #check cache
68
+ + set(URIPARSER_FIND_QUIETLY TRUE)
69
+ +endif ()
70
+ +
71
+ +if (NOT URIPARSER_INCLUDE_DIR)
72
+ + find_path(URIPARSER_INCLUDE_DIR NAMES Uri.h PATH_SUFFIXES uriparser)
73
+ + set(URIPARSER_INCLUDE_DIR ${URIPARSER_INCLUDE_DIR}/uriparser CACHE PATH "uriparser includes")
74
+ +endif ()
75
+ +
76
+ +find_library(URIPARSER_LIBRARY NAMES uriparser)
77
+ +
78
+ +if (URIPARSER_INCLUDE_DIR AND URIPARSER_LIBRARY)
79
+ + set(URIPARSER_FOUND TRUE)
80
+ + set(UriParser_FOUND TRUE)
81
+ +endif ()
82
+ +
83
+ +if (URIPARSER_FOUND)
84
+ + if (NOT URIPARSER_FIND_QUIETLY)
85
+ + message(STATUS "Found UriParser library: ${URIPARSER_LIBRARY}")
86
+ + endif ()
87
+ +else ()
88
+ + if (NOT URIPARSER_FIND_QUIETLY)
89
+ + message(FATAL_ERROR "Could NOT find UriParser library")
90
+ + else ()
91
+ + message(STATUS "Could NOT find UriParser library")
92
+ + endif ()
93
+ +endif ()
94
+ diff --git a/dom/CMakeLists.txt b/dom/CMakeLists.txt
95
+ index f7ffb27..62e1b8a 100644
96
+ --- a/dom/CMakeLists.txt
97
+ +++ b/dom/CMakeLists.txt
98
+ @@ -1,6 +1,6 @@
99
+ set(COLLADA_INTERNAL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include)
100
+ include_directories(${COLLADA_INTERNAL_INCLUDE})
101
+ -set(COLLADA_LIBS minizip ${liburiparser_LIBRARIES} ${libpcrecpp_LIBRARIES} ${ZLIB_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
102
+ +set(COLLADA_LIBS minizip ${URIPARSER_LIBRARIES} ${libpcrecpp_LIBRARIES} ${ZLIB_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
103
+
104
+ file(GLOB dae_files ${CMAKE_CURRENT_SOURCE_DIR}/src/dae/*.cpp)
105
+ if( LIBXML2_FOUND )
106
+ @@ -13,7 +13,7 @@ file(GLOB stddatabase_files ${CMAKE_CURRENT_SOURCE_DIR}/src/modules/STLDatabase/
107
+ file(GLOB stderrplugin_files ${CMAKE_CURRENT_SOURCE_DIR}/src/modules/stdErrPlugin/*.cpp)
108
+
109
+ set(COLLADA_BASE_SOURCES ${dae_files} ${libxmlplugin_files} ${stddatabase_files} ${stderrplugin_files})
110
+ -set(COLLADA_COMPILE_FLAGS "${liburiparser_CFLAGS_OTHERS} ${libpcrecpp_CFLAGS_OTHERS} ${EXTRA_COMPILE_FLAGS} ${Boost_CFLAGS}")
111
+ +set(COLLADA_COMPILE_FLAGS "${URIPARSER_CFLAGS_OTHERS} ${libpcrecpp_CFLAGS_OTHERS} ${EXTRA_COMPILE_FLAGS} ${Boost_CFLAGS}")
112
+ # create dynamic libraries
113
+ set(COLLADA_COMPILE_FLAGS "${COLLADA_COMPILE_FLAGS} -DDOM_DYNAMIC -DDOM_EXPORT")
114
+
115
+ diff --git a/dom/src/dae/daeURI.cpp b/dom/src/dae/daeURI.cpp
116
+ index 3a8f815..1623753 100644
117
+ --- a/dom/src/dae/daeURI.cpp
118
+ +++ b/dom/src/dae/daeURI.cpp
119
+ @@ -790,7 +790,7 @@ bool cdom::parseUriRef(const string& uriRef,
120
+ scheme = fromRange(uri.scheme);
121
+ authority = fromRange(uri.hostText);
122
+ path = fromList(uri.pathHead, "/");
123
+ - if (uri.absolutePath != URI_TRUE and uri.hostText.first == NULL)
124
+ + if (uri.absolutePath != URI_TRUE && uri.hostText.first == NULL)
125
+ path = path.erase(0, 1);
126
+ query = fromRange(uri.query);
127
+ fragment = fromRange(uri.fragment);
cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/vcpkg.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "collada-dom",
3
+ "version": "2.5.0",
4
+ "port-version": 10,
5
+ "description": "The COLLADA Document Object Model (DOM) is an application programming interface (API) that provides a C++ object representation of a COLLADA XML instance document.",
6
+ "homepage": "https://github.com/rdiankov/collada-dom",
7
+ "license": null,
8
+ "dependencies": [
9
+ "boost-filesystem",
10
+ "boost-system",
11
+ "libxml2",
12
+ "minizip",
13
+ "uriparser",
14
+ {
15
+ "name": "vcpkg-cmake",
16
+ "host": true
17
+ },
18
+ {
19
+ "name": "vcpkg-cmake-config",
20
+ "host": true
21
+ },
22
+ "zlib"
23
+ ]
24
+ }
cc-multilingual-main/cc_net/vcpkg/ports/collada-dom/vs-version-detection.patch ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 2596a23..3ec1527 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -1,4 +1,4 @@
6
+ -cmake_minimum_required (VERSION 2.6.0)
7
+ +cmake_minimum_required (VERSION 3.7.0)
8
+ project (collada-dom)
9
+ set( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE )
10
+
11
+ @@ -89,14 +89,22 @@ string(TOUPPER ${COMPONENT_PREFIX} COMPONENT_PREFIX_UPPER)
12
+ set(CPACK_COMPONENTS_ALL ${COMPONENT_PREFIX}-base ${COMPONENT_PREFIX}-dev)
13
+
14
+ if( MSVC )
15
+ - if( MSVC70 OR MSVC71 )
16
+ - set(MSVC_PREFIX "vc70")
17
+ - elseif( MSVC80 )
18
+ - set(MSVC_PREFIX "vc80")
19
+ - elseif( MSVC90 )
20
+ + if( MSVC_VERSION GREATER_EQUAL 1910 )
21
+ + set(MSVC_PREFIX "vc140")
22
+ + elseif( MSVC_VERSION GREATER_EQUAL 1900 )
23
+ + set(MSVC_PREFIX "vc130")
24
+ + elseif( MSVC_VERSION GREATER_EQUAL 1800 )
25
+ + set(MSVC_PREFIX "vc120")
26
+ + elseif( MSVC_VERSION GREATER_EQUAL 1700 )
27
+ + set(MSVC_PREFIX "vc110")
28
+ + elseif( MSVC_VERSION GREATER_EQUAL 1600 )
29
+ + set(MSVC_PREFIX "vc100")
30
+ + elseif( MSVC_VERSION GREATER_EQUAL 1500 )
31
+ set(MSVC_PREFIX "vc90")
32
+ + elseif( MSVC_VERSION GREATER_EQUAL 1400 )
33
+ + set(MSVC_PREFIX "vc80")
34
+ else()
35
+ - set(MSVC_PREFIX "vc100")
36
+ + set(MSVC_PREFIX "vc70")
37
+ endif()
38
+ set(COLLADA_DOM_LIBRARY_SUFFIX "${COLLADA_DOM_SOVERSION}-${COLLADA_PRECISION}-${MSVC_PREFIX}-mt")
39
+ else()
cc-multilingual-main/cc_net/vcpkg/ports/dmlc/cxx-fix.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 46aa280..f66b286 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -59,6 +59,7 @@ if(USE_AZURE)
6
+ endif()
7
+
8
+ add_library(dmlc ${SOURCE})
9
+ +target_compile_features(dmlc PUBLIC cxx_std_${CMAKE_CXX_STANDARD})
10
+
11
+ # Sanitizer
12
+ if (DMLC_USE_SANITIZER)
cc-multilingual-main/cc_net/vcpkg/ports/dmlc/portfile.cmake ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO dmlc/dmlc-core
6
+ REF dfd9365264a060a5096734b7d892e1858b6d2722
7
+ SHA512 0dc2ecd3c981d88de27bf5184f7b380261335c474934d0db59028adfe75f6b3ee2da5b831135acfaad7943acb3eaa7007c0faf0f14e63b39865354898f64fcea
8
+ HEAD_REF main
9
+ PATCHES
10
+ cxx-fix.patch # from https://github.com/dmlc/dmlc-core/pull/676
11
+ )
12
+
13
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
14
+ FEATURES
15
+ openmp ENABLE_OPENMP
16
+ )
17
+
18
+ if(VCPKG_CRT_LINKAGE STREQUAL dynamic)
19
+ set(DMLC_FORCE_SHARED_CRT ON)
20
+ else()
21
+ set(DMLC_FORCE_SHARED_CRT OFF)
22
+ endif()
23
+
24
+ vcpkg_cmake_configure(
25
+ SOURCE_PATH "${SOURCE_PATH}"
26
+ DISABLE_PARALLEL_CONFIGURE
27
+ OPTIONS
28
+ -DDMLC_FORCE_SHARED_CRT=${DMLC_FORCE_SHARED_CRT}
29
+ -DUSE_OPENMP=${ENABLE_OPENMP}
30
+ )
31
+
32
+ vcpkg_cmake_install()
33
+
34
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
35
+
36
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/dmlc)
37
+
38
+ # Handle copyright
39
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/dmlc/vcpkg.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "dmlc",
3
+ "version-date": "2022-06-22",
4
+ "description": "DMLC-Core is the backbone library to support all DMLC projects, offers the bricks to build efficient and scalable distributed machine learning libraries.",
5
+ "homepage": "https://github.com/dmlc/dmlc-core",
6
+ "license": "Apache-2.0",
7
+ "supports": "!uwp",
8
+ "dependencies": [
9
+ {
10
+ "name": "vcpkg-cmake",
11
+ "host": true
12
+ },
13
+ {
14
+ "name": "vcpkg-cmake-config",
15
+ "host": true
16
+ }
17
+ ],
18
+ "features": {
19
+ "openmp": {
20
+ "description": "Build with openmp"
21
+ }
22
+ }
23
+ }
cc-multilingual-main/cc_net/vcpkg/ports/edlib/portfile.cmake ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO Martinsos/edlib
4
+ REF v1.2.7
5
+ SHA512 720C732C76D0D9ABE28ADCE9972B355864571A2E6CBD2C72C3B4A92E045A99E3A688153865586F7E8B6C90433E2EB1BB024AD0A6E9D4EB4B4D401A160D3F13CE
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ )
12
+
13
+ vcpkg_cmake_install()
14
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/edlib)
15
+
16
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
17
+
18
+ # Handle copyright
19
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
20
+
21
+ vcpkg_fixup_pkgconfig()
cc-multilingual-main/cc_net/vcpkg/ports/edlib/vcpkg.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "edlib",
3
+ "version": "1.2.7",
4
+ "port-version": 1,
5
+ "description": "Lightweight, super fast C/C++ (& Python) library for sequence alignment using edit (Levenshtein) distance.",
6
+ "homepage": "https://github.com/Martinsos/edlib",
7
+ "dependencies": [
8
+ {
9
+ "name": "vcpkg-cmake",
10
+ "host": true
11
+ },
12
+ {
13
+ "name": "vcpkg-cmake-config",
14
+ "host": true
15
+ }
16
+ ]
17
+ }
cc-multilingual-main/cc_net/vcpkg/ports/im3d/CMakeLists.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.8)
2
+ project(im3d)
3
+
4
+ set(CMAKE_CXX_STANDARD 11)
5
+
6
+ add_library(${PROJECT_NAME} "")
7
+
8
+ target_include_directories(
9
+ ${PROJECT_NAME}
10
+ PUBLIC
11
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
12
+ $<INSTALL_INTERFACE:include>
13
+ )
14
+
15
+ target_sources(
16
+ ${PROJECT_NAME}
17
+ PRIVATE
18
+ im3d.cpp
19
+ )
20
+
21
+ install(
22
+ TARGETS ${PROJECT_NAME}
23
+ EXPORT unofficial-${PROJECT_NAME}-target
24
+ ARCHIVE DESTINATION lib
25
+ ARCHIVE DESTINATION lib
26
+ RUNTIME DESTINATION bin
27
+ )
28
+
29
+ if (NOT IM3D_SKIP_HEADERS)
30
+ install(
31
+ FILES
32
+ im3d.h
33
+ im3d_config.h
34
+ im3d_math.h
35
+ DESTINATION include
36
+ )
37
+ endif()
38
+
39
+ install(
40
+ EXPORT unofficial-${PROJECT_NAME}-target
41
+ NAMESPACE unofficial::${PROJECT_NAME}::
42
+ FILE unofficial-${PROJECT_NAME}-config.cmake
43
+ DESTINATION share/unofficial-${PROJECT_NAME}
44
+ )
cc-multilingual-main/cc_net/vcpkg/ports/im3d/portfile.cmake ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO john-chapman/im3d
6
+ REF 651220df4d595ff3d7ac5c1a64b3355774e86bc8
7
+ SHA512 0a117bddcf2de51870367a0d6d2753d9b691466427c5942be448d9930fac41fd8502788d76162831686f50f880a6b0a7fad541a380598c830ff8f44670f29381
8
+ HEAD_REF master
9
+ )
10
+
11
+ file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
12
+
13
+ vcpkg_cmake_configure(
14
+ SOURCE_PATH "${SOURCE_PATH}"
15
+ OPTIONS_DEBUG
16
+ -DIM3D_SKIP_HEADERS=ON
17
+ )
18
+
19
+ vcpkg_cmake_install()
20
+
21
+ vcpkg_copy_pdbs()
22
+ vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-${PORT} CONFIG_PATH share/unofficial-${PORT})
23
+
24
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/im3d/vcpkg.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "im3d",
3
+ "version-date": "2022-10-11",
4
+ "description": "Immediate mode rendering and 3d gizmos",
5
+ "homepage": "https://github.com/john-chapman/im3d",
6
+ "license": "MIT",
7
+ "dependencies": [
8
+ {
9
+ "name": "vcpkg-cmake",
10
+ "host": true
11
+ },
12
+ {
13
+ "name": "vcpkg-cmake-config",
14
+ "host": true
15
+ }
16
+ ]
17
+ }
cc-multilingual-main/cc_net/vcpkg/ports/kf5textwidgets/portfile.cmake ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO KDE/ktextwidgets
4
+ REF v5.98.0
5
+ SHA512 d25167cf173daa55075ee0586b8db5c478fcc567d2b9466a7c833ffe8cfae21db936df8cbcfc06a82314568b4574b5826bc50bc24087a02bab56fb43fcdcd461
6
+ HEAD_REF master
7
+ )
8
+
9
+ # Prevent KDEClangFormat from writing to source effectively blocking parallel configure
10
+ file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
11
+
12
+ vcpkg_cmake_configure(
13
+ SOURCE_PATH "${SOURCE_PATH}"
14
+ OPTIONS
15
+ -DBUILD_TESTING=OFF
16
+ -DKDE_INSTALL_QTPLUGINDIR=plugins
17
+ )
18
+
19
+ vcpkg_cmake_install()
20
+ vcpkg_cmake_config_fixup(PACKAGE_NAME KF5TextWidgets CONFIG_PATH lib/cmake/KF5TextWidgets)
21
+ vcpkg_copy_pdbs()
22
+
23
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
24
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
25
+ endif()
26
+
27
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
28
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
29
+
30
+ file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
31
+ vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})
32
+
cc-multilingual-main/cc_net/vcpkg/ports/kf5textwidgets/vcpkg.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "kf5textwidgets",
3
+ "version": "5.98.0",
4
+ "description": "Text editing widgets",
5
+ "homepage": "https://api.kde.org/frameworks/ktextwidgets/html/index.html",
6
+ "dependencies": [
7
+ "ecm",
8
+ {
9
+ "name": "gettext",
10
+ "host": true,
11
+ "features": [
12
+ "tools"
13
+ ]
14
+ },
15
+ "kf5completion",
16
+ "kf5config",
17
+ "kf5configwidgets",
18
+ "kf5i18n",
19
+ "kf5sonnet",
20
+ "kf5widgetsaddons",
21
+ "qt5-base",
22
+ "qt5-tools",
23
+ {
24
+ "name": "vcpkg-cmake",
25
+ "host": true
26
+ },
27
+ {
28
+ "name": "vcpkg-cmake-config",
29
+ "host": true
30
+ }
31
+ ]
32
+ }
cc-multilingual-main/cc_net/vcpkg/ports/libebur128/portfile.cmake ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if((VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") AND VCPKG_TARGET_IS_WINDOWS)
2
+ message(FATAL_ERROR "${PORT} does not support Windows ARM")
3
+ endif()
4
+
5
+ vcpkg_from_github(
6
+ OUT_SOURCE_PATH SOURCE_PATH
7
+ REPO jiixyj/libebur128
8
+ REF v1.2.6
9
+ SHA512 ab188c6d32cd14613119258313a8a3fb1167b55501c9f5b6d3ba738d674bc58f24ac3034c23d9730ed8dc3e95a23619bfb81719e4c79807a9a16c1a5b3423582
10
+ )
11
+ vcpkg_cmake_configure(
12
+ SOURCE_PATH "${SOURCE_PATH}"
13
+ OPTIONS -DENABLE_INTERNAL_QUEUE_H=ON
14
+ )
15
+ vcpkg_cmake_install()
16
+ vcpkg_fixup_pkgconfig()
17
+
18
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
19
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/libebur128/vcpkg.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "libebur128",
3
+ "version": "1.2.6",
4
+ "port-version": 2,
5
+ "description": "A library implementing the EBU R128 audio loudness standard",
6
+ "homepage": "https://github.com/jiixyj/libebur128",
7
+ "license": "MIT",
8
+ "supports": "!(arm & windows)",
9
+ "dependencies": [
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ }
14
+ ]
15
+ }
cc-multilingual-main/cc_net/vcpkg/ports/libredwg/fix_arm64_build.patch ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index ec2ec1d..910f61c 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -16,6 +16,9 @@ if(MSVC)
6
+ else()
7
+ set(redwg redwg)
8
+ endif()
9
+ +if(MSVC AND CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
10
+ + add_compile_options(/Gy)
11
+ +endif()
12
+
13
+ if (EXISTS ".version")
14
+ file(READ .version NL_PACKAGE_VERSION)
cc-multilingual-main/cc_net/vcpkg/ports/libredwg/fix_install.patch ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index cbf9341..2e854f2 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -279,7 +279,8 @@ target_include_directories(${redwg} PRIVATE
6
+ ${CMAKE_CURRENT_SOURCE_DIR}/src
7
+ ${CMAKE_CURRENT_BINARY_DIR}/src)
8
+ target_include_directories(${redwg} PUBLIC
9
+ - ${CMAKE_CURRENT_SOURCE_DIR}/include)
10
+ + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
11
+ + $<INSTALL_INTERFACE:include>)
12
+
13
+ link_libraries(${redwg} ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
14
+
15
+ @@ -390,6 +391,7 @@ add_custom_target(
16
+ DEPENDS ${SRCS}
17
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
18
+
19
+ +if(0)
20
+ if(MSVC)
21
+ install(TARGETS ${redwg} RUNTIME PUBLIC_HEADER
22
+ DESTINATION libredwg-${PACKAGE_VERSION})
23
+ @@ -411,6 +413,22 @@ else()
24
+ endif()
25
+ endif()
26
+ install(TARGETS RUNTIME)
27
+ +endif()
28
+ +
29
+ +include(GNUInstallDirs)
30
+ +install(
31
+ + TARGETS ${redwg}
32
+ + EXPORT libredwg-core
33
+ + COMPONENT libredwg
34
+ + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
35
+ + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
36
+ + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
37
+ + PUBLIC_HEADER DESTINATION include/libredwg)
38
+ +if(NOT LIBREDWG_LIBONLY)
39
+ + install(TARGETS ${executables_TARGETS}
40
+ + DESTINATION "${CMAKE_INSTALL_BINDIR}")
41
+ +endif()
42
+ +install(EXPORT libredwg-core FILE unofficial-libredwg-config.cmake NAMESPACE unofficial::libredwg:: DESTINATION share/unofficial-libredwg)
43
+
44
+ if(WIN32)
45
+ add_custom_target(dist
cc-multilingual-main/cc_net/vcpkg/ports/libredwg/vcpkg.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "libredwg",
3
+ "version": "0.13.3",
4
+ "description": "GNU LibreDWG is a free C library to handle DWG files. It aims to be a free replacement for the OpenDWG libraries. DWG is the native file format of AutoCAD.",
5
+ "homepage": "https://www.gnu.org/software/libredwg/",
6
+ "license": "GPL-3.0",
7
+ "supports": "!xbox",
8
+ "dependencies": [
9
+ "jsmn",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ }
18
+ ],
19
+ "features": {
20
+ "tools": {
21
+ "description": "Build dwg/dxf manipulation command-line tools"
22
+ }
23
+ }
24
+ }
cc-multilingual-main/cc_net/vcpkg/ports/marisa-trie/vcpkg.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "marisa-trie",
3
+ "version": "0.2.6+20200926",
4
+ "port-version": 2,
5
+ "description": "Matching Algorithm with Recursively Implemented StorAge (MARISA) is a space-efficient trie data structure. This is a C++ library for an implementation of MARISA.",
6
+ "homepage": "https://github.com/s-yata/marisa-trie",
7
+ "license": "BSD-2-Clause OR LGPL-2.1-or-later",
8
+ "supports": "!windows | mingw | ((x86 | x64) & !staticcrt)"
9
+ }
cc-multilingual-main/cc_net/vcpkg/ports/mcpp/0001-fix-_POSIX_C_SOURCE.patch ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From d2625f80e08ff811a173ca3dbe76a0e004c26c65 Mon Sep 17 00:00:00 2001
2
+ From: Nicole Mazzuca <[email protected]>
3
+ Date: Tue, 22 Sep 2020 16:21:43 -0700
4
+ Subject: [PATCH] fix _POSIX_C_SOURCE
5
+
6
+ set it to correctly ask for 200112L, for readlink
7
+ ---
8
+ configed.H | 8 +-------
9
+ 1 file changed, 1 insertion(+), 7 deletions(-)
10
+
11
+ diff --git a/configed.H b/configed.H
12
+ index 2e01c15..250f441 100644
13
+ --- a/configed.H
14
+ +++ b/configed.H
15
+ @@ -189,19 +189,13 @@
16
+ #define _POSIX_ 1
17
+ #define _POSIX_SOURCE 1
18
+ #ifndef _POSIX_C_SOURCE
19
+ -#define _POSIX_C_SOURCE 1
20
+ +#define _POSIX_C_SOURCE 200112L
21
+ #define _POSIX_C_SOURCE_defined 1
22
+ #endif
23
+ #include "limits.h"
24
+ #ifdef _AIX
25
+ #include "sys/stat.h"
26
+ #endif
27
+ -#undef _POSIX_
28
+ -#undef _POSIX_SOURCE
29
+ -#ifdef _POSIX_C_SOURCE_defined
30
+ -#undef _POSIX_C_SOURCE
31
+ -#undef _POSIX_C_SOURCE_defined
32
+ -#endif
33
+ #define CHARBIT CHAR_BIT
34
+ #define UCHARMAX UCHAR_MAX
35
+ #define USHRTMAX USHRT_MAX
36
+ --
37
+ 2.24.3 (Apple Git-128)
38
+
cc-multilingual-main/cc_net/vcpkg/ports/mcpp/portfile.cmake ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO zeroc-ice/mcpp
4
+ REF e6abf9a561294b667bb931b80cf749c9be2d1a2f
5
+ SHA512 131b68401683bcfb947ac4969a59aa4c1683412c30f76c50e9e9c5c952a881b9950127db2ef22c96968d8c90d26bcdb5a90fb1b77d4dda7dee67bfe4a2676b35
6
+ HEAD_REF master
7
+ PATCHES
8
+ 0001-fix-_POSIX_C_SOURCE.patch
9
+ )
10
+
11
+ vcpkg_cmake_configure(
12
+ SOURCE_PATH "${SOURCE_PATH}"
13
+ )
14
+
15
+ vcpkg_cmake_install()
16
+
17
+ file(
18
+ INSTALL
19
+ "${SOURCE_PATH}/mcpp_lib.h"
20
+ "${SOURCE_PATH}/mcpp_out.h"
21
+ DESTINATION
22
+ "${CURRENT_PACKAGES_DIR}/include"
23
+ )
24
+
25
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
26
+
27
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/mcpp/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "mcpp",
3
+ "version": "2.7.2.14",
4
+ "port-version": 5,
5
+ "description": "Fork of mcpp, a C/C++ preprocessor",
6
+ "homepage": "https://github.com/zeroc-ice/mcpp",
7
+ "dependencies": [
8
+ {
9
+ "name": "vcpkg-cmake",
10
+ "host": true
11
+ }
12
+ ]
13
+ }
cc-multilingual-main/cc_net/vcpkg/ports/metis/build-fixes.patch ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index a15d19a..7210a61 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -1,9 +1,9 @@
6
+ -cmake_minimum_required(VERSION 2.8)
7
+ +cmake_minimum_required(VERSION 3.22)
8
+ project(METIS C)
9
+
10
+ set(SHARED FALSE CACHE BOOL "build a shared library")
11
+
12
+ -if(MSVC)
13
+ +if(0)
14
+ set(METIS_INSTALL FALSE)
15
+ else()
16
+ set(METIS_INSTALL TRUE)
17
+ @@ -34,19 +34,13 @@ include(./conf/gkbuild.cmake)
18
+ #
19
+ #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${METIS_COPTIONS}")
20
+
21
+ -
22
+ -# Add include directories.
23
+ -# i.e., the -I equivalent
24
+ -include_directories(build/xinclude)
25
+ -include_directories(${GKLIB_PATH}/include)
26
+ -include_directories(${CMAKE_INSTALL_PREFIX}/include)
27
+ -
28
+ -# List of paths that the compiler will search for library files.
29
+ -# i.e., the -L equivalent
30
+ -link_directories(${GKLIB_PATH}/lib)
31
+ -link_directories(${CMAKE_INSTALL_PREFIX}/lib)
32
+ -
33
+ # Recursively look for CMakeLists.txt in subdirs.
34
+ -add_subdirectory("build/xinclude")
35
+ +add_subdirectory("include")
36
+ add_subdirectory("libmetis")
37
+ -add_subdirectory("programs")
38
+ +
39
+ +install(EXPORT metisTargets FILE "metisTargets.cmake" DESTINATION "share/metis")
40
+ +file(WRITE "${CMAKE_INSTALL_PREFIX}/share/metis/metisConfig.cmake" [=[
41
+ +include(CMakeFindDependencyMacro)
42
+ +find_dependency(GKlib CONFIG)
43
+ +include("${CMAKE_CURRENT_LIST_DIR}/metisTargets.cmake")
44
+ +]=])
45
+ diff --git a/conf/gkbuild.cmake b/conf/gkbuild.cmake
46
+ index 96435e5..ff43f05 100644
47
+ --- a/conf/gkbuild.cmake
48
+ +++ b/conf/gkbuild.cmake
49
+ @@ -16,7 +16,6 @@ option(GKRAND "enable GKRAND support" OFF)
50
+
51
+ # Add compiler flags.
52
+ if(MSVC)
53
+ - set(GK_COPTS "/Ox")
54
+ set(GK_COPTIONS "-DWIN32 -DMSC -D_CRT_SECURE_NO_DEPRECATE -DUSE_GKREGEX")
55
+ elseif(MINGW)
56
+ set(GK_COPTS "-DUSE_GKREGEX")
57
+ @@ -38,7 +37,7 @@ endif(VALGRIND)
58
+ set(GK_COPTIONS "${GK_COPTIONS} -fPIC")
59
+ endif(NOT MINGW)
60
+ # GCC warnings.
61
+ - set(GK_COPTIONS "${GK_COPTIONS} -Werror -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label")
62
+ + set(GK_COPTIONS "${GK_COPTIONS} -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label")
63
+ elseif(${CMAKE_C_COMPILER_ID} MATCHES "Sun")
64
+ # Sun insists on -xc99.
65
+ set(GK_COPTIONS "${GK_COPTIONS} -xc99")
66
+ @@ -69,7 +68,7 @@ endif(OPENMP)
67
+ if(GDB)
68
+ set(GK_COPTS "${GK_COPTS} -g")
69
+ set(GK_COPTIONS "${GK_COPTIONS} -Werror")
70
+ -else()
71
+ +elseif(0)
72
+ set(GK_COPTS "-O3")
73
+ endif(GDB)
74
+
75
+ diff --git a/include/metis.h b/include/metis.h
76
+ index 7fef0e7..f8e5dcf 100644
77
+ --- a/include/metis.h
78
+ +++ b/include/metis.h
79
+ @@ -30,7 +30,7 @@
80
+ GCC does provides these definitions in stdint.h, but it may require some
81
+ modifications on other architectures.
82
+ --------------------------------------------------------------------------*/
83
+ -//#define IDXTYPEWIDTH 32
84
+ +#define IDXTYPEWIDTH 32
85
+
86
+
87
+ /*--------------------------------------------------------------------------
88
+ @@ -40,7 +40,7 @@
89
+ 32 : single precission floating point (float)
90
+ 64 : double precission floating point (double)
91
+ --------------------------------------------------------------------------*/
92
+ -//#define REALTYPEWIDTH 32
93
+ +#define REALTYPEWIDTH 32
94
+
95
+
96
+
97
+ @@ -72,10 +72,14 @@ typedef __int64 int64_t;
98
+ #define PRId64 "I64d"
99
+ #define SCNd32 "ld"
100
+ #define SCNd64 "I64d"
101
+ +#ifdef _WIN32
102
+ +#include <stdint.h>
103
+ +#else
104
+ #define INT32_MIN ((int32_t)_I32_MIN)
105
+ #define INT32_MAX _I32_MAX
106
+ #define INT64_MIN ((int64_t)_I64_MIN)
107
+ #define INT64_MAX _I64_MAX
108
+ +#endif // ^^^ !_WIN32
109
+ #else
110
+ #include <inttypes.h>
111
+ #endif
112
+ diff --git a/libmetis/CMakeLists.txt b/libmetis/CMakeLists.txt
113
+ index fc6cec6..8aeb89a 100644
114
+ --- a/libmetis/CMakeLists.txt
115
+ +++ b/libmetis/CMakeLists.txt
116
+ @@ -6,10 +6,9 @@ file(GLOB metis_sources *.c)
117
+
118
+ # Build libmetis.
119
+ add_library(metis ${METIS_LIBRARY_TYPE} ${metis_sources})
120
+ +find_package(GKlib CONFIG REQUIRED)
121
+ +target_link_libraries(metis PUBLIC GKlib)
122
+ +target_include_directories(metis PRIVATE "../include")
123
+
124
+ -if(METIS_INSTALL)
125
+ - install(TARGETS metis
126
+ - LIBRARY DESTINATION lib
127
+ - RUNTIME DESTINATION lib
128
+ - ARCHIVE DESTINATION lib)
129
+ -endif()
130
+ +install(TARGETS metis EXPORT metisTargets
131
+ + INCLUDES DESTINATION include)
132
+ diff --git a/libmetis/metislib.h b/libmetis/metislib.h
133
+ index dc224f4..1efccda 100644
134
+ --- a/libmetis/metislib.h
135
+ +++ b/libmetis/metislib.h
136
+ @@ -31,7 +31,7 @@
137
+ #include "proto.h"
138
+
139
+
140
+ -#if defined(COMPILER_MSC)
141
+ +#if defined(COMPILER_MSC) && (_MSC_VER < 1900)
142
+ #if defined(rint)
143
+ #undef rint
144
+ #endif
cc-multilingual-main/cc_net/vcpkg/ports/metis/portfile.cmake ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
4
+ REPO KarypisLab/METIS
5
+ REF 94c03a6e2d1860128c2d0675cbbb86ad4f261256
6
+ SHA512 9f24329fa0f0856d0b5d10a489574d857bc4538d9639055fc895363cf70aa37342eaf7bc08819500ff6d5b98a4aa99f4241880622b540d4c484ca19e693d3480
7
+ PATCHES
8
+ build-fixes.patch
9
+ )
10
+
11
+ vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
12
+ vcpkg_cmake_install()
13
+ vcpkg_copy_pdbs()
14
+ vcpkg_cmake_config_fixup()
15
+
16
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
17
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
18
+ file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" [=[
19
+ metis provides CMake targets:
20
+ find_package(metis CONFIG REQUIRED)
21
+ target_link_libraries(main PRIVATE metis)
22
+ ]=])
cc-multilingual-main/cc_net/vcpkg/ports/metis/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "metis",
3
+ "version-date": "2022-07-27",
4
+ "description": "Serial Graph Partitioning and Fill-reducing Matrix Ordering",
5
+ "homepage": "https://github.com/KarypisLab/METIS",
6
+ "license": "Apache-2.0",
7
+ "dependencies": [
8
+ "gklib",
9
+ {
10
+ "name": "vcpkg-cmake",
11
+ "host": true
12
+ },
13
+ {
14
+ "name": "vcpkg-cmake-config",
15
+ "host": true
16
+ }
17
+ ]
18
+ }
cc-multilingual-main/cc_net/vcpkg/ports/numcpp/portfile.cmake ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # header-only library
2
+ vcpkg_from_github(
3
+ OUT_SOURCE_PATH SOURCE_PATH
4
+ REPO dpilger26/NumCpp
5
+ REF "Version_${VERSION}"
6
+ SHA512 ab038f74d7aa4836de4da3f8613cbabf0c1205f40ee9bf3de9692e8a943b16846a006d5885e2ddb22f9b893256dc4761994ad70f0fb5e8cf14612bc08644b30d
7
+ HEAD_REF master
8
+ )
9
+
10
+ vcpkg_cmake_configure(
11
+ SOURCE_PATH "${SOURCE_PATH}"
12
+ )
13
+
14
+ vcpkg_cmake_install()
15
+
16
+ vcpkg_cmake_config_fixup(PACKAGE_NAME NumCpp CONFIG_PATH share/NumCpp/cmake)
17
+
18
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
19
+
20
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
cc-multilingual-main/cc_net/vcpkg/ports/numcpp/vcpkg.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "numcpp",
3
+ "version": "2.12.1",
4
+ "description": "C++ implementation of the Python Numpy library",
5
+ "homepage": "https://dpilger26.github.io/NumCpp",
6
+ "license": "MIT",
7
+ "dependencies": [
8
+ "boost",
9
+ "boost-algorithm",
10
+ "boost-date-time",
11
+ "boost-endian",
12
+ "boost-integer",
13
+ "boost-math",
14
+ "boost-predef",
15
+ "boost-random",
16
+ "boost-type-traits",
17
+ {
18
+ "name": "vcpkg-cmake",
19
+ "host": true
20
+ },
21
+ {
22
+ "name": "vcpkg-cmake-config",
23
+ "host": true
24
+ }
25
+ ],
26
+ "features": {
27
+ "python": {
28
+ "description": "Interacting with Python with pybind11 interface",
29
+ "dependencies": [
30
+ "boost-python",
31
+ "pybind11"
32
+ ]
33
+ }
34
+ }
35
+ }
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0003-force-package-requirements.patch ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/cmake/OpenCVFindLibsGrfmt.cmake
2
+ +++ b/cmake/OpenCVFindLibsGrfmt.cmake
3
+ @@ -6,7 +6,7 @@
4
+ if(BUILD_ZLIB)
5
+ ocv_clear_vars(ZLIB_FOUND)
6
+ else()
7
+ - include(FindZLIB)
8
+ + find_package(ZLIB REQUIRED)
9
+ if(ZLIB_FOUND AND ANDROID)
10
+ if(ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib/libz.so" OR
11
+ ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib64/libz.so")
12
+ @@ -32,7 +32,7 @@ if(WITH_TIFF)
13
+ if(BUILD_TIFF)
14
+ ocv_clear_vars(TIFF_FOUND)
15
+ else()
16
+ - include(FindTIFF)
17
+ + find_package(TIFF REQUIRED)
18
+ if(TIFF_FOUND)
19
+ ocv_parse_header("${TIFF_INCLUDE_DIR}/tiff.h" TIFF_VERSION_LINES TIFF_VERSION_CLASSIC TIFF_VERSION_BIG TIFF_VERSION TIFF_BIGTIFF_VERSION)
20
+ endif()
21
+ @@ -74,7 +74,7 @@ if(WITH_JPEG)
22
+ if(BUILD_JPEG)
23
+ ocv_clear_vars(JPEG_FOUND)
24
+ else()
25
+ - include(FindJPEG)
26
+ + find_package(JPEG REQUIRED)
27
+ endif()
28
+
29
+ if(NOT JPEG_FOUND)
30
+ @@ -95,7 +95,7 @@ if(WITH_JASPER)
31
+ if(BUILD_JASPER)
32
+ ocv_clear_vars(JASPER_FOUND)
33
+ else()
34
+ - include(FindJasper)
35
+ + find_package(Jasper REQUIRED)
36
+ endif()
37
+
38
+ if(NOT JASPER_FOUND)
39
+ @@ -119,7 +119,7 @@ if(WITH_PNG)
40
+ if(BUILD_PNG)
41
+ ocv_clear_vars(PNG_FOUND)
42
+ else()
43
+ - include(FindPNG)
44
+ + find_package(PNG REQUIRED)
45
+ if(PNG_FOUND)
46
+ include(CheckIncludeFile)
47
+ check_include_file("${PNG_PNG_INCLUDE_DIR}/libpng/png.h" HAVE_LIBPNG_PNG_H)
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0004-add-ffmpeg-missing-defines.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/modules/highgui/src/cap_ffmpeg_impl.hpp
2
+ +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp
3
+ @@ -42,6 +42,9 @@
4
+
5
+ #define HAVE_FFMPEG_SWSCALE
6
+ #define HAVE_GENTOO_FFMPEG
7
+ +#define AV_CODEC_FLAG_GLOBAL_HEADER (1 << 22)
8
+ +#define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
9
+ +#define AVFMT_RAWPICTURE 0x0020
10
+
11
+ #include "cap_ffmpeg_api.hpp"
12
+ #include <assert.h>
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0006-fix-jasper.patch ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/modules/highgui/src/grfmt_jpeg2000.cpp
2
+ +++ b/modules/highgui/src/grfmt_jpeg2000.cpp
3
+ @@ -377,7 +377,7 @@ bool Jpeg2KDecoder::readComponent8u( uchar *data, void *_buffer,
4
+
5
+ for( y = 0; y < yend - ystart; )
6
+ {
7
+ - jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 );
8
+ + jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 );
9
+ uchar* dst = data + (y - yoffset) * step - xoffset;
10
+
11
+ if( xstep == 1 )
12
+ @@ -443,7 +443,7 @@ bool Jpeg2KDecoder::readComponent16u( unsigned short *data, void *_buffer,
13
+
14
+ for( y = 0; y < yend - ystart; )
15
+ {
16
+ - jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 );
17
+ + jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 );
18
+ ushort* dst = data + (y - yoffset) * step - xoffset;
19
+
20
+ if( xstep == 1 )
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0007-fix-config.patch ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --- a/cmake/templates/OpenCVConfig.cmake.in
2
+ +++ b/cmake/templates/OpenCVConfig.cmake.in
3
+ @@ -97,7 +97,6 @@ set(OpenCV_USE_MANGLED_PATHS @OpenCV_USE_MANGLED_PATHS_CONFIGCMAKE@)
4
+ # Extract the directory where *this* file has been installed (determined at cmake run-time)
5
+ get_filename_component(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH CACHE)
6
+
7
+ -if(NOT WIN32 OR ANDROID)
8
+ if(ANDROID)
9
+ set(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../../..")
10
+ else()
11
+ @@ -109,7 +108,6 @@ if(NOT WIN32 OR ANDROID)
12
+ else()
13
+ get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_INSTALL_PATH}" REALPATH)
14
+ endif()
15
+ -endif()
16
+
17
+ # Presence of Android native camera wrappers
18
+ set(OpenCV_HAVE_ANDROID_CAMERA @HAVE_opencv_androidcamera@)
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0019-fix-openexr.patch ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/cmake/OpenCVFindLibsGrfmt.cmake b/cmake/OpenCVFindLibsGrfmt.cmake
2
+ index 9b43066..c1cc11f 100644
3
+ --- a/cmake/OpenCVFindLibsGrfmt.cmake
4
+ +++ b/cmake/OpenCVFindLibsGrfmt.cmake
5
+ @@ -151,7 +151,12 @@ if(WITH_OPENEXR)
6
+ if(BUILD_OPENEXR)
7
+ ocv_clear_vars(OPENEXR_FOUND)
8
+ else()
9
+ - include("${OpenCV_SOURCE_DIR}/cmake/OpenCVFindOpenEXR.cmake")
10
+ + find_package(Imath CONFIG REQUIRED)
11
+ + find_package(OpenEXR CONFIG REQUIRED)
12
+ + set(OPENEXR_LIBRARIES Imath::Imath OpenEXR::OpenEXR)
13
+ + set(OPENEXR_INCLUDE_PATHS "")
14
+ + set(OPENEXR_VERSION "${OpenEXR_VERSION}")
15
+ + set(OPENEXR_FOUND 1)
16
+ endif()
17
+
18
+ if(NOT OPENEXR_FOUND)
19
+ diff --git a/modules/highgui/src/grfmt_exr.cpp b/modules/highgui/src/grfmt_exr.cpp
20
+ index 399e586..b8cd270 100644
21
+ --- a/modules/highgui/src/grfmt_exr.cpp
22
+ +++ b/modules/highgui/src/grfmt_exr.cpp
23
+ @@ -57,6 +57,7 @@
24
+ #include <ImfOutputFile.h>
25
+ #include <ImfChannelList.h>
26
+ #include <ImfStandardAttributes.h>
27
+ +#include <ImfFrameBuffer.h>
28
+ #include <half.h>
29
+ #include "grfmt_exr.hpp"
30
+
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/0020-missing-include.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/modules/ts/src/gpu_test.cpp b/modules/ts/src/gpu_test.cpp
2
+ index 21d9ad9..a626b0b 100644
3
+ --- a/modules/ts/src/gpu_test.cpp
4
+ +++ b/modules/ts/src/gpu_test.cpp
5
+ @@ -42,6 +42,7 @@
6
+
7
+ #include "opencv2/ts/gpu_test.hpp"
8
+ #include <stdexcept>
9
+ +#include <functional>
10
+
11
+ using namespace cv;
12
+ using namespace cv::gpu;
cc-multilingual-main/cc_net/vcpkg/ports/opencv2/vcpkg.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "opencv2",
3
+ "version": "2.4.13.7",
4
+ "port-version": 19,
5
+ "description": "Open Source Computer Vision Library",
6
+ "homepage": "https://github.com/opencv/opencv",
7
+ "license": "BSD-3-Clause",
8
+ "supports": "!uwp & !(arm & windows)",
9
+ "dependencies": [
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ },
18
+ {
19
+ "name": "vcpkg-get-python-packages",
20
+ "host": true
21
+ },
22
+ "zlib"
23
+ ],
24
+ "default-features": [
25
+ "default-features"
26
+ ],
27
+ "features": {
28
+ "cuda": {
29
+ "description": "CUDA support for opencv",
30
+ "dependencies": [
31
+ "cuda"
32
+ ]
33
+ },
34
+ "dc1394": {
35
+ "description": "Dc1394 support for opencv",
36
+ "dependencies": [
37
+ "libdc1394"
38
+ ]
39
+ },
40
+ "default-features": {
41
+ "description": "Platform-dependent default features",
42
+ "dependencies": [
43
+ {
44
+ "name": "opencv2",
45
+ "default-features": false,
46
+ "features": [
47
+ "eigen",
48
+ "jpeg",
49
+ "png",
50
+ "tiff"
51
+ ]
52
+ },
53
+ {
54
+ "name": "opencv2",
55
+ "default-features": false,
56
+ "features": [
57
+ "gtk"
58
+ ],
59
+ "platform": "linux"
60
+ }
61
+ ]
62
+ },
63
+ "eigen": {
64
+ "description": "Eigen support for opencv",
65
+ "dependencies": [
66
+ "eigen3"
67
+ ]
68
+ },
69
+ "ffmpeg": {
70
+ "description": "ffmpeg support for opencv",
71
+ "dependencies": [
72
+ {
73
+ "name": "ffmpeg",
74
+ "default-features": false,
75
+ "features": [
76
+ "avcodec",
77
+ "avformat",
78
+ "swresample",
79
+ "swscale"
80
+ ]
81
+ }
82
+ ]
83
+ },
84
+ "gtk": {
85
+ "description": "GTK support for opencv",
86
+ "dependencies": [
87
+ "gtk"
88
+ ]
89
+ },
90
+ "jasper": {
91
+ "description": "JPEG 2000 support for opencv",
92
+ "dependencies": [
93
+ "jasper"
94
+ ]
95
+ },
96
+ "jpeg": {
97
+ "description": "JPEG support for opencv",
98
+ "dependencies": [
99
+ "libjpeg-turbo"
100
+ ]
101
+ },
102
+ "openexr": {
103
+ "description": "OpenEXR support for opencv",
104
+ "dependencies": [
105
+ "imath",
106
+ "openexr"
107
+ ]
108
+ },
109
+ "opengl": {
110
+ "description": "opengl support for opencv",
111
+ "dependencies": [
112
+ "opengl"
113
+ ]
114
+ },
115
+ "png": {
116
+ "description": "PNG support for opencv",
117
+ "dependencies": [
118
+ "libpng"
119
+ ]
120
+ },
121
+ "python": {
122
+ "description": "Python wrapper support for opencv"
123
+ },
124
+ "qt": {
125
+ "description": "Qt GUI support for opencv",
126
+ "dependencies": [
127
+ {
128
+ "name": "qt5-base",
129
+ "default-features": false
130
+ }
131
+ ]
132
+ },
133
+ "tiff": {
134
+ "description": "TIFF support for opencv",
135
+ "dependencies": [
136
+ "tiff"
137
+ ]
138
+ },
139
+ "world": {
140
+ "description": "Compile to a single package support for opencv"
141
+ }
142
+ }
143
+ }
cc-multilingual-main/cc_net/vcpkg/ports/qt5-connectivity/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
cc-multilingual-main/cc_net/vcpkg/ports/qt5-connectivity/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-connectivity",
3
+ "version": "5.15.13",
4
+ "port-version": 1,
5
+ "description": "The Qt Connectivity module provides access to Bluetooth and NFC hardware.",
6
+ "license": null,
7
+ "dependencies": [
8
+ {
9
+ "name": "qt5-base",
10
+ "default-features": false
11
+ }
12
+ ]
13
+ }
cc-multilingual-main/cc_net/vcpkg/ports/rang/portfile.cmake ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO agauniyal/rang
4
+ REF v3.2
5
+ SHA512 f579aaf3bddbfa2325dd31bdbe7c32598af8a340fee62c3a1e7ed1cf189af2808b7838a5fb13b3765279ddd1e7481f6229da72e72218a4916455cf3ae12b5a68
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ )
12
+
13
+ vcpkg_cmake_install()
14
+
15
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rang)
16
+ vcpkg_fixup_pkgconfig()
17
+
18
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
19
+
20
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
cc-multilingual-main/cc_net/vcpkg/ports/rang/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rang",
3
+ "version": "3.2",
4
+ "description": "Colors for your Terminal.",
5
+ "homepage": "https://github.com/agauniyal/rang",
6
+ "dependencies": [
7
+ {
8
+ "name": "vcpkg-cmake",
9
+ "host": true
10
+ },
11
+ {
12
+ "name": "vcpkg-cmake-config",
13
+ "host": true
14
+ }
15
+ ]
16
+ }
cc-multilingual-main/cc_net/vcpkg/ports/rsm-mmio/portfile.cmake ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+ vcpkg_from_github(
3
+ OUT_SOURCE_PATH SOURCE_PATH
4
+ REPO Ryan-rsm-McKenzie/mmio
5
+ REF 2.0.0
6
+ SHA512 a1b0d586c12708233c0379b16a9f60bab27f12cb414736ee245e37888622ac352e834a58808127087788f930311125e2b26e6dad156c72e68143f95910cda48f
7
+ HEAD_REF main
8
+ )
9
+
10
+ vcpkg_cmake_configure(
11
+ SOURCE_PATH "${SOURCE_PATH}"
12
+ OPTIONS
13
+ -DBUILD_TESTING=OFF
14
+ )
15
+ vcpkg_cmake_install()
16
+ vcpkg_cmake_config_fixup(
17
+ PACKAGE_NAME "mmio"
18
+ CONFIG_PATH "lib/cmake/mmio"
19
+ )
20
+
21
+ file(REMOVE_RECURSE
22
+ "${CURRENT_PACKAGES_DIR}/debug/include"
23
+ "${CURRENT_PACKAGES_DIR}/debug/share"
24
+ )
25
+
26
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)