Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- cc-multilingual-main/cc_net/vcpkg/ports/boost-geometry/portfile.cmake +12 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-geometry/vcpkg.json +134 -0
- cc-multilingual-main/cc_net/vcpkg/ports/cimg/CMakeLists.txt +24 -0
- cc-multilingual-main/cc_net/vcpkg/ports/cimg/portfile.cmake +22 -0
- cc-multilingual-main/cc_net/vcpkg/ports/cimg/vcpkg.json +12 -0
- cc-multilingual-main/cc_net/vcpkg/ports/co/portfile.cmake +1 -0
- cc-multilingual-main/cc_net/vcpkg/ports/co/vcpkg.json +11 -0
- cc-multilingual-main/cc_net/vcpkg/ports/coin-or-clp/dep.patch +31 -0
- cc-multilingual-main/cc_net/vcpkg/ports/coin-or-clp/portfile.cmake +39 -0
- cc-multilingual-main/cc_net/vcpkg/ports/coin-or-clp/vcpkg.json +10 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlibcurl.cmake +11 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlibmicrohttpd.cmake +32 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlibzmq.cmake +6 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlz4.cmake +17 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/Finduuid.cmake +35 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/fix-dependencies.patch +17 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/portfile.cmake +84 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/vcpkg-cmake-wrapper.cmake +9 -0
- cc-multilingual-main/cc_net/vcpkg/ports/czmq/vcpkg.json +55 -0
- cc-multilingual-main/cc_net/vcpkg/ports/hypre/portfile.cmake +38 -0
- cc-multilingual-main/cc_net/vcpkg/ports/hypre/vcpkg.json +20 -0
- cc-multilingual-main/cc_net/vcpkg/ports/icu/fix-extra.patch +13 -0
- cc-multilingual-main/cc_net/vcpkg/ports/icu/portfile.cmake +147 -0
- cc-multilingual-main/cc_net/vcpkg/ports/icu/vcpkg-cmake-wrapper.cmake +8 -0
- cc-multilingual-main/cc_net/vcpkg/ports/if97/portfile.cmake +13 -0
- cc-multilingual-main/cc_net/vcpkg/ports/if97/relax-encoding.diff +48 -0
- cc-multilingual-main/cc_net/vcpkg/ports/if97/vcpkg.json +8 -0
- cc-multilingual-main/cc_net/vcpkg/ports/imath/portfile.cmake +25 -0
- cc-multilingual-main/cc_net/vcpkg/ports/imath/vcpkg.json +17 -0
- cc-multilingual-main/cc_net/vcpkg/ports/jsonifier/portfile.cmake +19 -0
- cc-multilingual-main/cc_net/vcpkg/ports/jsonifier/uninstall-head.patch +13 -0
- cc-multilingual-main/cc_net/vcpkg/ports/jsonifier/vcpkg.json +14 -0
- cc-multilingual-main/cc_net/vcpkg/ports/lemon-parser-generator/CMakeLists.txt +5 -0
- cc-multilingual-main/cc_net/vcpkg/ports/lemon-parser-generator/portfile.cmake +23 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libgnutls/portfile.cmake +76 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch +20 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libgnutls/vcpkg.json +39 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/001_fix_win32_defs.patch +57 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/002_fix_msvc.patch +47 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch +19 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/004_fix_api.patch +20 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/exports.def +81 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/portfile.cmake +35 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/usage +4 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/vcpkg.json +18 -0
- cc-multilingual-main/cc_net/vcpkg/ports/mikktspace/CMakeLists.txt +41 -0
- cc-multilingual-main/cc_net/vcpkg/ports/mikktspace/portfile.cmake +22 -0
- cc-multilingual-main/cc_net/vcpkg/ports/mikktspace/vcpkg.json +17 -0
- cc-multilingual-main/cc_net/vcpkg/ports/openctm/portfile.cmake +21 -0
- cc-multilingual-main/cc_net/vcpkg/ports/tinkerforge/CMakeLists.txt +68 -0
cc-multilingual-main/cc_net/vcpkg/ports/boost-geometry/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/geometry
|
6 |
+
REF boost-${VERSION}
|
7 |
+
SHA512 ba2985853d1412163e477ffda7106668a5368f41df81f7c1c2b9f121a554d4c0b6b587b2080470cd16c192a31ccd74c36c10810a127a53b4977c9f320b6ba8c6
|
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-geometry/vcpkg.json
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
3 |
+
"name": "boost-geometry",
|
4 |
+
"version": "1.84.0",
|
5 |
+
"description": "Boost geometry module",
|
6 |
+
"homepage": "https://github.com/boostorg/geometry",
|
7 |
+
"license": "BSL-1.0",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "boost-algorithm",
|
11 |
+
"version>=": "1.84.0"
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "boost-any",
|
15 |
+
"version>=": "1.84.0"
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "boost-array",
|
19 |
+
"version>=": "1.84.0"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "boost-assert",
|
23 |
+
"version>=": "1.84.0"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"name": "boost-concept-check",
|
27 |
+
"version>=": "1.84.0"
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "boost-config",
|
31 |
+
"version>=": "1.84.0"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"name": "boost-container",
|
35 |
+
"version>=": "1.84.0"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "boost-core",
|
39 |
+
"version>=": "1.84.0"
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"name": "boost-function-types",
|
43 |
+
"version>=": "1.84.0"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"name": "boost-fusion",
|
47 |
+
"version>=": "1.84.0"
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"name": "boost-integer",
|
51 |
+
"version>=": "1.84.0"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"name": "boost-iterator",
|
55 |
+
"version>=": "1.84.0"
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"name": "boost-lexical-cast",
|
59 |
+
"version>=": "1.84.0"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"name": "boost-math",
|
63 |
+
"version>=": "1.84.0"
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"name": "boost-mpl",
|
67 |
+
"version>=": "1.84.0"
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"name": "boost-multiprecision",
|
71 |
+
"version>=": "1.84.0"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"name": "boost-numeric-conversion",
|
75 |
+
"version>=": "1.84.0"
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "boost-polygon",
|
79 |
+
"version>=": "1.84.0"
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"name": "boost-qvm",
|
83 |
+
"version>=": "1.84.0"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"name": "boost-range",
|
87 |
+
"version>=": "1.84.0"
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"name": "boost-rational",
|
91 |
+
"version>=": "1.84.0"
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"name": "boost-serialization",
|
95 |
+
"version>=": "1.84.0"
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"name": "boost-static-assert",
|
99 |
+
"version>=": "1.84.0"
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"name": "boost-thread",
|
103 |
+
"version>=": "1.84.0"
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"name": "boost-throw-exception",
|
107 |
+
"version>=": "1.84.0"
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"name": "boost-tokenizer",
|
111 |
+
"version>=": "1.84.0"
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"name": "boost-tuple",
|
115 |
+
"version>=": "1.84.0"
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"name": "boost-type-traits",
|
119 |
+
"version>=": "1.84.0"
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"name": "boost-variant",
|
123 |
+
"version>=": "1.84.0"
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"name": "boost-variant2",
|
127 |
+
"version>=": "1.84.0"
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"name": "boost-vcpkg-helpers",
|
131 |
+
"version>=": "1.84.0"
|
132 |
+
}
|
133 |
+
]
|
134 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/cimg/CMakeLists.txt
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
CMAKE_MINIMUM_REQUIRED(VERSION 3.9)
|
2 |
+
project(CImg)
|
3 |
+
|
4 |
+
add_library(${PROJECT_NAME} INTERFACE)
|
5 |
+
|
6 |
+
target_include_directories(${PROJECT_NAME} INTERFACE
|
7 |
+
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
|
8 |
+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
9 |
+
)
|
10 |
+
|
11 |
+
install(TARGETS ${PROJECT_NAME}
|
12 |
+
EXPORT CImgExport
|
13 |
+
INCLUDES DESTINATION include
|
14 |
+
)
|
15 |
+
|
16 |
+
install(EXPORT CImgExport FILE ${PROJECT_NAME}Config.cmake NAMESPACE ${PROJECT_NAME}:: DESTINATION share/cimg)
|
17 |
+
|
18 |
+
install(
|
19 |
+
FILES ${CMAKE_CURRENT_SOURCE_DIR}/CImg.h
|
20 |
+
DESTINATION include
|
21 |
+
)
|
22 |
+
|
23 |
+
install(
|
24 |
+
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/plugins DESTINATION include)
|
cc-multilingual-main/cc_net/vcpkg/ports/cimg/portfile.cmake
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_BUILD_TYPE release) # header-only
|
2 |
+
|
3 |
+
vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
|
4 |
+
REPO dtschump/CImg
|
5 |
+
REF "v.${VERSION}"
|
6 |
+
SHA512 c38910e8b93bcb65fbfd7fe11a036bae9f22e229d903cd044c26223473b02ec48ec46b3ad398e2cc02f25184e16a2e27a687f18479d3ae7edaee2bab69028ae9
|
7 |
+
HEAD_REF master
|
8 |
+
)
|
9 |
+
|
10 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
)
|
15 |
+
|
16 |
+
vcpkg_cmake_install()
|
17 |
+
|
18 |
+
vcpkg_install_copyright(
|
19 |
+
FILE_LIST
|
20 |
+
"${SOURCE_PATH}/Licence_CeCILL-C_V1-en.txt"
|
21 |
+
"${SOURCE_PATH}/Licence_CeCILL_V2-en.txt"
|
22 |
+
)
|
cc-multilingual-main/cc_net/vcpkg/ports/cimg/vcpkg.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "cimg",
|
3 |
+
"version": "3.3.2",
|
4 |
+
"description": "The CImg Library is a small, open-source, and modern C++ toolkit for image processing",
|
5 |
+
"homepage": "https://github.com/dtschump/CImg",
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "vcpkg-cmake",
|
9 |
+
"host": true
|
10 |
+
}
|
11 |
+
]
|
12 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/co/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
cc-multilingual-main/cc_net/vcpkg/ports/co/vcpkg.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "co",
|
3 |
+
"version-semver": "2.0.3",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "A go-style coroutine library in C++11 and more",
|
6 |
+
"homepage": "https://github.com/idealvin/cocoyaxi",
|
7 |
+
"supports": "!uwp & !(arm & windows)",
|
8 |
+
"dependencies": [
|
9 |
+
"cocoyaxi"
|
10 |
+
]
|
11 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/coin-or-clp/dep.patch
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/configure.ac b/configure.ac
|
2 |
+
index a3f2fb9c4..e6f53f26c 100644
|
3 |
+
--- a/configure.ac
|
4 |
+
+++ b/configure.ac
|
5 |
+
@@ -16,6 +16,8 @@ All Rights Reserved.
|
6 |
+
This file is part of the open source package Clp which is distributed
|
7 |
+
under the Eclipse Public License.])
|
8 |
+
|
9 |
+
+AC_CONFIG_MACRO_DIR([m4])
|
10 |
+
+
|
11 |
+
# List one file in the package so that the configure script can test
|
12 |
+
# whether the package is actually there.
|
13 |
+
AC_CONFIG_SRCDIR(src/ClpSimplex.cpp)
|
14 |
+
@@ -63,7 +63,7 @@ AC_COIN_CHK_PKG(Osi,[OsiClpLib OsiClpUnitTest])
|
15 |
+
AC_COIN_CHK_PKG(OsiTests,[OsiClpUnitTest],[osi-unittests])
|
16 |
+
AC_COIN_CHK_PKG(Sample,,[coindatasample],[],dataonly)
|
17 |
+
AC_COIN_CHK_PKG(Netlib,,[coindatanetlib],[],dataonly)
|
18 |
+
-AC_COIN_CHK_PKG(Glpk,[ClpLib],[coinglpk])
|
19 |
+
+AC_COIN_CHK_PKG(Glpk,[ClpLib],[glpk])
|
20 |
+
|
21 |
+
#############################################################################
|
22 |
+
# Aboca #
|
23 |
+
@@ -96,7 +96,7 @@ AC_COIN_CHK_LIBHDR(CHOLMOD,[ClpLib],[-lcholmod],[-I/usr/include/suitesparse],[],
|
24 |
+
# bothered to build it, we should use it. If it's not present, try for a
|
25 |
+
# system installation. If we find it, define CLP_HAS_MUMPS for export to code
|
26 |
+
# using clp.
|
27 |
+
-AC_COIN_CHK_PKG(MUMPS,[ClpLib],[coinmumps])
|
28 |
+
+AC_COIN_CHK_PKG(MUMPS,[ClpLib],[mumps])
|
29 |
+
if test $coin_has_mumps = no ; then
|
30 |
+
AC_COIN_CHK_LIBHDR(MUMPS,[ClpLib],[-ldmumps],[-I/usr/include/MUMPS],[],
|
31 |
+
[dmumps_c((DMUMPS_STRUC_C*)0)],
|
cc-multilingual-main/cc_net/vcpkg/ports/coin-or-clp/portfile.cmake
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO coin-or/Clp
|
4 |
+
REF 5315ef2e93f5f532a600e16ab604ac439a416e59
|
5 |
+
SHA512 78dc8f562e7c1bff3e86c81eda4eda9780a4075921bcdd2338191f37820699baee94eec86b6f63b1b27e5bca7346a2611d669a7cdf3e47e1c032b072ca10bdab
|
6 |
+
PATCHES dep.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-coinutils
|
18 |
+
--with-glpk
|
19 |
+
--with-osi
|
20 |
+
--without-ositests
|
21 |
+
--without-sample
|
22 |
+
--without-netlib
|
23 |
+
--without-amd
|
24 |
+
--without-cholmod
|
25 |
+
--without-mumps
|
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 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/coin-or/ClpModel.hpp" "\"glpk.h\"" "\"../glpk.h\"")
|
38 |
+
|
39 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/coin-or-clp/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "coin-or-clp",
|
3 |
+
"version-date": "2023-02-01",
|
4 |
+
"description": "Clp (Coin-or linear programming) is an open-source linear programming solver written in C++. It is primarily meant to be used as a callable library, but a basic, stand-alone executable version is also available.",
|
5 |
+
"license": "EPL-2.0",
|
6 |
+
"dependencies": [
|
7 |
+
"coin-or-osi",
|
8 |
+
"coinutils"
|
9 |
+
]
|
10 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlibcurl.cmake
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
find_package(CURL CONFIG QUIET)
|
2 |
+
|
3 |
+
if(CURL_FOUND)
|
4 |
+
set(LIBCURL_INCLUDE_DIRS ${CURL_INCLUDE_DIRS})
|
5 |
+
set(LIBCURL_LIBRARIES CURL::libcurl)
|
6 |
+
set(LIBCURL_FOUND TRUE)
|
7 |
+
message(STATUS "Found libcurl: ${LIBCURL_LIBRARIES}")
|
8 |
+
else()
|
9 |
+
set(LIBCURL_FOUND FALSE)
|
10 |
+
message(STATUS "Could not find libcurl")
|
11 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlibmicrohttpd.cmake
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
find_path(LIBMICROHTTPD_INCLUDE_DIR NAMES microhttpd.h)
|
2 |
+
|
3 |
+
get_filename_component(_prefix_path ${LIBMICROHTTPD_INCLUDE_DIR} PATH)
|
4 |
+
|
5 |
+
find_library(
|
6 |
+
LIBMICROHTTPD_LIBRARY_DEBUG
|
7 |
+
NAMES libmicrohttpd-dll_d libmicrohttpd microhttpd
|
8 |
+
PATHS ${_prefix_path}/debug/lib
|
9 |
+
NO_DEFAULT_PATH
|
10 |
+
)
|
11 |
+
|
12 |
+
find_library(
|
13 |
+
LIBMICROHTTPD_LIBRARY_RELEASE
|
14 |
+
NAMES libmicrohttpd-dll libmicrohttpd microhttpd
|
15 |
+
PATHS ${_prefix_path}/lib
|
16 |
+
NO_DEFAULT_PATH
|
17 |
+
)
|
18 |
+
|
19 |
+
unset(_prefix_path)
|
20 |
+
|
21 |
+
include(SelectLibraryConfigurations)
|
22 |
+
select_library_configurations(LIBMICROHTTPD)
|
23 |
+
|
24 |
+
include(FindPackageHandleStandardArgs)
|
25 |
+
find_package_handle_standard_args(
|
26 |
+
LIBMICROHTTPD
|
27 |
+
REQUIRED_VARS LIBMICROHTTPD_LIBRARY LIBMICROHTTPD_INCLUDE_DIR
|
28 |
+
)
|
29 |
+
|
30 |
+
if(LIBMICROHTTPD_FOUND)
|
31 |
+
set(LIBMICROHTTPD_INCLUDE_DIRS ${LIBMICROHTTPD_INCLUDE_DIR})
|
32 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlibzmq.cmake
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
find_package(ZeroMQ CONFIG REQUIRED)
|
2 |
+
|
3 |
+
set(LIBZMQ_INCLUDE_DIRS ${ZeroMQ_INCLUDE_DIR})
|
4 |
+
set(LIBZMQ_LIBRARIES libzmq libzmq-static)
|
5 |
+
set(LIBZMQ_FOUND TRUE)
|
6 |
+
message(STATUS "Found libzmq: ${LIBZMQ_LIBRARIES}")
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/Findlz4.cmake
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
|
2 |
+
|
3 |
+
find_library(LZ4_LIBRARY_DEBUG NAMES lz4d)
|
4 |
+
find_library(LZ4_LIBRARY_RELEASE NAMES lz4)
|
5 |
+
|
6 |
+
include(SelectLibraryConfigurations)
|
7 |
+
select_library_configurations(LZ4)
|
8 |
+
|
9 |
+
include(FindPackageHandleStandardArgs)
|
10 |
+
find_package_handle_standard_args(
|
11 |
+
LZ4
|
12 |
+
REQUIRED_VARS LZ4_LIBRARY LZ4_INCLUDE_DIR
|
13 |
+
)
|
14 |
+
|
15 |
+
if(LZ4_FOUND)
|
16 |
+
set(LZ4_INCLUDE_DIRS ${LZ4_INCLUDE_DIR})
|
17 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/Finduuid.cmake
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
find_path(
|
2 |
+
UUID_INCLUDE_DIR
|
3 |
+
NAMES uuid/uuid.h
|
4 |
+
)
|
5 |
+
|
6 |
+
get_filename_component(_prefix_path ${UUID_INCLUDE_DIR} PATH)
|
7 |
+
|
8 |
+
find_library(
|
9 |
+
UUID_LIBRARY_DEBUG
|
10 |
+
NAMES uuid
|
11 |
+
PATHS ${_prefix_path}/debug/lib
|
12 |
+
NO_DEFAULT_PATH
|
13 |
+
)
|
14 |
+
|
15 |
+
find_library(
|
16 |
+
UUID_LIBRARY_RELEASE
|
17 |
+
NAMES uuid
|
18 |
+
PATHS ${_prefix_path}/lib
|
19 |
+
NO_DEFAULT_PATH
|
20 |
+
)
|
21 |
+
|
22 |
+
unset(_prefix_path)
|
23 |
+
|
24 |
+
include(SelectLibraryConfigurations)
|
25 |
+
select_library_configurations(UUID)
|
26 |
+
|
27 |
+
include(FindPackageHandleStandardArgs)
|
28 |
+
find_package_handle_standard_args(
|
29 |
+
UUID
|
30 |
+
REQUIRED_VARS UUID_LIBRARY UUID_INCLUDE_DIR
|
31 |
+
)
|
32 |
+
|
33 |
+
if(UUID_FOUND)
|
34 |
+
set(UUID_INCLUDE_DIRS ${UUID_INCLUDE_DIR})
|
35 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/fix-dependencies.patch
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/builds/cmake/Config.cmake.in b/builds/cmake/Config.cmake.in
|
2 |
+
index 9c15f36a..5afff016 100644
|
3 |
+
--- a/builds/cmake/Config.cmake.in
|
4 |
+
+++ b/builds/cmake/Config.cmake.in
|
5 |
+
@@ -1,4 +1,12 @@
|
6 |
+
@PACKAGE_INIT@
|
7 |
+
|
8 |
+
+include(CMakeFindDependencyMacro)
|
9 |
+
+
|
10 |
+
+find_dependency(ZeroMQ)
|
11 |
+
+
|
12 |
+
+if ("@CZMQ_WITH_LIBCURL@" AND "@LIBCURL_FOUND@")
|
13 |
+
+ find_dependency(CURL)
|
14 |
+
+endif ()
|
15 |
+
+
|
16 |
+
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
|
17 |
+
check_required_components("@PROJECT_NAME@")
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/portfile.cmake
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO zeromq/czmq
|
4 |
+
REF "v${VERSION}"
|
5 |
+
SHA512 65a21f7bd5935b119e1b24ce3b2ce8462031ab7c9a4ba587bb99fe618c9f8cb672cfa202993ddd79e0fb0f154ada06560b79a1b4f762fcce8f88f2f450ecee01
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
fix-dependencies.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
foreach(_cmake_module
|
12 |
+
Findlibcurl.cmake
|
13 |
+
Findlibmicrohttpd.cmake
|
14 |
+
Findlibzmq.cmake
|
15 |
+
Findlz4.cmake
|
16 |
+
Finduuid.cmake
|
17 |
+
)
|
18 |
+
file(COPY
|
19 |
+
${CMAKE_CURRENT_LIST_DIR}/${_cmake_module}
|
20 |
+
DESTINATION ${SOURCE_PATH}
|
21 |
+
)
|
22 |
+
endforeach()
|
23 |
+
|
24 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
|
25 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
|
26 |
+
|
27 |
+
vcpkg_check_features(
|
28 |
+
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
29 |
+
FEATURES
|
30 |
+
draft ENABLE_DRAFTS
|
31 |
+
curl CZMQ_WITH_LIBCURL
|
32 |
+
httpd CZMQ_WITH_LIBMICROHTTPD
|
33 |
+
lz4 CZMQ_WITH_LZ4
|
34 |
+
uuid CZMQ_WITH_UUID
|
35 |
+
)
|
36 |
+
|
37 |
+
vcpkg_cmake_configure(
|
38 |
+
SOURCE_PATH ${SOURCE_PATH}
|
39 |
+
DISABLE_PARALLEL_CONFIGURE
|
40 |
+
OPTIONS
|
41 |
+
-DCZMQ_BUILD_SHARED=${BUILD_SHARED}
|
42 |
+
-DCZMQ_BUILD_STATIC=${BUILD_STATIC}
|
43 |
+
-DCZMQ_WITH_SYSTEMD=OFF
|
44 |
+
-DBUILD_TESTING=OFF
|
45 |
+
${FEATURE_OPTIONS}
|
46 |
+
)
|
47 |
+
|
48 |
+
vcpkg_cmake_install()
|
49 |
+
|
50 |
+
vcpkg_copy_pdbs()
|
51 |
+
|
52 |
+
if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
|
53 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH CMake)
|
54 |
+
endif()
|
55 |
+
if(EXISTS ${CURRENT_PACKAGES_DIR}/share/cmake/${PORT})
|
56 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/${PORT})
|
57 |
+
endif()
|
58 |
+
|
59 |
+
vcpkg_fixup_pkgconfig()
|
60 |
+
|
61 |
+
file(COPY
|
62 |
+
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake"
|
63 |
+
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
64 |
+
)
|
65 |
+
|
66 |
+
vcpkg_copy_tools(TOOL_NAMES zmakecert AUTO_CLEAN)
|
67 |
+
|
68 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
69 |
+
|
70 |
+
# Remove headers with "common" names that conflict with other packages which aren't intended to be installed
|
71 |
+
# See https://github.com/zeromq/czmq/issues/2197
|
72 |
+
foreach(FILE readme.txt sha1.h sha1.inc_c slre.h slre.inc_c zgossip_engine.inc zgossip_msg.h zhash_primes.inc zsock_option.inc)
|
73 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/${FILE}")
|
74 |
+
endforeach()
|
75 |
+
|
76 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
77 |
+
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/czmq_library.h
|
78 |
+
"if defined CZMQ_STATIC"
|
79 |
+
"if 1 //if defined CZMQ_STATIC"
|
80 |
+
)
|
81 |
+
endif()
|
82 |
+
|
83 |
+
# Handle copyright
|
84 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/vcpkg-cmake-wrapper.cmake
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
_find_package(${ARGS})
|
2 |
+
|
3 |
+
if(TARGET czmq AND NOT TARGET czmq-static)
|
4 |
+
add_library(czmq-static INTERFACE IMPORTED)
|
5 |
+
set_target_properties(czmq-static PROPERTIES INTERFACE_LINK_LIBRARIES czmq)
|
6 |
+
elseif(TARGET czmq-static AND NOT TARGET czmq)
|
7 |
+
add_library(czmq INTERFACE IMPORTED)
|
8 |
+
set_target_properties(czmq PROPERTIES INTERFACE_LINK_LIBRARIES czmq-static)
|
9 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/czmq/vcpkg.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "czmq",
|
3 |
+
"version-semver": "4.2.1",
|
4 |
+
"port-version": 4,
|
5 |
+
"description": "High-level C binding for ZeroMQ",
|
6 |
+
"homepage": "https://github.com/zeromq/czmq",
|
7 |
+
"license": "MPL-2.0",
|
8 |
+
"supports": "!xbox",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
},
|
18 |
+
"zeromq"
|
19 |
+
],
|
20 |
+
"features": {
|
21 |
+
"curl": {
|
22 |
+
"description": "Build with libcurl",
|
23 |
+
"dependencies": [
|
24 |
+
"curl"
|
25 |
+
]
|
26 |
+
},
|
27 |
+
"draft": {
|
28 |
+
"description": "Build and install draft APIs"
|
29 |
+
},
|
30 |
+
"httpd": {
|
31 |
+
"description": "Build with HTTP server support (libmicrohttpd)",
|
32 |
+
"dependencies": [
|
33 |
+
"libmicrohttpd"
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"lz4": {
|
37 |
+
"description": "Build with lz4",
|
38 |
+
"dependencies": [
|
39 |
+
"lz4"
|
40 |
+
]
|
41 |
+
},
|
42 |
+
"tool": {
|
43 |
+
"description": "Build and install czmq tools (zmakecert)"
|
44 |
+
},
|
45 |
+
"uuid": {
|
46 |
+
"description": "Build with libuuid",
|
47 |
+
"dependencies": [
|
48 |
+
{
|
49 |
+
"name": "libuuid",
|
50 |
+
"platform": "!windows & !uwp & !osx"
|
51 |
+
}
|
52 |
+
]
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/hypre/portfile.cmake
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
2 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO hypre-space/hypre
|
8 |
+
REF "v${VERSION}"
|
9 |
+
SHA512 fe92d09b56107845e3a4b7f0e7bbba5f319a7ebdaaecab3e6b89fae1fe2a79a9dd712806823ea518f5960f0eaa1088f6b82ebac63d3940478d36690f3adec4f2
|
10 |
+
HEAD_REF master
|
11 |
+
)
|
12 |
+
|
13 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" HYPRE_SHARED)
|
14 |
+
|
15 |
+
vcpkg_cmake_configure(
|
16 |
+
SOURCE_PATH "${SOURCE_PATH}/src"
|
17 |
+
DISABLE_PARALLEL_CONFIGURE # See 'Autogenerate csr_spgemm_device_numer$ files'
|
18 |
+
OPTIONS
|
19 |
+
-DHYPRE_SHARED=${HYPRE_SHARED}
|
20 |
+
-DHYPRE_ENABLE_HYPRE_BLAS=OFF
|
21 |
+
-DHYPRE_ENABLE_HYPRE_LAPACK=OFF
|
22 |
+
OPTIONS_RELEASE
|
23 |
+
-DHYPRE_BUILD_TYPE=Release
|
24 |
+
"-DHYPRE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}"
|
25 |
+
OPTIONS_DEBUG
|
26 |
+
-DHYPRE_BUILD_TYPE=Debug
|
27 |
+
"-DHYPRE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}/debug"
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_cmake_install()
|
31 |
+
vcpkg_copy_pdbs()
|
32 |
+
|
33 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/HYPRE)
|
34 |
+
|
35 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
36 |
+
|
37 |
+
# Handle copyright
|
38 |
+
file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/hypre/vcpkg.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "hypre",
|
3 |
+
"version": "2.29.0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Parallel solvers for sparse linear systems featuring multigrid methods",
|
6 |
+
"homepage": "https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods",
|
7 |
+
"dependencies": [
|
8 |
+
"blas",
|
9 |
+
"lapack",
|
10 |
+
"mpi",
|
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/icu/fix-extra.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --urN a/source/extra/Makefile.in b/source/extra/Makefile.in
|
2 |
+
--- a/source/extra/Makefile.in
|
3 |
+
+++ b/source/extra/Makefile.in
|
4 |
+
@@ -23,7 +23,7 @@
|
5 |
+
## Files to remove for 'make clean'
|
6 |
+
CLEANFILES = *~
|
7 |
+
|
8 |
+
-SUBDIRS = scrptrun uconv
|
9 |
+
+SUBDIRS = uconv
|
10 |
+
|
11 |
+
## List of phony targets
|
12 |
+
.PHONY : all all-local all-recursive install install-local \
|
13 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/icu/portfile.cmake
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
string(REGEX MATCH "^[0-9]*" ICU_VERSION_MAJOR "${VERSION}")
|
2 |
+
string(REPLACE "." "_" VERSION2 "${VERSION}")
|
3 |
+
string(REPLACE "." "-" VERSION3 "${VERSION}")
|
4 |
+
|
5 |
+
vcpkg_download_distfile(
|
6 |
+
ARCHIVE
|
7 |
+
URLS "https://github.com/unicode-org/icu/releases/download/release-${VERSION3}/icu4c-${VERSION2}-src.tgz"
|
8 |
+
FILENAME "icu4c-${VERSION2}-src.tgz"
|
9 |
+
SHA512 e6c7876c0f3d756f3a6969cad9a8909e535eeaac352f3a721338b9cbd56864bf7414469d29ec843462997815d2ca9d0dab06d38c37cdd4d8feb28ad04d8781b0
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_extract_source_archive(SOURCE_PATH
|
13 |
+
ARCHIVE "${ARCHIVE}"
|
14 |
+
PATCHES
|
15 |
+
disable-escapestr-tool.patch
|
16 |
+
remove-MD-from-configure.patch
|
17 |
+
fix_parallel_build_on_windows.patch
|
18 |
+
fix-extra.patch
|
19 |
+
mingw-dll-install.patch
|
20 |
+
disable-static-prefix.patch # https://gitlab.kitware.com/cmake/cmake/-/issues/16617; also mingw.
|
21 |
+
fix-win-build.patch
|
22 |
+
vcpkg-cross-data.patch
|
23 |
+
darwin-rpath.patch
|
24 |
+
)
|
25 |
+
|
26 |
+
vcpkg_find_acquire_program(PYTHON3)
|
27 |
+
set(ENV{PYTHON} "${PYTHON3}")
|
28 |
+
|
29 |
+
vcpkg_list(SET CONFIGURE_OPTIONS)
|
30 |
+
vcpkg_list(SET BUILD_OPTIONS)
|
31 |
+
|
32 |
+
if(VCPKG_TARGET_IS_EMSCRIPTEN)
|
33 |
+
vcpkg_list(APPEND CONFIGURE_OPTIONS --disable-extras)
|
34 |
+
vcpkg_list(APPEND BUILD_OPTIONS "PKGDATA_OPTS=--without-assembly -O ../data/icupkg.inc")
|
35 |
+
elseif(VCPKG_TARGET_IS_UWP)
|
36 |
+
vcpkg_list(APPEND CONFIGURE_OPTIONS --disable-extras ac_cv_func_tzset=no ac_cv_func__tzset=no)
|
37 |
+
string(APPEND VCPKG_C_FLAGS " -DU_PLATFORM_HAS_WINUWP_API=1")
|
38 |
+
string(APPEND VCPKG_CXX_FLAGS " -DU_PLATFORM_HAS_WINUWP_API=1")
|
39 |
+
vcpkg_list(APPEND BUILD_OPTIONS "PKGDATA_OPTS=--windows-uwp-build -O ../data/icupkg.inc")
|
40 |
+
elseif(VCPKG_TARGET_IS_OSX AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
41 |
+
vcpkg_list(APPEND CONFIGURE_OPTIONS --enable-rpath)
|
42 |
+
if(DEFINED CMAKE_INSTALL_NAME_DIR)
|
43 |
+
vcpkg_list(APPEND BUILD_OPTIONS "ID_PREFIX=${CMAKE_INSTALL_NAME_DIR}")
|
44 |
+
endif()
|
45 |
+
endif()
|
46 |
+
|
47 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
48 |
+
list(APPEND CONFIGURE_OPTIONS --enable-icu-build-win)
|
49 |
+
endif()
|
50 |
+
|
51 |
+
if("tools" IN_LIST FEATURES)
|
52 |
+
list(APPEND CONFIGURE_OPTIONS --enable-tools)
|
53 |
+
else()
|
54 |
+
list(APPEND CONFIGURE_OPTIONS --disable-tools)
|
55 |
+
endif()
|
56 |
+
if(CMAKE_HOST_WIN32 AND VCPKG_TARGET_IS_MINGW AND NOT HOST_TRIPLET MATCHES "mingw")
|
57 |
+
# Assuming no cross compiling because the host (windows) pkgdata tool doesn't
|
58 |
+
# use the '/' path separator when creating compiler commands for mingw bash.
|
59 |
+
elseif(VCPKG_CROSSCOMPILING)
|
60 |
+
set(TOOL_PATH "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}")
|
61 |
+
# convert to unix path
|
62 |
+
string(REGEX REPLACE "^([a-zA-Z]):/" "/\\1/" _VCPKG_TOOL_PATH "${TOOL_PATH}")
|
63 |
+
list(APPEND CONFIGURE_OPTIONS "--with-cross-build=${_VCPKG_TOOL_PATH}")
|
64 |
+
endif()
|
65 |
+
|
66 |
+
vcpkg_configure_make(
|
67 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
68 |
+
PROJECT_SUBPATH source
|
69 |
+
AUTOCONFIG
|
70 |
+
DETERMINE_BUILD_TRIPLET
|
71 |
+
ADDITIONAL_MSYS_PACKAGES autoconf-archive
|
72 |
+
OPTIONS
|
73 |
+
${CONFIGURE_OPTIONS}
|
74 |
+
--disable-samples
|
75 |
+
--disable-tests
|
76 |
+
--disable-layoutex
|
77 |
+
OPTIONS_RELEASE
|
78 |
+
--disable-debug
|
79 |
+
--enable-release
|
80 |
+
OPTIONS_DEBUG
|
81 |
+
--enable-debug
|
82 |
+
--disable-release
|
83 |
+
)
|
84 |
+
vcpkg_install_make(OPTIONS ${BUILD_OPTIONS})
|
85 |
+
|
86 |
+
file(REMOVE_RECURSE
|
87 |
+
"${CURRENT_PACKAGES_DIR}/share"
|
88 |
+
"${CURRENT_PACKAGES_DIR}/debug/share"
|
89 |
+
"${CURRENT_PACKAGES_DIR}/lib/icu"
|
90 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/icu"
|
91 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/icud")
|
92 |
+
|
93 |
+
file(GLOB TEST_LIBS
|
94 |
+
"${CURRENT_PACKAGES_DIR}/lib/*test*"
|
95 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/*test*")
|
96 |
+
if(TEST_LIBS)
|
97 |
+
file(REMOVE ${TEST_LIBS})
|
98 |
+
endif()
|
99 |
+
|
100 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
101 |
+
# force U_STATIC_IMPLEMENTATION macro
|
102 |
+
foreach(HEADER utypes.h utf_old.h platform.h)
|
103 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/unicode/${HEADER}" "defined(U_STATIC_IMPLEMENTATION)" "1")
|
104 |
+
endforeach()
|
105 |
+
endif()
|
106 |
+
|
107 |
+
# Install executables from /tools/icu/sbin to /tools/icu/bin on unix (/bin because icu require this for cross compiling)
|
108 |
+
if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX AND "tools" IN_LIST FEATURES)
|
109 |
+
vcpkg_copy_tools(
|
110 |
+
TOOL_NAMES icupkg gennorm2 gencmn genccode gensprep
|
111 |
+
SEARCH_DIR "${CURRENT_PACKAGES_DIR}/tools/icu/sbin"
|
112 |
+
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin"
|
113 |
+
)
|
114 |
+
endif()
|
115 |
+
|
116 |
+
file(REMOVE_RECURSE
|
117 |
+
"${CURRENT_PACKAGES_DIR}/tools/icu/sbin"
|
118 |
+
"${CURRENT_PACKAGES_DIR}/tools/icu/debug")
|
119 |
+
|
120 |
+
# To cross compile, we need some files at specific positions. So lets copy them
|
121 |
+
file(GLOB CROSS_COMPILE_DEFS "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config/icucross.*")
|
122 |
+
file(INSTALL ${CROSS_COMPILE_DEFS} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/config")
|
123 |
+
|
124 |
+
file(GLOB RELEASE_DLLS "${CURRENT_PACKAGES_DIR}/lib/*icu*${ICU_VERSION_MAJOR}.dll")
|
125 |
+
file(COPY ${RELEASE_DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
|
126 |
+
|
127 |
+
# copy dlls
|
128 |
+
file(GLOB RELEASE_DLLS "${CURRENT_PACKAGES_DIR}/lib/*icu*${ICU_VERSION_MAJOR}.dll")
|
129 |
+
file(COPY ${RELEASE_DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
|
130 |
+
if(NOT VCPKG_BUILD_TYPE)
|
131 |
+
file(GLOB DEBUG_DLLS "${CURRENT_PACKAGES_DIR}/debug/lib/*icu*${ICU_VERSION_MAJOR}.dll")
|
132 |
+
file(COPY ${DEBUG_DLLS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
|
133 |
+
endif()
|
134 |
+
|
135 |
+
# remove any remaining dlls in /lib
|
136 |
+
file(GLOB DUMMY_DLLS "${CURRENT_PACKAGES_DIR}/lib/*.dll" "${CURRENT_PACKAGES_DIR}/debug/lib/*.dll")
|
137 |
+
if(DUMMY_DLLS)
|
138 |
+
file(REMOVE ${DUMMY_DLLS})
|
139 |
+
endif()
|
140 |
+
|
141 |
+
vcpkg_copy_pdbs()
|
142 |
+
vcpkg_fixup_pkgconfig()
|
143 |
+
|
144 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/icu/bin/icu-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../")
|
145 |
+
|
146 |
+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
147 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
cc-multilingual-main/cc_net/vcpkg/ports/icu/vcpkg-cmake-wrapper.cmake
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_policy(PUSH)
|
2 |
+
cmake_policy(SET CMP0057 NEW)
|
3 |
+
if(NOT "COMPONENTS" IN_LIST ARGS)
|
4 |
+
_find_package(${ARGS} COMPONENTS data)
|
5 |
+
else()
|
6 |
+
_find_package(${ARGS})
|
7 |
+
endif()
|
8 |
+
cmake_policy(POP)
|
cc-multilingual-main/cc_net/vcpkg/ports/if97/portfile.cmake
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO CoolProp/IF97
|
4 |
+
REF v2.1.3
|
5 |
+
SHA512 b29a74f134d69b72ba4bb825b25f0631f2fb335500da5d9016c4e6e417d8c93a5b309e95770eb6a7b723948dd82a7b46d873a1fe4e3f3047a881603442d73eff
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
relax-encoding.diff
|
9 |
+
)
|
10 |
+
|
11 |
+
file(INSTALL "${SOURCE_PATH}/IF97.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
12 |
+
|
13 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
cc-multilingual-main/cc_net/vcpkg/ports/if97/relax-encoding.diff
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/IF97.h b/IF97.h
|
2 |
+
index 864f3a0..4e6cab5 100644
|
3 |
+
--- a/IF97.h
|
4 |
+
+++ b/IF97.h
|
5 |
+
@@ -52,7 +52,7 @@ namespace IF97
|
6 |
+
// IF97 Constants
|
7 |
+
const double Tcrit = 647.096; // K
|
8 |
+
const double Pcrit = 22.064*p_fact; // MPa*
|
9 |
+
- const double Rhocrit = 322.0; // kg/m³
|
10 |
+
+ const double Rhocrit = 322.0; // kg/m^3
|
11 |
+
const double Scrit = 4.41202148223476*R_fact; // kJ*/kg-K (needed for backward eqn. in Region 3(a)(b)
|
12 |
+
const double Ttrip = 273.16; // K
|
13 |
+
const double Ptrip = 0.000611656*p_fact; // MPa*
|
14 |
+
@@ -2394,7 +2394,7 @@ namespace IF97
|
15 |
+
// The equation is rearranged to solve for rho and turned
|
16 |
+
// into functions f(T,P,rho0) and f'(T,P,rho0) for the
|
17 |
+
// Newton-Raphson technique. Functions for
|
18 |
+
- // dphi/ddelta and d²phi/ddelta² were also required. These
|
19 |
+
+ // dphi/ddelta and d^2phi/ddelta^2 were also required. These
|
20 |
+
// additional Taylor functions are defined above.
|
21 |
+
//
|
22 |
+
double f(double T, double p, double rho0) const{
|
23 |
+
@@ -4172,7 +4172,7 @@ namespace IF97
|
24 |
+
return RegionOutput( IF97_HMASS,RegionOutputBackward(Pmax,s,IF97_SMASS),Pmax, NONE);
|
25 |
+
else {
|
26 |
+
// Determining H(s) along Tmax is difficult because there is no direct p(T,s) formulation.
|
27 |
+
- // This linear combination fit h(s)=a*ln(s)+b/s+c/s²+d is not perfect, but it's close
|
28 |
+
+ // This linear combination fit h(s)=a*ln(s)+b/s+c/s^2+d is not perfect, but it's close
|
29 |
+
// and can serve as a limit along that Tmax boundary. Coefficients in HTmaxdata above.
|
30 |
+
// There is a better way to do this using Newton-Raphson on Tmax = T(p,s), but it is iterative and slow.
|
31 |
+
double ETA = Hmax_n[0]*log(sigma) + Hmax_n[1]/sigma + Hmax_n[2]/pow(sigma,2) +Hmax_n[3];
|
32 |
+
@@ -4323,14 +4323,14 @@ namespace IF97
|
33 |
+
inline double cvmass_Tp(double T, double p){ return RegionOutput( IF97_CVMASS, T, p, NONE); };
|
34 |
+
/// Get the speed of sound [m/s] as a function of T [K] and p [Pa]
|
35 |
+
inline double speed_sound_Tp(double T, double p){ return RegionOutput( IF97_W, T, p, NONE); };
|
36 |
+
- /// Get the [d(rho)/d(p)]T [kg/m³/Pa] as a function of T [K] and p [Pa]
|
37 |
+
+ /// Get the [d(rho)/d(p)]T [kg/m^3/Pa] as a function of T [K] and p [Pa]
|
38 |
+
inline double drhodp_Tp(double T, double p){ return RegionOutput( IF97_DRHODP, T, p, NONE); };
|
39 |
+
|
40 |
+
// ******************************************************************************** //
|
41 |
+
// Transport Properties //
|
42 |
+
// ******************************************************************************** //
|
43 |
+
|
44 |
+
- /// Get the viscosity [Pa-s] as a function of T [K] and Rho [kg/m³]
|
45 |
+
+ /// Get the viscosity [Pa-s] as a function of T [K] and Rho [kg/m^3]
|
46 |
+
inline double visc_TRho(double T, double rho) {
|
47 |
+
// Since we have density, we don't need to determine the region for viscosity.
|
48 |
+
static Region1 R1; // All regions use base region equations for visc(T,rho).
|
cc-multilingual-main/cc_net/vcpkg/ports/if97/vcpkg.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "if97",
|
3 |
+
"version": "2.1.3",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "This repository implements the IF97 formulation for the properties of pure water substance.",
|
6 |
+
"homepage": "https://github.com/CoolProp/IF97",
|
7 |
+
"license": "MIT"
|
8 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/imath/portfile.cmake
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO AcademySoftwareFoundation/Imath
|
4 |
+
REF "v${VERSION}"
|
5 |
+
SHA512 0bc86bea3a2aca89d02b501b4fba3c13ca861e914cec558e820fe9e4c43ab14cac34e31ff278b8c35b5fe76f7bea32f2c8105c0d33eb92224eb23d42d7a402e9
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_cmake_configure(
|
10 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
11 |
+
OPTIONS
|
12 |
+
-DIMATH_INSTALL_SYM_LINK=OFF
|
13 |
+
-DBUILD_TESTING=OFF
|
14 |
+
-DIMATH_INSTALL_PKG_CONFIG=ON
|
15 |
+
)
|
16 |
+
|
17 |
+
vcpkg_cmake_install()
|
18 |
+
|
19 |
+
vcpkg_copy_pdbs()
|
20 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Imath)
|
21 |
+
vcpkg_fixup_pkgconfig()
|
22 |
+
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
24 |
+
|
25 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/imath/vcpkg.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "imath",
|
3 |
+
"version": "3.1.11",
|
4 |
+
"description": "Imath is a C++ and Python library of 2D and 3D vector, matrix, and math operations for computer graphics.",
|
5 |
+
"homepage": "https://github.com/AcademySoftwareFoundation/Imath",
|
6 |
+
"license": "BSD-3-Clause",
|
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/jsonifier/portfile.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO realtimechris/jsonifier
|
4 |
+
REF "v${VERSION}"
|
5 |
+
SHA512 a6907f01e76af23dde6a22758ff48eea647b24a1b0f39205fdc8d2808c66e691f8e2e682f0296dbab2d3a4b8d7a4ae18a011b4fa411d210108a3b88495e336be
|
6 |
+
HEAD_REF main
|
7 |
+
PATCHES
|
8 |
+
uninstall-head.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
set(VCPKG_BUILD_TYPE release) # header-only
|
12 |
+
|
13 |
+
vcpkg_cmake_configure(
|
14 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
15 |
+
)
|
16 |
+
|
17 |
+
vcpkg_cmake_install()
|
18 |
+
|
19 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.md")
|
cc-multilingual-main/cc_net/vcpkg/ports/jsonifier/uninstall-head.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index fc4ed65..23a9738 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -63,7 +63,7 @@ set_target_properties(
|
6 |
+
OUTPUT_NAME "jsonifier"
|
7 |
+
CXX_STANDARD_REQUIRED ON
|
8 |
+
CXX_EXTENSIONS OFF
|
9 |
+
- PUBLIC_HEADER "${HEADERS}"
|
10 |
+
+ #PUBLIC_HEADER "${HEADERS}"
|
11 |
+
)
|
12 |
+
|
13 |
+
target_include_directories(
|
cc-multilingual-main/cc_net/vcpkg/ports/jsonifier/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "jsonifier",
|
3 |
+
"version": "0.9.94",
|
4 |
+
"description": "A few classes for parsing and serializing json - very rapidly.",
|
5 |
+
"homepage": "https://github.com/realtimechris/jsonifier",
|
6 |
+
"license": "MIT",
|
7 |
+
"supports": "(windows & x64 & !xbox) | (linux & x64) | (osx & x64)",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
}
|
13 |
+
]
|
14 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/lemon-parser-generator/CMakeLists.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
project(lemon-parser-generator C)
|
2 |
+
add_executable(lemon lemon.c)
|
3 |
+
install(TARGETS lemon
|
4 |
+
RUNTIME DESTINATION tools/lemon
|
5 |
+
)
|
cc-multilingual-main/cc_net/vcpkg/ports/lemon-parser-generator/portfile.cmake
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
2 |
+
set(VCPKG_BUILD_TYPE release)
|
3 |
+
set(SQLITE_VERSION "3.39.3")
|
4 |
+
|
5 |
+
vcpkg_download_distfile(SOURCE_FILE
|
6 |
+
URLS "https://github.com/sqlite/sqlite/raw/version-${SQLITE_VERSION}/tool/lemon.c"
|
7 |
+
FILENAME "lemon.c"
|
8 |
+
SHA512 "e9cca77d45a3be55fc958be69a30730dcbd39ba5c85c4c6c6c9eb6988c5cae9d14607be214ce57c11c73a6ffd4005784fb4d046d78f50e348ffa7ea6392ee03a"
|
9 |
+
)
|
10 |
+
|
11 |
+
get_filename_component(SOURCE_PATH "${SOURCE_FILE}" DIRECTORY)
|
12 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
13 |
+
|
14 |
+
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
15 |
+
vcpkg_cmake_install()
|
16 |
+
|
17 |
+
vcpkg_download_distfile(LEMPAR
|
18 |
+
URLS "https://github.com/sqlite/sqlite/raw/version-${SQLITE_VERSION}/tool/lempar.c"
|
19 |
+
FILENAME "lempar.c"
|
20 |
+
SHA512 "45ef60bbfef54f6583d6f9a854aaa72c5538e791b09ad15f4094a96905974277f964f471dcd5775e76b685b54415897a32a40c09f913f61cf91b99eb2e5ff5f0"
|
21 |
+
)
|
22 |
+
|
23 |
+
file(COPY "${LEMPAR}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/lemon")
|
cc-multilingual-main/cc_net/vcpkg/ports/libgnutls/portfile.cmake
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
string(REGEX REPLACE "^([0-9]*[.][0-9]*)[.].*" "\\1" GNUTLS_BRANCH "${VERSION}")
|
2 |
+
vcpkg_download_distfile(tarball
|
3 |
+
URLS
|
4 |
+
"https://gnupg.org/ftp/gcrypt/gnutls/v${GNUTLS_BRANCH}/gnutls-${VERSION}.tar.xz"
|
5 |
+
"https://mirrors.dotsrc.org/gcrypt/gnutls/v${GNUTLS_BRANCH}/gnutls-${VERSION}.tar.xz"
|
6 |
+
"https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v${GNUTLS_BRANCH}/gnutls-${VERSION}.tar.xz"
|
7 |
+
FILENAME "gnutls-${VERSION}.tar.xz"
|
8 |
+
SHA512 74eddba01ce4c2ffdca781c85db3bb52c85f1db3c09813ee2b8ceea0608f92ca3912fd9266f55deb36a8ba4d01802895ca5d5d219e7d9caec45e1a8534e45a84
|
9 |
+
)
|
10 |
+
vcpkg_extract_source_archive(SOURCE_PATH
|
11 |
+
ARCHIVE "${tarball}"
|
12 |
+
SOURCE_BASE "v${VERSION}"
|
13 |
+
PATCHES
|
14 |
+
use-gmp-pkgconfig.patch
|
15 |
+
)
|
16 |
+
|
17 |
+
vcpkg_list(SET options)
|
18 |
+
|
19 |
+
if("nls" IN_LIST FEATURES)
|
20 |
+
vcpkg_list(APPEND options "--enable-nls")
|
21 |
+
else()
|
22 |
+
set(ENV{AUTOPOINT} true) # true, the program
|
23 |
+
vcpkg_list(APPEND options "--disable-nls")
|
24 |
+
endif()
|
25 |
+
if ("openssl" IN_LIST FEATURES)
|
26 |
+
vcpkg_list(APPEND options "--enable-openssl-compatibility")
|
27 |
+
endif()
|
28 |
+
|
29 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
30 |
+
vcpkg_list(APPEND options "LIBS=\$LIBS -liconv -lcharset") # for libunistring
|
31 |
+
endif()
|
32 |
+
|
33 |
+
if(VCPKG_CROSSCOMPILING)
|
34 |
+
vcpkg_cmake_get_vars(cmake_vars_file)
|
35 |
+
include("${cmake_vars_file}")
|
36 |
+
set(ccas "${VCPKG_DETECTED_CMAKE_C_COMPILER}")
|
37 |
+
cmake_path(GET ccas PARENT_PATH ccas_dir)
|
38 |
+
vcpkg_add_to_path("${ccas_dir}")
|
39 |
+
cmake_path(GET ccas FILENAME ccas_command)
|
40 |
+
vcpkg_list(APPEND options "CCAS=${ccas_command}")
|
41 |
+
endif()
|
42 |
+
|
43 |
+
set(ENV{GTKDOCIZE} true) # true, the program
|
44 |
+
vcpkg_configure_make(
|
45 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
46 |
+
AUTOCONFIG
|
47 |
+
OPTIONS
|
48 |
+
--disable-dependency-tracking
|
49 |
+
--disable-doc
|
50 |
+
--disable-guile
|
51 |
+
--disable-libdane
|
52 |
+
--disable-maintainer-mode
|
53 |
+
--disable-rpath
|
54 |
+
--disable-tests
|
55 |
+
--with-brotli=no
|
56 |
+
--with-p11-kit=no
|
57 |
+
--with-tpm=no
|
58 |
+
--with-tpm2=no
|
59 |
+
--with-zstd=no
|
60 |
+
${options}
|
61 |
+
YACC=false # false, the program - not used here
|
62 |
+
OPTIONS_DEBUG
|
63 |
+
--disable-tools
|
64 |
+
)
|
65 |
+
vcpkg_install_make()
|
66 |
+
vcpkg_fixup_pkgconfig()
|
67 |
+
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
|
68 |
+
|
69 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
70 |
+
|
71 |
+
vcpkg_install_copyright(
|
72 |
+
FILE_LIST
|
73 |
+
"${SOURCE_PATH}/LICENSE"
|
74 |
+
"${SOURCE_PATH}/doc/COPYING"
|
75 |
+
"${SOURCE_PATH}/doc/COPYING.LESSER"
|
76 |
+
)
|
cc-multilingual-main/cc_net/vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/m4/hooks.m4 b/m4/hooks.m4
|
2 |
+
index e1248c7..4656c3a 100644
|
3 |
+
--- a/m4/hooks.m4
|
4 |
+
+++ b/m4/hooks.m4
|
5 |
+
@@ -91,13 +91,14 @@ AC_MSG_ERROR([[
|
6 |
+
mini_nettle=$withval,
|
7 |
+
mini_nettle=no)
|
8 |
+
|
9 |
+
+ PKG_CHECK_MODULES(GMP, [gmp], [], [AC_MSG_ERROR([[gmp is required]])])
|
10 |
+
AC_ARG_VAR(GMP_CFLAGS, [C compiler flags for gmp])
|
11 |
+
AC_ARG_VAR(GMP_LIBS, [linker flags for gmp])
|
12 |
+
if test "$mini_nettle" != no;then
|
13 |
+
GMP_CFLAGS=""
|
14 |
+
GMP_LIBS=""
|
15 |
+
else
|
16 |
+
- if test x$GMP_LIBS = x; then
|
17 |
+
+ if test "x$GMP_LIBS" = "x"; then
|
18 |
+
AC_CHECK_LIB(gmp, __gmpz_cmp, [GMP_LIBS="-lgmp"], [AC_MSG_ERROR([[
|
19 |
+
***
|
20 |
+
*** gmp was not found.
|
cc-multilingual-main/cc_net/vcpkg/ports/libgnutls/vcpkg.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libgnutls",
|
3 |
+
"version": "3.8.3",
|
4 |
+
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols.",
|
5 |
+
"homepage": "https://www.gnutls.org/",
|
6 |
+
"license": null,
|
7 |
+
"supports": "!windows | mingw",
|
8 |
+
"dependencies": [
|
9 |
+
"gmp",
|
10 |
+
"libidn2",
|
11 |
+
"libtasn1",
|
12 |
+
"libunistring",
|
13 |
+
"nettle",
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-get-vars",
|
16 |
+
"host": true,
|
17 |
+
"platform": "!native"
|
18 |
+
},
|
19 |
+
"zlib"
|
20 |
+
],
|
21 |
+
"features": {
|
22 |
+
"nls": {
|
23 |
+
"description": "Enable native language support.",
|
24 |
+
"dependencies": [
|
25 |
+
{
|
26 |
+
"name": "gettext",
|
27 |
+
"host": true,
|
28 |
+
"features": [
|
29 |
+
"tools"
|
30 |
+
]
|
31 |
+
},
|
32 |
+
"gettext-libintl"
|
33 |
+
]
|
34 |
+
},
|
35 |
+
"openssl": {
|
36 |
+
"description": "Enable the OpenSSL compatibility library."
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/001_fix_win32_defs.patch
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/include/libimobiledevice-glue/socket.h b/include/libimobiledevice-glue/socket.h
|
2 |
+
index 53f58b8..f3cc6c6 100644
|
3 |
+
--- a/include/libimobiledevice-glue/socket.h
|
4 |
+
+++ b/include/libimobiledevice-glue/socket.h
|
5 |
+
@@ -32,7 +32,7 @@ enum fd_mode {
|
6 |
+
};
|
7 |
+
typedef enum fd_mode fd_mode;
|
8 |
+
|
9 |
+
-#ifdef WIN32
|
10 |
+
+#ifdef _WIN32
|
11 |
+
#include <winsock2.h>
|
12 |
+
#define SHUT_RD SD_READ
|
13 |
+
#define SHUT_WR SD_WRITE
|
14 |
+
@@ -41,7 +41,7 @@ typedef enum fd_mode fd_mode;
|
15 |
+
#include <sys/socket.h>
|
16 |
+
#endif
|
17 |
+
|
18 |
+
-#ifndef WIN32
|
19 |
+
+#ifndef _WIN32
|
20 |
+
int socket_create_unix(const char *filename);
|
21 |
+
int socket_connect_unix(const char *filename);
|
22 |
+
#endif
|
23 |
+
diff --git a/include/libimobiledevice-glue/thread.h b/include/libimobiledevice-glue/thread.h
|
24 |
+
index 2aadc6e..b5c2ac1 100644
|
25 |
+
--- a/include/libimobiledevice-glue/thread.h
|
26 |
+
+++ b/include/libimobiledevice-glue/thread.h
|
27 |
+
@@ -24,7 +24,7 @@
|
28 |
+
|
29 |
+
#include <stddef.h>
|
30 |
+
|
31 |
+
-#ifdef WIN32
|
32 |
+
+#ifdef _WIN32
|
33 |
+
#include <windows.h>
|
34 |
+
typedef HANDLE THREAD_T;
|
35 |
+
typedef CRITICAL_SECTION mutex_t;
|
36 |
+
@@ -61,7 +61,7 @@ int thread_alive(THREAD_T thread);
|
37 |
+
|
38 |
+
int thread_cancel(THREAD_T thread);
|
39 |
+
|
40 |
+
-#ifdef WIN32
|
41 |
+
+#ifdef _WIN32
|
42 |
+
#undef HAVE_THREAD_CLEANUP
|
43 |
+
#else
|
44 |
+
#ifdef HAVE_PTHREAD_CANCEL
|
45 |
+
diff --git a/include/libimobiledevice-glue/utils.h b/include/libimobiledevice-glue/utils.h
|
46 |
+
index 1a21871..2421270 100644
|
47 |
+
--- a/include/libimobiledevice-glue/utils.h
|
48 |
+
+++ b/include/libimobiledevice-glue/utils.h
|
49 |
+
@@ -29,7 +29,7 @@
|
50 |
+
#include <config.h>
|
51 |
+
#endif
|
52 |
+
|
53 |
+
-#ifdef WIN32
|
54 |
+
+#ifdef _WIN32
|
55 |
+
#include <windows.h>
|
56 |
+
#endif
|
57 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/002_fix_msvc.patch
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/socket.c b/src/socket.c
|
2 |
+
index 4b8b857..4cf8a92 100644
|
3 |
+
--- a/src/socket.c
|
4 |
+
+++ b/src/socket.c
|
5 |
+
@@ -26,10 +26,12 @@
|
6 |
+
#include <stddef.h>
|
7 |
+
#include <stdlib.h>
|
8 |
+
#include <string.h>
|
9 |
+
-#include <unistd.h>
|
10 |
+
#include <errno.h>
|
11 |
+
-#include <sys/time.h>
|
12 |
+
#include <sys/stat.h>
|
13 |
+
+#ifndef _MSC_VER
|
14 |
+
+#include <unistd.h>
|
15 |
+
+#include <sys/time.h>
|
16 |
+
+#endif
|
17 |
+
#ifdef WIN32
|
18 |
+
#include <winsock2.h>
|
19 |
+
#include <ws2tcpip.h>
|
20 |
+
diff --git a/src/termcolors.c b/src/termcolors.c
|
21 |
+
index 5c436f2..9a84ff2 100644
|
22 |
+
--- a/src/termcolors.c
|
23 |
+
+++ b/src/termcolors.c
|
24 |
+
@@ -28,7 +28,9 @@
|
25 |
+
|
26 |
+
#include <stdio.h>
|
27 |
+
#include <stdlib.h>
|
28 |
+
+#ifndef _MSC_VER
|
29 |
+
#include <unistd.h>
|
30 |
+
+#endif
|
31 |
+
#include <string.h>
|
32 |
+
#include <stdarg.h>
|
33 |
+
|
34 |
+
diff --git a/src/utils.c b/src/utils.c
|
35 |
+
index ad8e9c4..b9803ac 100644
|
36 |
+
--- a/src/utils.c
|
37 |
+
+++ b/src/utils.c
|
38 |
+
@@ -30,7 +30,9 @@
|
39 |
+
#include <stdlib.h>
|
40 |
+
#include <string.h>
|
41 |
+
#include <time.h>
|
42 |
+
+#ifndef _MSC_VER
|
43 |
+
#include <sys/time.h>
|
44 |
+
+#endif
|
45 |
+
#include <inttypes.h>
|
46 |
+
#include <ctype.h>
|
47 |
+
#include <errno.h>
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/003_fix_static_build.patch
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/glue.c b/src/glue.c
|
2 |
+
index 7970679..bad3269 100644
|
3 |
+
--- a/src/glue.c
|
4 |
+
+++ b/src/glue.c
|
5 |
+
@@ -29,6 +29,8 @@
|
6 |
+
#include "common.h"
|
7 |
+
#include "libimobiledevice-glue/thread.h"
|
8 |
+
|
9 |
+
+#ifndef LIBIMOBILEDEVICEGLUE_STATIC // disable dll constructor
|
10 |
+
+
|
11 |
+
extern void term_colors_init();
|
12 |
+
|
13 |
+
static void internal_glue_init(void)
|
14 |
+
@@ -78,3 +80,5 @@ BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
|
15 |
+
#else
|
16 |
+
#warning No compiler support for constructor/destructor attributes, some features might not be available.
|
17 |
+
#endif
|
18 |
+
+
|
19 |
+
+#endif // disable dll constructor
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/004_fix_api.patch
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/common.h b/src/common.h
|
2 |
+
index bd22e3d..144a799 100644
|
3 |
+
--- a/src/common.h
|
4 |
+
+++ b/src/common.h
|
5 |
+
@@ -25,14 +25,10 @@
|
6 |
+
#include <config.h>
|
7 |
+
#endif
|
8 |
+
|
9 |
+
-#ifdef WIN32
|
10 |
+
-#define LIBIMOBILEDEVICE_GLUE_API __declspec( dllexport )
|
11 |
+
-#else
|
12 |
+
-#ifdef HAVE_FVISIBILITY
|
13 |
+
+#if !defined(_WIN32) && !defined(LIBIMOBILEDEVICEGLUE_STATIC)
|
14 |
+
#define LIBIMOBILEDEVICE_GLUE_API __attribute__((visibility("default")))
|
15 |
+
#else
|
16 |
+
#define LIBIMOBILEDEVICE_GLUE_API
|
17 |
+
#endif
|
18 |
+
-#endif
|
19 |
+
|
20 |
+
#endif
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/exports.def
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
EXPORTS
|
2 |
+
|
3 |
+
; src/cbuf.c
|
4 |
+
char_buf_new
|
5 |
+
char_buf_free
|
6 |
+
char_buf_append
|
7 |
+
|
8 |
+
; src/collention.c
|
9 |
+
collection_init
|
10 |
+
collection_free
|
11 |
+
collection_add
|
12 |
+
collection_remove
|
13 |
+
collection_count
|
14 |
+
collection_copy
|
15 |
+
|
16 |
+
; opack.c
|
17 |
+
opack_encode_from_plist
|
18 |
+
opack_decode_to_plist
|
19 |
+
|
20 |
+
; src/socket.c
|
21 |
+
socket_set_verbose
|
22 |
+
socket_addr_to_string
|
23 |
+
;socket_create_unix
|
24 |
+
;socket_connect_unix
|
25 |
+
socket_create
|
26 |
+
get_primary_mac_address
|
27 |
+
socket_connect_addr
|
28 |
+
socket_connect
|
29 |
+
socket_check_fd
|
30 |
+
socket_accept
|
31 |
+
socket_shutdown
|
32 |
+
socket_close
|
33 |
+
socket_receive
|
34 |
+
socket_peek
|
35 |
+
socket_receive_timeout
|
36 |
+
socket_send
|
37 |
+
socket_get_socket_port
|
38 |
+
|
39 |
+
; src/termcolors.c
|
40 |
+
term_colors_init
|
41 |
+
term_colors_set_enabled
|
42 |
+
cvfprintf
|
43 |
+
cfprintf
|
44 |
+
cprintf
|
45 |
+
|
46 |
+
; src/thread.c
|
47 |
+
thread_new
|
48 |
+
thread_detach
|
49 |
+
thread_free
|
50 |
+
thread_join
|
51 |
+
thread_alive
|
52 |
+
thread_cancel
|
53 |
+
mutex_init
|
54 |
+
mutex_destroy
|
55 |
+
mutex_lock
|
56 |
+
mutex_unlock
|
57 |
+
thread_once
|
58 |
+
cond_init
|
59 |
+
cond_destroy
|
60 |
+
cond_signal
|
61 |
+
cond_wait
|
62 |
+
cond_wait_timeout
|
63 |
+
|
64 |
+
; src/tlv.c
|
65 |
+
tlv_buf_new
|
66 |
+
tlv_buf_free
|
67 |
+
tlv_buf_append
|
68 |
+
tlv_get_data_ptr
|
69 |
+
tlv_data_get_uint
|
70 |
+
tlv_data_get_uint8
|
71 |
+
tlv_data_copy_data
|
72 |
+
|
73 |
+
; src/utils.c
|
74 |
+
string_concat
|
75 |
+
string_append
|
76 |
+
string_build_path
|
77 |
+
string_format_size
|
78 |
+
string_toupper
|
79 |
+
generate_uuid
|
80 |
+
buffer_read_from_filename
|
81 |
+
buffer_write_to_filename
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/portfile.cmake
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO libimobiledevice/libimobiledevice-glue
|
4 |
+
REF 214bafdde6a1434ead87357afe6cb41b32318495 # commits on 2023-05-13
|
5 |
+
SHA512 a12ace7690ebab0ac6372f61e1a6722d506bc20a89130f39441af4da74e8fe9cdae45d947eb3e864a5f043b621432b59418f8e4660857e25b648a9476c552ac6
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
001_fix_win32_defs.patch
|
9 |
+
002_fix_msvc.patch
|
10 |
+
003_fix_static_build.patch
|
11 |
+
004_fix_api.patch
|
12 |
+
)
|
13 |
+
|
14 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
15 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/exports.def" DESTINATION "${SOURCE_PATH}")
|
16 |
+
|
17 |
+
vcpkg_cmake_configure(
|
18 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
19 |
+
)
|
20 |
+
|
21 |
+
vcpkg_cmake_install()
|
22 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-${PORT})
|
23 |
+
vcpkg_fixup_pkgconfig()
|
24 |
+
|
25 |
+
file(READ "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}/unofficial-${PORT}-config.cmake" cmake_config)
|
26 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}/unofficial-${PORT}-config.cmake"
|
27 |
+
"include(CMakeFindDependencyMacro)
|
28 |
+
find_dependency(unofficial-libplist CONFIG)
|
29 |
+
${cmake_config}
|
30 |
+
")
|
31 |
+
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
33 |
+
|
34 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
35 |
+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/usage
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
libimobiledevice-glue provides CMake targets:
|
2 |
+
|
3 |
+
find_package(unofficial-libimobiledevice-glue CONFIG REQUIRED)
|
4 |
+
target_link_libraries(main PRIVATE unofficial::libimobiledevice-glue::libimobiledevice-glue)
|
cc-multilingual-main/cc_net/vcpkg/ports/libimobiledevice-glue/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libimobiledevice-glue",
|
3 |
+
"version-date": "2023-05-13",
|
4 |
+
"description": "Library with common code used by the libraries and tools around the libimobiledevice project.",
|
5 |
+
"homepage": "https://libimobiledevice.org/",
|
6 |
+
"license": "LGPL-2.1-or-later",
|
7 |
+
"dependencies": [
|
8 |
+
"libplist",
|
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/mikktspace/CMakeLists.txt
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.8)
|
2 |
+
project(mikktspace C)
|
3 |
+
|
4 |
+
set(CMAKE_DEBUG_POSTFIX d)
|
5 |
+
|
6 |
+
add_library(${PROJECT_NAME} "")
|
7 |
+
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
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 |
+
${CMAKE_CURRENT_SOURCE_DIR}/mikktspace.c
|
19 |
+
)
|
20 |
+
|
21 |
+
install(
|
22 |
+
TARGETS ${PROJECT_NAME}
|
23 |
+
EXPORT ${PROJECT_NAME}_target
|
24 |
+
ARCHIVE DESTINATION lib
|
25 |
+
LIBRARY DESTINATION lib
|
26 |
+
RUNTIME DESTINATION bin
|
27 |
+
)
|
28 |
+
|
29 |
+
if(NOT MIKKTSPACE_SKIP_HEADERS)
|
30 |
+
install(FILES
|
31 |
+
${CMAKE_CURRENT_SOURCE_DIR}/mikktspace.h
|
32 |
+
DESTINATION include
|
33 |
+
)
|
34 |
+
endif()
|
35 |
+
|
36 |
+
install(
|
37 |
+
EXPORT ${PROJECT_NAME}_target
|
38 |
+
NAMESPACE ${PROJECT_NAME}::
|
39 |
+
FILE ${PROJECT_NAME}-config.cmake
|
40 |
+
DESTINATION share/${PROJECT_NAME}
|
41 |
+
)
|
cc-multilingual-main/cc_net/vcpkg/ports/mikktspace/portfile.cmake
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO mmikk/MikkTSpace
|
6 |
+
REF 3e895b49d05ea07e4c2133156cfa94369e19e409
|
7 |
+
SHA512 3ca433bd4efd0e048138f9efc5ba9021e4f3f78a535ea48733088ba5f43e60aad7f840f00e0597a0c053cda4776177bf6deb14cecf4d172b9b68acf00d5a1ca7
|
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 |
+
-DMIKKTSPACE_SKIP_HEADERS=ON
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_cmake_config_fixup()
|
21 |
+
|
22 |
+
file(INSTALL "${SOURCE_PATH}/mikktspace.h" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/mikktspace/vcpkg.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "mikktspace",
|
3 |
+
"version-date": "2020-10-06",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "A common standard for tangent space used in baking tools to produce normal maps",
|
6 |
+
"homepage": "https://github.com/mmikk/MikkTSpace",
|
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/openctm/portfile.cmake
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_sourceforge(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO openctm
|
4 |
+
REF OpenCTM-1.0.3
|
5 |
+
SHA512 fdfa08d19ecbfea99ba01aa2032e941ed6313394a96bd69f8984c2d2d079d836c616471d2bdf6f40175e75659f3ad0ba41502bc3d8224091472f40893ea8746e
|
6 |
+
FILENAME "OpenCTM-1.0.3-src.tar.bz2"
|
7 |
+
)
|
8 |
+
|
9 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_install()
|
16 |
+
vcpkg_copy_pdbs()
|
17 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-openctm)
|
18 |
+
|
19 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
20 |
+
|
21 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/tinkerforge/CMakeLists.txt
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required (VERSION 3.13 FATAL_ERROR)
|
2 |
+
include(GNUInstallDirs)
|
3 |
+
|
4 |
+
if(WIN32)
|
5 |
+
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}")
|
6 |
+
endif()
|
7 |
+
|
8 |
+
project(tinkerforge LANGUAGES C VERSION 2.1.25)
|
9 |
+
|
10 |
+
if(NOT CONFIG_INSTALL_DIR)
|
11 |
+
set(CONFIG_INSTALL_DIR "share/${PROJECT_NAME}/")
|
12 |
+
endif()
|
13 |
+
if(NOT INCLUDE_INSTALL_DIR)
|
14 |
+
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}")
|
15 |
+
endif()
|
16 |
+
if(NOT TARGET_INSTALL_DIR)
|
17 |
+
set(TARGET_INSTALL_DIR "share/${PROJECT_NAME}")
|
18 |
+
endif()
|
19 |
+
|
20 |
+
|
21 |
+
file(GLOB CPP_FILES source/*.c)
|
22 |
+
file(GLOB H_FILES source/*.h)
|
23 |
+
file(GLOB DEF_FILE source/*.def)
|
24 |
+
|
25 |
+
add_library(${PROJECT_NAME} ${CPP_FILES} ${H_FILES} ${DEF_FILE})
|
26 |
+
target_include_directories(${PROJECT_NAME} PUBLIC
|
27 |
+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/source>
|
28 |
+
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}>)
|
29 |
+
|
30 |
+
find_package(Threads)
|
31 |
+
target_link_libraries(${PROJECT_NAME} PUBLIC Threads::Threads)
|
32 |
+
|
33 |
+
if("${CMAKE_SYSTEM_NAME}" MATCHES "Windows")
|
34 |
+
target_link_libraries(${PROJECT_NAME} PUBLIC Ws2_32 advapi32)
|
35 |
+
endif()
|
36 |
+
##---------------------------------------------------------------------------------------##
|
37 |
+
##----- Package definition.
|
38 |
+
##---------------------------------------------------------------------------------------##
|
39 |
+
include(CMakePackageConfigHelpers)
|
40 |
+
|
41 |
+
#Export as Package
|
42 |
+
set_target_properties (${PROJECT_NAME} PROPERTIES EXPORT_NAME ${PROJECT_NAME})
|
43 |
+
export(TARGETS ${PROJECT_NAME} NAMESPACE ${PROJECT_NAME}:: FILE cmake/${PROJECT_NAME}Targets.cmake)
|
44 |
+
export(PACKAGE ${PROJECT_NAME})
|
45 |
+
|
46 |
+
#Config files for find_package
|
47 |
+
configure_package_config_file(
|
48 |
+
${PROJECT_NAME}Config.cmake.in cmake/${PROJECT_NAME}Config.cmake
|
49 |
+
INSTALL_DESTINATION "${CONFIG_INSTALL_DIR}/${PROJECT_NAME}Config.cmake"
|
50 |
+
PATH_VARS TARGET_INSTALL_DIR INCLUDE_INSTALL_DIR
|
51 |
+
)
|
52 |
+
write_basic_package_version_file(cmake/${PROJECT_NAME}ConfigVersion.cmake COMPATIBILITY SameMinorVersion)
|
53 |
+
|
54 |
+
#Install the target and all it build outputs.
|
55 |
+
install (TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Targets
|
56 |
+
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT Runtime
|
57 |
+
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT Development
|
58 |
+
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT Runtime
|
59 |
+
PUBLIC_HEADER DESTINATION "${INCLUDE_INSTALL_DIR}" COMPONENT Development
|
60 |
+
BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT Runtime)
|
61 |
+
#Install public headers
|
62 |
+
install(FILES ${H_FILES} DESTINATION "${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}")
|
63 |
+
#Install the config files for find_package
|
64 |
+
install(FILES "${PROJECT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake"
|
65 |
+
"${PROJECT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake"
|
66 |
+
DESTINATION "${CONFIG_INSTALL_DIR}")
|
67 |
+
#install the targets file included by the config
|
68 |
+
install(EXPORT ${PROJECT_NAME}Targets NAMESPACE ${PROJECT_NAME}:: DESTINATION "${TARGET_INSTALL_DIR}")
|