Spaces:
Sleeping
Sleeping
f4a91412e30a993fc7cf46cb7387c8f862ae2911f1d3f092b5c841e70a8df97c
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/glui/vcpkg.json +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmime/CMakeLists.txt +58 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmime/portfile.cmake +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmime/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmmlib/portfile.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmmlib/vcpkg.json +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/msvc_symbol.patch +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/portfile.cmake +79 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/tools.patch +58 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/vcpkg.json +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/yasm.patch +83 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmsh/fix-install.patch +38 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmsh/portfile.cmake +111 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmsh/vcpkg.json +46 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/0001-g-ir-tool-template.in.patch +23 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/0002-cross-build.patch +60 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/portfile.cmake +82 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/vcpkg.json +31 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-common/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-common/vcpkg.json +9 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-spanner/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-spanner/vcpkg.json +9 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp/portfile.cmake +82 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp/support_absl_cxx17.patch +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp/vcpkg.json +971 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/googleapis/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/googleapis/usage +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/googleapis/vcpkg.json +9 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/CMakeLists.txt +53 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/config.h.in +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/portfile.cmake +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/vcpkg.json +7 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperftools/CMakeLists.txt +211 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperftools/portfile.cmake +82 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperftools/vcpkg.json +23 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/disable-docs.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/disable-tests.patch +51 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/portfile.cmake +42 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/vcpkg.json +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/00001-fix-build.patch +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/CMakeLists.txt +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/portfile.cmake +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/vcpkg.json +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphene/portfile.cmake +35 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphene/vcpkg.json +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/CMakeLists.txt +282 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/disable_graphicsmagick_modules.patch +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/dynamic_bzip2.patch +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/magick_types.h +133 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/portfile.cmake +47 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/glui/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "glui",
|
3 |
+
"version-string": "2019-11-30",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "GLUI is a GLUT-based C++ user interface library",
|
6 |
+
"homepage": "https://github.com/libglui/glui",
|
7 |
+
"dependencies": [
|
8 |
+
"freeglut"
|
9 |
+
]
|
10 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmime/CMakeLists.txt
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.8)
|
2 |
+
|
3 |
+
project(gmime C)
|
4 |
+
|
5 |
+
set(GMIME_DLL_SUFFIX 3)
|
6 |
+
set(GMIME_LIB_SUFFIX 3.0)
|
7 |
+
|
8 |
+
find_package(ZLIB REQUIRED)
|
9 |
+
find_package(PkgConfig REQUIRED)
|
10 |
+
pkg_check_modules(GLIB2 glib-2.0 gobject-2.0 gmodule-2.0 gio-2.0 IMPORTED_TARGET)
|
11 |
+
find_package(Iconv REQUIRED)
|
12 |
+
|
13 |
+
find_library(IDN_LIBRARY NAMES libidn2)
|
14 |
+
|
15 |
+
if(MSVC)
|
16 |
+
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
17 |
+
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
18 |
+
endif()
|
19 |
+
|
20 |
+
add_definitions(-DHAVE_CONFIG_H)
|
21 |
+
add_definitions(-DG_DISABLE_DEPRECATED)
|
22 |
+
add_definitions(-DG_LOG_DOMAIN="GMime")
|
23 |
+
|
24 |
+
# Source files
|
25 |
+
file(GLOB LIB_SRC gmime/gmime-*.c)
|
26 |
+
list(APPEND LIB_SRC gmime/gmime.c
|
27 |
+
gmime/internet-address.c
|
28 |
+
util/packed.c
|
29 |
+
util/url-scanner.c
|
30 |
+
util/gtrie.c)
|
31 |
+
|
32 |
+
# Headers
|
33 |
+
file(GLOB LIB_HEADERS gmime/gmime-*.h)
|
34 |
+
list(APPEND LIB_HEADERS gmime/gmime.h)
|
35 |
+
list(APPEND LIB_HEADERS gmime/internet-address.h)
|
36 |
+
|
37 |
+
if(MSVC AND BUILD_SHARED_LIBS)
|
38 |
+
set(MSVC_SRC gmime.def)
|
39 |
+
endif()
|
40 |
+
|
41 |
+
add_library(${PROJECT_NAME} ${LIB_SRC} ${MSVC_SRC})
|
42 |
+
|
43 |
+
set_target_properties(${PROJECT_NAME} PROPERTIES
|
44 |
+
OUTPUT_NAME ${PROJECT_NAME}-${GMIME_DLL_SUFFIX}
|
45 |
+
ARCHIVE_OUTPUT_NAME ${PROJECT_NAME}-${GMIME_LIB_SUFFIX}
|
46 |
+
)
|
47 |
+
|
48 |
+
target_include_directories(${PROJECT_NAME} PRIVATE . ./util)
|
49 |
+
target_link_libraries(${PROJECT_NAME} PRIVATE Iconv::Iconv ZLIB::ZLIB ${IDN_LIBRARY})
|
50 |
+
target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::GLIB2)
|
51 |
+
target_link_libraries(${PROJECT_NAME} PRIVATE Ws2_32.lib)
|
52 |
+
|
53 |
+
install(TARGETS ${PROJECT_NAME}
|
54 |
+
RUNTIME DESTINATION bin
|
55 |
+
LIBRARY DESTINATION lib
|
56 |
+
ARCHIVE DESTINATION lib)
|
57 |
+
|
58 |
+
install(FILES ${LIB_HEADERS} DESTINATION include/gmime)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmime/portfile.cmake
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(LIB_NAME gmime)
|
2 |
+
set(LIB_VERSION 3.2.6)
|
3 |
+
|
4 |
+
set(LIB_FILENAME ${LIB_NAME}-${LIB_VERSION}.tar.xz)
|
5 |
+
|
6 |
+
vcpkg_download_distfile(ARCHIVE
|
7 |
+
URLS "https://download.gnome.org/sources/gmime/3.2/${LIB_FILENAME}"
|
8 |
+
FILENAME "${LIB_FILENAME}"
|
9 |
+
SHA512 a60d3f9f1aa8490865c22cd9539544e9c9f3ceb4037b9749cf9e5c279f97aa88fc4cd077bf2aff314ba0db2a1b7bbe76f9b1ca5a17fffcbd6315ecebc5414a3d
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_extract_source_archive_ex(
|
13 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
14 |
+
ARCHIVE ${ARCHIVE}
|
15 |
+
REF ${LIB_VERSION}
|
16 |
+
)
|
17 |
+
|
18 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
19 |
+
|
20 |
+
# We can use file supplied with original sources
|
21 |
+
configure_file(${SOURCE_PATH}/build/vs2017/unistd.h ${SOURCE_PATH} COPYONLY)
|
22 |
+
configure_file(${SOURCE_PATH}/build/vs2017/config.h ${SOURCE_PATH} COPYONLY)
|
23 |
+
configure_file(${SOURCE_PATH}/build/vs2017/gmime.def ${SOURCE_PATH} COPYONLY)
|
24 |
+
vcpkg_find_acquire_program(PKGCONFIG)
|
25 |
+
vcpkg_configure_cmake(
|
26 |
+
SOURCE_PATH ${SOURCE_PATH}
|
27 |
+
PREFER_NINJA
|
28 |
+
OPTIONS
|
29 |
+
-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}
|
30 |
+
)
|
31 |
+
|
32 |
+
vcpkg_install_cmake()
|
33 |
+
|
34 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
35 |
+
|
36 |
+
# License and man
|
37 |
+
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${LIB_NAME} RENAME copyright)
|
38 |
+
|
39 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmime/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gmime",
|
3 |
+
"version": "3.2.6",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "GMime is a C/C++ library which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME).",
|
6 |
+
"homepage": "https://developer.gnome.org/gmime/",
|
7 |
+
"supports": "windows",
|
8 |
+
"dependencies": [
|
9 |
+
"glib",
|
10 |
+
"libiconv",
|
11 |
+
"libidn2",
|
12 |
+
"zlib"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmmlib/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
2 |
+
message(FATAL_ERROR "Intel gmmlib currently only supports Linux platforms")
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
6 |
+
|
7 |
+
vcpkg_from_github(
|
8 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
9 |
+
REPO intel/gmmlib
|
10 |
+
REF intel-gmmlib-21.3.2
|
11 |
+
SHA512 155f7077f3135ff812b9fe759e56fecd595f1c5dde9a377df31a9acedcfeea9d93751badba68077c00929a21cb87e1bd69b8fe3961ac61765fabbc5d6d89e6be
|
12 |
+
HEAD_REF master
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_configure(
|
16 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
17 |
+
OPTIONS -DARCH=64
|
18 |
+
)
|
19 |
+
|
20 |
+
vcpkg_cmake_install()
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/Scripts")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/Resource")
|
25 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/GlobalInfo")
|
26 |
+
|
27 |
+
vcpkg_fixup_pkgconfig()
|
28 |
+
|
29 |
+
# Handle copyright
|
30 |
+
configure_file("${SOURCE_PATH}/LICENSE.md" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmmlib/vcpkg.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gmmlib",
|
3 |
+
"version": "21.3.2",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Intel(R) Graphics Memory Management Library",
|
6 |
+
"homepage": "https://github.com/intel/gmmlib",
|
7 |
+
"license": "MIT",
|
8 |
+
"supports": "linux",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
}
|
14 |
+
]
|
15 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/msvc_symbol.patch
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/configure.ac b/configure.ac
|
2 |
+
index cafdb3c71..bd92bc4bb 100644
|
3 |
+
--- a/configure.ac
|
4 |
+
+++ b/configure.ac
|
5 |
+
@@ -2703,8 +2703,8 @@ Use "--disable-static --enable-shared" to build just a DLL.])
|
6 |
+
#
|
7 |
+
if test "$enable_shared" = yes; then
|
8 |
+
GMP_LDFLAGS="$GMP_LDFLAGS -no-undefined -Wl,--export-all-symbols"
|
9 |
+
- LIBGMP_LDFLAGS="$LIBGMP_LDFLAGS -Wl,--output-def,.libs/libgmp-3.dll.def"
|
10 |
+
- LIBGMPXX_LDFLAGS="$LIBGMP_LDFLAGS -Wl,--output-def,.libs/libgmpxx-3.dll.def"
|
11 |
+
+ #LIBGMP_LDFLAGS="$LIBGMP_LDFLAGS -Wl,--output-def,.libs/libgmp-3.dll.def"
|
12 |
+
+ #LIBGMPXX_LDFLAGS="$LIBGMP_LDFLAGS -Wl,--output-def,.libs/libgmpxx-3.dll.def"
|
13 |
+
LIBGMP_DLL=1
|
14 |
+
fi
|
15 |
+
;;
|
16 |
+
diff --git a/gmp-h.in b/gmp-h.in
|
17 |
+
index 3d449d427..18a03b753 100644
|
18 |
+
--- a/gmp-h.in
|
19 |
+
+++ b/gmp-h.in
|
20 |
+
@@ -398,7 +398,7 @@ typedef __mpq_struct *mpq_ptr;
|
21 |
+
|
22 |
+
/* Microsoft's C compiler accepts __inline */
|
23 |
+
#ifdef _MSC_VER
|
24 |
+
-#define __GMP_EXTERN_INLINE __inline
|
25 |
+
+#define __GMP_EXTERN_INLINE static __inline
|
26 |
+
#endif
|
27 |
+
|
28 |
+
/* Recent enough Sun C compilers want "inline" */
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/portfile.cmake
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(EXISTS "${CURRENT_INSTALLED_DIR}/include/gmp.h" OR "${CURRENT_INSTALLED_DIR}/include/gmpxx.h")
|
2 |
+
message(FATAL_ERROR "Can't build ${PORT} if mpir is installed. Please remove mpir, and try install ${PORT} again if you need it.")
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_download_distfile(
|
6 |
+
ARCHIVE
|
7 |
+
URLS https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz
|
8 |
+
FILENAME gmp-6.2.1.tar.xz
|
9 |
+
SHA512 c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84
|
10 |
+
)
|
11 |
+
|
12 |
+
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
13 |
+
set(PATCHES yasm.patch
|
14 |
+
msvc_symbol.patch)
|
15 |
+
endif()
|
16 |
+
|
17 |
+
vcpkg_extract_source_archive_ex(
|
18 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
19 |
+
ARCHIVE "${ARCHIVE}"
|
20 |
+
REF gmp-6.2.1
|
21 |
+
PATCHES
|
22 |
+
${PATCHES}
|
23 |
+
tools.patch
|
24 |
+
)
|
25 |
+
|
26 |
+
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
27 |
+
set(ENV{CCAS} "${CURRENT_HOST_INSTALLED_DIR}/tools/yasm/yasm${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
28 |
+
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
29 |
+
set(asmflag win64)
|
30 |
+
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
31 |
+
set(asmflag win32)
|
32 |
+
endif()
|
33 |
+
set(ENV{ASMFLAGS} "-Xvc -f ${asmflag} -pgas -rraw")
|
34 |
+
set(OPTIONS ac_cv_func_memset=yes
|
35 |
+
"gmp_cv_asm_w32=.word"
|
36 |
+
)
|
37 |
+
|
38 |
+
endif()
|
39 |
+
|
40 |
+
if(VCPKG_CROSSCOMPILING)
|
41 |
+
# Silly trick to make configure accept CC_FOR_BUILD but in reallity CC_FOR_BUILD is deactivated.
|
42 |
+
set(ENV{CC_FOR_BUILD} "touch a.out | touch conftest${VCPKG_HOST_EXECUTABLE_SUFFIX} | true")
|
43 |
+
set(ENV{CPP_FOR_BUILD} "touch a.out | touch conftest${VCPKG_HOST_EXECUTABLE_SUFFIX} | true")
|
44 |
+
endif()
|
45 |
+
|
46 |
+
vcpkg_configure_make(
|
47 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
48 |
+
AUTOCONFIG
|
49 |
+
OPTIONS
|
50 |
+
${OPTIONS}
|
51 |
+
--enable-cxx
|
52 |
+
)
|
53 |
+
|
54 |
+
set(tool_names bases fac fib jacobitab psqr trialdivtab)
|
55 |
+
list(TRANSFORM tool_names PREPEND "gen-")
|
56 |
+
list(TRANSFORM tool_names APPEND "${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
57 |
+
|
58 |
+
if(VCPKG_CROSSCOMPILING)
|
59 |
+
list(TRANSFORM tool_names PREPEND "${CURRENT_HOST_INSTALLED_DIR}/manual-tools/${PORT}/")
|
60 |
+
file(COPY ${tool_names} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/" )
|
61 |
+
if(NOT VCPKG_BUILD_TYPE)
|
62 |
+
file(COPY ${tool_names} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/" )
|
63 |
+
endif()
|
64 |
+
endif()
|
65 |
+
|
66 |
+
vcpkg_install_make()
|
67 |
+
|
68 |
+
if(NOT VCPKG_CROSSCOMPILING)
|
69 |
+
list(TRANSFORM tool_names PREPEND "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/")
|
70 |
+
file(COPY ${tool_names} DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}" )
|
71 |
+
endif()
|
72 |
+
|
73 |
+
vcpkg_fixup_pkgconfig()
|
74 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/")
|
75 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
76 |
+
|
77 |
+
# Handle copyright
|
78 |
+
file(INSTALL "${SOURCE_PATH}/COPYINGv3" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
79 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/tools.patch
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/Makefile.am b/Makefile.am
|
2 |
+
index 1c24694..656aa3a 100644
|
3 |
+
--- a/Makefile.am
|
4 |
+
+++ b/Makefile.am
|
5 |
+
@@ -349,7 +349,7 @@ fac_table.h: gen-fac$(EXEEXT_FOR_BUILD)
|
6 |
+
BUILT_SOURCES += fac_table.h
|
7 |
+
|
8 |
+
gen-fac$(EXEEXT_FOR_BUILD): gen-fac$(U_FOR_BUILD).c bootstrap.c
|
9 |
+
- $(CC_FOR_BUILD) `test -f 'gen-fac$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fac$(U_FOR_BUILD).c -o gen-fac$(EXEEXT_FOR_BUILD)
|
10 |
+
+ $(CC_FOR_BUILD) `test -f 'gen-fac$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fac$(U_FOR_BUILD).c $(CFLAGS) -o gen-fac$(EXEEXT_FOR_BUILD)
|
11 |
+
DISTCLEANFILES += gen-fac$(EXEEXT_FOR_BUILD)
|
12 |
+
EXTRA_DIST += gen-fac.c
|
13 |
+
|
14 |
+
@@ -363,7 +363,7 @@ mpn/fib_table.c: gen-fib$(EXEEXT_FOR_BUILD)
|
15 |
+
BUILT_SOURCES += mpn/fib_table.c
|
16 |
+
|
17 |
+
gen-fib$(EXEEXT_FOR_BUILD): gen-fib$(U_FOR_BUILD).c bootstrap.c
|
18 |
+
- $(CC_FOR_BUILD) `test -f 'gen-fib$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fib$(U_FOR_BUILD).c -o gen-fib$(EXEEXT_FOR_BUILD)
|
19 |
+
+ $(CC_FOR_BUILD) `test -f 'gen-fib$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fib$(U_FOR_BUILD).c $(CFLAGS) -o gen-fib$(EXEEXT_FOR_BUILD)
|
20 |
+
DISTCLEANFILES += gen-fib$(EXEEXT_FOR_BUILD)
|
21 |
+
EXTRA_DIST += gen-fib.c
|
22 |
+
|
23 |
+
@@ -377,7 +377,7 @@ mpn/mp_bases.c: gen-bases$(EXEEXT_FOR_BUILD)
|
24 |
+
BUILT_SOURCES += mpn/mp_bases.c
|
25 |
+
|
26 |
+
gen-bases$(EXEEXT_FOR_BUILD): gen-bases$(U_FOR_BUILD).c bootstrap.c
|
27 |
+
- $(CC_FOR_BUILD) `test -f 'gen-bases$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-bases$(U_FOR_BUILD).c -o gen-bases$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
|
28 |
+
+ $(CC_FOR_BUILD) `test -f 'gen-bases$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-bases$(U_FOR_BUILD).c $(CFLAGS) -o gen-bases$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
|
29 |
+
DISTCLEANFILES += gen-bases$(EXEEXT_FOR_BUILD)
|
30 |
+
EXTRA_DIST += gen-bases.c
|
31 |
+
|
32 |
+
@@ -387,7 +387,7 @@ trialdivtab.h: gen-trialdivtab$(EXEEXT_FOR_BUILD)
|
33 |
+
BUILT_SOURCES += trialdivtab.h
|
34 |
+
|
35 |
+
gen-trialdivtab$(EXEEXT_FOR_BUILD): gen-trialdivtab$(U_FOR_BUILD).c bootstrap.c
|
36 |
+
- $(CC_FOR_BUILD) `test -f 'gen-trialdivtab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-trialdivtab$(U_FOR_BUILD).c -o gen-trialdivtab$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
|
37 |
+
+ $(CC_FOR_BUILD) `test -f 'gen-trialdivtab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-trialdivtab$(U_FOR_BUILD).c $(CFLAGS) -o gen-trialdivtab$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
|
38 |
+
DISTCLEANFILES += gen-trialdivtab$(EXEEXT_FOR_BUILD)
|
39 |
+
EXTRA_DIST += gen-trialdivtab.c
|
40 |
+
|
41 |
+
@@ -397,7 +397,7 @@ mpn/jacobitab.h: gen-jacobitab$(EXEEXT_FOR_BUILD)
|
42 |
+
BUILT_SOURCES += mpn/jacobitab.h
|
43 |
+
|
44 |
+
gen-jacobitab$(EXEEXT_FOR_BUILD): gen-jacobitab$(U_FOR_BUILD).c
|
45 |
+
- $(CC_FOR_BUILD) `test -f 'gen-jacobitab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-jacobitab$(U_FOR_BUILD).c -o gen-jacobitab$(EXEEXT_FOR_BUILD)
|
46 |
+
+ $(CC_FOR_BUILD) `test -f 'gen-jacobitab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-jacobitab$(U_FOR_BUILD).c $(CFLAGS) -o gen-jacobitab$(EXEEXT_FOR_BUILD)
|
47 |
+
DISTCLEANFILES += gen-jacobitab$(EXEEXT_FOR_BUILD)
|
48 |
+
EXTRA_DIST += gen-jacobitab.c
|
49 |
+
|
50 |
+
@@ -407,7 +407,7 @@ mpn/perfsqr.h: gen-psqr$(EXEEXT_FOR_BUILD)
|
51 |
+
BUILT_SOURCES += mpn/perfsqr.h
|
52 |
+
|
53 |
+
gen-psqr$(EXEEXT_FOR_BUILD): gen-psqr$(U_FOR_BUILD).c bootstrap.c
|
54 |
+
- $(CC_FOR_BUILD) `test -f 'gen-psqr$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-psqr$(U_FOR_BUILD).c -o gen-psqr$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
|
55 |
+
+ $(CC_FOR_BUILD) `test -f 'gen-psqr$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-psqr$(U_FOR_BUILD).c $(CFLAGS) -o gen-psqr$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
|
56 |
+
DISTCLEANFILES += gen-psqr$(EXEEXT_FOR_BUILD)
|
57 |
+
EXTRA_DIST += gen-psqr.c
|
58 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/vcpkg.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gmp",
|
3 |
+
"version": "6.2.1",
|
4 |
+
"port-version": 9,
|
5 |
+
"description": "The GNU Multiple Precision Arithmetic Library",
|
6 |
+
"homepage": "https://gmplib.org",
|
7 |
+
"supports": "!(windows & (arm | arm64))",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "gmp",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "yasm",
|
15 |
+
"host": true,
|
16 |
+
"features": [
|
17 |
+
"tools"
|
18 |
+
],
|
19 |
+
"platform": "windows"
|
20 |
+
}
|
21 |
+
]
|
22 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmp/yasm.patch
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/acinclude.m4 b/acinclude.m4
|
2 |
+
index 86175ce42..8228d20dc 100644
|
3 |
+
--- a/acinclude.m4
|
4 |
+
+++ b/acinclude.m4
|
5 |
+
@@ -1649,7 +1649,7 @@ AC_DEFUN([GMP_TRY_ASSEMBLE],
|
6 |
+
[cat >conftest.s <<EOF
|
7 |
+
[$1]
|
8 |
+
EOF
|
9 |
+
-gmp_assemble="$CCAS $CFLAGS $CPPFLAGS conftest.s >conftest.out 2>&1"
|
10 |
+
+gmp_assemble="$CCAS $CPPFLAGS $ASMFLAGS conftest.s >conftest.out 2>&1"
|
11 |
+
if AC_TRY_EVAL(gmp_assemble); then
|
12 |
+
cat conftest.out >&AC_FD_CC
|
13 |
+
ifelse([$2],,:,[$2])
|
14 |
+
@@ -2382,7 +2382,7 @@ for tmp_underscore in "" "_"; do
|
15 |
+
${tmp_gsym_prefix}main$gmp_cv_asm_label_suffix
|
16 |
+
addl $ ${tmp_underscore}_GLOBAL_OFFSET_TABLE_, %ebx
|
17 |
+
EOF
|
18 |
+
- gmp_compile="$CCAS $CFLAGS $CPPFLAGS $lt_prog_compiler_pic conftest.s >&AC_FD_CC && $CC $CFLAGS $CPPFLAGS $lt_prog_compiler_pic conftest.$OBJEXT >&AC_FD_CC"
|
19 |
+
+ gmp_compile="$CCAS $CPPFLAGS $ASMFLAGS $lt_prog_compiler_pic conftest.s >&AC_FD_CC && $CC $CPPFLAGS $ASMFLAGS $lt_prog_compiler_pic conftest.$OBJEXT >&AC_FD_CC"
|
20 |
+
if AC_TRY_EVAL(gmp_compile); then
|
21 |
+
if test "$tmp_underscore" = "_"; then
|
22 |
+
gmp_cv_asm_x86_got_underscore=yes
|
23 |
+
@@ -2556,7 +2556,7 @@ movq-bug)
|
24 |
+
AC_MSG_WARN([+----------------------------------------------------------])
|
25 |
+
AC_MSG_WARN([| WARNING WARNING WARNING])
|
26 |
+
AC_MSG_WARN([| Host CPU has MMX code, but the assembler])
|
27 |
+
- AC_MSG_WARN([| $CCAS $CFLAGS $CPPFLAGS])
|
28 |
+
+ AC_MSG_WARN([| $CCAS $CPPFLAGS $ASMFLAGS])
|
29 |
+
AC_MSG_WARN([| has the Solaris 2.6 and 2.7 bug where register to register])
|
30 |
+
AC_MSG_WARN([| movq operands are reversed.])
|
31 |
+
AC_MSG_WARN([| Non-MMX replacements will be used.])
|
32 |
+
diff --git a/mpn/Makeasm.am b/mpn/Makeasm.am
|
33 |
+
index 5d7306c22..75692128d 100644
|
34 |
+
--- a/mpn/Makeasm.am
|
35 |
+
+++ b/mpn/Makeasm.am
|
36 |
+
@@ -32,7 +32,7 @@
|
37 |
+
# COMPILE minus CC.
|
38 |
+
#
|
39 |
+
COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
40 |
+
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
|
41 |
+
+ $(CPPFLAGS) $(ASMFLAGS)
|
42 |
+
|
43 |
+
# Flags used for preprocessing (in ansi2knr rules).
|
44 |
+
#
|
45 |
+
diff --git a/mpn/Makefile.in b/mpn/Makefile.in
|
46 |
+
index 2bc061012..59c805976 100644
|
47 |
+
--- a/mpn/Makefile.in
|
48 |
+
+++ b/mpn/Makefile.in
|
49 |
+
@@ -403,7 +403,7 @@ EXTRA_DIST = asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST)
|
50 |
+
# COMPILE minus CC.
|
51 |
+
#
|
52 |
+
COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
53 |
+
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
|
54 |
+
+ $(CPPFLAGS) $(ASMFLAGS)
|
55 |
+
|
56 |
+
|
57 |
+
# Flags used for preprocessing (in ansi2knr rules).
|
58 |
+
diff --git a/tests/Makefile.in b/tests/Makefile.in
|
59 |
+
index 9742a4016..430603cef 100644
|
60 |
+
--- a/tests/Makefile.in
|
61 |
+
+++ b/tests/Makefile.in
|
62 |
+
@@ -666,7 +666,7 @@ SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx
|
63 |
+
# COMPILE minus CC.
|
64 |
+
#
|
65 |
+
COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
66 |
+
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
|
67 |
+
+ $(CPPFLAGS) $(ASMFLAGS)
|
68 |
+
|
69 |
+
|
70 |
+
# Flags used for preprocessing (in ansi2knr rules).
|
71 |
+
diff --git a/tune/Makefile.in b/tune/Makefile.in
|
72 |
+
index f82cd13e2..351bcd9b1 100644
|
73 |
+
--- a/tune/Makefile.in
|
74 |
+
+++ b/tune/Makefile.in
|
75 |
+
@@ -549,7 +549,7 @@ TUNE_MPN_SRCS_BASIC = div_qr_2.c bdiv_q.c bdiv_qr.c \
|
76 |
+
# COMPILE minus CC.
|
77 |
+
#
|
78 |
+
COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
79 |
+
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
|
80 |
+
+ $(CPPFLAGS) $(ASMFLAGS)
|
81 |
+
|
82 |
+
|
83 |
+
# Flags used for preprocessing (in ansi2knr rules).
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmsh/fix-install.patch
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 7040709..a4b8c61 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -1872,12 +1872,30 @@ endif()
|
6 |
+
|
7 |
+
# mark targets as optional so we can install them separately if needed
|
8 |
+
# (e.g. "make lib" or "make shared" followed by "make install/fast")
|
9 |
+
-install(TARGETS gmsh DESTINATION ${GMSH_BIN} OPTIONAL)
|
10 |
+
+install(
|
11 |
+
+ TARGETS gmsh
|
12 |
+
+ RUNTIME DESTINATION bin
|
13 |
+
+ LIBRARY DESTINATION lib
|
14 |
+
+ ARCHIVE DESTINATION lib
|
15 |
+
+ OPTIONAL
|
16 |
+
+)
|
17 |
+
if(ENABLE_BUILD_LIB)
|
18 |
+
- install(TARGETS lib DESTINATION ${GMSH_LIB} OPTIONAL)
|
19 |
+
+ install(
|
20 |
+
+ TARGETS lib
|
21 |
+
+ RUNTIME DESTINATION bin
|
22 |
+
+ LIBRARY DESTINATION lib
|
23 |
+
+ ARCHIVE DESTINATION lib
|
24 |
+
+ OPTIONAL
|
25 |
+
+ )
|
26 |
+
endif()
|
27 |
+
if(ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC)
|
28 |
+
- install(TARGETS shared DESTINATION ${GMSH_LIB} OPTIONAL)
|
29 |
+
+ install(
|
30 |
+
+ TARGETS shared
|
31 |
+
+ RUNTIME DESTINATION bin
|
32 |
+
+ LIBRARY DESTINATION lib
|
33 |
+
+ ARCHIVE DESTINATION lib
|
34 |
+
+ OPTIONAL
|
35 |
+
+ )
|
36 |
+
endif()
|
37 |
+
|
38 |
+
if(ENABLE_ONELAB AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/contrib/onelab)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmsh/portfile.cmake
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_gitlab(
|
2 |
+
GITLAB_URL https://gitlab.onelab.info
|
3 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
4 |
+
REPO gmsh/gmsh
|
5 |
+
REF gmsh_4_9_0
|
6 |
+
SHA512 e70a09741a86a9131094e77742078aec1cc94517e1d7c855c257bc93c21c057e25c7ac5168d31ec4d905d78f31d5704faf63bfd3a81b4b9e2ebbcfacf2fdaa8b
|
7 |
+
HEAD_REF master
|
8 |
+
PATCHES fix-install.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_LIB)
|
12 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
|
13 |
+
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_RUNTIME)
|
14 |
+
|
15 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
16 |
+
FEATURES
|
17 |
+
opencascade ENABLE_OCC
|
18 |
+
opencascade ENABLE_OCC_CAF
|
19 |
+
opencascade ENABLE_OCC_TBB
|
20 |
+
mpi ENABLE_MPI
|
21 |
+
zipper ENABLE_ZIPPER
|
22 |
+
)
|
23 |
+
|
24 |
+
|
25 |
+
vcpkg_cmake_configure(
|
26 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
27 |
+
DISABLE_PARALLEL_CONFIGURE
|
28 |
+
OPTIONS
|
29 |
+
${FEATURE_OPTIONS}
|
30 |
+
-DENABLE_BUILD_LIB=${BUILD_LIB}
|
31 |
+
-DENABLE_BUILD_SHARED=${BUILD_SHARED}
|
32 |
+
-DENABLE_MSVC_STATIC_RUNTIME=${STATIC_RUNTIME}
|
33 |
+
-DGMSH_RELEASE=ON
|
34 |
+
-DENABLE_PACKAGE_STRIP=ON
|
35 |
+
-DENABLE_SYSTEM_CONTRIB=ON
|
36 |
+
# Not implement
|
37 |
+
-DENABLE_GRAPHICS=OFF # Requires mesh, post, plugins and onelab
|
38 |
+
-DENABLE_POST=OFF
|
39 |
+
-DENABLE_PLUGINS=OFF
|
40 |
+
-DENABLE_MESH=OFF
|
41 |
+
-DENABLE_PARSER=OFF
|
42 |
+
-DENABLE_PROFILE=OFF
|
43 |
+
-DENABLE_PRIVATE_API=OFF
|
44 |
+
-DENABLE_QUADMESHINGTOOLS=OFF
|
45 |
+
-DENABLE_PRO=OFF
|
46 |
+
-DENABLE_TOUCHBAR=OFF
|
47 |
+
-DENABLE_VISUDEV=OFF
|
48 |
+
-DENABLE_BLAS_LAPACK=OFF
|
49 |
+
-DENABLE_CAIRO=OFF
|
50 |
+
-DENABLE_CGNS=OFF
|
51 |
+
-DENABLE_CGNS_CPEX0045=OFF
|
52 |
+
-DENABLE_EIGEN=OFF
|
53 |
+
-DENABLE_GMP=OFF
|
54 |
+
-DENABLE_OPENMP=OFF
|
55 |
+
-DENABLE_POPPLER=OFF
|
56 |
+
-DENABLE_WRAP_JAVA=OFF
|
57 |
+
-DENABLE_WRAP_PYTHON=OFF
|
58 |
+
# Requies dependencies which not included in vcpkg yet
|
59 |
+
-DENABLE_3M=OFF
|
60 |
+
-DENABLE_ALGLIB=OFF
|
61 |
+
-DENABLE_ANN=OFF
|
62 |
+
-DENABLE_BAMG=OFF
|
63 |
+
-DENABLE_BLOSSOM=OFF
|
64 |
+
-DENABLE_BUILD_DYNAMIC=OFF # Needs gfortran
|
65 |
+
-DENABLE_FLTK=OFF # Needs executable fltk-config
|
66 |
+
-DENABLE_DINTEGRATION=OFF
|
67 |
+
-DENABLE_GEOMETRYCENTRAL=OFF
|
68 |
+
-DENABLE_DOMHEX=OFF
|
69 |
+
-DENABLE_GETDP=OFF
|
70 |
+
-DENABLE_GMM=OFF
|
71 |
+
-DENABLE_HXT=OFF
|
72 |
+
-DENABLE_KBIPACK=OFF
|
73 |
+
-DENABLE_MATHEX=OFF
|
74 |
+
-DENABLE_MED=OFF
|
75 |
+
-DENABLE_METIS=OFF
|
76 |
+
-DENABLE_MMG=OFF
|
77 |
+
-DENABLE_MPEG_ENCODE=OFF
|
78 |
+
-DENABLE_MUMPS=OFF
|
79 |
+
-DENABLE_NUMPY=OFF
|
80 |
+
-DENABLE_NETGEN=OFF
|
81 |
+
-DENABLE_PETSC4PY=OFF
|
82 |
+
-DENABLE_ONELAB_METAMODEL=OFF
|
83 |
+
-DENABLE_ONELAB=OFF
|
84 |
+
-DENABLE_OPENACC=OFF
|
85 |
+
-DENABLE_OPTHOM=OFF
|
86 |
+
-DENABLE_OSMESA=OFF
|
87 |
+
-DENABLE_P4EST=OFF
|
88 |
+
-DENABLE_PETSC=OFF
|
89 |
+
-DENABLE_QUADTRI=OFF
|
90 |
+
-DENABLE_REVOROPT=OFF
|
91 |
+
-DENABLE_SLEPC=OFF
|
92 |
+
-DENABLE_SOLVER=OFF
|
93 |
+
-DENABLE_TCMALLOC=OFF
|
94 |
+
-DENABLE_VOROPP=OFF
|
95 |
+
-DENABLE_WINSLOWUNTANGLER=OFF
|
96 |
+
# experimental
|
97 |
+
-DENABLE_BUILD_ANDROID=OFF
|
98 |
+
-DENABLE_BUILD_IOS=OFF
|
99 |
+
|
100 |
+
-DENABLE_OS_SPECIFIC_INSTALL=OFF # Needs system permission
|
101 |
+
-DENABLE_RPATH=OFF # Should use dependencies in vcpkg
|
102 |
+
-DENABLE_TESTS=OFF
|
103 |
+
)
|
104 |
+
|
105 |
+
vcpkg_cmake_install()
|
106 |
+
|
107 |
+
vcpkg_copy_tools(TOOL_NAMES gmsh AUTO_CLEAN)
|
108 |
+
|
109 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
110 |
+
|
111 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gmsh/vcpkg.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gmsh",
|
3 |
+
"version": "4.9.0",
|
4 |
+
"description": "Gmsh is an open source 3D finite element mesh generator with a built-in CAD engine and post-processor.",
|
5 |
+
"homepage": "https://gmsh.info",
|
6 |
+
"supports": "!uwp",
|
7 |
+
"dependencies": [
|
8 |
+
"blas",
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
}
|
13 |
+
],
|
14 |
+
"features": {
|
15 |
+
"graphics": {
|
16 |
+
"description": "Enable building graphics lib even without GUI (advanced)",
|
17 |
+
"dependencies": [
|
18 |
+
"libjpeg-turbo",
|
19 |
+
"libpng",
|
20 |
+
"opengl",
|
21 |
+
"zlib"
|
22 |
+
]
|
23 |
+
},
|
24 |
+
"mpi": {
|
25 |
+
"description": "Enable MPI (experimental, not used for meshing)",
|
26 |
+
"dependencies": [
|
27 |
+
"openmpi"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
"occ": {
|
31 |
+
"description": "Enable OpenCASCADE modules",
|
32 |
+
"dependencies": [
|
33 |
+
"caf",
|
34 |
+
"freetype",
|
35 |
+
"opencascade",
|
36 |
+
"tbb"
|
37 |
+
]
|
38 |
+
},
|
39 |
+
"zipper": {
|
40 |
+
"description": "Enable Zip file compression/decompression",
|
41 |
+
"dependencies": [
|
42 |
+
"zlib"
|
43 |
+
]
|
44 |
+
}
|
45 |
+
}
|
46 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/0001-g-ir-tool-template.in.patch
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- a/tools/g-ir-tool-template.in 2021-09-17 23:02:42.601052000 +0700
|
2 |
+
+++ b/tools/g-ir-tool-template.in 2021-12-29 21:41:52.987141900 +0700
|
3 |
+
@@ -59,7 +59,7 @@
|
4 |
+
builtins.__dict__['GIRDIR'] = [girdir]
|
5 |
+
|
6 |
+
# Again, relative paths first so that the installation prefix is relocatable
|
7 |
+
-pylibdir = os.path.abspath(os.path.join(filedir, '..', 'lib', 'gobject-introspection'))
|
8 |
+
+pylibdir = os.path.abspath(os.path.join(filedir, '..', '..', 'lib', 'gobject-introspection'))
|
9 |
+
|
10 |
+
# EXT_SUFFIX for py3 SO for py2
|
11 |
+
py_mod_suffix = sysconfig.get_config_var('EXT_SUFFIX') or sysconfig.get_config_var('SO')
|
12 |
+
@@ -91,6 +91,11 @@
|
13 |
+
|
14 |
+
sys.path.insert(0, pylibdir)
|
15 |
+
|
16 |
+
+pkg_config_path = os.getenv('PKG_CONFIG_PATH', '')
|
17 |
+
+if pkg_config_path:
|
18 |
+
+ pkg_config_path = os.pathsep + pkg_config_path
|
19 |
+
+os.environ['PKG_CONFIG_PATH'] = os.path.normpath(os.path.join(pylibdir, '..', 'pkgconfig')) + pkg_config_path
|
20 |
+
+
|
21 |
+
from giscanner.utils import dll_dirs
|
22 |
+
dll_dirs = dll_dirs()
|
23 |
+
dll_dirs.add_dll_dirs(['gio-2.0'])
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/0002-cross-build.patch
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- a/gir/meson.build 2021-09-17 23:02:42.502052000 +0700
|
2 |
+
+++ b/gir/meson.build 2022-01-05 02:31:25.960457800 +0700
|
3 |
+
@@ -42,7 +42,7 @@
|
4 |
+
install_data(gir_files, install_dir: girdir)
|
5 |
+
|
6 |
+
scanner_command = [
|
7 |
+
- find_program('g-ir-scanner', native: true),
|
8 |
+
+ find_program('g-ir-scanner'),
|
9 |
+
'--output=@OUTPUT@',
|
10 |
+
'--no-libtool',
|
11 |
+
'--quiet',
|
12 |
+
@@ -495,6 +495,7 @@
|
13 |
+
)
|
14 |
+
|
15 |
+
typelibs = []
|
16 |
+
+gircompiler = find_program('g-ir-compiler')
|
17 |
+
if get_option('gi_cross_binary_wrapper') != ''
|
18 |
+
gircompiler_command = [get_option('gi_cross_binary_wrapper'), gircompiler.full_path(), ]
|
19 |
+
else
|
20 |
+
@@ -510,7 +511,7 @@
|
21 |
+
typelibs += custom_target('generate-typelib-@0@'.format(gir).underscorify(),
|
22 |
+
input: gir,
|
23 |
+
output: '@[email protected]',
|
24 |
+
- depends: [gobject_gir, gircompiler, ],
|
25 |
+
+ depends: [gobject_gir, ],
|
26 |
+
command: gircompiler_command,
|
27 |
+
install: true,
|
28 |
+
install_dir: typelibdir,
|
29 |
+
--- a/tools/meson.build 2021-09-17 23:02:42.601052000 +0700
|
30 |
+
+++ b/tools/meson.build 2022-01-05 02:36:06.103763400 +0700
|
31 |
+
@@ -64,7 +64,9 @@
|
32 |
+
install: true,
|
33 |
+
c_args: custom_c_args,
|
34 |
+
)
|
35 |
+
-meson.override_find_program('g-ir-compiler', gircompiler)
|
36 |
+
+if not get_option('gi_cross_use_prebuilt_gi')
|
37 |
+
+ meson.override_find_program('g-ir-compiler', gircompiler)
|
38 |
+
+endif
|
39 |
+
|
40 |
+
girgenerate = executable('g-ir-generate', 'generate.c',
|
41 |
+
dependencies: [
|
42 |
+
@@ -74,11 +76,15 @@
|
43 |
+
install: true,
|
44 |
+
c_args: custom_c_args,
|
45 |
+
)
|
46 |
+
-meson.override_find_program('g-ir-generate', girgenerate)
|
47 |
+
+if not get_option('gi_cross_use_prebuilt_gi')
|
48 |
+
+ meson.override_find_program('g-ir-generate', girgenerate)
|
49 |
+
+endif
|
50 |
+
|
51 |
+
girinspect = executable('g-ir-inspect', 'g-ir-inspect.c',
|
52 |
+
dependencies: girepo_dep,
|
53 |
+
install: true,
|
54 |
+
c_args: custom_c_args,
|
55 |
+
)
|
56 |
+
-meson.override_find_program('g-ir-inspect', girinspect)
|
57 |
+
+if not get_option('gi_cross_use_prebuilt_gi')
|
58 |
+
+ meson.override_find_program('g-ir-inspect', girinspect)
|
59 |
+
+endif
|
60 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/portfile.cmake
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
set(GI_MAJOR_MINOR 1.70)
|
3 |
+
set(GI_PATCH 0)
|
4 |
+
|
5 |
+
vcpkg_download_distfile(ARCHIVE
|
6 |
+
URLS "https://download.gnome.org/sources/gobject-introspection/${GI_MAJOR_MINOR}/gobject-introspection-${GI_MAJOR_MINOR}.${GI_PATCH}.tar.xz"
|
7 |
+
FILENAME "gobject-introspection-${GI_MAJOR_MINOR}.${GI_PATCH}.tar.xz"
|
8 |
+
SHA512 216b376ed423f607e36c723dd6b67975dbfb63c253f2d8bd0b3661e3d69f8c8059cf221db8c5260b0262fad1b7d738f3b2e5fbd51fdbc31e40ccb115c209baf0
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_extract_source_archive_ex(
|
12 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
13 |
+
ARCHIVE ${ARCHIVE}
|
14 |
+
PATCHES
|
15 |
+
0001-g-ir-tool-template.in.patch
|
16 |
+
0002-cross-build.patch
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_find_acquire_program(PYTHON3)
|
20 |
+
vcpkg_find_acquire_program(FLEX)
|
21 |
+
vcpkg_find_acquire_program(BISON)
|
22 |
+
|
23 |
+
set(OPTIONS_DEBUG -Dbuild_introspection_data=false)
|
24 |
+
set(OPTIONS_RELEASE -Dbuild_introspection_data=true)
|
25 |
+
if(NOT HOST_TRIPLET STREQUAL TARGET_TRIPLET AND
|
26 |
+
NOT (CMAKE_HOST_WIN32 AND VCPKG_TARGET_ARCHITECTURE STREQUAL "x86"))
|
27 |
+
list(APPEND OPTIONS_RELEASE -Dgi_cross_use_prebuilt_gi=true)
|
28 |
+
endif()
|
29 |
+
|
30 |
+
vcpkg_configure_meson(
|
31 |
+
SOURCE_PATH ${SOURCE_PATH}
|
32 |
+
OPTIONS_DEBUG
|
33 |
+
${OPTIONS_DEBUG}
|
34 |
+
OPTIONS_RELEASE
|
35 |
+
${OPTIONS_RELEASE}
|
36 |
+
ADDITIONAL_NATIVE_BINARIES
|
37 |
+
flex='${FLEX}'
|
38 |
+
bison='${BISON}'
|
39 |
+
ADDITIONAL_CROSS_BINARIES
|
40 |
+
flex='${FLEX}'
|
41 |
+
bison='${BISON}'
|
42 |
+
g-ir-annotation-tool='${CURRENT_HOST_INSTALLED_DIR}/tools/gobject-introspection/g-ir-annotation-tool'
|
43 |
+
g-ir-compiler='${CURRENT_HOST_INSTALLED_DIR}/tools/gobject-introspection/g-ir-compiler${VCPKG_HOST_EXECUTABLE_SUFFIX}'
|
44 |
+
g-ir-scanner='${CURRENT_HOST_INSTALLED_DIR}/tools/gobject-introspection/g-ir-scanner'
|
45 |
+
)
|
46 |
+
|
47 |
+
vcpkg_host_path_list(APPEND ENV{PKG_CONFIG_PATH} "${CURRENT_INSTALLED_DIR}/lib/pkgconfig")
|
48 |
+
vcpkg_host_path_list(APPEND ENV{LIB} "${CURRENT_INSTALLED_DIR}/lib")
|
49 |
+
vcpkg_install_meson(ADD_BIN_TO_PATH)
|
50 |
+
|
51 |
+
vcpkg_copy_pdbs()
|
52 |
+
|
53 |
+
vcpkg_fixup_pkgconfig()
|
54 |
+
|
55 |
+
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
56 |
+
|
57 |
+
set(GI_TOOLS
|
58 |
+
g-ir-compiler
|
59 |
+
g-ir-generate
|
60 |
+
g-ir-inspect
|
61 |
+
)
|
62 |
+
set(GI_SCRIPTS
|
63 |
+
g-ir-annotation-tool
|
64 |
+
g-ir-scanner
|
65 |
+
)
|
66 |
+
|
67 |
+
vcpkg_copy_tools(TOOL_NAMES ${GI_TOOLS} AUTO_CLEAN)
|
68 |
+
foreach(script IN LISTS GI_SCRIPTS)
|
69 |
+
file(READ "${CURRENT_PACKAGES_DIR}/bin/${script}" _contents)
|
70 |
+
string(REPLACE "#!/usr/bin/env ${PYTHON3}" "#!/usr/bin/env python3" _contents "${_contents}")
|
71 |
+
string(REPLACE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_INSTALLED_DIR}/lib" _contents "${_contents}")
|
72 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/tools/${PORT}/${script}" "${_contents}")
|
73 |
+
|
74 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/${script}")
|
75 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/${script}")
|
76 |
+
endforeach()
|
77 |
+
|
78 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}")
|
79 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
80 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/man")
|
81 |
+
|
82 |
+
set(VCPKG_POLICY_MISMATCHED_NUMBER_OF_BINARIES enabled) # _giscanner.lib
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gobject-introspection/vcpkg.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gobject-introspection",
|
3 |
+
"version": "1.70.0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "A middleware layer between C libraries (using GObject) and language bindings.",
|
6 |
+
"homepage": "https://gi.readthedocs.io/en/latest/",
|
7 |
+
"supports": "!static & (native | (windows & x86))",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "cairo",
|
11 |
+
"default-features": false,
|
12 |
+
"features": [
|
13 |
+
"gobject"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
"glib",
|
17 |
+
{
|
18 |
+
"name": "glib",
|
19 |
+
"host": true
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "gobject-introspection",
|
23 |
+
"host": true
|
24 |
+
},
|
25 |
+
"python3",
|
26 |
+
{
|
27 |
+
"name": "vcpkg-tool-meson",
|
28 |
+
"host": true
|
29 |
+
}
|
30 |
+
]
|
31 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-common/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-common/vcpkg.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "google-cloud-cpp-common",
|
3 |
+
"version-string": "alias",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Deprecated, use google-cloud-cpp instead",
|
6 |
+
"dependencies": [
|
7 |
+
"google-cloud-cpp"
|
8 |
+
]
|
9 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-spanner/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp-spanner/vcpkg.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "google-cloud-cpp-spanner",
|
3 |
+
"version-string": "alias",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Deprecated, use google-cloud-cpp instead",
|
6 |
+
"dependencies": [
|
7 |
+
"google-cloud-cpp"
|
8 |
+
]
|
9 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp/portfile.cmake
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO googleapis/google-cloud-cpp
|
6 |
+
REF v1.39.0
|
7 |
+
SHA512 d61ebcdb6680797f20147ee1d37b9d29c82e8c7267b944a346685bfa607cf0b7f1772854874b967f19b4f54ddcefc94a771a4686cafcd6a5fed426d64e553205
|
8 |
+
HEAD_REF main
|
9 |
+
PATCHES
|
10 |
+
support_absl_cxx17.patch
|
11 |
+
)
|
12 |
+
|
13 |
+
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/grpc")
|
14 |
+
|
15 |
+
set(GOOGLE_CLOUD_CPP_ENABLE "${FEATURES}")
|
16 |
+
list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "core")
|
17 |
+
# This feature does not exist, but allows us to simplify the vcpkg.json file.
|
18 |
+
list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "grpc-common")
|
19 |
+
list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "googleapis")
|
20 |
+
|
21 |
+
vcpkg_cmake_configure(
|
22 |
+
SOURCE_PATH ${SOURCE_PATH}
|
23 |
+
DISABLE_PARALLEL_CONFIGURE
|
24 |
+
OPTIONS
|
25 |
+
"-DGOOGLE_CLOUD_CPP_ENABLE=${GOOGLE_CLOUD_CPP_ENABLE}"
|
26 |
+
-DGOOGLE_CLOUD_CPP_ENABLE_MACOS_OPENSSL_CHECK=OFF
|
27 |
+
-DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF
|
28 |
+
-DGOOGLE_CLOUD_CPP_ENABLE_CCACHE=OFF
|
29 |
+
-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF
|
30 |
+
-DBUILD_TESTING=OFF
|
31 |
+
)
|
32 |
+
|
33 |
+
vcpkg_cmake_install()
|
34 |
+
|
35 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
36 |
+
foreach(feature IN LISTS FEATURES)
|
37 |
+
set(config_path "lib/cmake/google_cloud_cpp_${feature}")
|
38 |
+
# Most features get their own package in `google-cloud-cpp`.
|
39 |
+
# The exceptions are captured by this `if()` command, basically
|
40 |
+
# things like `core` and `experimental-storage-grpc` are skipped.
|
41 |
+
if(NOT IS_DIRECTORY "${CURRENT_PACKAGES_DIR}/${config_path}")
|
42 |
+
continue()
|
43 |
+
endif()
|
44 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME "google_cloud_cpp_${feature}"
|
45 |
+
CONFIG_PATH "${config_path}"
|
46 |
+
DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
47 |
+
endforeach()
|
48 |
+
# These packages are automatically installed depending on what features are
|
49 |
+
# enabled.
|
50 |
+
foreach(suffix common googleapis grpc_utils)
|
51 |
+
set(config_path "lib/cmake/google_cloud_cpp_${suffix}")
|
52 |
+
if(NOT IS_DIRECTORY "${CURRENT_PACKAGES_DIR}/${config_path}")
|
53 |
+
continue()
|
54 |
+
endif()
|
55 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME "google_cloud_cpp_${suffix}"
|
56 |
+
CONFIG_PATH "${config_path}"
|
57 |
+
DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
58 |
+
endforeach()
|
59 |
+
|
60 |
+
# These packages are only for backwards compability. The google-cloud-cpp team
|
61 |
+
# is planning to remove them around 2022-02-15.
|
62 |
+
foreach(package
|
63 |
+
googleapis
|
64 |
+
bigtable_client
|
65 |
+
pubsub_client
|
66 |
+
spanner_client
|
67 |
+
storage_client)
|
68 |
+
set(config_path "lib/cmake/${package}")
|
69 |
+
if(NOT IS_DIRECTORY "${CURRENT_PACKAGES_DIR}/${config_path}")
|
70 |
+
continue()
|
71 |
+
endif()
|
72 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME "${package}"
|
73 |
+
CONFIG_PATH "${config_path}"
|
74 |
+
DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
75 |
+
endforeach()
|
76 |
+
|
77 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/cmake"
|
78 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/cmake"
|
79 |
+
"${CURRENT_PACKAGES_DIR}/debug/share")
|
80 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
81 |
+
|
82 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp/support_absl_cxx17.patch
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a//CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 4d03fee..42bb13c 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -43,6 +43,14 @@ if (APPLE AND NOT DEFINED CMAKE_CXX_STANDARD)
|
6 |
+
set(CMAKE_CXX_STANDARD 11)
|
7 |
+
endif ()
|
8 |
+
|
9 |
+
+find_package(absl CONFIG REQUIRED)
|
10 |
+
+
|
11 |
+
+# Use CMAKE_CXX_STANDARD=17 if ABSL_USE_CXX17 is set
|
12 |
+
+if (ABSL_USE_CXX17)
|
13 |
+
+ message(STATUS "Found absl uses CXX17, enable CXX17 feature.")
|
14 |
+
+ set(CMAKE_CXX_STANDARD 17)
|
15 |
+
+endif ()
|
16 |
+
+
|
17 |
+
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
18 |
+
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
|
19 |
+
message(
|
20 |
+
diff --git a/google/cloud/internal/port_platform.h b/google/cloud/internal/port_platform.h
|
21 |
+
index f02cb7a..0ea8c9c 100644
|
22 |
+
--- a/google/cloud/internal/port_platform.h
|
23 |
+
+++ b/google/cloud/internal/port_platform.h
|
24 |
+
@@ -49,6 +49,8 @@
|
25 |
+
// Abort compilation if the compiler does not support C++11.
|
26 |
+
#if GOOGLE_CLOUD_CPP_CPP_VERSION < 201103L
|
27 |
+
# error "C++11 or newer is required"
|
28 |
+
+#elif defined(ABSL_USE_CXX17) && GOOGLE_CLOUD_CPP_CPP_VERSION < 201703L
|
29 |
+
+# error "Compiled to use Abseil with C++17 support, but using with C++ < C++17"
|
30 |
+
#endif // GOOGLE_CLOUD_CPP_CPP_VERSION < 201103L
|
31 |
+
|
32 |
+
// Abort the build if the version of the compiler is too old. With CMake we
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/google-cloud-cpp/vcpkg.json
ADDED
@@ -0,0 +1,971 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "google-cloud-cpp",
|
3 |
+
"version": "1.39.0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "C++ Client Libraries for Google Cloud Platform APIs.",
|
6 |
+
"homepage": "https://github.com/googleapis/google-cloud-cpp",
|
7 |
+
"license": "Apache-2.0",
|
8 |
+
"supports": "!uwp",
|
9 |
+
"dependencies": [
|
10 |
+
"abseil",
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake",
|
13 |
+
"host": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "vcpkg-cmake-config",
|
17 |
+
"host": true
|
18 |
+
}
|
19 |
+
],
|
20 |
+
"default-features": [
|
21 |
+
"bigquery",
|
22 |
+
"bigtable",
|
23 |
+
"iam",
|
24 |
+
"pubsub",
|
25 |
+
"spanner",
|
26 |
+
"storage"
|
27 |
+
],
|
28 |
+
"features": {
|
29 |
+
"accessapproval": {
|
30 |
+
"description": "Access Approval API C++ Client Library",
|
31 |
+
"dependencies": [
|
32 |
+
{
|
33 |
+
"name": "google-cloud-cpp",
|
34 |
+
"default-features": false,
|
35 |
+
"features": [
|
36 |
+
"grpc-common"
|
37 |
+
]
|
38 |
+
}
|
39 |
+
]
|
40 |
+
},
|
41 |
+
"accesscontextmanager": {
|
42 |
+
"description": "Access Context Manager API C++ Client Library",
|
43 |
+
"dependencies": [
|
44 |
+
{
|
45 |
+
"name": "google-cloud-cpp",
|
46 |
+
"default-features": false,
|
47 |
+
"features": [
|
48 |
+
"grpc-common"
|
49 |
+
]
|
50 |
+
}
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"apigateway": {
|
54 |
+
"description": "API Gateway API C++ Client Library",
|
55 |
+
"dependencies": [
|
56 |
+
{
|
57 |
+
"name": "google-cloud-cpp",
|
58 |
+
"default-features": false,
|
59 |
+
"features": [
|
60 |
+
"grpc-common"
|
61 |
+
]
|
62 |
+
}
|
63 |
+
]
|
64 |
+
},
|
65 |
+
"apigeeconnect": {
|
66 |
+
"description": "Apigee Connect API C++ Client Library",
|
67 |
+
"dependencies": [
|
68 |
+
{
|
69 |
+
"name": "google-cloud-cpp",
|
70 |
+
"default-features": false,
|
71 |
+
"features": [
|
72 |
+
"grpc-common"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
"appengine": {
|
78 |
+
"description": "App Engine Admin API C++ Client Library",
|
79 |
+
"dependencies": [
|
80 |
+
{
|
81 |
+
"name": "google-cloud-cpp",
|
82 |
+
"default-features": false,
|
83 |
+
"features": [
|
84 |
+
"grpc-common"
|
85 |
+
]
|
86 |
+
}
|
87 |
+
]
|
88 |
+
},
|
89 |
+
"artifactregistry": {
|
90 |
+
"description": "Artifact Registry API C++ Client Library",
|
91 |
+
"dependencies": [
|
92 |
+
{
|
93 |
+
"name": "google-cloud-cpp",
|
94 |
+
"default-features": false,
|
95 |
+
"features": [
|
96 |
+
"grpc-common"
|
97 |
+
]
|
98 |
+
}
|
99 |
+
]
|
100 |
+
},
|
101 |
+
"asset": {
|
102 |
+
"description": "Cloud Asset API C++ Client Library",
|
103 |
+
"dependencies": [
|
104 |
+
{
|
105 |
+
"name": "google-cloud-cpp",
|
106 |
+
"default-features": false,
|
107 |
+
"features": [
|
108 |
+
"grpc-common"
|
109 |
+
]
|
110 |
+
}
|
111 |
+
]
|
112 |
+
},
|
113 |
+
"assuredworkloads": {
|
114 |
+
"description": "Assured Workloads API C++ Client Library",
|
115 |
+
"dependencies": [
|
116 |
+
{
|
117 |
+
"name": "google-cloud-cpp",
|
118 |
+
"default-features": false,
|
119 |
+
"features": [
|
120 |
+
"grpc-common"
|
121 |
+
]
|
122 |
+
}
|
123 |
+
]
|
124 |
+
},
|
125 |
+
"automl": {
|
126 |
+
"description": "Cloud AutoML API C++ Client Library",
|
127 |
+
"dependencies": [
|
128 |
+
{
|
129 |
+
"name": "google-cloud-cpp",
|
130 |
+
"default-features": false,
|
131 |
+
"features": [
|
132 |
+
"grpc-common"
|
133 |
+
]
|
134 |
+
}
|
135 |
+
]
|
136 |
+
},
|
137 |
+
"bigquery": {
|
138 |
+
"description": "The Google Cloud BigQuery C++ client library",
|
139 |
+
"dependencies": [
|
140 |
+
{
|
141 |
+
"name": "google-cloud-cpp",
|
142 |
+
"default-features": false,
|
143 |
+
"features": [
|
144 |
+
"grpc-common"
|
145 |
+
]
|
146 |
+
}
|
147 |
+
]
|
148 |
+
},
|
149 |
+
"bigtable": {
|
150 |
+
"description": "The Google Cloud Bigtable C++ client library",
|
151 |
+
"dependencies": [
|
152 |
+
{
|
153 |
+
"name": "google-cloud-cpp",
|
154 |
+
"default-features": false,
|
155 |
+
"features": [
|
156 |
+
"grpc-common"
|
157 |
+
]
|
158 |
+
}
|
159 |
+
]
|
160 |
+
},
|
161 |
+
"billing": {
|
162 |
+
"description": "Cloud Billing Budget API C++ Client Library",
|
163 |
+
"dependencies": [
|
164 |
+
{
|
165 |
+
"name": "google-cloud-cpp",
|
166 |
+
"default-features": false,
|
167 |
+
"features": [
|
168 |
+
"grpc-common"
|
169 |
+
]
|
170 |
+
}
|
171 |
+
]
|
172 |
+
},
|
173 |
+
"binaryauthorization": {
|
174 |
+
"description": "Binary Authorization API C++ Client Library",
|
175 |
+
"dependencies": [
|
176 |
+
{
|
177 |
+
"name": "google-cloud-cpp",
|
178 |
+
"default-features": false,
|
179 |
+
"features": [
|
180 |
+
"grpc-common"
|
181 |
+
]
|
182 |
+
}
|
183 |
+
]
|
184 |
+
},
|
185 |
+
"channel": {
|
186 |
+
"description": "Cloud Channel API C++ Client Library",
|
187 |
+
"dependencies": [
|
188 |
+
{
|
189 |
+
"name": "google-cloud-cpp",
|
190 |
+
"default-features": false,
|
191 |
+
"features": [
|
192 |
+
"grpc-common"
|
193 |
+
]
|
194 |
+
}
|
195 |
+
]
|
196 |
+
},
|
197 |
+
"cloudbuild": {
|
198 |
+
"description": "Cloud Build API C++ Client Library",
|
199 |
+
"dependencies": [
|
200 |
+
{
|
201 |
+
"name": "google-cloud-cpp",
|
202 |
+
"default-features": false,
|
203 |
+
"features": [
|
204 |
+
"grpc-common"
|
205 |
+
]
|
206 |
+
}
|
207 |
+
]
|
208 |
+
},
|
209 |
+
"composer": {
|
210 |
+
"description": "Cloud Composer C++ Client Library",
|
211 |
+
"dependencies": [
|
212 |
+
{
|
213 |
+
"name": "google-cloud-cpp",
|
214 |
+
"default-features": false,
|
215 |
+
"features": [
|
216 |
+
"grpc-common"
|
217 |
+
]
|
218 |
+
}
|
219 |
+
]
|
220 |
+
},
|
221 |
+
"contactcenterinsights": {
|
222 |
+
"description": "Contact Center AI Insights API C++ Client Library",
|
223 |
+
"dependencies": [
|
224 |
+
{
|
225 |
+
"name": "google-cloud-cpp",
|
226 |
+
"default-features": false,
|
227 |
+
"features": [
|
228 |
+
"grpc-common"
|
229 |
+
]
|
230 |
+
}
|
231 |
+
]
|
232 |
+
},
|
233 |
+
"container": {
|
234 |
+
"description": "Kubernetes Engine API C++ Client Library",
|
235 |
+
"dependencies": [
|
236 |
+
{
|
237 |
+
"name": "google-cloud-cpp",
|
238 |
+
"default-features": false,
|
239 |
+
"features": [
|
240 |
+
"grpc-common"
|
241 |
+
]
|
242 |
+
}
|
243 |
+
]
|
244 |
+
},
|
245 |
+
"containeranalysis": {
|
246 |
+
"description": "Container Analysis API C++ Client Library",
|
247 |
+
"dependencies": [
|
248 |
+
{
|
249 |
+
"name": "google-cloud-cpp",
|
250 |
+
"default-features": false,
|
251 |
+
"features": [
|
252 |
+
"grpc-common"
|
253 |
+
]
|
254 |
+
}
|
255 |
+
]
|
256 |
+
},
|
257 |
+
"datacatalog": {
|
258 |
+
"description": "Google Cloud Data Catalog API C++ Client Library",
|
259 |
+
"dependencies": [
|
260 |
+
{
|
261 |
+
"name": "google-cloud-cpp",
|
262 |
+
"default-features": false,
|
263 |
+
"features": [
|
264 |
+
"grpc-common"
|
265 |
+
]
|
266 |
+
}
|
267 |
+
]
|
268 |
+
},
|
269 |
+
"datamigration": {
|
270 |
+
"description": "Database Migration API C++ Client Library",
|
271 |
+
"dependencies": [
|
272 |
+
{
|
273 |
+
"name": "google-cloud-cpp",
|
274 |
+
"default-features": false,
|
275 |
+
"features": [
|
276 |
+
"grpc-common"
|
277 |
+
]
|
278 |
+
}
|
279 |
+
]
|
280 |
+
},
|
281 |
+
"dataproc": {
|
282 |
+
"description": "Cloud Dataproc API C++ Client Library",
|
283 |
+
"dependencies": [
|
284 |
+
{
|
285 |
+
"name": "google-cloud-cpp",
|
286 |
+
"default-features": false,
|
287 |
+
"features": [
|
288 |
+
"grpc-common"
|
289 |
+
]
|
290 |
+
}
|
291 |
+
]
|
292 |
+
},
|
293 |
+
"debugger": {
|
294 |
+
"description": "Stackdriver Debugger API C++ Client Library",
|
295 |
+
"dependencies": [
|
296 |
+
{
|
297 |
+
"name": "google-cloud-cpp",
|
298 |
+
"default-features": false,
|
299 |
+
"features": [
|
300 |
+
"grpc-common"
|
301 |
+
]
|
302 |
+
}
|
303 |
+
]
|
304 |
+
},
|
305 |
+
"dlp": {
|
306 |
+
"description": "Cloud Data Loss Prevention (DLP) API C++ Client Library",
|
307 |
+
"dependencies": [
|
308 |
+
{
|
309 |
+
"name": "google-cloud-cpp",
|
310 |
+
"default-features": false,
|
311 |
+
"features": [
|
312 |
+
"grpc-common"
|
313 |
+
]
|
314 |
+
}
|
315 |
+
]
|
316 |
+
},
|
317 |
+
"documentai": {
|
318 |
+
"description": "Cloud Document AI API C++ Client Library",
|
319 |
+
"dependencies": [
|
320 |
+
{
|
321 |
+
"name": "google-cloud-cpp",
|
322 |
+
"default-features": false,
|
323 |
+
"features": [
|
324 |
+
"grpc-common"
|
325 |
+
]
|
326 |
+
}
|
327 |
+
]
|
328 |
+
},
|
329 |
+
"eventarc": {
|
330 |
+
"description": "Eventarc API C++ Client Library",
|
331 |
+
"dependencies": [
|
332 |
+
{
|
333 |
+
"name": "google-cloud-cpp",
|
334 |
+
"default-features": false,
|
335 |
+
"features": [
|
336 |
+
"grpc-common"
|
337 |
+
]
|
338 |
+
}
|
339 |
+
]
|
340 |
+
},
|
341 |
+
"experimental-storage-grpc": {
|
342 |
+
"description": "The GCS+gRPC plugin",
|
343 |
+
"dependencies": [
|
344 |
+
{
|
345 |
+
"name": "google-cloud-cpp",
|
346 |
+
"default-features": false,
|
347 |
+
"features": [
|
348 |
+
"grpc-common",
|
349 |
+
"storage"
|
350 |
+
]
|
351 |
+
}
|
352 |
+
]
|
353 |
+
},
|
354 |
+
"filestore": {
|
355 |
+
"description": "Cloud Filestore API C++ Client Library",
|
356 |
+
"dependencies": [
|
357 |
+
{
|
358 |
+
"name": "google-cloud-cpp",
|
359 |
+
"default-features": false,
|
360 |
+
"features": [
|
361 |
+
"grpc-common"
|
362 |
+
]
|
363 |
+
}
|
364 |
+
]
|
365 |
+
},
|
366 |
+
"functions": {
|
367 |
+
"description": "Cloud Functions API C++ Client Library",
|
368 |
+
"dependencies": [
|
369 |
+
{
|
370 |
+
"name": "google-cloud-cpp",
|
371 |
+
"default-features": false,
|
372 |
+
"features": [
|
373 |
+
"grpc-common"
|
374 |
+
]
|
375 |
+
}
|
376 |
+
]
|
377 |
+
},
|
378 |
+
"gameservices": {
|
379 |
+
"description": "Game Services API C++ Client Library",
|
380 |
+
"dependencies": [
|
381 |
+
{
|
382 |
+
"name": "google-cloud-cpp",
|
383 |
+
"default-features": false,
|
384 |
+
"features": [
|
385 |
+
"grpc-common"
|
386 |
+
]
|
387 |
+
}
|
388 |
+
]
|
389 |
+
},
|
390 |
+
"gkehub": {
|
391 |
+
"description": "GKE Hub C++ Client Library",
|
392 |
+
"dependencies": [
|
393 |
+
{
|
394 |
+
"name": "google-cloud-cpp",
|
395 |
+
"default-features": false,
|
396 |
+
"features": [
|
397 |
+
"grpc-common"
|
398 |
+
]
|
399 |
+
}
|
400 |
+
]
|
401 |
+
},
|
402 |
+
"grpc-common": {
|
403 |
+
"description": "Dependencies used by all gRPC-based libraries",
|
404 |
+
"dependencies": [
|
405 |
+
"grpc",
|
406 |
+
{
|
407 |
+
"name": "grpc",
|
408 |
+
"host": true
|
409 |
+
},
|
410 |
+
"protobuf",
|
411 |
+
{
|
412 |
+
"name": "protobuf",
|
413 |
+
"host": true
|
414 |
+
}
|
415 |
+
]
|
416 |
+
},
|
417 |
+
"iam": {
|
418 |
+
"description": "The Google Cloud IAM C++ client library",
|
419 |
+
"dependencies": [
|
420 |
+
{
|
421 |
+
"name": "google-cloud-cpp",
|
422 |
+
"default-features": false,
|
423 |
+
"features": [
|
424 |
+
"grpc-common"
|
425 |
+
]
|
426 |
+
}
|
427 |
+
]
|
428 |
+
},
|
429 |
+
"iap": {
|
430 |
+
"description": "Cloud Identity-Aware Proxy API C++ Client Library",
|
431 |
+
"dependencies": [
|
432 |
+
{
|
433 |
+
"name": "google-cloud-cpp",
|
434 |
+
"default-features": false,
|
435 |
+
"features": [
|
436 |
+
"grpc-common"
|
437 |
+
]
|
438 |
+
}
|
439 |
+
]
|
440 |
+
},
|
441 |
+
"ids": {
|
442 |
+
"description": "Cloud IDS API C++ Client Library",
|
443 |
+
"dependencies": [
|
444 |
+
{
|
445 |
+
"name": "google-cloud-cpp",
|
446 |
+
"default-features": false,
|
447 |
+
"features": [
|
448 |
+
"grpc-common"
|
449 |
+
]
|
450 |
+
}
|
451 |
+
]
|
452 |
+
},
|
453 |
+
"iot": {
|
454 |
+
"description": "Cloud IoT API C++ Client Library",
|
455 |
+
"dependencies": [
|
456 |
+
{
|
457 |
+
"name": "google-cloud-cpp",
|
458 |
+
"default-features": false,
|
459 |
+
"features": [
|
460 |
+
"grpc-common"
|
461 |
+
]
|
462 |
+
}
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"kms": {
|
466 |
+
"description": "Cloud Key Management Service (KMS) API C++ Client Library",
|
467 |
+
"dependencies": [
|
468 |
+
{
|
469 |
+
"name": "google-cloud-cpp",
|
470 |
+
"default-features": false,
|
471 |
+
"features": [
|
472 |
+
"grpc-common"
|
473 |
+
]
|
474 |
+
}
|
475 |
+
]
|
476 |
+
},
|
477 |
+
"language": {
|
478 |
+
"description": "Cloud Natural Language API C++ Client Library",
|
479 |
+
"dependencies": [
|
480 |
+
{
|
481 |
+
"name": "google-cloud-cpp",
|
482 |
+
"default-features": false,
|
483 |
+
"features": [
|
484 |
+
"grpc-common"
|
485 |
+
]
|
486 |
+
}
|
487 |
+
]
|
488 |
+
},
|
489 |
+
"managedidentities": {
|
490 |
+
"description": "Managed Service for Microsoft Active Directory API C++ Client Library",
|
491 |
+
"dependencies": [
|
492 |
+
{
|
493 |
+
"name": "google-cloud-cpp",
|
494 |
+
"default-features": false,
|
495 |
+
"features": [
|
496 |
+
"grpc-common"
|
497 |
+
]
|
498 |
+
}
|
499 |
+
]
|
500 |
+
},
|
501 |
+
"memcache": {
|
502 |
+
"description": "Cloud Memorystore for Memcached API C++ Client Library",
|
503 |
+
"dependencies": [
|
504 |
+
{
|
505 |
+
"name": "google-cloud-cpp",
|
506 |
+
"default-features": false,
|
507 |
+
"features": [
|
508 |
+
"grpc-common"
|
509 |
+
]
|
510 |
+
}
|
511 |
+
]
|
512 |
+
},
|
513 |
+
"monitoring": {
|
514 |
+
"description": "Cloud Monitoring API C++ Client Library",
|
515 |
+
"dependencies": [
|
516 |
+
{
|
517 |
+
"name": "google-cloud-cpp",
|
518 |
+
"default-features": false,
|
519 |
+
"features": [
|
520 |
+
"grpc-common"
|
521 |
+
]
|
522 |
+
}
|
523 |
+
]
|
524 |
+
},
|
525 |
+
"networkmanagement": {
|
526 |
+
"description": "Network Management API C++ Client Library",
|
527 |
+
"dependencies": [
|
528 |
+
{
|
529 |
+
"name": "google-cloud-cpp",
|
530 |
+
"default-features": false,
|
531 |
+
"features": [
|
532 |
+
"grpc-common"
|
533 |
+
]
|
534 |
+
}
|
535 |
+
]
|
536 |
+
},
|
537 |
+
"notebooks": {
|
538 |
+
"description": "Notebooks API C++ Client Library",
|
539 |
+
"dependencies": [
|
540 |
+
{
|
541 |
+
"name": "google-cloud-cpp",
|
542 |
+
"default-features": false,
|
543 |
+
"features": [
|
544 |
+
"grpc-common"
|
545 |
+
]
|
546 |
+
}
|
547 |
+
]
|
548 |
+
},
|
549 |
+
"orgpolicy": {
|
550 |
+
"description": "Organization Policy API C++ Client Library",
|
551 |
+
"dependencies": [
|
552 |
+
{
|
553 |
+
"name": "google-cloud-cpp",
|
554 |
+
"default-features": false,
|
555 |
+
"features": [
|
556 |
+
"grpc-common"
|
557 |
+
]
|
558 |
+
}
|
559 |
+
]
|
560 |
+
},
|
561 |
+
"oslogin": {
|
562 |
+
"description": "Cloud OS Login API C++ Client Library",
|
563 |
+
"dependencies": [
|
564 |
+
{
|
565 |
+
"name": "google-cloud-cpp",
|
566 |
+
"default-features": false,
|
567 |
+
"features": [
|
568 |
+
"grpc-common"
|
569 |
+
]
|
570 |
+
}
|
571 |
+
]
|
572 |
+
},
|
573 |
+
"policytroubleshooter": {
|
574 |
+
"description": "Policy Troubleshooter API C++ Client Library",
|
575 |
+
"dependencies": [
|
576 |
+
{
|
577 |
+
"name": "google-cloud-cpp",
|
578 |
+
"default-features": false,
|
579 |
+
"features": [
|
580 |
+
"grpc-common"
|
581 |
+
]
|
582 |
+
}
|
583 |
+
]
|
584 |
+
},
|
585 |
+
"privateca": {
|
586 |
+
"description": "Certificate Authority API C++ Client Library",
|
587 |
+
"dependencies": [
|
588 |
+
{
|
589 |
+
"name": "google-cloud-cpp",
|
590 |
+
"default-features": false,
|
591 |
+
"features": [
|
592 |
+
"grpc-common"
|
593 |
+
]
|
594 |
+
}
|
595 |
+
]
|
596 |
+
},
|
597 |
+
"profiler": {
|
598 |
+
"description": "Cloud Profiler API C++ Client Library",
|
599 |
+
"dependencies": [
|
600 |
+
{
|
601 |
+
"name": "google-cloud-cpp",
|
602 |
+
"default-features": false,
|
603 |
+
"features": [
|
604 |
+
"grpc-common"
|
605 |
+
]
|
606 |
+
}
|
607 |
+
]
|
608 |
+
},
|
609 |
+
"pubsub": {
|
610 |
+
"description": "The Google Cloud Bigtable C++ client library",
|
611 |
+
"dependencies": [
|
612 |
+
{
|
613 |
+
"name": "google-cloud-cpp",
|
614 |
+
"default-features": false,
|
615 |
+
"features": [
|
616 |
+
"grpc-common"
|
617 |
+
]
|
618 |
+
}
|
619 |
+
]
|
620 |
+
},
|
621 |
+
"recommender": {
|
622 |
+
"description": "Recommender C++ Client Library",
|
623 |
+
"dependencies": [
|
624 |
+
{
|
625 |
+
"name": "google-cloud-cpp",
|
626 |
+
"default-features": false,
|
627 |
+
"features": [
|
628 |
+
"grpc-common"
|
629 |
+
]
|
630 |
+
}
|
631 |
+
]
|
632 |
+
},
|
633 |
+
"redis": {
|
634 |
+
"description": "Google Cloud Memorystore for Redis API C++ Client Library",
|
635 |
+
"dependencies": [
|
636 |
+
{
|
637 |
+
"name": "google-cloud-cpp",
|
638 |
+
"default-features": false,
|
639 |
+
"features": [
|
640 |
+
"grpc-common"
|
641 |
+
]
|
642 |
+
}
|
643 |
+
]
|
644 |
+
},
|
645 |
+
"resourcemanager": {
|
646 |
+
"description": "Cloud Resource Manager API C++ Client Library",
|
647 |
+
"dependencies": [
|
648 |
+
{
|
649 |
+
"name": "google-cloud-cpp",
|
650 |
+
"default-features": false,
|
651 |
+
"features": [
|
652 |
+
"grpc-common"
|
653 |
+
]
|
654 |
+
}
|
655 |
+
]
|
656 |
+
},
|
657 |
+
"resourcesettings": {
|
658 |
+
"description": "Resource Settings API C++ Client Library",
|
659 |
+
"dependencies": [
|
660 |
+
{
|
661 |
+
"name": "google-cloud-cpp",
|
662 |
+
"default-features": false,
|
663 |
+
"features": [
|
664 |
+
"grpc-common"
|
665 |
+
]
|
666 |
+
}
|
667 |
+
]
|
668 |
+
},
|
669 |
+
"retail": {
|
670 |
+
"description": "Retail API C++ Client Library",
|
671 |
+
"dependencies": [
|
672 |
+
{
|
673 |
+
"name": "google-cloud-cpp",
|
674 |
+
"default-features": false,
|
675 |
+
"features": [
|
676 |
+
"grpc-common"
|
677 |
+
]
|
678 |
+
}
|
679 |
+
]
|
680 |
+
},
|
681 |
+
"scheduler": {
|
682 |
+
"description": "Cloud Scheduler API C++ Client Library",
|
683 |
+
"dependencies": [
|
684 |
+
{
|
685 |
+
"name": "google-cloud-cpp",
|
686 |
+
"default-features": false,
|
687 |
+
"features": [
|
688 |
+
"grpc-common"
|
689 |
+
]
|
690 |
+
}
|
691 |
+
]
|
692 |
+
},
|
693 |
+
"secretmanager": {
|
694 |
+
"description": "The Google Cloud Secret Manager C++ client library",
|
695 |
+
"dependencies": [
|
696 |
+
{
|
697 |
+
"name": "google-cloud-cpp",
|
698 |
+
"default-features": false,
|
699 |
+
"features": [
|
700 |
+
"grpc-common"
|
701 |
+
]
|
702 |
+
}
|
703 |
+
]
|
704 |
+
},
|
705 |
+
"securitycenter": {
|
706 |
+
"description": "Security Command Center API C++ Client Library",
|
707 |
+
"dependencies": [
|
708 |
+
{
|
709 |
+
"name": "google-cloud-cpp",
|
710 |
+
"default-features": false,
|
711 |
+
"features": [
|
712 |
+
"grpc-common"
|
713 |
+
]
|
714 |
+
}
|
715 |
+
]
|
716 |
+
},
|
717 |
+
"servicecontrol": {
|
718 |
+
"description": "Service Control API C++ Client Library",
|
719 |
+
"dependencies": [
|
720 |
+
{
|
721 |
+
"name": "google-cloud-cpp",
|
722 |
+
"default-features": false,
|
723 |
+
"features": [
|
724 |
+
"grpc-common"
|
725 |
+
]
|
726 |
+
}
|
727 |
+
]
|
728 |
+
},
|
729 |
+
"servicedirectory": {
|
730 |
+
"description": "Service Directory API C++ Client Library",
|
731 |
+
"dependencies": [
|
732 |
+
{
|
733 |
+
"name": "google-cloud-cpp",
|
734 |
+
"default-features": false,
|
735 |
+
"features": [
|
736 |
+
"grpc-common"
|
737 |
+
]
|
738 |
+
}
|
739 |
+
]
|
740 |
+
},
|
741 |
+
"servicemanagement": {
|
742 |
+
"description": "Service Management API C++ Client Library",
|
743 |
+
"dependencies": [
|
744 |
+
{
|
745 |
+
"name": "google-cloud-cpp",
|
746 |
+
"default-features": false,
|
747 |
+
"features": [
|
748 |
+
"grpc-common"
|
749 |
+
]
|
750 |
+
}
|
751 |
+
]
|
752 |
+
},
|
753 |
+
"serviceusage": {
|
754 |
+
"description": "Service Usage API C++ Client Library",
|
755 |
+
"dependencies": [
|
756 |
+
{
|
757 |
+
"name": "google-cloud-cpp",
|
758 |
+
"default-features": false,
|
759 |
+
"features": [
|
760 |
+
"grpc-common"
|
761 |
+
]
|
762 |
+
}
|
763 |
+
]
|
764 |
+
},
|
765 |
+
"shell": {
|
766 |
+
"description": "Cloud Shell API C++ Client Library",
|
767 |
+
"dependencies": [
|
768 |
+
{
|
769 |
+
"name": "google-cloud-cpp",
|
770 |
+
"default-features": false,
|
771 |
+
"features": [
|
772 |
+
"grpc-common"
|
773 |
+
]
|
774 |
+
}
|
775 |
+
]
|
776 |
+
},
|
777 |
+
"spanner": {
|
778 |
+
"description": "The Google Cloud Spanner C++ client library",
|
779 |
+
"dependencies": [
|
780 |
+
{
|
781 |
+
"name": "google-cloud-cpp",
|
782 |
+
"default-features": false,
|
783 |
+
"features": [
|
784 |
+
"grpc-common"
|
785 |
+
]
|
786 |
+
}
|
787 |
+
]
|
788 |
+
},
|
789 |
+
"storage": {
|
790 |
+
"description": "The Google Cloud Storage C++ client library",
|
791 |
+
"dependencies": [
|
792 |
+
"crc32c",
|
793 |
+
{
|
794 |
+
"name": "curl",
|
795 |
+
"features": [
|
796 |
+
"ssl"
|
797 |
+
]
|
798 |
+
},
|
799 |
+
"nlohmann-json"
|
800 |
+
]
|
801 |
+
},
|
802 |
+
"storagetransfer": {
|
803 |
+
"description": "Storage Transfer API C++ Client Library",
|
804 |
+
"dependencies": [
|
805 |
+
{
|
806 |
+
"name": "google-cloud-cpp",
|
807 |
+
"default-features": false,
|
808 |
+
"features": [
|
809 |
+
"grpc-common"
|
810 |
+
]
|
811 |
+
}
|
812 |
+
]
|
813 |
+
},
|
814 |
+
"talent": {
|
815 |
+
"description": "Cloud Talent Solution API C++ Client Library",
|
816 |
+
"dependencies": [
|
817 |
+
{
|
818 |
+
"name": "google-cloud-cpp",
|
819 |
+
"default-features": false,
|
820 |
+
"features": [
|
821 |
+
"grpc-common"
|
822 |
+
]
|
823 |
+
}
|
824 |
+
]
|
825 |
+
},
|
826 |
+
"tasks": {
|
827 |
+
"description": "The Google Cloud Tasks C++ client library",
|
828 |
+
"dependencies": [
|
829 |
+
{
|
830 |
+
"name": "google-cloud-cpp",
|
831 |
+
"default-features": false,
|
832 |
+
"features": [
|
833 |
+
"grpc-common"
|
834 |
+
]
|
835 |
+
}
|
836 |
+
]
|
837 |
+
},
|
838 |
+
"texttospeech": {
|
839 |
+
"description": "Cloud Text-to-Speech API C++ Client Library",
|
840 |
+
"dependencies": [
|
841 |
+
{
|
842 |
+
"name": "google-cloud-cpp",
|
843 |
+
"default-features": false,
|
844 |
+
"features": [
|
845 |
+
"grpc-common"
|
846 |
+
]
|
847 |
+
}
|
848 |
+
]
|
849 |
+
},
|
850 |
+
"tpu": {
|
851 |
+
"description": "Cloud TPU API C++ Client Library",
|
852 |
+
"dependencies": [
|
853 |
+
{
|
854 |
+
"name": "google-cloud-cpp",
|
855 |
+
"default-features": false,
|
856 |
+
"features": [
|
857 |
+
"grpc-common"
|
858 |
+
]
|
859 |
+
}
|
860 |
+
]
|
861 |
+
},
|
862 |
+
"trace": {
|
863 |
+
"description": "Stackdriver Trace API C++ Client Library",
|
864 |
+
"dependencies": [
|
865 |
+
{
|
866 |
+
"name": "google-cloud-cpp",
|
867 |
+
"default-features": false,
|
868 |
+
"features": [
|
869 |
+
"grpc-common"
|
870 |
+
]
|
871 |
+
}
|
872 |
+
]
|
873 |
+
},
|
874 |
+
"translate": {
|
875 |
+
"description": "Cloud Translation API C++ Client Library",
|
876 |
+
"dependencies": [
|
877 |
+
{
|
878 |
+
"name": "google-cloud-cpp",
|
879 |
+
"default-features": false,
|
880 |
+
"features": [
|
881 |
+
"grpc-common"
|
882 |
+
]
|
883 |
+
}
|
884 |
+
]
|
885 |
+
},
|
886 |
+
"videointelligence": {
|
887 |
+
"description": "Cloud Video Intelligence API C++ Client Library",
|
888 |
+
"dependencies": [
|
889 |
+
{
|
890 |
+
"name": "google-cloud-cpp",
|
891 |
+
"default-features": false,
|
892 |
+
"features": [
|
893 |
+
"grpc-common"
|
894 |
+
]
|
895 |
+
}
|
896 |
+
]
|
897 |
+
},
|
898 |
+
"vision": {
|
899 |
+
"description": "Cloud Vision API C++ Client Library",
|
900 |
+
"dependencies": [
|
901 |
+
{
|
902 |
+
"name": "google-cloud-cpp",
|
903 |
+
"default-features": false,
|
904 |
+
"features": [
|
905 |
+
"grpc-common"
|
906 |
+
]
|
907 |
+
}
|
908 |
+
]
|
909 |
+
},
|
910 |
+
"vmmigration": {
|
911 |
+
"description": "VM Migration API C++ Client Library",
|
912 |
+
"dependencies": [
|
913 |
+
{
|
914 |
+
"name": "google-cloud-cpp",
|
915 |
+
"default-features": false,
|
916 |
+
"features": [
|
917 |
+
"grpc-common"
|
918 |
+
]
|
919 |
+
}
|
920 |
+
]
|
921 |
+
},
|
922 |
+
"vpcaccess": {
|
923 |
+
"description": "Serverless VPC Access API C++ Client Library",
|
924 |
+
"dependencies": [
|
925 |
+
{
|
926 |
+
"name": "google-cloud-cpp",
|
927 |
+
"default-features": false,
|
928 |
+
"features": [
|
929 |
+
"grpc-common"
|
930 |
+
]
|
931 |
+
}
|
932 |
+
]
|
933 |
+
},
|
934 |
+
"webrisk": {
|
935 |
+
"description": "Web Risk API C++ Client Library",
|
936 |
+
"dependencies": [
|
937 |
+
{
|
938 |
+
"name": "google-cloud-cpp",
|
939 |
+
"default-features": false,
|
940 |
+
"features": [
|
941 |
+
"grpc-common"
|
942 |
+
]
|
943 |
+
}
|
944 |
+
]
|
945 |
+
},
|
946 |
+
"websecurityscanner": {
|
947 |
+
"description": "Web Security Scanner API C++ Client Library",
|
948 |
+
"dependencies": [
|
949 |
+
{
|
950 |
+
"name": "google-cloud-cpp",
|
951 |
+
"default-features": false,
|
952 |
+
"features": [
|
953 |
+
"grpc-common"
|
954 |
+
]
|
955 |
+
}
|
956 |
+
]
|
957 |
+
},
|
958 |
+
"workflows": {
|
959 |
+
"description": "Workflow Executions API C++ Client Library",
|
960 |
+
"dependencies": [
|
961 |
+
{
|
962 |
+
"name": "google-cloud-cpp",
|
963 |
+
"default-features": false,
|
964 |
+
"features": [
|
965 |
+
"grpc-common"
|
966 |
+
]
|
967 |
+
}
|
968 |
+
]
|
969 |
+
}
|
970 |
+
}
|
971 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/googleapis/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/googleapis/usage
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The package googleapis is compatible with built-in CMake targets:
|
2 |
+
|
3 |
+
find_package(googleapis CONFIG REQUIRED)
|
4 |
+
|
5 |
+
# Then link against the proto libraries that you want to use, for example:
|
6 |
+
target_link_libraries(main PRIVATE googleapis-c++::bigtable_protos gRPC::grpc gRPC::grpc++)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/googleapis/vcpkg.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "googleapis",
|
3 |
+
"version-string": "alias",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Deprecated, use google-cloud-cpp instead.",
|
6 |
+
"dependencies": [
|
7 |
+
"google-cloud-cpp"
|
8 |
+
]
|
9 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/CMakeLists.txt
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.0)
|
2 |
+
project(gperf LANGUAGES C CXX)
|
3 |
+
|
4 |
+
include(CheckCXXSourceCompiles)
|
5 |
+
include(GNUInstallDirs)
|
6 |
+
|
7 |
+
CHECK_CXX_SOURCE_COMPILES("int main(int n) { int dynamic_array[n]; }" HAVE_DYNAMIC_ARRAY)
|
8 |
+
|
9 |
+
set(LIBGP_SOURCES
|
10 |
+
lib/getline.cc
|
11 |
+
lib/getline.h
|
12 |
+
lib/getopt.c
|
13 |
+
lib/getopt.h
|
14 |
+
lib/getopt1.c
|
15 |
+
lib/hash.cc
|
16 |
+
lib/hash.h)
|
17 |
+
add_library(gp STATIC ${LIBGP_SOURCES})
|
18 |
+
target_include_directories(gp PUBLIC "${CMAKE_SOURCE_DIR}/lib")
|
19 |
+
|
20 |
+
set(GPERF_SOURCES
|
21 |
+
src/bool-array.cc
|
22 |
+
src/bool-array.h
|
23 |
+
src/bool-array.icc
|
24 |
+
src/hash-table.cc
|
25 |
+
src/hash-table.h
|
26 |
+
src/input.cc
|
27 |
+
src/input.h
|
28 |
+
src/keyword-list.cc
|
29 |
+
src/keyword-list.h
|
30 |
+
src/keyword-list.icc
|
31 |
+
src/keyword.cc
|
32 |
+
src/keyword.h
|
33 |
+
src/keyword.icc
|
34 |
+
src/main.cc
|
35 |
+
src/options.cc
|
36 |
+
src/options.h
|
37 |
+
src/options.icc
|
38 |
+
src/output.cc
|
39 |
+
src/output.h
|
40 |
+
src/positions.cc
|
41 |
+
src/positions.h
|
42 |
+
src/positions.icc
|
43 |
+
src/search.cc
|
44 |
+
src/search.h
|
45 |
+
src/version.cc
|
46 |
+
src/version.h)
|
47 |
+
add_executable(gperf ${GPERF_SOURCES})
|
48 |
+
target_link_libraries(gperf gp)
|
49 |
+
target_include_directories(gperf PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
|
50 |
+
|
51 |
+
configure_file(config.h.in config.h @ONLY)
|
52 |
+
|
53 |
+
install(TARGETS gperf RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/config.h.in
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
#cmakedefine HAVE_DYNAMIC_ARRAY @HAVE_DYNAMIC_ARRAY@
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/portfile.cmake
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
2 |
+
|
3 |
+
vcpkg_download_distfile(ARCHIVE
|
4 |
+
URLS http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz
|
5 |
+
FILENAME gperf-3.1.tar.gz
|
6 |
+
SHA512 855ebce5ff36753238a44f14c95be7afdc3990b085960345ca2caf1a2db884f7db74d406ce9eec2f4a52abb8a063d4ed000a36b317c9a353ef4e25e2cca9a3f4
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_extract_source_archive_ex(
|
10 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
11 |
+
ARCHIVE ${ARCHIVE}
|
12 |
+
)
|
13 |
+
|
14 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
15 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h.in DESTINATION ${SOURCE_PATH})
|
16 |
+
|
17 |
+
vcpkg_configure_cmake(
|
18 |
+
SOURCE_PATH ${SOURCE_PATH}
|
19 |
+
OPTIONS_RELEASE -DCMAKE_INSTALL_BINDIR=tools
|
20 |
+
)
|
21 |
+
|
22 |
+
vcpkg_install_cmake()
|
23 |
+
|
24 |
+
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
25 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
26 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
27 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
28 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperf/vcpkg.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gperf",
|
3 |
+
"version": "3.1",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "GNU perfect hash function generator",
|
6 |
+
"homepage": "https://www.gnu.org/software/gperf/"
|
7 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperftools/CMakeLists.txt
ADDED
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.5)
|
2 |
+
|
3 |
+
project(gperftools LANGUAGES C CXX)
|
4 |
+
|
5 |
+
include(GNUInstallDirs)
|
6 |
+
|
7 |
+
option(GPERFTOOLS_BUILD_TOOLS "Build tools" ON)
|
8 |
+
|
9 |
+
if(WIN32) # TODO: MINGW, MSYS
|
10 |
+
option(GPERFTOOLS_WIN32_OVERRIDE "Override allocators" OFF)
|
11 |
+
endif()
|
12 |
+
|
13 |
+
set(deprecated_public_headers
|
14 |
+
src/google/heap-checker.h
|
15 |
+
src/google/heap-profiler.h
|
16 |
+
src/google/malloc_extension.h
|
17 |
+
src/google/malloc_extension_c.h
|
18 |
+
src/google/malloc_hook.h
|
19 |
+
src/google/malloc_hook_c.h
|
20 |
+
src/google/profiler.h
|
21 |
+
src/google/stacktrace.h
|
22 |
+
)
|
23 |
+
|
24 |
+
set(gperftools_public_headers
|
25 |
+
src/gperftools/heap-checker.h
|
26 |
+
src/gperftools/heap-profiler.h
|
27 |
+
src/gperftools/malloc_extension.h
|
28 |
+
src/gperftools/malloc_extension_c.h
|
29 |
+
src/gperftools/malloc_hook.h
|
30 |
+
src/gperftools/malloc_hook_c.h
|
31 |
+
src/gperftools/nallocx.h
|
32 |
+
src/gperftools/profiler.h
|
33 |
+
src/gperftools/stacktrace.h
|
34 |
+
)
|
35 |
+
|
36 |
+
if(WIN32) # TODO: MINGW, MSYS
|
37 |
+
list(APPEND deprecated_public_headers
|
38 |
+
src/windows/google/tcmalloc.h
|
39 |
+
)
|
40 |
+
|
41 |
+
list(APPEND gperftools_public_headers
|
42 |
+
src/windows/gperftools/tcmalloc.h
|
43 |
+
)
|
44 |
+
|
45 |
+
set(libtcmalloc_minimal_headers
|
46 |
+
src/addressmap-inl.h
|
47 |
+
src/base/arm_instruction_set_select.h
|
48 |
+
src/base/atomicops-internals-arm-generic.h
|
49 |
+
src/base/atomicops-internals-arm-v6plus.h
|
50 |
+
src/base/atomicops-internals-gcc.h
|
51 |
+
src/base/atomicops-internals-linuxppc.h
|
52 |
+
src/base/atomicops-internals-macosx.h
|
53 |
+
src/base/atomicops-internals-mips.h
|
54 |
+
src/base/atomicops-internals-windows.h
|
55 |
+
src/base/atomicops-internals-x86.h
|
56 |
+
src/base/atomicops.h
|
57 |
+
src/base/basictypes.h
|
58 |
+
src/base/commandlineflags.h
|
59 |
+
src/base/googleinit.h
|
60 |
+
src/base/logging.h
|
61 |
+
src/base/low_level_alloc.h
|
62 |
+
src/base/spinlock.h
|
63 |
+
src/base/spinlock_internal.h
|
64 |
+
src/base/spinlock_linux-inl.h
|
65 |
+
src/base/spinlock_posix-inl.h
|
66 |
+
src/base/spinlock_win32-inl.h
|
67 |
+
src/base/stl_allocator.h
|
68 |
+
src/base/sysinfo.h
|
69 |
+
src/base/thread_annotations.h
|
70 |
+
src/central_freelist.h
|
71 |
+
src/common.h
|
72 |
+
src/gperftools/heap-checker.h
|
73 |
+
src/gperftools/heap-profiler.h
|
74 |
+
src/gperftools/malloc_extension.h
|
75 |
+
src/gperftools/malloc_hook.h
|
76 |
+
src/gperftools/profiler.h
|
77 |
+
src/gperftools/stacktrace.h
|
78 |
+
src/heap-profile-table.h
|
79 |
+
src/internal_logging.h
|
80 |
+
src/malloc_hook-inl.h
|
81 |
+
src/memory_region_map.h
|
82 |
+
src/packed-cache-inl.h
|
83 |
+
src/pagemap.h
|
84 |
+
src/page_heap.h
|
85 |
+
src/page_heap_allocator.h
|
86 |
+
src/raw_printer.h
|
87 |
+
src/sampler.h
|
88 |
+
src/span.h
|
89 |
+
src/stacktrace_win32-inl.h
|
90 |
+
src/stack_trace_table.h
|
91 |
+
src/static_vars.h
|
92 |
+
src/symbolize.h
|
93 |
+
src/system-alloc.h
|
94 |
+
src/tcmalloc.h
|
95 |
+
src/thread_cache.h
|
96 |
+
src/windows/config.h
|
97 |
+
src/windows/mini_disassembler.h
|
98 |
+
src/windows/mini_disassembler_types.h
|
99 |
+
src/windows/port.h
|
100 |
+
src/windows/preamble_patcher.h
|
101 |
+
)
|
102 |
+
|
103 |
+
set(libtcmalloc_minimal_sources
|
104 |
+
src/base/dynamic_annotations.c
|
105 |
+
src/base/logging.cc
|
106 |
+
src/base/low_level_alloc.cc
|
107 |
+
src/base/spinlock.cc
|
108 |
+
src/base/spinlock_internal.cc
|
109 |
+
src/base/sysinfo.cc
|
110 |
+
src/central_freelist.cc
|
111 |
+
src/common.cc
|
112 |
+
src/fake_stacktrace_scope.cc
|
113 |
+
src/heap-profile-table.cc
|
114 |
+
src/internal_logging.cc
|
115 |
+
src/malloc_extension.cc
|
116 |
+
src/malloc_hook.cc
|
117 |
+
src/memory_region_map.cc
|
118 |
+
src/page_heap.cc
|
119 |
+
src/raw_printer.cc
|
120 |
+
src/sampler.cc
|
121 |
+
src/span.cc
|
122 |
+
src/stacktrace.cc
|
123 |
+
src/stack_trace_table.cc
|
124 |
+
src/static_vars.cc
|
125 |
+
src/symbolize.cc
|
126 |
+
src/thread_cache.cc
|
127 |
+
src/windows/ia32_modrm_map.cc
|
128 |
+
src/windows/ia32_opcode_map.cc
|
129 |
+
src/windows/mini_disassembler.cc
|
130 |
+
src/windows/port.cc
|
131 |
+
src/windows/preamble_patcher.cc
|
132 |
+
src/windows/preamble_patcher_with_stub.cc
|
133 |
+
src/windows/system-alloc.cc
|
134 |
+
)
|
135 |
+
|
136 |
+
if(GPERFTOOLS_WIN32_OVERRIDE)
|
137 |
+
list(APPEND libtcmalloc_minimal_sources src/windows/override_functions.cc)
|
138 |
+
else()
|
139 |
+
list(APPEND libtcmalloc_minimal_sources src/windows/patch_functions.cc)
|
140 |
+
endif()
|
141 |
+
|
142 |
+
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
143 |
+
source_group("Header Files" FILES ${libtcmalloc_minimal_headers})
|
144 |
+
source_group("Source Files" FILES ${libtcmalloc_minimal_sources})
|
145 |
+
|
146 |
+
if(GPERFTOOLS_WIN32_OVERRIDE)
|
147 |
+
add_library(libtcmalloc_minimal
|
148 |
+
STATIC
|
149 |
+
${libtcmalloc_minimal_headers}
|
150 |
+
${libtcmalloc_minimal_sources}
|
151 |
+
)
|
152 |
+
else()
|
153 |
+
add_library(libtcmalloc_minimal
|
154 |
+
${libtcmalloc_minimal_headers}
|
155 |
+
${libtcmalloc_minimal_sources}
|
156 |
+
)
|
157 |
+
endif()
|
158 |
+
|
159 |
+
target_compile_definitions(
|
160 |
+
libtcmalloc_minimal
|
161 |
+
PRIVATE
|
162 |
+
$<$<BOOL:${GPERFTOOLS_WIN32_OVERRIDE}>:
|
163 |
+
WIN32_OVERRIDE_ALLOCATORS
|
164 |
+
PERFTOOLS_DLL_DECL=
|
165 |
+
>
|
166 |
+
)
|
167 |
+
|
168 |
+
target_compile_options(
|
169 |
+
libtcmalloc_minimal
|
170 |
+
PRIVATE
|
171 |
+
$<$<CXX_COMPILER_ID:MSVC>:
|
172 |
+
/wd4141
|
173 |
+
/wd4251
|
174 |
+
>
|
175 |
+
)
|
176 |
+
|
177 |
+
target_include_directories(
|
178 |
+
libtcmalloc_minimal
|
179 |
+
PUBLIC
|
180 |
+
$<BUILD_INTERFACE:
|
181 |
+
${CMAKE_CURRENT_LIST_DIR}/src
|
182 |
+
${CMAKE_CURRENT_LIST_DIR}/src/windows
|
183 |
+
>
|
184 |
+
)
|
185 |
+
|
186 |
+
install(FILES ${deprecated_public_headers}
|
187 |
+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/google
|
188 |
+
)
|
189 |
+
|
190 |
+
install(FILES ${gperftools_public_headers}
|
191 |
+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gperftools
|
192 |
+
)
|
193 |
+
|
194 |
+
install(TARGETS libtcmalloc_minimal
|
195 |
+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
196 |
+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
197 |
+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
198 |
+
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
199 |
+
)
|
200 |
+
|
201 |
+
if(GPERFTOOLS_BUILD_TOOLS)
|
202 |
+
add_executable(addr2line-pdb src/windows/addr2line-pdb.c)
|
203 |
+
target_link_libraries(addr2line-pdb PRIVATE DbgHelp)
|
204 |
+
|
205 |
+
add_executable(nm-pdb src/windows/nm-pdb.c)
|
206 |
+
target_link_libraries(nm-pdb PRIVATE DbgHelp)
|
207 |
+
|
208 |
+
install(TARGETS addr2line-pdb nm-pdb DESTINATION ${CMAKE_INSTALL_BINDIR})
|
209 |
+
endif()
|
210 |
+
else()
|
211 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperftools/portfile.cmake
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO gperftools/gperftools
|
4 |
+
REF fe62a0baab87ba3abca12f4a621532bf67c9a7d2
|
5 |
+
SHA512 fc0fb2c56d38046ac7bc2d36863dabf073b7aede7ce18916228d7b9f64cf33ae754708bff028353ada52bf4b79a7cd3e3334c1558a9ba64b06326b1537faf690
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
10 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
11 |
+
|
12 |
+
if(override IN_LIST FEATURES)
|
13 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
14 |
+
message(STATUS "${PORT}[override] only supports static library linkage. Building static library.")
|
15 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY ONLY_STATIC_CRT)
|
16 |
+
endif()
|
17 |
+
endif()
|
18 |
+
|
19 |
+
vcpkg_check_features(
|
20 |
+
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
21 |
+
override GPERFTOOLS_WIN32_OVERRIDE
|
22 |
+
tools GPERFTOOLS_BUILD_TOOLS
|
23 |
+
)
|
24 |
+
|
25 |
+
vcpkg_cmake_configure(
|
26 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
27 |
+
DISABLE_PARALLEL_CONFIGURE
|
28 |
+
OPTIONS
|
29 |
+
${FEATURE_OPTIONS}
|
30 |
+
)
|
31 |
+
|
32 |
+
vcpkg_cmake_install()
|
33 |
+
|
34 |
+
vcpkg_copy_pdbs()
|
35 |
+
|
36 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
37 |
+
|
38 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
39 |
+
file(GLOB gperf_public_headers "${CURRENT_PACKAGES_DIR}/include/gperftools/*.h")
|
40 |
+
|
41 |
+
foreach(gperf_header ${gperf_public_headers})
|
42 |
+
vcpkg_replace_string(${gperf_header} "__declspec(dllimport)" "")
|
43 |
+
endforeach()
|
44 |
+
endif()
|
45 |
+
|
46 |
+
if(tools IN_LIST FEATURES)
|
47 |
+
vcpkg_copy_tools(TOOL_NAMES addr2line-pdb nm-pdb AUTO_CLEAN)
|
48 |
+
endif()
|
49 |
+
else()
|
50 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
51 |
+
set(BUILD_OPTS --enable-shared --disable-static)
|
52 |
+
else()
|
53 |
+
set(BUILD_OPTS --enable-static --disable-shared)
|
54 |
+
endif()
|
55 |
+
|
56 |
+
vcpkg_configure_make(
|
57 |
+
SOURCE_PATH ${SOURCE_PATH}
|
58 |
+
AUTOCONFIG
|
59 |
+
OPTIONS
|
60 |
+
${BUILD_OPTS}
|
61 |
+
)
|
62 |
+
|
63 |
+
vcpkg_install_make()
|
64 |
+
|
65 |
+
if(tools IN_LIST FEATURES)
|
66 |
+
vcpkg_copy_tools(TOOL_NAMES pprof pprof-symbolize AUTO_CLEAN)
|
67 |
+
endif()
|
68 |
+
|
69 |
+
file(REMOVE_RECURSE
|
70 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
71 |
+
"${CURRENT_PACKAGES_DIR}/debug/share"
|
72 |
+
)
|
73 |
+
|
74 |
+
# https://github.com/microsoft/vcpkg/pull/8750#issuecomment-625590773
|
75 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
76 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
77 |
+
endif()
|
78 |
+
|
79 |
+
vcpkg_fixup_pkgconfig()
|
80 |
+
endif()
|
81 |
+
|
82 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gperftools/vcpkg.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gperftools",
|
3 |
+
"version-date": "2019-09-02",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "A set of tools for performance profiling and memory checking",
|
6 |
+
"homepage": "https://github.com/gperftools/gperftools",
|
7 |
+
"supports": "!(arm | arm64 | uwp)",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true,
|
12 |
+
"platform": "windows"
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"features": {
|
16 |
+
"override": {
|
17 |
+
"description": "Override allocators"
|
18 |
+
},
|
19 |
+
"tools": {
|
20 |
+
"description": "Build gperftools CLI tools"
|
21 |
+
}
|
22 |
+
}
|
23 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/disable-docs.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/Makefile.am b/Makefile.am
|
2 |
+
index 1772d69..9bf9863 100644
|
3 |
+
--- a/Makefile.am
|
4 |
+
+++ b/Makefile.am
|
5 |
+
@@ -45,7 +45,7 @@ else
|
6 |
+
tests =
|
7 |
+
endif
|
8 |
+
|
9 |
+
-SUBDIRS = src ${tests} doc lang
|
10 |
+
+SUBDIRS = src ${tests} lang
|
11 |
+
|
12 |
+
# Fix the version of the spec file.
|
13 |
+
dist-hook: gen-ChangeLog
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/disable-tests.patch
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From b05747aea79083106b27ac7d829db3e65e192682 Mon Sep 17 00:00:00 2001
|
2 |
+
From: =?UTF-8?q?Dawid=20Wro=CC=81bel?= <[email protected]>
|
3 |
+
Date: Thu, 29 Oct 2020 13:23:56 -0400
|
4 |
+
Subject: [PATCH] cpp,python: Respect --disable-gpg-test for tests
|
5 |
+
|
6 |
+
* lang/cpp/Makefile.am: Respect --disable-gpg-test
|
7 |
+
* lang/python/Makefile.am: Respect --disable-gpg-test
|
8 |
+
|
9 |
+
This is similar to the qt that had it already enabled
|
10 |
+
---
|
11 |
+
lang/cpp/Makefile.am | 8 +++++++-
|
12 |
+
lang/python/Makefile.am | 8 +++++++-
|
13 |
+
2 files changed, 14 insertions(+), 2 deletions(-)
|
14 |
+
|
15 |
+
diff --git a/lang/cpp/Makefile.am b/lang/cpp/Makefile.am
|
16 |
+
index 724da6ca..70ca7462 100644
|
17 |
+
--- a/lang/cpp/Makefile.am
|
18 |
+
+++ b/lang/cpp/Makefile.am
|
19 |
+
@@ -18,6 +18,12 @@
|
20 |
+
# License along with this program; if not, see <https://gnu.org/licenses/>.
|
21 |
+
# SPDX-License-Identifier: LGPL-2.1-or-later
|
22 |
+
|
23 |
+
-SUBDIRS = src tests
|
24 |
+
+if RUN_GPG_TESTS
|
25 |
+
+tests = tests
|
26 |
+
+else
|
27 |
+
+tests =
|
28 |
+
+endif
|
29 |
+
+
|
30 |
+
+SUBDIRS = src ${tests}
|
31 |
+
|
32 |
+
EXTRA_DIST = README
|
33 |
+
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
|
34 |
+
index 845b7b17..68b98e8e 100644
|
35 |
+
--- a/lang/python/Makefile.am
|
36 |
+
+++ b/lang/python/Makefile.am
|
37 |
+
@@ -23,7 +23,13 @@ EXTRA_DIST = \
|
38 |
+
gpgme.i \
|
39 |
+
helpers.c helpers.h private.h
|
40 |
+
|
41 |
+
-SUBDIRS = . tests examples doc src
|
42 |
+
+if RUN_GPG_TESTS
|
43 |
+
+tests = tests
|
44 |
+
+else
|
45 |
+
+tests =
|
46 |
+
+endif
|
47 |
+
+
|
48 |
+
+SUBDIRS = . ${tests} examples doc src
|
49 |
+
|
50 |
+
.PHONY: prepare
|
51 |
+
prepare: copystamp
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/portfile.cmake
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
vcpkg_from_github(
|
3 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
4 |
+
REPO gpg/gpgme
|
5 |
+
REF gpgme-1.14.0
|
6 |
+
SHA512 b4608fd1d9a4122d8886917274e323afc9a30494c13a3dea51e17e9779f925bf8d67e584434d6a13018f274a6cbcf0a5e36f2fea794a065906bbb556b765398e
|
7 |
+
HEAD_REF master
|
8 |
+
PATCHES
|
9 |
+
disable-tests.patch
|
10 |
+
disable-docs.patch
|
11 |
+
)
|
12 |
+
|
13 |
+
list(REMOVE_ITEM FEATURES core)
|
14 |
+
string(REPLACE ";" "," LANGUAGES "${FEATURES}")
|
15 |
+
|
16 |
+
vcpkg_configure_make(
|
17 |
+
AUTOCONFIG
|
18 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
19 |
+
OPTIONS
|
20 |
+
--disable-gpgconf-test
|
21 |
+
--disable-gpg-test
|
22 |
+
--disable-gpgsm-test
|
23 |
+
--disable-g13-test
|
24 |
+
--enable-languages=${LANGUAGES}
|
25 |
+
--with-libgpg-error-prefix=${CURRENT_INSTALLED_DIR}/tools/libgpg-error
|
26 |
+
--with-libassuan-prefix=${CURRENT_INSTALLED_DIR}/tools/libassuan
|
27 |
+
)
|
28 |
+
|
29 |
+
vcpkg_install_make()
|
30 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Gpgmepp)
|
31 |
+
vcpkg_copy_pdbs()
|
32 |
+
# We have no dependency on glib, so remove this extra .pc file
|
33 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/gpgme-glib.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gpgme-glib.pc")
|
34 |
+
vcpkg_fixup_pkgconfig()
|
35 |
+
|
36 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/gpgme/bin/gpgme-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
|
37 |
+
if (NOT VCPKG_BUILD_TYPE)
|
38 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/gpgme/debug/bin/gpgme-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
|
39 |
+
endif()
|
40 |
+
|
41 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
42 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gpgme/vcpkg.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gpgme",
|
3 |
+
"version-string": "1.14.0",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "A library designed to make access to GnuPG easier for applications",
|
6 |
+
"homepage": "https://gnupg.org/software/gpgme/index.html",
|
7 |
+
"supports": "!windows",
|
8 |
+
"dependencies": [
|
9 |
+
"libassuan",
|
10 |
+
"libgpg-error",
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake-config",
|
13 |
+
"host": true
|
14 |
+
}
|
15 |
+
],
|
16 |
+
"default-features": [
|
17 |
+
"cpp"
|
18 |
+
],
|
19 |
+
"features": {
|
20 |
+
"cpp": {
|
21 |
+
"description": "C++ bindings"
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/00001-fix-build.patch
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/gpPanel/gpPanel.cpp b/gpPanel/gpPanel.cpp
|
2 |
+
index 7af20b5..908523c 100644
|
3 |
+
--- a/gpPanel/gpPanel.cpp
|
4 |
+
+++ b/gpPanel/gpPanel.cpp
|
5 |
+
@@ -720,8 +720,8 @@ void gpPanel::OnMenuItemPrintPreview(wxCommandEvent& event)
|
6 |
+
gpLayer_s *gp = GetLayerByMenuId(event.GetId() );
|
7 |
+
if(gp==NULL)return;
|
8 |
+
|
9 |
+
- mpPrintout *plotPrint = new mpPrintout(gp->m_plot, gp->layer->GetName());
|
10 |
+
- mpPrintout *plotPrintPreview = new mpPrintout(gp->m_plot, gp->layer->GetName());
|
11 |
+
+ mpPrintout *plotPrint = new mpPrintout(gp->m_plot, gp->layer->GetName().c_str());
|
12 |
+
+ mpPrintout *plotPrintPreview = new mpPrintout(gp->m_plot, gp->layer->GetName().c_str());
|
13 |
+
|
14 |
+
wxPrintPreview *preview = new wxPrintPreview(plotPrintPreview, plotPrint);
|
15 |
+
|
16 |
+
@@ -765,7 +765,7 @@ void gpPanel::OnMenuItemSaveScreenshot(wxCommandEvent& event)
|
17 |
+
if(index!=-1)
|
18 |
+
{
|
19 |
+
wxString reso = aChoices.Item(index);
|
20 |
+
- if( reso.CompareTo(_("custom")) == 0 ){
|
21 |
+
+ if( reso.CompareTo(_("custom").c_str()) == 0 ){
|
22 |
+
reso = wxGetTextFromUser(_("Write image resolution (format: [width]x[height]"), _("Custom resolution for image"), _("640x480"), this);
|
23 |
+
}
|
24 |
+
if(reso.Find('x') != -1)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/CMakeLists.txt
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.13)
|
2 |
+
project(gpPanel CXX)
|
3 |
+
|
4 |
+
set(wxWidgets_EXCLUDE_COMMON_LIBRARIES TRUE)
|
5 |
+
find_package(wxWidgets REQUIRED COMPONENTS core base)
|
6 |
+
include(${wxWidgets_USE_FILE})
|
7 |
+
|
8 |
+
file(GLOB_RECURSE SOURCES "gpPanel/*.cpp")
|
9 |
+
file(GLOB HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/include" "include/*.h")
|
10 |
+
|
11 |
+
add_library(gpPanel STATIC ${SOURCES})
|
12 |
+
target_compile_definitions(gpPanel PRIVATE _CRT_SECURE_NO_WARNINGS)
|
13 |
+
|
14 |
+
target_include_directories(gpPanel PUBLIC
|
15 |
+
$<INSTALL_INTERFACE:include>
|
16 |
+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
17 |
+
)
|
18 |
+
|
19 |
+
target_link_libraries(gpPanel PRIVATE ${wxWidgets_LIBRARIES})
|
20 |
+
|
21 |
+
install(TARGETS gpPanel EXPORT gpPanel-config
|
22 |
+
RUNTIME DESTINATION bin
|
23 |
+
ARCHIVE DESTINATION lib
|
24 |
+
LIBRARY DESTINATION lib
|
25 |
+
)
|
26 |
+
|
27 |
+
install(EXPORT gpPanel-config DESTINATION share/cmake/gpPanel)
|
28 |
+
|
29 |
+
foreach(HEADER ${HEADERS})
|
30 |
+
get_filename_component(HEADER_DIR ${HEADER} DIRECTORY)
|
31 |
+
install(FILES include/${HEADER} DESTINATION include/gpPanel/${HEADER_DIR})
|
32 |
+
endforeach()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/portfile.cmake
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO woollybah/gppanel
|
6 |
+
REF f58a9028f7c9a8e9b4324ff2165951f558365f90
|
7 |
+
SHA512 4ec5fbef4c487d351c60f48b0c0e41c5d077989ab96f827b9fd5ef01c167d50f39a313bd82db1b5df19d14025983e83db4d19cc4048c1c50fc8ef9128de15575
|
8 |
+
HEAD_REF master
|
9 |
+
PATCHES 00001-fix-build.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
13 |
+
|
14 |
+
vcpkg_configure_cmake(
|
15 |
+
SOURCE_PATH ${SOURCE_PATH}
|
16 |
+
PREFER_NINJA
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_install_cmake()
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/gpPanel)
|
22 |
+
|
23 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
24 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
25 |
+
|
26 |
+
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/gppanel/copyright COPYONLY)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/gppanel/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gppanel",
|
3 |
+
"version-date": "2020-05-20",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "gpPanel is chart library for wxWidget. It inheritance from wxPanel and use modified wxMathPlot library at chart engine.",
|
6 |
+
"homepage": "https://github.com/woollybah/gppanel",
|
7 |
+
"dependencies": [
|
8 |
+
"wxwidgets"
|
9 |
+
]
|
10 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphene/portfile.cmake
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
set(VERSION 1.10.2)
|
3 |
+
|
4 |
+
vcpkg_download_distfile(ARCHIVE
|
5 |
+
URLS "https://download.gnome.org/sources/graphene/1.10/graphene-${VERSION}.tar.xz"
|
6 |
+
FILENAME "graphene-${VERSION}.tar.xz"
|
7 |
+
SHA512 a8a8ef1e4ccffee2313a18b9b8dda06c7ede6d49fdde8578694500634e3c90278fd30af7d88938d5ecb08c519cc3e09d21fe69d0f21cb766e056ceedbb3eafb0
|
8 |
+
)
|
9 |
+
|
10 |
+
vcpkg_extract_source_archive_ex(
|
11 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
12 |
+
ARCHIVE ${ARCHIVE}
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_configure_meson(
|
16 |
+
SOURCE_PATH ${SOURCE_PATH}
|
17 |
+
OPTIONS
|
18 |
+
-Dgtk_doc=false #Enable generating the API reference (depends on GTK-Doc)
|
19 |
+
-Dgobject_types=true #Enable GObject types (depends on GObject)
|
20 |
+
-Dintrospection=false #Enable GObject Introspection (depends on GObject)'
|
21 |
+
-Dtests=false
|
22 |
+
-Dinstalled_tests=false
|
23 |
+
ADDITIONAL_NATIVE_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
|
24 |
+
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
|
25 |
+
ADDITIONAL_CROSS_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
|
26 |
+
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
|
27 |
+
)
|
28 |
+
|
29 |
+
vcpkg_install_meson()
|
30 |
+
|
31 |
+
vcpkg_copy_pdbs()
|
32 |
+
|
33 |
+
vcpkg_fixup_pkgconfig()
|
34 |
+
|
35 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphene/vcpkg.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "graphene",
|
3 |
+
"version": "1.10.2",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "A thin layer of types for graphic libraries.",
|
6 |
+
"homepage": "https://www.gtk.org/",
|
7 |
+
"supports": "!(arm & windows)",
|
8 |
+
"dependencies": [
|
9 |
+
"gettext",
|
10 |
+
"glib",
|
11 |
+
{
|
12 |
+
"name": "glib",
|
13 |
+
"host": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "vcpkg-tool-meson",
|
17 |
+
"host": true
|
18 |
+
}
|
19 |
+
]
|
20 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/CMakeLists.txt
ADDED
@@ -0,0 +1,282 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required (VERSION 3.6)
|
2 |
+
project (graphicsmagick)
|
3 |
+
|
4 |
+
find_package(ZLIB REQUIRED)
|
5 |
+
find_package(BZip2 REQUIRED)
|
6 |
+
find_package(JPEG REQUIRED)
|
7 |
+
find_package(PNG REQUIRED)
|
8 |
+
find_package(TIFF REQUIRED)
|
9 |
+
find_package(Freetype REQUIRED)
|
10 |
+
|
11 |
+
add_definitions(-D_MAGICKLIB_ -D_WANDLIB_ -DMAGICK_IMPLEMENTATION)
|
12 |
+
|
13 |
+
if (BUILD_SHARED_LIBS)
|
14 |
+
add_definitions(-D_DLL -DDLL)
|
15 |
+
endif ()
|
16 |
+
|
17 |
+
if (MSVC)
|
18 |
+
add_definitions( -D_VISUALC_ -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
|
19 |
+
endif ()
|
20 |
+
|
21 |
+
if (WIN32)
|
22 |
+
add_definitions(-DWIN32 -D_WIN32)
|
23 |
+
add_definitions(-D_WIN32_WINNT=0x0501)
|
24 |
+
endif ()
|
25 |
+
|
26 |
+
include_directories(".")
|
27 |
+
include_directories("magick")
|
28 |
+
include_directories("Magick++")
|
29 |
+
include_directories("Magick++/lib")
|
30 |
+
include_directories("wand")
|
31 |
+
include_directories("jbig/libjbig")
|
32 |
+
|
33 |
+
file(READ "magick/magick_config.h.in" CONFIG_H)
|
34 |
+
string(REPLACE "#undef HasBZLIB" "#define HasBZLIB" CONFIG_H "${CONFIG_H}")
|
35 |
+
string(REPLACE "#undef HasJPEG" "#define HasJPEG" CONFIG_H "${CONFIG_H}")
|
36 |
+
string(REPLACE "#undef HasPNG" "#define HasPNG" CONFIG_H "${CONFIG_H}")
|
37 |
+
string(REPLACE "#undef HasTIFF" "#define HasTIFF" CONFIG_H "${CONFIG_H}")
|
38 |
+
string(REPLACE "#undef HasTTF" "#define HasTTF" CONFIG_H "${CONFIG_H}")
|
39 |
+
string(REPLACE "#undef HasTTF" "#define HasTTF" CONFIG_H "${CONFIG_H}")
|
40 |
+
string(REPLACE "#undef HAVE_FT2BUILD_H" "#define HAVE_FT2BUILD_H" CONFIG_H "${CONFIG_H}")
|
41 |
+
string(REPLACE "#undef HasZLIB" "#define HasZLIB" CONFIG_H "${CONFIG_H}")
|
42 |
+
string(REPLACE "#undef HasJBIG" "#define HasJBIG" CONFIG_H "${CONFIG_H}")
|
43 |
+
string(REPLACE "#undef HasWEBP" "#define HasWEBP" CONFIG_H "${CONFIG_H}")
|
44 |
+
string(REPLACE "#undef QuantumDepth" "#define QuantumDepth 16" CONFIG_H "${CONFIG_H}")
|
45 |
+
string(REPLACE "#undef restrict" "#define restrict" CONFIG_H "${CONFIG_H}")
|
46 |
+
string(REPLACE "#undef size_t" "/* #undef size_t */" CONFIG_H "${CONFIG_H}")
|
47 |
+
if (WIN32)
|
48 |
+
string(REPLACE "#undef HasWINGDI32" "#define HasWINGDI32" CONFIG_H "${CONFIG_H}")
|
49 |
+
else ()
|
50 |
+
string(REPLACE "#undef HAVE_VSNPRINTF" "#define HAVE_VSNPRINTF" CONFIG_H "${CONFIG_H}")
|
51 |
+
string(REPLACE "#undef MagickLibSubdir" "#define MagickLibSubdir \"magick\"" CONFIG_H "${CONFIG_H}")
|
52 |
+
string(REPLACE "#undef MagickLibConfigSubDir" "#define MagickLibConfigSubDir \"magick/config\"" CONFIG_H "${CONFIG_H}")
|
53 |
+
string(REPLACE "#undef MagickShareConfigSubDir" "#define MagickShareConfigSubDir \"magick/config\"" CONFIG_H "${CONFIG_H}")
|
54 |
+
string(REPLACE "#undef HAVE_STDINT_H" "#define HAVE_STDINT_H" CONFIG_H "${CONFIG_H}")
|
55 |
+
endif ()
|
56 |
+
file(WRITE "magick/magick_config.h" "${CONFIG_H}")
|
57 |
+
|
58 |
+
file(READ "magick/magick_config_api.h.in" CONFIG_API_H)
|
59 |
+
string(REPLACE "#undef QuantumDepth" "#define QuantumDepth 16" CONFIG_API_H "${CONFIG_API_H}")
|
60 |
+
string(REPLACE "#undef size_t" "/* #undef size_t */" CONFIG_API_H "${CONFIG_API_H}")
|
61 |
+
file(WRITE "magick/magick_config_api.h" "${CONFIG_API_H}")
|
62 |
+
|
63 |
+
add_library(graphicsmagick coders/art.c coders/avs.c
|
64 |
+
coders/bmp.c coders/braille.c coders/cals.c coders/caption.c
|
65 |
+
coders/cineon.c coders/clipboard.c coders/cmyk.c
|
66 |
+
coders/cut.c coders/dcm.c coders/dcraw.c coders/dib.c
|
67 |
+
coders/dps.c coders/dpx.c coders/emf.c coders/ept.c
|
68 |
+
coders/fax.c coders/fits.c coders/fpx.c coders/gif.c
|
69 |
+
coders/gradient.c coders/gray.c coders/histogram.c
|
70 |
+
coders/hrz.c coders/html.c coders/icon.c coders/identity.c
|
71 |
+
coders/info.c coders/jbig.c coders/jnx.c coders/jp2.c
|
72 |
+
coders/jpeg.c coders/label.c coders/locale.c coders/logo.c
|
73 |
+
coders/mac.c coders/map.c coders/mat.c coders/matte.c
|
74 |
+
coders/meta.c coders/miff.c coders/mono.c coders/mpc.c
|
75 |
+
coders/mpeg.c coders/mpr.c coders/msl.c coders/mtv.c
|
76 |
+
coders/mvg.c coders/null.c coders/otb.c coders/palm.c
|
77 |
+
coders/pcd.c coders/pcl.c coders/pcx.c coders/pdb.c
|
78 |
+
coders/pdf.c coders/pict.c coders/pix.c coders/plasma.c
|
79 |
+
coders/png.c coders/pnm.c coders/preview.c coders/ps.c
|
80 |
+
coders/ps2.c coders/ps3.c coders/psd.c coders/pwp.c coders/rgb.c
|
81 |
+
coders/rla.c coders/rle.c coders/sct.c coders/sfw.c coders/sgi.c
|
82 |
+
coders/stegano.c coders/sun.c coders/svg.c coders/tga.c
|
83 |
+
coders/tiff.c coders/tile.c coders/tim.c coders/topol.c
|
84 |
+
coders/ttf.c coders/txt.c coders/uil.c coders/url.c
|
85 |
+
coders/uyvy.c coders/vicar.c coders/vid.c coders/viff.c
|
86 |
+
coders/wbmp.c coders/webp.c coders/wmf.c coders/wpg.c
|
87 |
+
coders/x.c coders/xbm.c coders/xc.c coders/xcf.c
|
88 |
+
coders/xpm.c coders/xtrn.c coders/xwd.c coders/yuv.c
|
89 |
+
filters/analyze.c
|
90 |
+
magick/analyze.c magick/animate.c magick/annotate.c magick/attribute.c
|
91 |
+
magick/average.c magick/bit_stream.c magick/blob.c magick/cdl.c
|
92 |
+
magick/channel.c magick/color.c magick/color_lookup.c magick/colormap.c
|
93 |
+
magick/colorspace.c magick/command.c magick/compare.c magick/composite.c
|
94 |
+
magick/compress.c magick/confirm_access.c magick/constitute.c magick/decorate.c
|
95 |
+
magick/delegate.c magick/deprecate.c magick/describe.c magick/display.c magick/draw.c
|
96 |
+
magick/effect.c magick/enhance.c magick/enum_strings.c magick/error.c magick/export.c
|
97 |
+
magick/floats.c magick/fx.c magick/gem.c magick/gradient.c magick/hclut.c
|
98 |
+
magick/image.c magick/import.c magick/list.c magick/locale.c magick/log.c
|
99 |
+
magick/magic.c magick/magick.c magick/magick_endian.c magick/map.c
|
100 |
+
magick/memory.c magick/module.c magick/monitor.c magick/montage.c magick/nt_base.c
|
101 |
+
magick/nt_feature.c magick/omp_data_view.c magick/operator.c magick/paint.c
|
102 |
+
magick/pixel_cache.c magick/pixel_iterator.c magick/plasma.c magick/PreRvIcccm.c
|
103 |
+
magick/profile.c magick/quantize.c magick/random.c magick/registry.c magick/render.c
|
104 |
+
magick/resize.c magick/resource.c magick/segment.c magick/semaphore.c
|
105 |
+
magick/shear.c magick/signature.c magick/static.c magick/statistics.c
|
106 |
+
magick/tempfile.c magick/texture.c magick/timer.c magick/transform.c
|
107 |
+
magick/tsd.c magick/type.c magick/unix_port.c magick/utility.c
|
108 |
+
magick/version.c magick/widget.c magick/xwindow.c
|
109 |
+
Magick++/lib/Blob.cpp Magick++/lib/BlobRef.cpp Magick++/lib/CoderInfo.cpp
|
110 |
+
Magick++/lib/Color.cpp Magick++/lib/Drawable.cpp Magick++/lib/Exception.cpp
|
111 |
+
Magick++/lib/Functions.cpp Magick++/lib/Geometry.cpp Magick++/lib/Image.cpp
|
112 |
+
Magick++/lib/ImageRef.cpp Magick++/lib/Montage.cpp Magick++/lib/Options.cpp
|
113 |
+
Magick++/lib/Pixels.cpp Magick++/lib/STL.cpp Magick++/lib/Thread.cpp
|
114 |
+
Magick++/lib/TypeMetric.cpp
|
115 |
+
wand/drawing_wand.c wand/magick_compat.c wand/magick_wand.c wand/pixel_wand.c
|
116 |
+
jbig/libjbig/jbig.c jbig/libjbig/jbig_ar.c jbig/libjbig/jbig85.c)
|
117 |
+
|
118 |
+
TARGET_LINK_LIBRARIES(graphicsmagick PRIVATE
|
119 |
+
ZLIB::ZLIB
|
120 |
+
BZip2::BZip2
|
121 |
+
#${JPEG_LIBRARIES}
|
122 |
+
JPEG::JPEG
|
123 |
+
PNG::PNG
|
124 |
+
TIFF::TIFF
|
125 |
+
Freetype::Freetype
|
126 |
+
WebP::webp WebP::webpdemux WebP::libwebpmux WebP::webpdecoder
|
127 |
+
)
|
128 |
+
target_include_directories(graphicsmagick INTERFACE $<INSTALL_INTERFACE:include>)
|
129 |
+
|
130 |
+
install(TARGETS graphicsmagick
|
131 |
+
EXPORT graphicsmagick-targets
|
132 |
+
RUNTIME DESTINATION bin
|
133 |
+
ARCHIVE DESTINATION lib
|
134 |
+
LIBRARY DESTINATION lib)
|
135 |
+
|
136 |
+
install(
|
137 |
+
EXPORT graphicsmagick-targets
|
138 |
+
FILE unofficial-graphicsmagick-targets.cmake
|
139 |
+
NAMESPACE unofficial::graphicsmagick::
|
140 |
+
DESTINATION share/unofficial-graphicsmagick
|
141 |
+
)
|
142 |
+
find_package(ZLIB REQUIRED)
|
143 |
+
find_package(BZip2 REQUIRED)
|
144 |
+
find_package(JPEG REQUIRED)
|
145 |
+
find_package(PNG REQUIRED)
|
146 |
+
find_package(TIFF REQUIRED)
|
147 |
+
find_package(Freetype REQUIRED)
|
148 |
+
find_package(WebP CONFIG REQUIRED)
|
149 |
+
|
150 |
+
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/unofficial-graphicsmagick-config.cmake "
|
151 |
+
include(CMakeFindDependencyMacro)
|
152 |
+
find_dependency(ZLIB)
|
153 |
+
find_dependency(BZip2)
|
154 |
+
find_dependency(JPEG)
|
155 |
+
find_dependency(PNG)
|
156 |
+
find_dependency(TIFF)
|
157 |
+
find_dependency(Freetype)
|
158 |
+
find_dependency(WebP)
|
159 |
+
|
160 |
+
include(\${CMAKE_CURRENT_LIST_DIR}/unofficial-graphicsmagick-targets.cmake)
|
161 |
+
")
|
162 |
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unofficial-graphicsmagick-config.cmake DESTINATION share/unofficial-graphicsmagick)
|
163 |
+
|
164 |
+
option(INSTALL_HEADERS "Install development header files" ON)
|
165 |
+
|
166 |
+
if (INSTALL_HEADERS)
|
167 |
+
install(FILES magick/alpha_composite.h DESTINATION include/magick)
|
168 |
+
install(FILES magick/analyze.h DESTINATION include/magick)
|
169 |
+
install(FILES magick/api.h DESTINATION include/magick)
|
170 |
+
install(FILES magick/attribute.h DESTINATION include/magick)
|
171 |
+
install(FILES magick/average.h DESTINATION include/magick)
|
172 |
+
install(FILES magick/bit_stream.h DESTINATION include/magick)
|
173 |
+
install(FILES magick/blob.h DESTINATION include/magick)
|
174 |
+
install(FILES magick/cdl.h DESTINATION include/magick)
|
175 |
+
install(FILES magick/channel.h DESTINATION include/magick)
|
176 |
+
install(FILES magick/color.h DESTINATION include/magick)
|
177 |
+
install(FILES magick/colormap.h DESTINATION include/magick)
|
178 |
+
install(FILES magick/colorspace.h DESTINATION include/magick)
|
179 |
+
install(FILES magick/color_lookup.h DESTINATION include/magick)
|
180 |
+
install(FILES magick/command.h DESTINATION include/magick)
|
181 |
+
install(FILES magick/common.h DESTINATION include/magick)
|
182 |
+
install(FILES magick/compare.h DESTINATION include/magick)
|
183 |
+
install(FILES magick/composite.h DESTINATION include/magick)
|
184 |
+
install(FILES magick/compress.h DESTINATION include/magick)
|
185 |
+
install(FILES magick/confirm_access.h DESTINATION include/magick)
|
186 |
+
install(FILES magick/constitute.h DESTINATION include/magick)
|
187 |
+
install(FILES magick/decorate.h DESTINATION include/magick)
|
188 |
+
install(FILES magick/delegate.h DESTINATION include/magick)
|
189 |
+
install(FILES magick/deprecate.h DESTINATION include/magick)
|
190 |
+
install(FILES magick/describe.h DESTINATION include/magick)
|
191 |
+
install(FILES magick/draw.h DESTINATION include/magick)
|
192 |
+
install(FILES magick/effect.h DESTINATION include/magick)
|
193 |
+
install(FILES magick/enhance.h DESTINATION include/magick)
|
194 |
+
install(FILES magick/enum_strings.h DESTINATION include/magick)
|
195 |
+
install(FILES magick/error.h DESTINATION include/magick)
|
196 |
+
install(FILES magick/floats.h DESTINATION include/magick)
|
197 |
+
install(FILES magick/forward.h DESTINATION include/magick)
|
198 |
+
install(FILES magick/fx.h DESTINATION include/magick)
|
199 |
+
install(FILES magick/gem.h DESTINATION include/magick)
|
200 |
+
install(FILES magick/gradient.h DESTINATION include/magick)
|
201 |
+
install(FILES magick/hclut.h DESTINATION include/magick)
|
202 |
+
install(FILES magick/image.h DESTINATION include/magick)
|
203 |
+
install(FILES magick/list.h DESTINATION include/magick)
|
204 |
+
install(FILES magick/locale_c.h DESTINATION include/magick)
|
205 |
+
install(FILES magick/log.h DESTINATION include/magick)
|
206 |
+
install(FILES magick/magic.h DESTINATION include/magick)
|
207 |
+
install(FILES magick/magick.h DESTINATION include/magick)
|
208 |
+
install(FILES magick/magick_config.h DESTINATION include/magick)
|
209 |
+
install(FILES magick/magick_config_api.h DESTINATION include/magick)
|
210 |
+
install(FILES magick/magick_endian.h DESTINATION include/magick)
|
211 |
+
install(FILES magick/magick_types.h DESTINATION include/magick)
|
212 |
+
install(FILES magick/map.h DESTINATION include/magick)
|
213 |
+
install(FILES magick/memory.h DESTINATION include/magick)
|
214 |
+
install(FILES magick/module.h DESTINATION include/magick)
|
215 |
+
install(FILES magick/module_aliases.h DESTINATION include/magick)
|
216 |
+
install(FILES magick/monitor.h DESTINATION include/magick)
|
217 |
+
install(FILES magick/montage.h DESTINATION include/magick)
|
218 |
+
install(FILES magick/nt_base.h DESTINATION include/magick)
|
219 |
+
install(FILES magick/nt_feature.h DESTINATION include/magick)
|
220 |
+
install(FILES magick/omp_data_view.h DESTINATION include/magick)
|
221 |
+
install(FILES magick/operator.h DESTINATION include/magick)
|
222 |
+
install(FILES magick/paint.h DESTINATION include/magick)
|
223 |
+
install(FILES magick/pixel_cache.h DESTINATION include/magick)
|
224 |
+
install(FILES magick/pixel_iterator.h DESTINATION include/magick)
|
225 |
+
install(FILES magick/plasma.h DESTINATION include/magick)
|
226 |
+
install(FILES magick/prefetch.h DESTINATION include/magick)
|
227 |
+
install(FILES magick/PreRvIcccm.h DESTINATION include/magick)
|
228 |
+
install(FILES magick/profile.h DESTINATION include/magick)
|
229 |
+
install(FILES magick/quantize.h DESTINATION include/magick)
|
230 |
+
install(FILES magick/random-private.h DESTINATION include/magick)
|
231 |
+
install(FILES magick/random.h DESTINATION include/magick)
|
232 |
+
install(FILES magick/registry.h DESTINATION include/magick)
|
233 |
+
install(FILES magick/render.h DESTINATION include/magick)
|
234 |
+
install(FILES magick/resize.h DESTINATION include/magick)
|
235 |
+
install(FILES magick/resource.h DESTINATION include/magick)
|
236 |
+
install(FILES magick/semaphore.h DESTINATION include/magick)
|
237 |
+
install(FILES magick/shear.h DESTINATION include/magick)
|
238 |
+
install(FILES magick/signature.h DESTINATION include/magick)
|
239 |
+
install(FILES magick/spinlock.h DESTINATION include/magick)
|
240 |
+
install(FILES magick/static.h DESTINATION include/magick)
|
241 |
+
install(FILES magick/statistics.h DESTINATION include/magick)
|
242 |
+
install(FILES magick/studio.h DESTINATION include/magick)
|
243 |
+
install(FILES magick/symbols.h DESTINATION include/magick)
|
244 |
+
install(FILES magick/tempfile.h DESTINATION include/magick)
|
245 |
+
install(FILES magick/texture.h DESTINATION include/magick)
|
246 |
+
install(FILES magick/timer.h DESTINATION include/magick)
|
247 |
+
install(FILES magick/transform.h DESTINATION include/magick)
|
248 |
+
install(FILES magick/tsd.h DESTINATION include/magick)
|
249 |
+
install(FILES magick/type.h DESTINATION include/magick)
|
250 |
+
install(FILES magick/unix_port.h DESTINATION include/magick)
|
251 |
+
install(FILES magick/utility.h DESTINATION include/magick)
|
252 |
+
install(FILES magick/version.h DESTINATION include/magick)
|
253 |
+
install(FILES magick/widget.h DESTINATION include/magick)
|
254 |
+
install(FILES magick/xwindow.h DESTINATION include/magick)
|
255 |
+
|
256 |
+
install(FILES Magick++/lib/Magick++.h DESTINATION include)
|
257 |
+
|
258 |
+
install(FILES Magick++/lib/Magick++/Blob.h DESTINATION include/Magick++)
|
259 |
+
install(FILES Magick++/lib/Magick++/BlobRef.h DESTINATION include/Magick++)
|
260 |
+
install(FILES Magick++/lib/Magick++/CoderInfo.h DESTINATION include/Magick++)
|
261 |
+
install(FILES Magick++/lib/Magick++/Color.h DESTINATION include/Magick++)
|
262 |
+
install(FILES Magick++/lib/Magick++/Drawable.h DESTINATION include/Magick++)
|
263 |
+
install(FILES Magick++/lib/Magick++/Exception.h DESTINATION include/Magick++)
|
264 |
+
install(FILES Magick++/lib/Magick++/Functions.h DESTINATION include/Magick++)
|
265 |
+
install(FILES Magick++/lib/Magick++/Geometry.h DESTINATION include/Magick++)
|
266 |
+
install(FILES Magick++/lib/Magick++/Image.h DESTINATION include/Magick++/)
|
267 |
+
install(FILES Magick++/lib/Magick++/ImageRef.h DESTINATION include/Magick++)
|
268 |
+
install(FILES Magick++/lib/Magick++/Include.h DESTINATION include/Magick++)
|
269 |
+
install(FILES Magick++/lib/Magick++/Montage.h DESTINATION include/Magick++)
|
270 |
+
install(FILES Magick++/lib/Magick++/Options.h DESTINATION include/Magick++)
|
271 |
+
install(FILES Magick++/lib/Magick++/Pixels.h DESTINATION include/Magick++)
|
272 |
+
install(FILES Magick++/lib/Magick++/STL.h DESTINATION include/Magick++)
|
273 |
+
install(FILES Magick++/lib/Magick++/Thread.h DESTINATION include/Magick++)
|
274 |
+
install(FILES Magick++/lib/Magick++/TypeMetric.h DESTINATION include/Magick++)
|
275 |
+
|
276 |
+
install(FILES wand/drawing_wand.h DESTINATION include/wand)
|
277 |
+
install(FILES wand/magick_wand.h DESTINATION include/wand)
|
278 |
+
install(FILES wand/pixel_wand.h DESTINATION include/wand)
|
279 |
+
install(FILES wand/wand_api.h DESTINATION include/wand)
|
280 |
+
install(FILES wand/wand_private.h DESTINATION include/wand)
|
281 |
+
install(FILES wand/wand_symbols.h DESTINATION include/wand)
|
282 |
+
endif ()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/disable_graphicsmagick_modules.patch
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- a/magick/studio.h 2019-12-24 13:18:50.000000000 -0200
|
2 |
+
+++ b/magick/studio.h 2020-01-08 20:43:08.325889700 -0200
|
3 |
+
@@ -470,10 +470,10 @@
|
4 |
+
*/
|
5 |
+
|
6 |
+
#if defined(HasLTDL)
|
7 |
+
-# define SupportMagickModules
|
8 |
+
+//# define SupportMagickModules
|
9 |
+
#elif !defined(__MINGW32__) && !defined(__MINGW64__)
|
10 |
+
# if defined(MSWINDOWS) && defined(_DLL)
|
11 |
+
-# define SupportMagickModules
|
12 |
+
+//# define SupportMagickModules
|
13 |
+
# endif
|
14 |
+
#endif
|
15 |
+
|
16 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/dynamic_bzip2.patch
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From: Josue Andrade Gomes <[email protected]>
|
2 |
+
Date: Tue, 18 Apr 2017 09:56:53 -0300
|
3 |
+
Subject: [PATCH] dynamic bzip2 only if dynamic gm
|
4 |
+
|
5 |
+
---
|
6 |
+
|
7 |
+
diff -ur a/magick/nt_base.h b/magick/nt_base.h
|
8 |
+
--- a/magick/nt_base.h Mon May 30 14:19:55 2016
|
9 |
+
+++ b/magick/nt_base.h Mon Apr 17 15:10:01 2017
|
10 |
+
@@ -275,7 +275,9 @@
|
11 |
+
*/
|
12 |
+
#if defined(HasBZLIB)
|
13 |
+
# if defined(_WIN32)
|
14 |
+
-# define BZ_IMPORT 1
|
15 |
+
+# if defined(_DLL) // For vcpkg. Building GM DLL requires BZIP2 DLL too, otherwise static
|
16 |
+
+# define BZ_IMPORT 1
|
17 |
+
+# endif
|
18 |
+
# endif
|
19 |
+
#endif /* defined(HasBZLIB) */
|
20 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/magick_types.h
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Copyright (C) 2003 - 2012 GraphicsMagick Group
|
3 |
+
|
4 |
+
This program is covered by multiple licenses, which are described in
|
5 |
+
Copyright.txt. You should have received a copy of Copyright.txt with this
|
6 |
+
package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
|
7 |
+
|
8 |
+
GraphicsMagick types typedefs.
|
9 |
+
|
10 |
+
GraphicsMagick is expected to compile with any C '89 ANSI C compiler
|
11 |
+
supporting at least 16-bit 'short', 32-bit 'int', and 32-bit 'long'.
|
12 |
+
It is also expected to take advantage of 64-bit LP64 and Windows
|
13 |
+
WIN64 LLP64. We use C '99 style types but declare our own types so
|
14 |
+
as to not depend on C '99 header files, and take care to depend only
|
15 |
+
on C '89 library functions, POSIX, or well-known extensions. Any C
|
16 |
+
'99 syntax used is removed if the compiler does not support it.
|
17 |
+
*/
|
18 |
+
|
19 |
+
#ifndef _MAGICK_TYPES_H
|
20 |
+
#define _MAGICK_TYPES_H
|
21 |
+
|
22 |
+
#if defined(__cplusplus) || defined(c_plusplus)
|
23 |
+
extern "C" {
|
24 |
+
#endif
|
25 |
+
|
26 |
+
/*
|
27 |
+
Assign ANSI C stdint.h-like typedefs based on the sizes of native types
|
28 |
+
magick_int8_t -- -128 to 127
|
29 |
+
magick_uint8_t -- 0 to 255
|
30 |
+
magick_int16_t -- -32,768 to 32,767
|
31 |
+
magick_uint16_t -- 0 to 65,535
|
32 |
+
magick_int32_t -- -2,147,483,648 to 2,147,483,647
|
33 |
+
magick_uint32_t -- 0 to 4,294,967,295
|
34 |
+
magick_int64_t -- -9,223,372,036,854,775,807 to 9,223,372,036,854,775,807
|
35 |
+
magick_uint64_t -- 0 to 18,446,744,073,709,551,615
|
36 |
+
|
37 |
+
magick_uintmax_t -- largest native unsigned integer type ("%ju")
|
38 |
+
0 to UINTMAX_MAX
|
39 |
+
UINTMAX_C(value) declares constant value
|
40 |
+
magick_uintptr_t -- unsigned type for storing a pointer value ("%tu")
|
41 |
+
0 to UINTPTR_MAX
|
42 |
+
|
43 |
+
ANSI C '99 stddef.h-like types
|
44 |
+
size_t -- unsigned type representing sizes of objects ("%zu")
|
45 |
+
0 to SIZE_MAX
|
46 |
+
magick_ptrdiff_t -- signed type for subtracting two pointers ("%td")
|
47 |
+
PTRDIFF_MIN to PTRDIFF_MAX
|
48 |
+
|
49 |
+
EEE Std 1003.1, 2004 types
|
50 |
+
ssize_t -- signed type for a count of bytes or an error indication ("%zd")
|
51 |
+
? to SSIZE_MAX
|
52 |
+
*/
|
53 |
+
|
54 |
+
#if (defined(WIN32) || defined(WIN64)) && \
|
55 |
+
!defined(__MINGW32__) && !defined(__MINGW64__)
|
56 |
+
|
57 |
+
/* The following typedefs are used for WIN32 & WIN64 (without
|
58 |
+
configure) */
|
59 |
+
typedef signed char magick_int8_t;
|
60 |
+
typedef unsigned char magick_uint8_t;
|
61 |
+
|
62 |
+
typedef signed short magick_int16_t;
|
63 |
+
typedef unsigned short magick_uint16_t;
|
64 |
+
|
65 |
+
typedef signed int magick_int32_t;
|
66 |
+
# define MAGICK_INT32_F ""
|
67 |
+
typedef unsigned int magick_uint32_t;
|
68 |
+
# define MAGICK_UINT32_F ""
|
69 |
+
|
70 |
+
typedef signed __int64 magick_int64_t;
|
71 |
+
# define MAGICK_INT64_F "I64"
|
72 |
+
typedef unsigned __int64 magick_uint64_t;
|
73 |
+
# define MAGICK_UINT64_F "I64"
|
74 |
+
|
75 |
+
typedef magick_uint64_t magick_uintmax_t;
|
76 |
+
|
77 |
+
# if defined(WIN32)
|
78 |
+
typedef unsigned long magick_uintptr_t;
|
79 |
+
# define MAGICK_SIZE_T_F "l"
|
80 |
+
# define MAGICK_SIZE_T unsigned long
|
81 |
+
# define MAGICK_SSIZE_T_F "l"
|
82 |
+
# define MAGICK_SSIZE_T long
|
83 |
+
# elif defined(WIN64)
|
84 |
+
/* WIN64 uses the LLP64 model */
|
85 |
+
typedef unsigned long long magick_uintptr_t;
|
86 |
+
# define MAGICK_SIZE_T_F "I64"
|
87 |
+
# define MAGICK_SIZE_T unsigned __int64
|
88 |
+
# define MAGICK_SSIZE_T_F "I64"
|
89 |
+
# define MAGICK_SSIZE_T signed __int64
|
90 |
+
# endif
|
91 |
+
|
92 |
+
#else
|
93 |
+
|
94 |
+
/* The following typedefs are subtituted when using Unixish configure */
|
95 |
+
typedef signed char magick_int8_t;
|
96 |
+
typedef unsigned char magick_uint8_t;
|
97 |
+
|
98 |
+
typedef signed short magick_int16_t;
|
99 |
+
typedef unsigned short magick_uint16_t;
|
100 |
+
|
101 |
+
typedef signed int magick_int32_t;
|
102 |
+
# define MAGICK_INT32_F ""
|
103 |
+
typedef unsigned int magick_uint32_t;
|
104 |
+
# define MAGICK_UINT32_F ""
|
105 |
+
|
106 |
+
typedef signed long magick_int64_t;
|
107 |
+
# define MAGICK_INT64_F "l"
|
108 |
+
typedef unsigned long magick_uint64_t;
|
109 |
+
# define MAGICK_UINT64_F "l"
|
110 |
+
|
111 |
+
typedef unsigned long magick_uintmax_t;
|
112 |
+
# define MAGICK_UINTMAX_F "l"
|
113 |
+
|
114 |
+
typedef unsigned long magick_uintptr_t;
|
115 |
+
# define MAGICK_UINTPTR_F "l"
|
116 |
+
|
117 |
+
# define MAGICK_SIZE_T_F "l"
|
118 |
+
# define MAGICK_SIZE_T unsigned long
|
119 |
+
|
120 |
+
# define MAGICK_SSIZE_T_F "l"
|
121 |
+
# define MAGICK_SSIZE_T signed long
|
122 |
+
|
123 |
+
#endif
|
124 |
+
|
125 |
+
/* 64-bit file and blob offset type */
|
126 |
+
typedef magick_int64_t magick_off_t;
|
127 |
+
#define MAGICK_OFF_F MAGICK_INT64_F
|
128 |
+
|
129 |
+
#if defined(__cplusplus) || defined(c_plusplus)
|
130 |
+
}
|
131 |
+
#endif /* defined(__cplusplus) || defined(c_plusplus) */
|
132 |
+
|
133 |
+
#endif /* _MAGICK_TYPES_H */
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/graphicsmagick/portfile.cmake
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(GM_VERSION 1.3.37)
|
2 |
+
|
3 |
+
vcpkg_from_sourceforge(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO graphicsmagick/graphicsmagick
|
6 |
+
REF ${GM_VERSION}
|
7 |
+
FILENAME "GraphicsMagick-${GM_VERSION}-windows.7z"
|
8 |
+
SHA512 2e465a290946d730c0da1b45602ebdebc256d9a0705d6d79784efcefb0760a923dd78c73f7a563ce6ec41e4199da66d3b31cc8c6b8f821ff993092d348aeaa2f
|
9 |
+
PATCHES
|
10 |
+
# GM always requires a dynamic BZIP2. This patch makes this dependent if _DLL is defined
|
11 |
+
dynamic_bzip2.patch
|
12 |
+
|
13 |
+
# Bake GM's own modules into the .dll itself. This fixes a bug whereby
|
14 |
+
# 'vcpkg install graphicsmagick' did not lead to a copy of GM that could
|
15 |
+
# load either PNG or JPEG files (due to missing GM Modules, with names
|
16 |
+
# matching "IM_*.DLL").
|
17 |
+
disable_graphicsmagick_modules.patch
|
18 |
+
)
|
19 |
+
|
20 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
21 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/magick_types.h DESTINATION ${SOURCE_PATH}/magick)
|
22 |
+
|
23 |
+
vcpkg_configure_cmake(
|
24 |
+
SOURCE_PATH ${SOURCE_PATH}
|
25 |
+
PREFER_NINJA
|
26 |
+
OPTIONS_DEBUG
|
27 |
+
-DINSTALL_HEADERS=OFF
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_install_cmake()
|
31 |
+
|
32 |
+
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-graphicsmagick TARGET_PATH share/unofficial-graphicsmagick)
|
33 |
+
|
34 |
+
# copy license
|
35 |
+
file(INSTALL ${SOURCE_PATH}/Copyright.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
36 |
+
|
37 |
+
# copy config
|
38 |
+
file(COPY ${SOURCE_PATH}/config/colors.mgk DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/config)
|
39 |
+
file(COPY ${SOURCE_PATH}/config/log.mgk DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/config)
|
40 |
+
file(COPY ${SOURCE_PATH}/config/modules.mgk DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/config)
|
41 |
+
|
42 |
+
file(READ ${SOURCE_PATH}/config/type-windows.mgk.in TYPE_MGK)
|
43 |
+
string(REPLACE "@windows_font_dir@" "$ENV{SYSTEMROOT}/Fonts/" TYPE_MGK "${TYPE_MGK}")
|
44 |
+
file(WRITE ${CURRENT_PACKAGES_DIR}/share/graphicsmagick/config/type.mgk "${TYPE_MGK}")
|
45 |
+
|
46 |
+
configure_file(${SOURCE_PATH}/config/delegates.mgk.in ${CURRENT_PACKAGES_DIR}/share/${PORT}/config/delegates.mgk @ONLY)
|
47 |
+
vcpkg_copy_pdbs()
|