Spaces:
Sleeping
Sleeping
a0b92cbdc84d85c989f929fc4e8f68a12f3493dd6127f10ad09b27f24919ccba
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qhull/portfile.cmake +67 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qhull/usage +9 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qhull/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qnnpack/portfile.cmake +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qnnpack/use-packages.patch +187 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qnnpack/vcpkg.json +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/fix-openssl3.patch +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/portfile.cmake +54 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/qpid-protonConfig.cmake +4 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/vcpkg.json +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qscintilla/fix-static.patch +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qscintilla/portfile.cmake +50 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qscintilla/vcpkg.json +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/config_changes.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/hardcode_version.patch +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/portfile.cmake +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/vcpkg.json +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt/vcpkg.json +194 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-3d/portfile.cmake +56 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-3d/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-activeqt/portfile.cmake +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-activeqt/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-androidextras/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-androidextras/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/configure_qt.cmake +151 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/find_qt_mkspec.cmake +101 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/install_qt.cmake +129 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_build_submodule.cmake +129 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_download_submodule.cmake +41 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_fix_cmake.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_fix_makefile_install.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_fix_prl.cmake +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_install_copyright.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_port_functions.cmake +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_port_hashes.cmake +68 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_port_hashes_latest.cmake +67 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_submodule_installation.cmake +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/Qt5BasicConfig.patch +194 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/Qt5GuiConfigExtras.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/cocoa.patch +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/create_cmake.patch +41 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/egl.patch +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/gui_configure.patch +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/icu.patch +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/limits_include.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/mysql-configure.patch +11 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/mysql_plugin_include.patch +11 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5/vcpkg.json +358 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qhull/portfile.cmake
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO qhull/qhull
|
4 |
+
REF 613debeaea72ee66626dace9ba1a2eff11b5d37d
|
5 |
+
SHA512 5b8ff9665ba73621a9859a6e86717b980b67f8d79d6c78cbf5672bce66aed671f7d64fcbec457bca79eef2e17e105f136017afdf442bb430b9f4a059d7cb93c3
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
include-qhullcpp-shared.patch
|
9 |
+
fix-missing-symbols.patch # upstream https://github.com/qhull/qhull/pull/93
|
10 |
+
)
|
11 |
+
|
12 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS)
|
13 |
+
|
14 |
+
vcpkg_cmake_configure(
|
15 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
16 |
+
OPTIONS
|
17 |
+
-DBUILD_STATIC_LIBS=${BUILD_STATIC_LIBS}
|
18 |
+
)
|
19 |
+
|
20 |
+
vcpkg_cmake_install()
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE
|
23 |
+
"${CURRENT_PACKAGES_DIR}/share/man"
|
24 |
+
"${CURRENT_PACKAGES_DIR}/share/doc"
|
25 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
26 |
+
"${CURRENT_PACKAGES_DIR}/debug/share/man"
|
27 |
+
"${CURRENT_PACKAGES_DIR}/debug/share/doc"
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Qhull)
|
31 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
32 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/share/qhull/QhullTargets-interface.cmake" [[
|
33 |
+
add_library(Qhull::qhull_r IMPORTED INTERFACE)
|
34 |
+
set_target_properties(Qhull::qhull_r PROPERTIES INTERFACE_LINK_LIBRARIES Qhull::qhullstatic_r)
|
35 |
+
]])
|
36 |
+
endif()
|
37 |
+
|
38 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
39 |
+
set(active_basename "qhullstatic")
|
40 |
+
set(inactive_basename "qhull")
|
41 |
+
else()
|
42 |
+
set(active_basename "qhull")
|
43 |
+
set(inactive_basename "qhullstatic")
|
44 |
+
endif()
|
45 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${inactive_basename}_r.pc")
|
46 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${inactive_basename}.pc") # qhullstatic.pc in dynamic build
|
47 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE)
|
48 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${inactive_basename}_rd.pc")
|
49 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${active_basename}_rd.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${active_basename}_r.pc")
|
50 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/qhullstatic_d.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/qhullstatic.pc")
|
51 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${inactive_basename}.pc") # qhullstatic.pc in dynamic build
|
52 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/qhullcpp_d.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/qhullcpp.pc")
|
53 |
+
endif()
|
54 |
+
vcpkg_fixup_pkgconfig()
|
55 |
+
|
56 |
+
vcpkg_copy_tools(TOOL_NAMES
|
57 |
+
qconvex
|
58 |
+
qdelaunay
|
59 |
+
qhalf
|
60 |
+
qhull
|
61 |
+
qvoronoi
|
62 |
+
rbox
|
63 |
+
AUTO_CLEAN
|
64 |
+
)
|
65 |
+
|
66 |
+
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME usage)
|
67 |
+
file(INSTALL "${SOURCE_PATH}/COPYING.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qhull/usage
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The package qhull provides CMake targets:
|
2 |
+
|
3 |
+
# Reentrant C API
|
4 |
+
find_package(Qhull CONFIG REQUIRED)
|
5 |
+
target_link_libraries(main PRIVATE Qhull::qhull_r)
|
6 |
+
|
7 |
+
# C++ API
|
8 |
+
find_package(Qhull CONFIG REQUIRED)
|
9 |
+
target_link_libraries(main PRIVATE Qhull::qhullcpp)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qhull/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qhull",
|
3 |
+
"version": "8.0.2",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "computes the convex hull, Delaunay triangulation, Voronoi diagram",
|
6 |
+
"homepage": "https://github.com/qhull/qhull",
|
7 |
+
"license": null,
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
}
|
17 |
+
]
|
18 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qnnpack/portfile.cmake
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO pytorch/QNNPACK
|
4 |
+
REF 7d2a4e9931a82adc3814275b6219a03e24e36b4c
|
5 |
+
SHA512 437a835acfedae851a9a8572fa6eea9854dcb8bcca499bc4a2582314e44f5f199778e857932da4aecf943bea7cb2eb5b1c41d4b4ca6075bddbe0f18b2c7b9127
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
use-packages.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH ${SOURCE_PATH}
|
13 |
+
OPTIONS
|
14 |
+
-DQNNPACK_BUILD_TESTS=OFF
|
15 |
+
-DQNNPACK_BUILD_BENCHMARKS=OFF
|
16 |
+
)
|
17 |
+
vcpkg_cmake_install()
|
18 |
+
|
19 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
20 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include
|
21 |
+
${CURRENT_PACKAGES_DIR}/debug/bin
|
22 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qnnpack/use-packages.patch
ADDED
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index a5ddc49..05e1279 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -13,8 +13,6 @@ PROJECT(QNNPACK C CXX ASM)
|
6 |
+
|
7 |
+
# ---[ Options.
|
8 |
+
OPTION(QNNPACK_CUSTOM_THREADPOOL "Build QNNPACK for custom thread pool" OFF)
|
9 |
+
-SET(QNNPACK_LIBRARY_TYPE "default" CACHE STRING "Type of library (shared, static, or default) to build")
|
10 |
+
-SET_PROPERTY(CACHE QNNPACK_LIBRARY_TYPE PROPERTY STRINGS default static shared)
|
11 |
+
OPTION(QNNPACK_BUILD_TESTS "Build QNNPACK unit tests" ON)
|
12 |
+
OPTION(QNNPACK_BUILD_BENCHMARKS "Build QNNPACK benchmarks" ON)
|
13 |
+
|
14 |
+
@@ -53,11 +51,11 @@ SET(CONFU_DEPENDENCIES_SOURCE_DIR "${CMAKE_SOURCE_DIR}/deps"
|
15 |
+
SET(CONFU_DEPENDENCIES_BINARY_DIR "${CMAKE_BINARY_DIR}/deps"
|
16 |
+
CACHE PATH "Confu-style dependencies binary directory")
|
17 |
+
|
18 |
+
-IF(NOT DEFINED CLOG_SOURCE_DIR)
|
19 |
+
+IF(FALSE)
|
20 |
+
SET(CLOG_SOURCE_DIR "${PROJECT_SOURCE_DIR}/deps/clog")
|
21 |
+
ENDIF()
|
22 |
+
|
23 |
+
-IF(NOT DEFINED CPUINFO_SOURCE_DIR)
|
24 |
+
+IF(FALSE)
|
25 |
+
MESSAGE(STATUS "Downloading cpuinfo to ${CONFU_DEPENDENCIES_SOURCE_DIR}/cpuinfo (define CPUINFO_SOURCE_DIR to avoid it)")
|
26 |
+
CONFIGURE_FILE(cmake/DownloadCpuinfo.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/cpuinfo-download/CMakeLists.txt")
|
27 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
28 |
+
@@ -67,7 +65,7 @@ IF(NOT DEFINED CPUINFO_SOURCE_DIR)
|
29 |
+
SET(CPUINFO_SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/cpuinfo" CACHE STRING "cpuinfo source directory")
|
30 |
+
ENDIF()
|
31 |
+
|
32 |
+
-IF(NOT DEFINED FP16_SOURCE_DIR)
|
33 |
+
+IF(FALSE)
|
34 |
+
MESSAGE(STATUS "Downloading FP16 to ${CONFU_DEPENDENCIES_SOURCE_DIR}/fp16 (define FP16_SOURCE_DIR to avoid it)")
|
35 |
+
CONFIGURE_FILE(cmake/DownloadFP16.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/fp16-download/CMakeLists.txt")
|
36 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
37 |
+
@@ -77,7 +75,7 @@ IF(NOT DEFINED FP16_SOURCE_DIR)
|
38 |
+
SET(FP16_SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/fp16" CACHE STRING "FP16 source directory")
|
39 |
+
ENDIF()
|
40 |
+
|
41 |
+
-IF(NOT DEFINED FXDIV_SOURCE_DIR)
|
42 |
+
+IF(FALSE)
|
43 |
+
MESSAGE(STATUS "Downloading FXdiv to ${CONFU_DEPENDENCIES_SOURCE_DIR}/fxdiv (define FXDIV_SOURCE_DIR to avoid it)")
|
44 |
+
CONFIGURE_FILE(cmake/DownloadFXdiv.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/fxdiv-download/CMakeLists.txt")
|
45 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
46 |
+
@@ -87,7 +85,7 @@ IF(NOT DEFINED FXDIV_SOURCE_DIR)
|
47 |
+
SET(FXDIV_SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/fxdiv" CACHE STRING "FXdiv source directory")
|
48 |
+
ENDIF()
|
49 |
+
|
50 |
+
-IF(NOT DEFINED PSIMD_SOURCE_DIR)
|
51 |
+
+IF(FALSE)
|
52 |
+
MESSAGE(STATUS "Downloading PSimd to ${CONFU_DEPENDENCIES_SOURCE_DIR}/psimd (define PSIMD_SOURCE_DIR to avoid it)")
|
53 |
+
CONFIGURE_FILE(cmake/DownloadPSimd.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/psimd-download/CMakeLists.txt")
|
54 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
55 |
+
@@ -97,7 +95,7 @@ IF(NOT DEFINED PSIMD_SOURCE_DIR)
|
56 |
+
SET(PSIMD_SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/psimd" CACHE STRING "PSimd source directory")
|
57 |
+
ENDIF()
|
58 |
+
|
59 |
+
-IF(NOT DEFINED PTHREADPOOL_SOURCE_DIR)
|
60 |
+
+IF(FALSE)
|
61 |
+
MESSAGE(STATUS "Downloading pthreadpool to ${CONFU_DEPENDENCIES_SOURCE_DIR}/pthreadpool (define PTHREADPOOL_SOURCE_DIR to avoid it)")
|
62 |
+
CONFIGURE_FILE(cmake/DownloadPThreadPool.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/pthreadpool-download/CMakeLists.txt")
|
63 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
64 |
+
@@ -107,7 +105,7 @@ IF(NOT DEFINED PTHREADPOOL_SOURCE_DIR)
|
65 |
+
SET(PTHREADPOOL_SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/pthreadpool" CACHE STRING "pthreadpool source directory")
|
66 |
+
ENDIF()
|
67 |
+
|
68 |
+
-IF(QNNPACK_BUILD_TESTS AND NOT DEFINED GOOGLETEST_SOURCE_DIR)
|
69 |
+
+IF(FALSE)
|
70 |
+
MESSAGE(STATUS "Downloading Google Test to ${CONFU_DEPENDENCIES_SOURCE_DIR}/googletest (define GOOGLETEST_SOURCE_DIR to avoid it)")
|
71 |
+
CONFIGURE_FILE(cmake/DownloadGoogleTest.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/googletest-download/CMakeLists.txt")
|
72 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
73 |
+
@@ -117,7 +115,7 @@ IF(QNNPACK_BUILD_TESTS AND NOT DEFINED GOOGLETEST_SOURCE_DIR)
|
74 |
+
SET(GOOGLETEST_SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/googletest" CACHE STRING "Google Test source directory")
|
75 |
+
ENDIF()
|
76 |
+
|
77 |
+
-IF(QNNPACK_BUILD_BENCHMARKS AND NOT DEFINED GOOGLEBENCHMARK_SOURCE_DIR)
|
78 |
+
+IF(FALSE)
|
79 |
+
MESSAGE(STATUS "Downloading Google Benchmark to ${CONFU_DEPENDENCIES_SOURCE_DIR}/googlebenchmark (define GOOGLEBENCHMARK_SOURCE_DIR to avoid it)")
|
80 |
+
CONFIGURE_FILE(cmake/DownloadGoogleBenchmark.cmake "${CONFU_DEPENDENCIES_BINARY_DIR}/googlebenchmark-download/CMakeLists.txt")
|
81 |
+
EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
82 |
+
@@ -229,15 +227,7 @@ IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i[3-6]86|x86_64)$" OR IOS_ARCH MATCHES "^(i
|
83 |
+
LIST(APPEND QNNPACK_UKERNELS ${QNNPACK_X86_SSE2_UKERNELS})
|
84 |
+
ENDIF()
|
85 |
+
|
86 |
+
-IF(QNNPACK_LIBRARY_TYPE STREQUAL "default")
|
87 |
+
- ADD_LIBRARY(qnnpack ${QNNPACK_INIT_SRCS} ${QNNPACK_EXEC_SRCS} ${QNNPACK_UKERNELS})
|
88 |
+
-ELSEIF(QNNPACK_LIBRARY_TYPE STREQUAL "shared")
|
89 |
+
- ADD_LIBRARY(qnnpack SHARED ${QNNPACK_INIT_SRCS} ${QNNPACK_EXEC_SRCS} ${QNNPACK_UKERNELS})
|
90 |
+
-ELSEIF(QNNPACK_LIBRARY_TYPE STREQUAL "static")
|
91 |
+
- ADD_LIBRARY(qnnpack STATIC ${QNNPACK_INIT_SRCS} ${QNNPACK_EXEC_SRCS} ${QNNPACK_UKERNELS})
|
92 |
+
-ELSE()
|
93 |
+
- MESSAGE(FATAL_ERROR "Unsupported QNNPACK library type \"${QNNPACK_LIBRARY_TYPE}\". Must be \"static\", \"shared\", or \"default\"")
|
94 |
+
-ENDIF()
|
95 |
+
+ADD_LIBRARY(qnnpack ${QNNPACK_INIT_SRCS} ${QNNPACK_EXEC_SRCS} ${QNNPACK_UKERNELS})
|
96 |
+
SET_TARGET_PROPERTIES(qnnpack PROPERTIES
|
97 |
+
C_STANDARD 99
|
98 |
+
C_EXTENSIONS YES)
|
99 |
+
@@ -272,7 +262,7 @@ TARGET_INCLUDE_DIRECTORIES(qnnpack PRIVATE src)
|
100 |
+
SET_TARGET_PROPERTIES(qnnpack PROPERTIES PUBLIC_HEADER include/qnnpack.h)
|
101 |
+
|
102 |
+
# ---[ Configure clog
|
103 |
+
-IF(NOT TARGET clog)
|
104 |
+
+IF(FALSE)
|
105 |
+
SET(CLOG_BUILD_TESTS OFF CACHE BOOL "")
|
106 |
+
SET(CLOG_RUNTIME_TYPE "${CPUINFO_RUNTIME_TYPE}" CACHE STRING "")
|
107 |
+
ADD_SUBDIRECTORY(
|
108 |
+
@@ -281,10 +271,9 @@ IF(NOT TARGET clog)
|
109 |
+
# We build static version of clog but a dynamic library may indirectly depend on it
|
110 |
+
SET_PROPERTY(TARGET clog PROPERTY POSITION_INDEPENDENT_CODE ON)
|
111 |
+
ENDIF()
|
112 |
+
-TARGET_LINK_LIBRARIES(qnnpack PRIVATE clog)
|
113 |
+
|
114 |
+
# ---[ Configure cpuinfo
|
115 |
+
-IF(NOT TARGET cpuinfo)
|
116 |
+
+IF(FALSE)
|
117 |
+
SET(CPUINFO_BUILD_TOOLS OFF CACHE BOOL "")
|
118 |
+
SET(CPUINFO_BUILD_UNIT_TESTS OFF CACHE BOOL "")
|
119 |
+
SET(CPUINFO_BUILD_MOCK_TESTS OFF CACHE BOOL "")
|
120 |
+
@@ -293,17 +282,19 @@ IF(NOT TARGET cpuinfo)
|
121 |
+
"${CPUINFO_SOURCE_DIR}"
|
122 |
+
"${CONFU_DEPENDENCIES_BINARY_DIR}/cpuinfo")
|
123 |
+
ENDIF()
|
124 |
+
-TARGET_LINK_LIBRARIES(qnnpack PRIVATE cpuinfo)
|
125 |
+
+
|
126 |
+
+find_package(cpuinfo CONFIG REQUIRED)
|
127 |
+
+target_link_libraries(qnnpack PUBLIC cpuinfo::clog cpuinfo::cpuinfo)
|
128 |
+
|
129 |
+
# ---[ Configure pthreadpool
|
130 |
+
-IF(NOT TARGET pthreadpool)
|
131 |
+
+IF(FALSE)
|
132 |
+
SET(PTHREADPOOL_BUILD_TESTS OFF CACHE BOOL "")
|
133 |
+
SET(PTHREADPOOL_BUILD_BENCHMARKS OFF CACHE BOOL "")
|
134 |
+
ADD_SUBDIRECTORY(
|
135 |
+
"${PTHREADPOOL_SOURCE_DIR}"
|
136 |
+
"${CONFU_DEPENDENCIES_BINARY_DIR}/pthreadpool")
|
137 |
+
ENDIF()
|
138 |
+
-IF(QNNPACK_CUSTOM_THREADPOOL)
|
139 |
+
+IF(FALSE)
|
140 |
+
# Depend on pthreadpool interface, but not on implementation.
|
141 |
+
# This is used when QNNPACK user (e.g. Caffe2) provides its own threadpool implementation.
|
142 |
+
TARGET_LINK_LIBRARIES(qnnpack PUBLIC pthreadpool_interface)
|
143 |
+
@@ -312,34 +303,38 @@ ELSE()
|
144 |
+
ENDIF()
|
145 |
+
|
146 |
+
# ---[ Configure FXdiv
|
147 |
+
-IF(NOT TARGET fxdiv)
|
148 |
+
+IF(FALSE)
|
149 |
+
SET(FXDIV_BUILD_TESTS OFF CACHE BOOL "")
|
150 |
+
SET(FXDIV_BUILD_BENCHMARKS OFF CACHE BOOL "")
|
151 |
+
ADD_SUBDIRECTORY(
|
152 |
+
"${FXDIV_SOURCE_DIR}"
|
153 |
+
"${CONFU_DEPENDENCIES_BINARY_DIR}/fxdiv")
|
154 |
+
ENDIF()
|
155 |
+
-TARGET_LINK_LIBRARIES(qnnpack PRIVATE fxdiv)
|
156 |
+
+find_path(FXDIV_INCLUDE_DIRS "fxdiv.h")
|
157 |
+
+target_include_directories(qnnpack PRIVATE ${FXDIV_INCLUDE_DIRS})
|
158 |
+
|
159 |
+
# ---[ Configure psimd
|
160 |
+
-IF(NOT TARGET psimd)
|
161 |
+
+IF(FALSE)
|
162 |
+
ADD_SUBDIRECTORY(
|
163 |
+
"${PSIMD_SOURCE_DIR}"
|
164 |
+
"${CONFU_DEPENDENCIES_BINARY_DIR}/psimd")
|
165 |
+
ENDIF()
|
166 |
+
-TARGET_LINK_LIBRARIES(qnnpack PRIVATE psimd)
|
167 |
+
+find_path(PSIMD_INCLUDE_DIRS "psimd.h")
|
168 |
+
+target_include_directories(qnnpack PRIVATE ${PSIMD_INCLUDE_DIRS})
|
169 |
+
|
170 |
+
# ---[ Configure FP16
|
171 |
+
-IF(NOT TARGET fp16)
|
172 |
+
+IF(FALSE)
|
173 |
+
SET(FP16_BUILD_TESTS OFF CACHE BOOL "")
|
174 |
+
SET(FP16_BUILD_BENCHMARKS OFF CACHE BOOL "")
|
175 |
+
ADD_SUBDIRECTORY(
|
176 |
+
"${FP16_SOURCE_DIR}"
|
177 |
+
"${CONFU_DEPENDENCIES_BINARY_DIR}/fp16")
|
178 |
+
ENDIF()
|
179 |
+
-TARGET_LINK_LIBRARIES(qnnpack PRIVATE fp16)
|
180 |
+
+find_path(FP16_INCLUDE_DIRS "fp16.h")
|
181 |
+
+target_include_directories(qnnpack PRIVATE ${FP16_INCLUDE_DIRS})
|
182 |
+
|
183 |
+
INSTALL(TARGETS qnnpack
|
184 |
+
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
185 |
+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
186 |
+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
187 |
+
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qnnpack/vcpkg.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qnnpack",
|
3 |
+
"version-date": "2021-02-26",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "Quantized Neural Network PACKage - mobile-optimized implementation of quantized neural network operators",
|
6 |
+
"homepage": "https://github.com/pytorch/QNNPACK",
|
7 |
+
"license": "BSD-3-Clause",
|
8 |
+
"supports": "linux | osx",
|
9 |
+
"dependencies": [
|
10 |
+
"cpuinfo",
|
11 |
+
"fp16",
|
12 |
+
"fxdiv",
|
13 |
+
"psimd",
|
14 |
+
"pthreadpool",
|
15 |
+
{
|
16 |
+
"name": "vcpkg-cmake",
|
17 |
+
"host": true
|
18 |
+
}
|
19 |
+
]
|
20 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/fix-openssl3.patch
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index d75dfdb6..7089c406 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -177,7 +177,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
|
6 |
+
endif (ENABLE_WARNING_ERROR)
|
7 |
+
set (COMPILE_WARNING_FLAGS "${WERROR} -Wall -pedantic-errors")
|
8 |
+
set (CXX_WARNING_FLAGS "${COMPILE_WARNING_FLAGS}")
|
9 |
+
- set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings")
|
10 |
+
+ set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-deprecated-declarations -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings")
|
11 |
+
|
12 |
+
if (ENABLE_UNDEFINED_ERROR)
|
13 |
+
set (CATCH_UNDEFINED "-Wl,--no-undefined")
|
14 |
+
@@ -202,7 +202,7 @@ if (CMAKE_C_COMPILER_ID MATCHES "Clang")
|
15 |
+
endif (ENABLE_WARNING_ERROR)
|
16 |
+
# TODO aconway 2016-01-06: we should be able to clean up the code and turn on
|
17 |
+
# some of these warnings.
|
18 |
+
- set (CXX_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-float-equal -Wno-padded -Wno-sign-conversion -Wno-switch-enum -Wno-weak-vtables -Wno-exit-time-destructors -Wno-global-constructors -Wno-shorten-64-to-32 -Wno-documentation -Wno-documentation-unknown-command -Wno-old-style-cast -Wno-missing-noreturn")
|
19 |
+
+ set (CXX_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-deprecated-declarations -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-float-equal -Wno-padded -Wno-sign-conversion -Wno-switch-enum -Wno-weak-vtables -Wno-exit-time-destructors -Wno-global-constructors -Wno-shorten-64-to-32 -Wno-documentation -Wno-documentation-unknown-command -Wno-old-style-cast -Wno-missing-noreturn")
|
20 |
+
endif()
|
21 |
+
|
22 |
+
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/portfile.cmake
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_find_acquire_program(PYTHON3)
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO apache/qpid-proton
|
8 |
+
REF dc244b1f7e886883a2bb416407f42ba55d0f5f42 # 0.32.0
|
9 |
+
SHA512 19f191dd206fd43a8f5b8db95f6ada57bd60b93eb907cf32f463c23cfe8c5f4914c6f4750ebde50c970387fb62baf4451279803eeb000bc8bb5c200692e5d1d7
|
10 |
+
HEAD_REF next
|
11 |
+
PATCHES
|
12 |
+
fix-openssl3.patch
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_configure(
|
16 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
17 |
+
OPTIONS
|
18 |
+
-DPYTHON_EXECUTABLE=${PYTHON3}
|
19 |
+
-DLIB_SUFFIX=
|
20 |
+
-DBUILD_GO=no
|
21 |
+
-DENABLE_JSONCPP=ON
|
22 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_CyrusSASL=ON
|
23 |
+
)
|
24 |
+
|
25 |
+
vcpkg_cmake_install()
|
26 |
+
|
27 |
+
vcpkg_copy_pdbs()
|
28 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
29 |
+
set(configFiles
|
30 |
+
"${CURRENT_PACKAGES_DIR}/share/${PORT}/Proton/ProtonConfig.cmake"
|
31 |
+
"${CURRENT_PACKAGES_DIR}/share/${PORT}/ProtonCpp/ProtonCppConfig.cmake"
|
32 |
+
)
|
33 |
+
foreach(configFile IN LISTS configFiles)
|
34 |
+
vcpkg_replace_string("${configFile}"
|
35 |
+
"IMPORTED_LOCATION_DEBUG \"\${_IMPORT_PREFIX}/lib"
|
36 |
+
"IMPORTED_LOCATION_DEBUG \"\${_IMPORT_PREFIX}/debug/lib"
|
37 |
+
)
|
38 |
+
vcpkg_replace_string("${configFile}"
|
39 |
+
"debug \${_IMPORT_PREFIX}/lib"
|
40 |
+
"debug \${_IMPORT_PREFIX}/debug/lib"
|
41 |
+
)
|
42 |
+
endforeach()
|
43 |
+
vcpkg_fixup_pkgconfig()
|
44 |
+
|
45 |
+
configure_file(${CMAKE_CURRENT_LIST_DIR}/qpid-protonConfig.cmake
|
46 |
+
${CURRENT_PACKAGES_DIR}/share/${PORT}/qpid-protonConfig.cmake COPYONLY)
|
47 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/share/proton/LICENSE.txt"
|
48 |
+
"${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
49 |
+
|
50 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
51 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
52 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/proton")
|
53 |
+
|
54 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/proton/version.h" "#define PN_INSTALL_PREFIX \"${CURRENT_PACKAGES_DIR}\"" "")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/qpid-protonConfig.cmake
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)
|
2 |
+
set(_IMPORT_PREFIX "${PACKAGE_PREFIX_DIR}")
|
3 |
+
include(${CMAKE_CURRENT_LIST_DIR}/Proton/ProtonConfig.cmake)
|
4 |
+
include(${CMAKE_CURRENT_LIST_DIR}/ProtonCpp/ProtonCppConfig.cmake)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qpid-proton/vcpkg.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qpid-proton",
|
3 |
+
"version": "0.32.0",
|
4 |
+
"port-version": 4,
|
5 |
+
"description": "Qpid Proton is a high-performance, lightweight messaging library.",
|
6 |
+
"homepage": "https://github.com/apache/qpid-proton",
|
7 |
+
"dependencies": [
|
8 |
+
"jsoncpp",
|
9 |
+
{
|
10 |
+
"name": "libuv",
|
11 |
+
"platform": "osx"
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "openssl",
|
15 |
+
"platform": "!windows & !uwp"
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "vcpkg-cmake",
|
19 |
+
"host": true
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "vcpkg-cmake-config",
|
23 |
+
"host": true
|
24 |
+
}
|
25 |
+
]
|
26 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qscintilla/fix-static.patch
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/qscintilla.pro b/src/qscintilla.pro
|
2 |
+
index 8d0acd2..2246442 100644
|
3 |
+
--- a/src/qscintilla.pro
|
4 |
+
+++ b/src/qscintilla.pro
|
5 |
+
@@ -37,13 +37,13 @@ CONFIG(debug, debug|release) {
|
6 |
+
TARGET = qscintilla2_qt$${QT_MAJOR_VERSION}
|
7 |
+
}
|
8 |
+
|
9 |
+
-macx:!CONFIG(staticlib) {
|
10 |
+
+macx:!CONFIG(static) {
|
11 |
+
QMAKE_POST_LINK += install_name_tool -id @rpath/$(TARGET1) $(TARGET)
|
12 |
+
}
|
13 |
+
|
14 |
+
INCLUDEPATH += . ../scintilla/include ../scintilla/lexlib ../scintilla/src
|
15 |
+
|
16 |
+
-!CONFIG(staticlib) {
|
17 |
+
+!CONFIG(static) {
|
18 |
+
DEFINES += QSCINTILLA_MAKE_DLL
|
19 |
+
}
|
20 |
+
DEFINES += SCINTILLA_QT SCI_LEXER INCLUDE_DEPRECATED_FEATURES
|
21 |
+
@@ -82,7 +82,7 @@ qsci.files = ../qsci
|
22 |
+
INSTALLS += qsci
|
23 |
+
|
24 |
+
features.path = $$[QT_HOST_DATA]/mkspecs/features
|
25 |
+
-CONFIG(staticlib) {
|
26 |
+
+CONFIG(static) {
|
27 |
+
features.files = $$PWD/features_staticlib/qscintilla2.prf
|
28 |
+
} else {
|
29 |
+
features.files = $$PWD/features/qscintilla2.prf
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qscintilla/portfile.cmake
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_download_distfile(ARCHIVE
|
2 |
+
URLS "https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.12.0/QScintilla_src-2.12.0.tar.gz"
|
3 |
+
FILENAME "QScintilla-2.12.0.tar.gz"
|
4 |
+
SHA512 9bdaba5c33c1b11ccad83eb1fda72142758afc50c955a62d5a8ff102b41d4b67d897bf96ce0540e16bc5a7fae2ce1acbf06931d5f0ae6768759c9ff072c03daa
|
5 |
+
)
|
6 |
+
|
7 |
+
vcpkg_extract_source_archive_ex(
|
8 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
9 |
+
ARCHIVE ${ARCHIVE}
|
10 |
+
PATCHES
|
11 |
+
fix-static.patch
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_find_acquire_program(PYTHON3)
|
15 |
+
|
16 |
+
# Add python3 to path
|
17 |
+
get_filename_component(PYTHON3_PATH ${PYTHON3} DIRECTORY)
|
18 |
+
vcpkg_add_to_path(${PYTHON3_PATH})
|
19 |
+
|
20 |
+
vcpkg_configure_qmake(
|
21 |
+
SOURCE_PATH ${SOURCE_PATH}/src
|
22 |
+
OPTIONS
|
23 |
+
CONFIG+=build_all
|
24 |
+
CONFIG-=hide_symbols
|
25 |
+
DEFINES+=SCI_NAMESPACE
|
26 |
+
)
|
27 |
+
|
28 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
29 |
+
vcpkg_install_qmake(
|
30 |
+
RELEASE_TARGETS release
|
31 |
+
DEBUG_TARGETS debug
|
32 |
+
)
|
33 |
+
else()
|
34 |
+
vcpkg_install_qmake()
|
35 |
+
endif()
|
36 |
+
|
37 |
+
file(GLOB HEADER_FILES ${SOURCE_PATH}/src/Qsci/*)
|
38 |
+
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/Qsci)
|
39 |
+
|
40 |
+
if (VCPKG_TARGET_IS_WINDOWS AND (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic))
|
41 |
+
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/Qsci/qsciglobal.h
|
42 |
+
"#if defined(QSCINTILLA_DLL)"
|
43 |
+
"#if 1"
|
44 |
+
)
|
45 |
+
endif()
|
46 |
+
|
47 |
+
vcpkg_copy_pdbs()
|
48 |
+
|
49 |
+
# Handle copyright
|
50 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qscintilla/vcpkg.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qscintilla",
|
3 |
+
"version": "2.12.0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "QScintilla is a port to Qt of the Scintilla editing component. Features syntax highlighting, code-completion and much more (Barebone build without python bindings (missing dependeny PyQt) and without QtDesigner plugin)",
|
6 |
+
"homepage": "https://www.riverbankcomputing.com/software/qscintilla",
|
7 |
+
"supports": "!(windows & (arm | arm64))",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "qt5-base",
|
11 |
+
"default-features": false
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "qt5-macextras",
|
15 |
+
"platform": "osx"
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "qt5-winextras",
|
19 |
+
"platform": "windows"
|
20 |
+
}
|
21 |
+
]
|
22 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/config_changes.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2 |
+
index 0bd721d..4848c5f 100644
|
3 |
+
--- a/src/CMakeLists.txt
|
4 |
+
+++ b/src/CMakeLists.txt
|
5 |
+
@@ -52,7 +52,7 @@ if (UNIX)
|
6 |
+
set(ads_SRCS linux/FloatingWidgetTitleBar.cpp ${ads_SRCS})
|
7 |
+
set(ads_HEADERS linux/FloatingWidgetTitleBar.h ${ads_HEADERS})
|
8 |
+
endif()
|
9 |
+
-if(BUILD_STATIC)
|
10 |
+
+if(NOT BUILD_SHARED_LIBS)
|
11 |
+
add_library(qtadvanceddocking STATIC ${ads_SRCS} ${ads_HEADERS})
|
12 |
+
target_compile_definitions(qtadvanceddocking PUBLIC ADS_STATIC)
|
13 |
+
else()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/hardcode_version.patch
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 94fdb8d..6febea2 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -1,11 +1,6 @@
|
6 |
+
cmake_minimum_required(VERSION 3.5)
|
7 |
+
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
|
8 |
+
-include(GetGitRevisionDescription)
|
9 |
+
-git_describe(GitTagVersion --tags)
|
10 |
+
-string(REGEX REPLACE "^([0-9]+)\\..*" "\\1" VERSION_MAJOR "${GitTagVersion}")
|
11 |
+
-string(REGEX REPLACE "^[0-9]+\\.([0-9]+).*" "\\1" VERSION_MINOR "${GitTagVersion}")
|
12 |
+
-string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" VERSION_PATCH "${GitTagVersion}")
|
13 |
+
-set(VERSION_SHORT "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
14 |
+
+
|
15 |
+
project(QtADS LANGUAGES CXX VERSION ${VERSION_SHORT})
|
16 |
+
option(BUILD_STATIC "Build the static library" OFF)
|
17 |
+
option(BUILD_EXAMPLES "Build the examples" ON)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/portfile.cmake
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO githubuser0xFFFF/Qt-Advanced-Docking-System
|
4 |
+
REF ab4869a0e1c97fec1dfca29eeb84be67af182864 #v3.8.0
|
5 |
+
SHA512 220ec4604eda8a39cd7ba8839cee2ab420e8c5a0b247749afb85a7b4ec3286f6debd53c910637e84023af79319f0600eb48a6c037c3e4877708677fee3c62ce7
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
hardcode_version.patch
|
9 |
+
config_changes.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH ${SOURCE_PATH}
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_EXAMPLES=OFF
|
16 |
+
-DVERSION_SHORT=3.8.0
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
|
21 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
22 |
+
file(INSTALL ${SOURCE_PATH}/gnu-lgpl-v2.1.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
23 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
24 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/license)
|
25 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
26 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME qtadvanceddocking CONFIG_PATH lib/cmake/qtadvanceddocking)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt-advanced-docking-system/vcpkg.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt-advanced-docking-system",
|
3 |
+
"version": "3.8.0",
|
4 |
+
"description": "Create customizable layouts using an advanced window docking system similar to what is found in many popular IDEs such as Visual Studio",
|
5 |
+
"homepage": "https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System",
|
6 |
+
"dependencies": [
|
7 |
+
"bzip2",
|
8 |
+
{
|
9 |
+
"name": "qt5-base",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "qt5-x11extras",
|
14 |
+
"platform": "!windows"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
},
|
24 |
+
"zlib"
|
25 |
+
]
|
26 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt/vcpkg.json
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qt5compat",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"big-codecs",
|
13 |
+
"codecs",
|
14 |
+
"qml",
|
15 |
+
"textcodec"
|
16 |
+
]
|
17 |
+
},
|
18 |
+
"qtapplicationmanager",
|
19 |
+
{
|
20 |
+
"name": "qtbase",
|
21 |
+
"default-features": false
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"name": "qtcharts",
|
25 |
+
"default-features": false,
|
26 |
+
"features": [
|
27 |
+
"designer",
|
28 |
+
"qml"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
"qtcoap",
|
32 |
+
"qtconnectivity",
|
33 |
+
"qtdatavis3d",
|
34 |
+
"qtdeclarative",
|
35 |
+
{
|
36 |
+
"name": "qtdeviceutilities",
|
37 |
+
"default-features": false,
|
38 |
+
"platform": "linux"
|
39 |
+
},
|
40 |
+
"qtdoc",
|
41 |
+
{
|
42 |
+
"name": "qtimageformats",
|
43 |
+
"default-features": false,
|
44 |
+
"features": [
|
45 |
+
"jasper",
|
46 |
+
"tiff",
|
47 |
+
"webp"
|
48 |
+
]
|
49 |
+
},
|
50 |
+
"qtinterfaceframework",
|
51 |
+
{
|
52 |
+
"name": "qtlottie",
|
53 |
+
"default-features": false,
|
54 |
+
"features": [
|
55 |
+
"qml"
|
56 |
+
]
|
57 |
+
},
|
58 |
+
"qtmqtt",
|
59 |
+
{
|
60 |
+
"name": "qtmultimedia",
|
61 |
+
"default-features": false,
|
62 |
+
"features": [
|
63 |
+
"qml",
|
64 |
+
"widgets"
|
65 |
+
]
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"name": "qtmultimedia",
|
69 |
+
"default-features": false,
|
70 |
+
"features": [
|
71 |
+
"gstreamer"
|
72 |
+
],
|
73 |
+
"platform": "!(static & windows)"
|
74 |
+
},
|
75 |
+
"qtnetworkauth",
|
76 |
+
{
|
77 |
+
"name": "qtopcua",
|
78 |
+
"features": [
|
79 |
+
"qml"
|
80 |
+
]
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"name": "qtpositioning",
|
84 |
+
"default-features": false,
|
85 |
+
"features": [
|
86 |
+
"qml"
|
87 |
+
]
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"name": "qtquick3d",
|
91 |
+
"default-features": false
|
92 |
+
},
|
93 |
+
"qtquicktimeline",
|
94 |
+
{
|
95 |
+
"name": "qtremoteobjects",
|
96 |
+
"default-features": false,
|
97 |
+
"features": [
|
98 |
+
"qml"
|
99 |
+
]
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"name": "qtscxml",
|
103 |
+
"default-features": false,
|
104 |
+
"features": [
|
105 |
+
"qml"
|
106 |
+
]
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"name": "qtsensors",
|
110 |
+
"default-features": false,
|
111 |
+
"features": [
|
112 |
+
"qml"
|
113 |
+
]
|
114 |
+
},
|
115 |
+
"qtserialbus",
|
116 |
+
"qtserialport",
|
117 |
+
"qtshadertools",
|
118 |
+
"qtsvg",
|
119 |
+
{
|
120 |
+
"name": "qttools",
|
121 |
+
"default-features": false,
|
122 |
+
"features": [
|
123 |
+
"assistant",
|
124 |
+
"designer",
|
125 |
+
"qml"
|
126 |
+
]
|
127 |
+
},
|
128 |
+
"qttranslations",
|
129 |
+
"qtvirtualkeyboard",
|
130 |
+
{
|
131 |
+
"name": "qtwebchannel",
|
132 |
+
"default-features": false,
|
133 |
+
"features": [
|
134 |
+
"qml"
|
135 |
+
]
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"name": "qtwebengine",
|
139 |
+
"default-features": false,
|
140 |
+
"features": [
|
141 |
+
"geolocation",
|
142 |
+
"spellchecker",
|
143 |
+
"webchannel"
|
144 |
+
],
|
145 |
+
"platform": "!static"
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"name": "qtwebsockets",
|
149 |
+
"default-features": false,
|
150 |
+
"features": [
|
151 |
+
"qml"
|
152 |
+
]
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"name": "qtwebview",
|
156 |
+
"default-features": false,
|
157 |
+
"features": [
|
158 |
+
"qml"
|
159 |
+
]
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"name": "qtwebview",
|
163 |
+
"default-features": false,
|
164 |
+
"features": [
|
165 |
+
"webengine"
|
166 |
+
],
|
167 |
+
"platform": "!static"
|
168 |
+
}
|
169 |
+
],
|
170 |
+
"default-features": [
|
171 |
+
"default-features"
|
172 |
+
],
|
173 |
+
"features": {
|
174 |
+
"default-features": {
|
175 |
+
"description": "Platform-dependent default features",
|
176 |
+
"dependencies": [
|
177 |
+
{
|
178 |
+
"name": "qtactiveqt",
|
179 |
+
"features": [
|
180 |
+
"qml"
|
181 |
+
],
|
182 |
+
"platform": "windows"
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"name": "qtwayland",
|
186 |
+
"features": [
|
187 |
+
"qml"
|
188 |
+
],
|
189 |
+
"platform": "linux"
|
190 |
+
}
|
191 |
+
]
|
192 |
+
}
|
193 |
+
}
|
194 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-3d/portfile.cmake
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
|
3 |
+
set(OPTIONS -system-assimp)
|
4 |
+
|
5 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
6 |
+
set(VCVER vc140 vc141 vc142 vc143 )
|
7 |
+
set(CRT mt md)
|
8 |
+
set(DBG_NAMES)
|
9 |
+
set(REL_NAMES)
|
10 |
+
foreach(_ver IN LISTS VCVER)
|
11 |
+
foreach(_crt IN LISTS CRT)
|
12 |
+
list(APPEND DBG_NAMES assimp-${_ver}-${_crt}d)
|
13 |
+
list(APPEND REL_NAMES assimp-${_ver}-${_crt})
|
14 |
+
endforeach()
|
15 |
+
endforeach()
|
16 |
+
endif()
|
17 |
+
|
18 |
+
find_library(ASSIMP_REL NAMES assimp ${REL_NAMES} PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
19 |
+
find_library(ASSIMP_DBG NAMES assimp assimpd ${DBG_NAMES} PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
20 |
+
|
21 |
+
find_library(MINIZIP_REL NAMES minizip PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
22 |
+
find_library(MINIZIP_DBG NAMES minizip minizipd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
23 |
+
find_library(KUBAZIP_REL NAMES kubazip PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
24 |
+
find_library(KUBAZIP_DBG NAMES kubazip kubazipd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
25 |
+
find_library(JPEG_REL NAMES jpeg jpeg-static PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
26 |
+
find_library(JPEG_DBG NAMES jpeg jpeg-static jpegd jpeg-staticd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
27 |
+
find_library(LIBPNG_REL NAMES png16 libpng16 PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) #Depends on zlib
|
28 |
+
find_library(LIBPNG_DBG NAMES png16 png16d libpng16 libpng16d PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
29 |
+
find_library(ZLIB_REL NAMES z zlib PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
30 |
+
find_library(ZLIB_DBG NAMES z zlib zd zlibd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
31 |
+
find_library(IRRLICHT_REL NAMES Irrlicht PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
32 |
+
find_library(IRRLICHT_DBG NAMES Irrlicht PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
33 |
+
find_library(POLYCLIPPING_REL NAMES polyclipping PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
34 |
+
find_library(POLYCLIPPING_DBG NAMES polyclipping polyclippingd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
35 |
+
find_library(POLY2TRI_REL NAMES poly2tri PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
36 |
+
find_library(POLY2TRI_DBG NAMES poly2tri poly2trid PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
37 |
+
# poly2tri
|
38 |
+
find_library(BZ2_REL bz2 PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
39 |
+
find_library(BZ2_DBG bz2 bz2d PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
40 |
+
if(BZ2_REL)
|
41 |
+
string(APPEND MINIZIP_REL " ${BZ2_REL}")
|
42 |
+
endif()
|
43 |
+
if(BZ2_DBG)
|
44 |
+
string(APPEND MINIZIP_DBG " ${BZ2_DBG}")
|
45 |
+
endif()
|
46 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
47 |
+
set(SYSTEM_LIBS "Advapi32.lib user32.lib gdi32.lib")
|
48 |
+
elseif(VCPKG_TARGET_IS_OSX)
|
49 |
+
set(SYSTEM_LIBS "-framework OpenGL -framework Cocoa -framework Carbon -framework IOKit -framework AppKit")
|
50 |
+
else()
|
51 |
+
set(SYSTEM_LIBS "-lGL -lXxf86vm -lX11")
|
52 |
+
endif()
|
53 |
+
set(OPT_REL "ASSIMP_LIBS=${ASSIMP_REL} ${POLYCLIPPING_REL} ${POLY2TRI_REL} ${IRRLICHT_REL} ${JPEG_REL} ${LIBPNG_REL} ${KUBAZIP_REL} ${MINIZIP_REL} ${ZLIB_REL} ${SYSTEM_LIBS}")
|
54 |
+
set(OPT_DBG "ASSIMP_LIBS=${ASSIMP_DBG} ${POLYCLIPPING_DBG} ${POLY2TRI_DBG} ${IRRLICHT_DBG} ${JPEG_DBG} ${LIBPNG_DBG} ${KUBAZIP_DBG} ${MINIZIP_DBG} ${ZLIB_DBG} ${SYSTEM_LIBS}")
|
55 |
+
|
56 |
+
qt_submodule_installation(BUILD_OPTIONS ${OPTIONS} BUILD_OPTIONS_RELEASE ${OPT_REL} BUILD_OPTIONS_DEBUG ${OPT_DBG})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-3d/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-3d",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 3d Module - Functionality for near-realtime simulation systems with support for 2D and 3D rendering",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
"assimp",
|
8 |
+
{
|
9 |
+
"name": "qt5-base",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
"qt5-declarative",
|
13 |
+
"qt5-gamepad",
|
14 |
+
"qt5-imageformats"
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-activeqt/portfile.cmake
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if (NOT VCPKG_TARGET_IS_WINDOWS)
|
2 |
+
message(FATAL_ERROR "qt5-activeqt only support Windows.")
|
3 |
+
endif()
|
4 |
+
|
5 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
6 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-activeqt/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-activeqt",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 ActiveQt Module - ActiveX components",
|
5 |
+
"license": null,
|
6 |
+
"supports": "windows",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qt5-base",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
"qt5-declarative"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-androidextras/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-androidextras/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-androidextras",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 androidextras Module;",
|
5 |
+
"license": null,
|
6 |
+
"supports": "android",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qt5-base",
|
10 |
+
"default-features": false
|
11 |
+
}
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/configure_qt.cmake
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function(configure_qt)
|
2 |
+
cmake_parse_arguments(_csc "" "SOURCE_PATH;TARGET_PLATFORM;HOST_PLATFORM;HOST_TOOLS_ROOT" "OPTIONS;OPTIONS_DEBUG;OPTIONS_RELEASE" ${ARGN})
|
3 |
+
|
4 |
+
if(NOT _csc_TARGET_PLATFORM)
|
5 |
+
message(FATAL_ERROR "configure_qt requires a TARGET_PLATFORM argument.")
|
6 |
+
endif()
|
7 |
+
|
8 |
+
if(DEFINED _csc_HOST_PLATFORM)
|
9 |
+
list(APPEND _csc_OPTIONS -platform ${_csc_HOST_PLATFORM})
|
10 |
+
endif()
|
11 |
+
|
12 |
+
if(DEFINED _csc_HOST_TOOLS_ROOT)
|
13 |
+
## vcpkg internal file struture assumed here!
|
14 |
+
message(STATUS "Building Qt with prepared host tools from ${_csc_HOST_TOOLS_ROOT}!")
|
15 |
+
vcpkg_add_to_path("${_csc_HOST_TOOLS_ROOT}/bin")
|
16 |
+
vcpkg_add_to_path("${_csc_HOST_TOOLS_ROOT}")
|
17 |
+
set(EXT_BIN_DIR -external-hostbindir ${_csc_HOST_TOOLS_ROOT}/bin) # we only use release binaries for building
|
18 |
+
find_program(QMAKE_COMMAND NAMES qmake PATHS ${_csc_HOST_TOOLS_ROOT}/bin NO_DEFAULT_PATH)
|
19 |
+
set(INVOKE "${QMAKE_COMMAND}" )
|
20 |
+
else()
|
21 |
+
if(CMAKE_HOST_WIN32)
|
22 |
+
set(CONFIGURE_BAT "configure.bat")
|
23 |
+
else()
|
24 |
+
set(CONFIGURE_BAT "configure")
|
25 |
+
endif()
|
26 |
+
set(INVOKE "${_csc_SOURCE_PATH}/${CONFIGURE_BAT}")
|
27 |
+
endif()
|
28 |
+
|
29 |
+
#Cleanup previous build folders
|
30 |
+
file(REMOVE_RECURSE "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg")
|
31 |
+
|
32 |
+
#Find and ad Perl to PATH
|
33 |
+
vcpkg_find_acquire_program(PERL)
|
34 |
+
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
|
35 |
+
vcpkg_add_to_path("${PERL_EXE_PATH}")
|
36 |
+
|
37 |
+
if("${VCPKG_LIBRARY_LINKAGE}" STREQUAL "static")
|
38 |
+
list(APPEND _csc_OPTIONS -static)
|
39 |
+
else()
|
40 |
+
#list(APPEND _csc_OPTIONS_DEBUG -separate-debug-info)
|
41 |
+
endif()
|
42 |
+
|
43 |
+
if(VCPKG_TARGET_IS_WINDOWS AND "${VCPKG_CRT_LINKAGE}" STREQUAL "static")
|
44 |
+
list(APPEND _csc_OPTIONS -static-runtime)
|
45 |
+
endif()
|
46 |
+
|
47 |
+
list(APPEND _csc_OPTIONS_RELEASE -release)
|
48 |
+
list(APPEND _csc_OPTIONS_DEBUG -debug)
|
49 |
+
|
50 |
+
#Replace with VCPKG variables if PR #7733 is merged
|
51 |
+
unset(BUILDTYPES)
|
52 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug")
|
53 |
+
set(_buildname "DEBUG")
|
54 |
+
list(APPEND BUILDTYPES ${_buildname})
|
55 |
+
set(_short_name_${_buildname} "dbg")
|
56 |
+
set(_path_suffix_${_buildname} "/debug")
|
57 |
+
set(_build_type_${_buildname} "debug")
|
58 |
+
endif()
|
59 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release")
|
60 |
+
set(_buildname "RELEASE")
|
61 |
+
list(APPEND BUILDTYPES ${_buildname})
|
62 |
+
set(_short_name_${_buildname} "rel")
|
63 |
+
set(_path_suffix_${_buildname} "")
|
64 |
+
set(_build_type_${_buildname} "release")
|
65 |
+
endif()
|
66 |
+
unset(_buildname)
|
67 |
+
|
68 |
+
vcpkg_find_acquire_program(PKGCONFIG)
|
69 |
+
set(ENV{PKG_CONFIG} "${PKGCONFIG}")
|
70 |
+
get_filename_component(PKGCONFIG_PATH "${PKGCONFIG}" DIRECTORY)
|
71 |
+
vcpkg_add_to_path("${PKGCONFIG_PATH}")
|
72 |
+
|
73 |
+
foreach(_buildname ${BUILDTYPES})
|
74 |
+
set(PKGCONFIG_INSTALLED_DIR "${_VCPKG_INSTALLED_PKGCONF}${_path_suffix_${_buildname}}/lib/pkgconfig")
|
75 |
+
set(PKGCONFIG_INSTALLED_SHARE_DIR "${_VCPKG_INSTALLED_PKGCONF}/share/pkgconfig")
|
76 |
+
set(PKGCONFIG_PACKAGES_DIR "${_VCPKG_PACKAGES_PKGCONF}${_path_suffix_${_buildname}}/lib/pkgconfig")
|
77 |
+
set(PKGCONFIG_PACKAGES_SHARE_DIR "${_VCPKG_PACKAGES_PKGCONF}/share/pkgconfig")
|
78 |
+
if(DEFINED ENV{PKG_CONFIG_PATH})
|
79 |
+
set(BACKUP_ENV_PKG_CONFIG_PATH_${_config} $ENV{PKG_CONFIG_PATH})
|
80 |
+
set(ENV{PKG_CONFIG_PATH} "${PKGCONFIG_INSTALLED_DIR}${VCPKG_HOST_PATH_SEPARATOR}${PKGCONFIG_INSTALLED_SHARE_DIR}${VCPKG_HOST_PATH_SEPARATOR}${PKGCONFIG_PACKAGES_DIR}${VCPKG_HOST_PATH_SEPARATOR}${PKGCONFIG_PACKAGES_SHARE_DIR}${VCPKG_HOST_PATH_SEPARATOR}$ENV{PKG_CONFIG_PATH}")
|
81 |
+
else()
|
82 |
+
set(ENV{PKG_CONFIG_PATH} "${PKGCONFIG_INSTALLED_DIR}${VCPKG_HOST_PATH_SEPARATOR}${PKGCONFIG_INSTALLED_SHARE_DIR}${VCPKG_HOST_PATH_SEPARATOR}${PKGCONFIG_PACKAGES_DIR}${VCPKG_HOST_PATH_SEPARATOR}${PKGCONFIG_PACKAGES_SHARE_DIR}")
|
83 |
+
endif()
|
84 |
+
|
85 |
+
set(_build_triplet ${TARGET_TRIPLET}-${_short_name_${_buildname}})
|
86 |
+
message(STATUS "Configuring ${_build_triplet}")
|
87 |
+
set(_build_dir "${CURRENT_BUILDTREES_DIR}/${_build_triplet}")
|
88 |
+
file(MAKE_DIRECTORY ${_build_dir})
|
89 |
+
# These paths get hardcoded into qmake. So point them into the CURRENT_INSTALLED_DIR instead of CURRENT_PACKAGES_DIR
|
90 |
+
# makefiles will be fixed to install into CURRENT_PACKAGES_DIR in install_qt
|
91 |
+
set(BUILD_OPTIONS ${_csc_OPTIONS} ${_csc_OPTIONS_${_buildname}}
|
92 |
+
-prefix ${CURRENT_INSTALLED_DIR}
|
93 |
+
#-extprefix ${CURRENT_INSTALLED_DIR}
|
94 |
+
${EXT_BIN_DIR}
|
95 |
+
-hostprefix ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}
|
96 |
+
#-hostprefix ${CURRENT_INSTALLED_DIR}/tools/qt5
|
97 |
+
-hostlibdir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}/lib # could probably be move to manual-link
|
98 |
+
-hostbindir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}/bin
|
99 |
+
#-hostbindir ${CURRENT_INSTALLED_DIR}/tools/qt5/bin
|
100 |
+
# Qt VS Plugin requires a /bin subfolder with the executables in the root dir. But to use the wizard a correctly setup lib folder is also required
|
101 |
+
# So with the vcpkg layout there is no way to make it work unless all dll are are copied to tools/qt5/bin and all libs to tools/qt5/lib
|
102 |
+
-archdatadir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}
|
103 |
+
-datadir ${CURRENT_INSTALLED_DIR}${_path_suffix}/share/qt5${_path_suffix_${_buildname}}
|
104 |
+
-plugindir ${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}/plugins
|
105 |
+
-qmldir ${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}/qml
|
106 |
+
-headerdir ${CURRENT_INSTALLED_DIR}/include/qt5
|
107 |
+
-libexecdir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}
|
108 |
+
-bindir ${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}/bin
|
109 |
+
-libdir ${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}/lib
|
110 |
+
-I ${CURRENT_INSTALLED_DIR}/include
|
111 |
+
-I ${CURRENT_INSTALLED_DIR}/include/qt5
|
112 |
+
-L ${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}/lib
|
113 |
+
-L ${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}/lib/manual-link
|
114 |
+
-platform ${_csc_TARGET_PLATFORM}
|
115 |
+
)
|
116 |
+
|
117 |
+
if(DEFINED _csc_HOST_TOOLS_ROOT) #use qmake
|
118 |
+
if(WIN32)
|
119 |
+
set(INVOKE_OPTIONS "QMAKE_CXX.QMAKE_MSC_VER=1911" "QMAKE_MSC_VER=1911")
|
120 |
+
endif()
|
121 |
+
vcpkg_execute_required_process(
|
122 |
+
COMMAND ${INVOKE} "${_csc_SOURCE_PATH}" "${INVOKE_OPTIONS}" -- ${BUILD_OPTIONS}
|
123 |
+
WORKING_DIRECTORY ${_build_dir}
|
124 |
+
LOGNAME config-${_build_triplet}
|
125 |
+
)
|
126 |
+
else()# call configure (builds qmake for triplet and calls it like above)
|
127 |
+
vcpkg_execute_required_process(
|
128 |
+
COMMAND "${INVOKE}" ${BUILD_OPTIONS}
|
129 |
+
WORKING_DIRECTORY ${_build_dir}
|
130 |
+
LOGNAME config-${_build_triplet}
|
131 |
+
)
|
132 |
+
endif()
|
133 |
+
|
134 |
+
# Note archdatadir and datadir are required to be prefixed with the hostprefix?
|
135 |
+
message(STATUS "Configuring ${_build_triplet} done")
|
136 |
+
|
137 |
+
# Copy configuration dependent qt.conf
|
138 |
+
file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}" CMAKE_CURRENT_PACKAGES_DIR_PATH)
|
139 |
+
file(TO_CMAKE_PATH "${CURRENT_INSTALLED_DIR}" CMAKE_CURRENT_INSTALLED_DIR_PATH)
|
140 |
+
file(READ "${CURRENT_BUILDTREES_DIR}/${_build_triplet}/bin/qt.conf" _contents)
|
141 |
+
string(REPLACE "${CMAKE_CURRENT_PACKAGES_DIR_PATH}" "\${CURRENT_INSTALLED_DIR}" _contents ${_contents})
|
142 |
+
string(REPLACE "${CMAKE_CURRENT_INSTALLED_DIR_PATH}" "\${CURRENT_INSTALLED_DIR}" _contents ${_contents})
|
143 |
+
#string(REPLACE "HostPrefix=\${CURRENT_PACKAGES_DIR}" "HostPrefix=\${CURRENT_INSTALLED_DIR}" _contents ${_contents})
|
144 |
+
string(REPLACE "[EffectivePaths]\nPrefix=..\n" "" _contents ${_contents})
|
145 |
+
string(REGEX REPLACE "\\[EffectiveSourcePaths\\]\r?\nPrefix=[^\r\n]+\r?\n" "" _contents ${_contents})
|
146 |
+
string(REPLACE "Sysroot=\n" "" _contents ${_contents})
|
147 |
+
string(REPLACE "SysrootifyPrefix=false\n" "" _contents ${_contents})
|
148 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/tools/qt5/qt_${_build_type_${_buildname}}.conf" "${_contents}")
|
149 |
+
endforeach()
|
150 |
+
|
151 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/find_qt_mkspec.cmake
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function(find_qt_mkspec TARGET_PLATFORM_MKSPEC_OUT HOST_PLATFORM_MKSPEC_OUT EXT_HOST_TOOLS_OUT)
|
2 |
+
## Figure out QTs target mkspec
|
3 |
+
if(NOT DEFINED VCPKG_QT_TARGET_MKSPEC)
|
4 |
+
message(STATUS "Figuring out qt target mkspec. Target arch ${VCPKG_TARGET_ARCHITECTURE}")
|
5 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
6 |
+
if(VCPKG_TARGET_IS_UWP)
|
7 |
+
if(VCPKG_PLATFORM_TOOLSET STREQUAL "v140")
|
8 |
+
set(msvc_year "2015")
|
9 |
+
elseif(VCPKG_PLATFORM_TOOLSET STREQUAL "v141")
|
10 |
+
set(msvc_year "2017")
|
11 |
+
elseif(VCPKG_PLATFORM_TOOLSET STREQUAL "v142")
|
12 |
+
set(msvc_year "2019")
|
13 |
+
else()
|
14 |
+
message(FATAL_ERROR "No target mkspec found!")
|
15 |
+
endif()
|
16 |
+
set(_tmp_targ_out "winrt-${VCPKG_TARGET_ARCHITECTURE}-msvc${msvc_year}")
|
17 |
+
else()
|
18 |
+
if("${VCPKG_TARGET_ARCHITECTURE}" MATCHES "arm64")
|
19 |
+
message(STATUS "Figuring out arm64")
|
20 |
+
set(_tmp_targ_out "win32-arm64-msvc2017") #mkspec does not have anything defined related to msvc2017 so this should work
|
21 |
+
else()
|
22 |
+
set(_tmp_targ_out "win32-msvc")
|
23 |
+
endif()
|
24 |
+
endif()
|
25 |
+
elseif(VCPKG_TARGET_IS_LINUX)
|
26 |
+
set(_tmp_targ_out "linux-g++" )
|
27 |
+
elseif(VCPKG_TARGET_IS_OSX)
|
28 |
+
set(_tmp_targ_out "macx-clang") # switch to macx-g++ since vcpkg requires g++ to compile any way?
|
29 |
+
endif()
|
30 |
+
else()
|
31 |
+
set(_tmp_targ_out ${VCPKG_QT_TARGET_MKSPEC})
|
32 |
+
endif()
|
33 |
+
message(STATUS "Target mkspec set to: ${_tmp_targ_out}")
|
34 |
+
set(${TARGET_PLATFORM_MKSPEC_OUT} ${_tmp_targ_out} PARENT_SCOPE)
|
35 |
+
|
36 |
+
## Figure out QTs host mkspec
|
37 |
+
if(NOT DEFINED VCPKG_QT_HOST_MKSPEC)
|
38 |
+
#if(WIN32)
|
39 |
+
# set(_tmp_host_out "win32-msvc")
|
40 |
+
#elseif("${CMAKE_HOST_SYSTEM}" STREQUAL "Linux")
|
41 |
+
# set(_tmp_host_out "linux-g++")
|
42 |
+
#elseif("${CMAKE_HOST_SYSTEM}" STREQUAL "Darwin")
|
43 |
+
# set(_tmp_host_out "macx-clang")
|
44 |
+
#endif()
|
45 |
+
if(DEFINED _tmp_host_out)
|
46 |
+
message(STATUS "Host mkspec set to: ${_tmp_host_out}")
|
47 |
+
else()
|
48 |
+
message(STATUS "Host mkspec not set. Qt's own buildsystem will try to figure out the host system")
|
49 |
+
endif()
|
50 |
+
else()
|
51 |
+
set(_tmp_host_out ${VCPKG_QT_HOST_MKSPEC})
|
52 |
+
endif()
|
53 |
+
|
54 |
+
if(DEFINED _tmp_host_out)
|
55 |
+
set(${HOST_PLATFORM_MKSPEC_OUT} ${_tmp_host_out} PARENT_SCOPE)
|
56 |
+
endif()
|
57 |
+
|
58 |
+
## Figure out VCPKG qt-tools directory for the port.
|
59 |
+
if(NOT DEFINED VCPKG_QT_HOST_TOOLS_ROOT AND DEFINED VCPKG_QT_HOST_PLATFORM) ## Root dir of the required host tools
|
60 |
+
if(NOT "${_tmp_host_out}" MATCHES "${_tmp_host_out}")
|
61 |
+
if(CMAKE_HOST_WIN32)
|
62 |
+
|
63 |
+
if($ENV{PROCESSOR_ARCHITECTURE} MATCHES "[aA][rR][mM]64")
|
64 |
+
list(APPEND _test_triplets arm64-windows)
|
65 |
+
elseif($ENV{PROCESSOR_ARCHITECTURE} MATCHES "[aA][mM][dD]64")
|
66 |
+
list(APPEND _test_triplets x64-windows x64-windows-static)
|
67 |
+
list(APPEND _test_triplets x86-windows x86-windows-static)
|
68 |
+
elseif($ENV{PROCESSOR_ARCHITECTURE} MATCHES "x86")
|
69 |
+
list(APPEND _test_triplets x86-windows x86-windows-static)
|
70 |
+
else()
|
71 |
+
message(FATAL_ERROR "Unknown host processor! Host Processor $ENV{PROCESSOR_ARCHITECTURE}")
|
72 |
+
endif()
|
73 |
+
elseif(CMAKE_HOST_SYSTEM STREQUAL "Linux")
|
74 |
+
list(APPEND _test_triplets "x64-linux")
|
75 |
+
elseif(CMAKE_HOST_SYSTEM STREQUAL "Darwin")
|
76 |
+
list(APPEND _test_triplets "x64-osx")
|
77 |
+
else()
|
78 |
+
endif()
|
79 |
+
foreach(_triplet ${_test_triplets})
|
80 |
+
find_program(QMAKE_PATH qmake PATHS ${VCPKG_INSTALLED_DIR}/${_triplet}/tools/qt5/bin NO_DEFAULT_PATHS)
|
81 |
+
message(STATUS "Checking: ${VCPKG_INSTALLED_DIR}/${_triplet}/tools/qt5/bin. ${QMAKE_PATH}")
|
82 |
+
if(QMAKE_PATH)
|
83 |
+
set(_tmp_host_root "${VCPKG_INSTALLED_DIR}/${_triplet}/tools/qt5")
|
84 |
+
set(_tmp_host_qmake ${QMAKE_PATH} PARENT_SCOPE)
|
85 |
+
message(STATUS "Qt host tools root dir within vcpkg: ${_tmp_host_root}")
|
86 |
+
break()
|
87 |
+
endif()
|
88 |
+
endforeach()
|
89 |
+
if(NOT DEFINED _tmp_host_root)
|
90 |
+
message(FATAL_ERROR "Unable to locate required host tools. Please define VCPKG_QT_HOST_TOOLS_ROOT to the required root dir of the host tools")
|
91 |
+
endif()
|
92 |
+
endif()
|
93 |
+
else()
|
94 |
+
set(_tmp_host_root ${VCPKG_QT_HOST_TOOLS_ROOT})
|
95 |
+
endif()
|
96 |
+
|
97 |
+
if(DEFINED _tmp_host_root)
|
98 |
+
set(${EXT_HOST_TOOLS_OUT} ${_tmp_host_root} PARENT_SCOPE)
|
99 |
+
endif()
|
100 |
+
|
101 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/install_qt.cmake
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
include(qt_fix_makefile_install)
|
2 |
+
|
3 |
+
function(install_qt)
|
4 |
+
if(CMAKE_HOST_WIN32)
|
5 |
+
if (VCPKG_QMAKE_USE_NMAKE)
|
6 |
+
find_program(NMAKE nmake REQUIRED)
|
7 |
+
set(INVOKE "${NMAKE}")
|
8 |
+
set(INVOKE_SINGLE "${NMAKE}")
|
9 |
+
get_filename_component(NMAKE_EXE_PATH ${NMAKE} DIRECTORY)
|
10 |
+
set(PATH_GLOBAL "$ENV{PATH}")
|
11 |
+
set(ENV{PATH} "$ENV{PATH};${NMAKE_EXE_PATH}")
|
12 |
+
set(ENV{CL} "$ENV{CL} /MP${VCPKG_CONCURRENCY}")
|
13 |
+
else()
|
14 |
+
vcpkg_find_acquire_program(JOM)
|
15 |
+
set(INVOKE "${JOM}" /J ${VCPKG_CONCURRENCY})
|
16 |
+
set(INVOKE_SINGLE "${JOM}" /J 1)
|
17 |
+
endif()
|
18 |
+
else()
|
19 |
+
find_program(MAKE make)
|
20 |
+
set(INVOKE "${MAKE}" -j${VCPKG_CONCURRENCY})
|
21 |
+
set(INVOKE_SINGLE "${MAKE}" -j1)
|
22 |
+
endif()
|
23 |
+
vcpkg_find_acquire_program(PYTHON3)
|
24 |
+
get_filename_component(PYTHON3_EXE_PATH ${PYTHON3} DIRECTORY)
|
25 |
+
vcpkg_add_to_path(PREPEND "${PYTHON3_EXE_PATH}")
|
26 |
+
|
27 |
+
if (CMAKE_HOST_WIN32)
|
28 |
+
# flex and bison for ANGLE library
|
29 |
+
vcpkg_find_acquire_program(FLEX)
|
30 |
+
get_filename_component(FLEX_EXE_PATH ${FLEX} DIRECTORY)
|
31 |
+
get_filename_component(FLEX_DIR ${FLEX_EXE_PATH} NAME)
|
32 |
+
|
33 |
+
file(COPY ${FLEX_EXE_PATH} DESTINATION "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-tools" )
|
34 |
+
set(FLEX_TEMP "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-tools/${FLEX_DIR}")
|
35 |
+
file(RENAME "${FLEX_TEMP}/win_bison.exe" "${FLEX_TEMP}/bison.exe")
|
36 |
+
file(RENAME "${FLEX_TEMP}/win_flex.exe" "${FLEX_TEMP}/flex.exe")
|
37 |
+
vcpkg_add_to_path("${FLEX_TEMP}")
|
38 |
+
endif()
|
39 |
+
|
40 |
+
set(_path "$ENV{PATH}")
|
41 |
+
|
42 |
+
#Replace with VCPKG variables if PR #7733 is merged
|
43 |
+
unset(BUILDTYPES)
|
44 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
45 |
+
set(_buildname "DEBUG")
|
46 |
+
list(APPEND BUILDTYPES ${_buildname})
|
47 |
+
set(_short_name_${_buildname} "dbg")
|
48 |
+
set(_path_suffix_${_buildname} "/debug")
|
49 |
+
set(_build_type_${_buildname} "debug")
|
50 |
+
endif()
|
51 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
52 |
+
set(_buildname "RELEASE")
|
53 |
+
list(APPEND BUILDTYPES ${_buildname})
|
54 |
+
set(_short_name_${_buildname} "rel")
|
55 |
+
set(_path_suffix_${_buildname} "")
|
56 |
+
set(_build_type_${_buildname} "release")
|
57 |
+
endif()
|
58 |
+
unset(_buildname)
|
59 |
+
|
60 |
+
foreach(_buildname ${BUILDTYPES})
|
61 |
+
set(_build_triplet ${TARGET_TRIPLET}-${_short_name_${_buildname}})
|
62 |
+
|
63 |
+
set(_installed_prefix_ "${CURRENT_INSTALLED_DIR}${_path_suffix_${_buildname}}")
|
64 |
+
set(_installed_libpath_ "${_installed_prefix_}/lib/${VCPKG_HOST_PATH_SEPARATOR}${_installed_prefix_}/lib/manual-link/")
|
65 |
+
|
66 |
+
vcpkg_add_to_path(PREPEND "${_installed_prefix_}/bin")
|
67 |
+
vcpkg_add_to_path(PREPEND "${_installed_prefix_}/lib")
|
68 |
+
|
69 |
+
# We set LD_LIBRARY_PATH ENV variable to allow executing Qt tools (rcc,...) even with dynamic linking
|
70 |
+
if(CMAKE_HOST_UNIX)
|
71 |
+
if(DEFINED ENV{LD_LIBRARY_PATH})
|
72 |
+
set(_ld_library_path_defined_ TRUE)
|
73 |
+
set(_ld_library_path_backup_ $ENV{LD_LIBRARY_PATH})
|
74 |
+
set(ENV{LD_LIBRARY_PATH} "${_installed_libpath_}${VCPKG_HOST_PATH_SEPARATOR}${_ld_library_path_backup_}")
|
75 |
+
else()
|
76 |
+
set(_ld_library_path_defined_ FALSE)
|
77 |
+
set(ENV{LD_LIBRARY_PATH} "${_installed_libpath_}")
|
78 |
+
endif()
|
79 |
+
endif()
|
80 |
+
|
81 |
+
if(VCPKG_TARGET_IS_OSX)
|
82 |
+
# For some reason there will be an error on MacOSX without this clean!
|
83 |
+
message(STATUS "Cleaning before build ${_build_triplet}")
|
84 |
+
vcpkg_execute_required_process(
|
85 |
+
COMMAND ${INVOKE_SINGLE} clean
|
86 |
+
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}
|
87 |
+
LOGNAME cleaning-1-${_build_triplet}
|
88 |
+
)
|
89 |
+
endif()
|
90 |
+
|
91 |
+
message(STATUS "Building ${_build_triplet}")
|
92 |
+
vcpkg_execute_build_process(
|
93 |
+
COMMAND ${INVOKE}
|
94 |
+
NO_PARALLEL_COMMAND ${INVOKE_SINGLE}
|
95 |
+
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}
|
96 |
+
LOGNAME build-${_build_triplet}
|
97 |
+
)
|
98 |
+
|
99 |
+
if(VCPKG_TARGET_IS_OSX)
|
100 |
+
# For some reason there will be an error on MacOSX without this clean!
|
101 |
+
message(STATUS "Cleaning after build before install ${_build_triplet}")
|
102 |
+
vcpkg_execute_required_process(
|
103 |
+
COMMAND ${INVOKE_SINGLE} clean
|
104 |
+
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}
|
105 |
+
LOGNAME cleaning-2-${_build_triplet}
|
106 |
+
)
|
107 |
+
endif()
|
108 |
+
|
109 |
+
message(STATUS "Fixing makefile installation path ${_build_triplet}")
|
110 |
+
qt_fix_makefile_install("${CURRENT_BUILDTREES_DIR}/${_build_triplet}")
|
111 |
+
message(STATUS "Installing ${_build_triplet}")
|
112 |
+
vcpkg_execute_required_process(
|
113 |
+
COMMAND ${INVOKE} install
|
114 |
+
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}
|
115 |
+
LOGNAME package-${_build_triplet}
|
116 |
+
)
|
117 |
+
message(STATUS "Package ${_build_triplet} done")
|
118 |
+
set(ENV{PATH} "${_path}")
|
119 |
+
|
120 |
+
# Restore backup
|
121 |
+
if(CMAKE_HOST_UNIX)
|
122 |
+
if(_ld_library_path_defined_)
|
123 |
+
set(ENV{LD_LIBRARY_PATH} "${_ld_library_path_backup_}")
|
124 |
+
else()
|
125 |
+
unset(ENV{LD_LIBRARY_PATH})
|
126 |
+
endif()
|
127 |
+
endif()
|
128 |
+
endforeach()
|
129 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_build_submodule.cmake
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
function(qt_build_submodule SOURCE_PATH)
|
3 |
+
# This fixes issues on machines with default codepages that are not ASCII compatible, such as some CJK encodings
|
4 |
+
set(ENV{_CL_} "/utf-8")
|
5 |
+
|
6 |
+
if(NOT PORT STREQUAL "qt5-webengine")
|
7 |
+
vcpkg_find_acquire_program(PYTHON3)
|
8 |
+
get_filename_component(PYTHON3_EXE_PATH ${PYTHON3} DIRECTORY)
|
9 |
+
vcpkg_add_to_path("${PYTHON3_EXE_PATH}")
|
10 |
+
endif()
|
11 |
+
|
12 |
+
vcpkg_configure_qmake(SOURCE_PATH ${SOURCE_PATH} ${ARGV})
|
13 |
+
|
14 |
+
vcpkg_build_qmake(SKIP_MAKEFILES)
|
15 |
+
|
16 |
+
#Fix the installation location within the makefiles
|
17 |
+
qt_fix_makefile_install("${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/")
|
18 |
+
qt_fix_makefile_install("${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/")
|
19 |
+
|
20 |
+
#Install the module files
|
21 |
+
vcpkg_build_qmake(TARGETS install SKIP_MAKEFILES BUILD_LOGNAME install)
|
22 |
+
|
23 |
+
qt_fix_cmake(${CURRENT_PACKAGES_DIR} ${PORT})
|
24 |
+
vcpkg_fixup_pkgconfig() # Needs further investigation if this is enough!
|
25 |
+
|
26 |
+
#Replace with VCPKG variables if PR #7733 is merged
|
27 |
+
unset(BUILDTYPES)
|
28 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
29 |
+
set(_buildname "DEBUG")
|
30 |
+
list(APPEND BUILDTYPES ${_buildname})
|
31 |
+
set(_short_name_${_buildname} "dbg")
|
32 |
+
set(_path_suffix_${_buildname} "/debug")
|
33 |
+
endif()
|
34 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
35 |
+
set(_buildname "RELEASE")
|
36 |
+
list(APPEND BUILDTYPES ${_buildname})
|
37 |
+
set(_short_name_${_buildname} "rel")
|
38 |
+
set(_path_suffix_${_buildname} "")
|
39 |
+
endif()
|
40 |
+
unset(_buildname)
|
41 |
+
|
42 |
+
foreach(_buildname ${BUILDTYPES})
|
43 |
+
set(CURRENT_BUILD_PACKAGE_DIR "${CURRENT_PACKAGES_DIR}${_path_suffix_${_buildname}}")
|
44 |
+
#Fix PRL files
|
45 |
+
file(GLOB_RECURSE PRL_FILES "${CURRENT_BUILD_PACKAGE_DIR}/lib/*.prl" "${CURRENT_PACKAGES_DIR}/tools/qt5${_path_suffix_${_buildname}}/lib/*.prl"
|
46 |
+
"${CURRENT_PACKAGES_DIR}/tools/qt5${_path_suffix_${_buildname}}/mkspecs/*.pri")
|
47 |
+
qt_fix_prl("${CURRENT_BUILD_PACKAGE_DIR}" "${PRL_FILES}")
|
48 |
+
|
49 |
+
# This makes it impossible to use the build tools in any meaningful way. qt5 assumes they are all in one folder!
|
50 |
+
# So does the Qt VS Plugin which even assumes all of the in a bin folder
|
51 |
+
#Move tools to the correct directory
|
52 |
+
#if(EXISTS ${CURRENT_BUILD_PACKAGE_DIR}/tools/qt5)
|
53 |
+
# file(RENAME ${CURRENT_BUILD_PACKAGE_DIR}/tools/qt5 ${CURRENT_PACKAGES_DIR}/tools/${PORT})
|
54 |
+
#endif()
|
55 |
+
|
56 |
+
# Move executables in bin to tools
|
57 |
+
# This is ok since those are not build tools.
|
58 |
+
file(GLOB PACKAGE_EXE ${CURRENT_BUILD_PACKAGE_DIR}/bin/*.exe)
|
59 |
+
if(PACKAGE_EXE)
|
60 |
+
file(INSTALL ${PACKAGE_EXE} DESTINATION "${CURRENT_BUILD_PACKAGE_DIR}/tools/${PORT}")
|
61 |
+
file(REMOVE ${PACKAGE_EXE})
|
62 |
+
foreach(_exe ${PACKAGE_EXE})
|
63 |
+
string(REPLACE ".exe" ".pdb" _prb_file ${_exe})
|
64 |
+
if(EXISTS ${_prb_file})
|
65 |
+
file(INSTALL ${_prb_file} DESTINATION "${CURRENT_BUILD_PACKAGE_DIR}/tools/${PORT}")
|
66 |
+
file(REMOVE ${_prb_file})
|
67 |
+
endif()
|
68 |
+
endforeach()
|
69 |
+
endif()
|
70 |
+
|
71 |
+
#cleanup empty folders
|
72 |
+
file(GLOB PACKAGE_LIBS "${CURRENT_BUILD_PACKAGE_DIR}/lib/*")
|
73 |
+
if(NOT PACKAGE_LIBS)
|
74 |
+
file(REMOVE_RECURSE "${CURRENT_BUILD_PACKAGE_DIR}/lib")
|
75 |
+
endif()
|
76 |
+
|
77 |
+
file(GLOB PACKAGE_BINS "${CURRENT_BUILD_PACKAGE_DIR}/bin/*")
|
78 |
+
if(NOT PACKAGE_BINS)
|
79 |
+
file(REMOVE_RECURSE "${CURRENT_BUILD_PACKAGE_DIR}/bin")
|
80 |
+
endif()
|
81 |
+
endforeach()
|
82 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/qt5/bin")
|
83 |
+
file(COPY "${CURRENT_PACKAGES_DIR}/tools/qt5/bin" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
84 |
+
|
85 |
+
set(CURRENT_INSTALLED_DIR_BACKUP "${CURRENT_INSTALLED_DIR}")
|
86 |
+
set(CURRENT_INSTALLED_DIR "./../../.." ) # Making the qt.conf relative and not absolute
|
87 |
+
configure_file(${CURRENT_INSTALLED_DIR_BACKUP}/tools/qt5/qt_release.conf ${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/qt.conf) # This makes the tools at least useable for release
|
88 |
+
set(CURRENT_INSTALLED_DIR "${CURRENT_INSTALLED_DIR_BACKUP}")
|
89 |
+
|
90 |
+
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
|
91 |
+
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
92 |
+
file(GLOB_RECURSE DLL_DEPS_AVAIL "${CURRENT_INSTALLED_DIR}/tools/qt5/bin/*.dll")
|
93 |
+
string(REPLACE "${CURRENT_INSTALLED_DIR}/tools/qt5/bin/" "" DLL_DEPS_AVAIL "${DLL_DEPS_AVAIL}")
|
94 |
+
file(GLOB_RECURSE DLL_DEPS_NEEDED "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/*.dll")
|
95 |
+
string(REPLACE "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/" "" DLL_DEPS_NEEDED "${DLL_DEPS_NEEDED}")
|
96 |
+
if(DLL_DEPS_AVAIL AND DLL_DEPS_NEEDED)
|
97 |
+
list(REMOVE_ITEM DLL_DEPS_NEEDED ${DLL_DEPS_AVAIL})
|
98 |
+
endif()
|
99 |
+
foreach(dll_dep ${DLL_DEPS_NEEDED})
|
100 |
+
string(REGEX REPLACE "[^/]+$" "" dll_subpath "${dll_dep}")
|
101 |
+
file(COPY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${dll_dep}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/qt5/bin/${dll_subpath}")
|
102 |
+
endforeach()
|
103 |
+
endif()
|
104 |
+
endif()
|
105 |
+
|
106 |
+
#This should be removed if somehow possible
|
107 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/qt5/debug/bin")
|
108 |
+
set(CURRENT_INSTALLED_DIR_BACKUP "${CURRENT_INSTALLED_DIR}")
|
109 |
+
set(CURRENT_INSTALLED_DIR "./../../../.." ) # Making the qt.conf relative and not absolute
|
110 |
+
configure_file(${CURRENT_INSTALLED_DIR_BACKUP}/tools/qt5/qt_debug.conf ${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/qt.conf) # This makes the tools at least useable for release
|
111 |
+
set(CURRENT_INSTALLED_DIR "${CURRENT_INSTALLED_DIR_BACKUP}")
|
112 |
+
|
113 |
+
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin")
|
114 |
+
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
115 |
+
file(GLOB_RECURSE DLL_DEPS_AVAIL "${CURRENT_INSTALLED_DIR}/tools/qt5/debug/bin/*.dll")
|
116 |
+
string(REPLACE "${CURRENT_INSTALLED_DIR}/tools/qt5/debug/bin/" "" DLL_DEPS_AVAIL "${DLL_DEPS_AVAIL}")
|
117 |
+
file(GLOB_RECURSE DLL_DEPS_NEEDED "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/*.dll")
|
118 |
+
string(REPLACE "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/" "" DLL_DEPS_NEEDED "${DLL_DEPS_NEEDED}")
|
119 |
+
if(DLL_DEPS_AVAIL AND DLL_DEPS_NEEDED)
|
120 |
+
list(REMOVE_ITEM DLL_DEPS_NEEDED ${DLL_DEPS_AVAIL})
|
121 |
+
endif()
|
122 |
+
foreach(dll_dep ${DLL_DEPS_NEEDED})
|
123 |
+
string(REGEX REPLACE "[^/]+$" "" dll_subpath "${dll_dep}")
|
124 |
+
file(COPY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/${dll_dep}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/qt5/debug/bin/${dll_subpath}")
|
125 |
+
endforeach()
|
126 |
+
endif()
|
127 |
+
endif()
|
128 |
+
|
129 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_download_submodule.cmake
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function(qt_get_submodule_name OUT_NAME)
|
2 |
+
string(REPLACE "5-" "" _tmp_name ${PORT})
|
3 |
+
set(${OUT_NAME} ${_tmp_name} PARENT_SCOPE)
|
4 |
+
endfunction()
|
5 |
+
|
6 |
+
function(qt_download_submodule)
|
7 |
+
cmake_parse_arguments(_csc "" "OUT_SOURCE_PATH" "PATCHES;BUILD_OPTIONS;BUILD_OPTIONS_RELEASE;BUILD_OPTIONS_DEBUG" ${ARGN})
|
8 |
+
|
9 |
+
if(NOT DEFINED _csc_OUT_SOURCE_PATH)
|
10 |
+
message(FATAL_ERROR "qt_download_module requires parameter OUT_SOURCE_PATH to be set! Please correct the portfile!")
|
11 |
+
endif()
|
12 |
+
|
13 |
+
vcpkg_buildpath_length_warning(37)
|
14 |
+
qt_get_submodule_name(NAME)
|
15 |
+
|
16 |
+
set(FULL_VERSION "${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}")
|
17 |
+
set(ARCHIVE_NAME "${NAME}-everywhere-opensource-src-${FULL_VERSION}.tar.xz")
|
18 |
+
set(URLS "https://download.qt.io/official_releases/qt/${QT_MAJOR_MINOR_VER}/${FULL_VERSION}/submodules/${ARCHIVE_NAME}"
|
19 |
+
"https://mirrors.ocf.berkeley.edu/qt/official_releases/qt/${QT_MAJOR_MINOR_VER}/${FULL_VERSION}/submodules/${ARCHIVE_NAME}"
|
20 |
+
)
|
21 |
+
vcpkg_download_distfile(ARCHIVE_FILE
|
22 |
+
URLS ${URLS}
|
23 |
+
FILENAME ${ARCHIVE_NAME}
|
24 |
+
SHA512 ${QT_HASH_${PORT}}
|
25 |
+
)
|
26 |
+
|
27 |
+
if(QT_UPDATE_VERSION)
|
28 |
+
file(SHA512 "${ARCHIVE_FILE}" ARCHIVE_HASH)
|
29 |
+
message(STATUS "${PORT} new hash is ${ARCHIVE_HASH}")
|
30 |
+
file(APPEND "${VCPKG_ROOT_DIR}/ports/qt5-base/cmake/qt_new_hashes.cmake" "set(QT_HASH_${PORT} ${ARCHIVE_HASH})\n")
|
31 |
+
else()
|
32 |
+
vcpkg_extract_source_archive_ex(
|
33 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
34 |
+
ARCHIVE "${ARCHIVE_FILE}"
|
35 |
+
REF ${FULL_VERSION}
|
36 |
+
PATCHES ${_csc_PATCHES}
|
37 |
+
)
|
38 |
+
endif()
|
39 |
+
|
40 |
+
set(${_csc_OUT_SOURCE_PATH} ${SOURCE_PATH} PARENT_SCOPE)
|
41 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_fix_cmake.cmake
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function(qt_fix_cmake PACKAGE_DIR_TO_FIX PORT_TO_FIX)
|
2 |
+
|
3 |
+
file(GLOB_RECURSE cmakefiles ${PACKAGE_DIR_TO_FIX}/share/cmake/*.cmake ${PACKAGE_DIR_TO_FIX}/lib/cmake/*.cmake)
|
4 |
+
foreach(cmakefile ${cmakefiles})
|
5 |
+
file(READ "${cmakefile}" _contents)
|
6 |
+
if(_contents MATCHES "_install_prefix}/tools/qt5/bin/([a-z0-9]+)") # there are only about 3 to 5 cmake files which require the fix in ports: qt5-tools qt5-xmlpattern at5-activeqt qt5-quick
|
7 |
+
string(REGEX REPLACE "_install_prefix}/tools/qt5/bin/([a-z0-9]+)" "_install_prefix}/tools/${PORT_TO_FIX}/bin/\\1" _contents "${_contents}")
|
8 |
+
file(WRITE "${cmakefile}" "${_contents}")
|
9 |
+
endif()
|
10 |
+
endforeach()
|
11 |
+
|
12 |
+
#Install cmake files
|
13 |
+
if(EXISTS ${PACKAGE_DIR_TO_FIX}/lib/cmake)
|
14 |
+
file(MAKE_DIRECTORY ${PACKAGE_DIR_TO_FIX}/share)
|
15 |
+
file(RENAME ${PACKAGE_DIR_TO_FIX}/lib/cmake ${PACKAGE_DIR_TO_FIX}/share/cmake)
|
16 |
+
endif()
|
17 |
+
#Remove extra cmake files
|
18 |
+
if(EXISTS ${PACKAGE_DIR_TO_FIX}/debug/lib/cmake)
|
19 |
+
file(REMOVE_RECURSE ${PACKAGE_DIR_TO_FIX}/debug/lib/cmake)
|
20 |
+
endif()
|
21 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_fix_makefile_install.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#Could probably be a vcpkg_fix_makefile_install for other ports?
|
2 |
+
function(qt_fix_makefile_install BUILD_DIR)
|
3 |
+
#Fix the installation location
|
4 |
+
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}" NATIVE_INSTALLED_DIR)
|
5 |
+
file(TO_NATIVE_PATH "${CURRENT_PACKAGES_DIR}" NATIVE_PACKAGES_DIR)
|
6 |
+
|
7 |
+
if(WIN32)
|
8 |
+
string(SUBSTRING "${NATIVE_INSTALLED_DIR}" 2 -1 INSTALLED_DIR_WITHOUT_DRIVE)
|
9 |
+
string(SUBSTRING "${NATIVE_PACKAGES_DIR}" 2 -1 PACKAGES_DIR_WITHOUT_DRIVE)
|
10 |
+
string(SUBSTRING "${NATIVE_INSTALLED_DIR}" 0 2 INSTALLED_DRIVE)
|
11 |
+
string(SUBSTRING "${NATIVE_PACKAGES_DIR}" 0 2 PACKAGES_DRIVE)
|
12 |
+
else()
|
13 |
+
set(INSTALLED_DRIVE)
|
14 |
+
set(PACKAGES_DRIVE)
|
15 |
+
set(INSTALLED_DIR_WITHOUT_DRIVE ${NATIVE_INSTALLED_DIR})
|
16 |
+
set(PACKAGES_DIR_WITHOUT_DRIVE ${NATIVE_PACKAGES_DIR})
|
17 |
+
endif()
|
18 |
+
|
19 |
+
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}" NATIVE_INSTALLED_DIR)
|
20 |
+
file(TO_NATIVE_PATH "${CURRENT_PACKAGES_DIR}" NATIVE_PACKAGES_DIR)
|
21 |
+
|
22 |
+
file(GLOB_RECURSE MAKEFILES "${BUILD_DIR}/*Makefile*")
|
23 |
+
|
24 |
+
foreach(MAKEFILE ${MAKEFILES})
|
25 |
+
file(READ "${MAKEFILE}" _contents)
|
26 |
+
#Set the correct install directory to packages
|
27 |
+
string(REPLACE "${INSTALLED_DRIVE}$(INSTALL_ROOT)${INSTALLED_DIR_WITHOUT_DRIVE}" "${PACKAGES_DRIVE}$(INSTALL_ROOT)${PACKAGES_DIR_WITHOUT_DRIVE}" _contents "${_contents}")
|
28 |
+
file(WRITE "${MAKEFILE}" "${_contents}")
|
29 |
+
endforeach()
|
30 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_fix_prl.cmake
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function(qt_fix_prl PACKAGE_DIR PRL_FILES)
|
2 |
+
file(TO_CMAKE_PATH "${PACKAGE_DIR}/lib" CMAKE_LIB_PATH)
|
3 |
+
file(TO_CMAKE_PATH "${PACKAGE_DIR}/include/qt5" CMAKE_INCLUDE_PATH)
|
4 |
+
file(TO_CMAKE_PATH "${PACKAGE_DIR}/include" CMAKE_INCLUDE_PATH2)
|
5 |
+
file(TO_CMAKE_PATH "${CURRENT_INSTALLED_DIR}" CMAKE_INSTALLED_PREFIX)
|
6 |
+
foreach(PRL_FILE IN LISTS PRL_FILES)
|
7 |
+
file(READ "${PRL_FILE}" _contents)
|
8 |
+
string(REPLACE "${CMAKE_LIB_PATH}" "\$\$[QT_INSTALL_LIBS]" _contents "${_contents}")
|
9 |
+
string(REPLACE "${CMAKE_INCLUDE_PATH}" "\$\$[QT_INSTALL_HEADERS]" _contents "${_contents}")
|
10 |
+
string(REPLACE "${CMAKE_INCLUDE_PATH2}" "\$\$[QT_INSTALL_HEADERS]/../" _contents "${_contents}")
|
11 |
+
string(REPLACE "${CMAKE_INSTALLED_PREFIX}" "\$\$[QT_INSTALL_PREFIX]" _contents "${_contents}")
|
12 |
+
#Note: This only works without an extra if case since QT_INSTALL_PREFIX is the same for debug and release
|
13 |
+
file(WRITE "${PRL_FILE}" "${_contents}")
|
14 |
+
endforeach()
|
15 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_install_copyright.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#Could probably be the beginning of a vcpkg_install_copyright?
|
2 |
+
function(qt_install_copyright SOURCE_PATH)
|
3 |
+
#Find the relevant license file and install it
|
4 |
+
if(EXISTS "${SOURCE_PATH}/LICENSE.LGPLv3")
|
5 |
+
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.LGPLv3")
|
6 |
+
elseif(EXISTS "${SOURCE_PATH}/LICENSE.LGPL3")
|
7 |
+
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.LGPL3")
|
8 |
+
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPLv3")
|
9 |
+
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPLv3")
|
10 |
+
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3")
|
11 |
+
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3")
|
12 |
+
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
|
13 |
+
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
|
14 |
+
elseif(EXISTS "${SOURCE_PATH}/LICENSE.FDL")
|
15 |
+
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.FDL")
|
16 |
+
endif()
|
17 |
+
file(INSTALL ${LICENSE_PATH} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
18 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_port_functions.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
2 |
+
|
3 |
+
#Basic setup
|
4 |
+
include(qt_port_hashes)
|
5 |
+
if(QT_BUILD_LATEST) # only set in qt5-base
|
6 |
+
include(qt_port_hashes_latest)
|
7 |
+
elseif(NOT PORT STREQUAL "qt5-base")
|
8 |
+
include(qt_port_hashes_latest OPTIONAL) # will only be available for the other qt ports if qt5-base was build with latest
|
9 |
+
endif()
|
10 |
+
#Fixup scripts
|
11 |
+
include(qt_fix_makefile_install)
|
12 |
+
include(qt_fix_cmake)
|
13 |
+
include(qt_fix_prl)
|
14 |
+
#Helper functions
|
15 |
+
include(qt_download_submodule)
|
16 |
+
include(qt_build_submodule)
|
17 |
+
include(qt_install_copyright)
|
18 |
+
|
19 |
+
include(qt_submodule_installation)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_port_hashes.cmake
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#Every update requires an update of these hashes and the version within the control file of each of the 32 ports.
|
2 |
+
#So it is probably better to have a central location for these hashes and let the ports update via a script
|
3 |
+
set(QT_MAJOR_MINOR_VER 5.15)
|
4 |
+
set(QT_PATCH_VER 3)
|
5 |
+
set(QT_UPDATE_VERSION 0) # Switch to update qt and not build qt. Creates a file cmake/qt_new_hashes.cmake in qt5-base with the new hashes.
|
6 |
+
|
7 |
+
set(QT_PORT_LIST base 3d activeqt charts connectivity datavis3d declarative gamepad graphicaleffects imageformats location macextras mqtt multimedia networkauth
|
8 |
+
purchasing quickcontrols quickcontrols2 remoteobjects script scxml sensors serialport speech svg tools virtualkeyboard webchannel websockets
|
9 |
+
webview winextras xmlpatterns doc x11extras androidextras translations serialbus webengine webglplugin wayland)
|
10 |
+
|
11 |
+
set(QT_HASH_qt5-base 01723eff5116a1d7d136fa32d2aee2691b227a241dbc160953ee72a8c0f3bc7ab771c17434629cabef419983ef43bb38aa6956ddcc09c9a82e116a50073b0079)
|
12 |
+
set(QT_HASH_qt5-3d 1fa644ef53923b194efd2296c1505e2193897057774411b1bc50651c2fc4e781e427de13cdc4c1c770294a39d06f8e7360353361c75222c0eb457b560943d97c)
|
13 |
+
set(QT_HASH_qt5-activeqt 5a5fc0a98c4928e6cd27105e47288fe62713c0097a0c4fc555b3607b24f22eb0b9e5546944c7c8e6279d2a241a2935f9b7c64a2e2b5c635f0f35061227fee37a)
|
14 |
+
set(QT_HASH_qt5-androidextras 45957b9afccf147dfe75c210e77e7b12cd3d1c34855052773a8ccce62020acd06e9e8f5b848f32f1fdbdb8fa614877909b9a1517530aad643b8954200ec030ca)
|
15 |
+
set(QT_HASH_qt5-charts 5f03db6d8c99f696aba0528812924c4d6d1a6b1331449c5e23fb094f9166ed1f35cd3bb98e3f17daf4a9b3e7b00b8cdc569ac0200343cd47b5de04468acf1d48)
|
16 |
+
set(QT_HASH_qt5-connectivity 23e515e36da9fb75c280cd8edaf29f3ce7e669ba294d6c1768ccd9c9967ede02dae161a6736a7dac4aa7d8087a309d67b06ba68532684c72ca9964e6ce229534)
|
17 |
+
set(QT_HASH_qt5-datavis3d d38150d80ca700ab33f10b50faa412d930aabda157e5c671a9aeb00e7b257573f5cf77de363e8885bf507f00ce16aa14f5a7885dd308c47c2eaad08910c44ff3)
|
18 |
+
set(QT_HASH_qt5-declarative c0f8dba5ba9e211071d64ec9de7395925d97424be899292a83fe961091c6695bfe68395fed4b34a746a69293765122a5ee53c119053f01b5fc511f0dbf577597)
|
19 |
+
set(QT_HASH_qt5-doc bb23d6d65a7c39ed9119e0bf30810a94ad937cc3f9ab0004d0c3fda712a6fbe009fdef74f5fe1212bc68ad0851ada37592c11f6ef754b81eff2d9c453b3a995b)
|
20 |
+
set(QT_HASH_qt5-gamepad 6a95ed24452d4df07ce0cb6ee482a333b74559935867e32467b6eb66b3c9e6f45a09d0d2bf41f549e85400523e1bea2dc5e571ef58016544aa1f1b056b2accaa)
|
21 |
+
set(QT_HASH_qt5-graphicaleffects 500f22c3845a0aeb5900dce2664b931c177b9b8357eac51594e84bcd55949292d9001467ea317cc8bc020560cb17b56fa16e1d6fdfc8e11a869aaef8d54b6b98)
|
22 |
+
set(QT_HASH_qt5-imageformats f4ee52dc8c48bb3e558802be2f7209bd90c35b89af366836615342b2c6981c4389ddf8651b00970c49ee472e9c663434646228c24659d9e2e5591e4c8f1ff26e)
|
23 |
+
set(QT_HASH_qt5-location 755434db4cdea1c98159a2891c3efcda03fd03b144c37e7a71f57cb5d5dbc5ea1b35d1dcafa7301fc904ede910b4a9f7cfc834b7722cc06fcc360ad3be7b2886)
|
24 |
+
set(QT_HASH_qt5-macextras 26ff64206d6b491271a2db8a6932b30fc8df6ff121ef272edca5e2ec61d98668e326102d529f9335eab98bb3e5e3261cb50db2b2f78f751226bb9d4aa84e499b)
|
25 |
+
set(QT_HASH_qt5-mqtt df91daf1accdf93d05bad33b9abb4a69f2b3fcd91f6dbcd71d6c74c21b0f0b2aeabc83f64aa5c149321b1a700cde3d81a4cbfc8fad7cdd8b0d8c0cc073299f82)
|
26 |
+
set(QT_HASH_qt5-multimedia 8206df23a84ce77d234a97cd4847f7185d7b5ca2c6bf1cd48dc19c833a302f92f85c53d8bccd4bcfbfb6cdc82c2246b2fb62400eefd5d4b152e95e378dded668)
|
27 |
+
set(QT_HASH_qt5-networkauth 0d155fe4b50a412153a4da8423714aabaf24bdafa0dbe789a33c18b4111b0641c93dd0d5f31774c8ff5ccc0737cfde7992d8181a69d12c93ccebc7c65c5a1654)
|
28 |
+
set(QT_HASH_qt5-purchasing 33ce166c6f4e626fef4cc17e902a5117225fa87799687e6c0956898bf80e04df4f3fa447b466e43c9fac58e879a7c9fd0e8c18006e8aa69f0e8762b258c81674)
|
29 |
+
set(QT_HASH_qt5-quickcontrols 756bffb68ad3bd7b6f6c91dbf544e19ff897f8b97ef25bd5da7f9acf8edb903376776ab90cc1b4cf3a0a73e7be37bfbf06e3bfc9afd698aab83e27945c3a5b9e)
|
30 |
+
set(QT_HASH_qt5-quickcontrols2 c7127ed4b74c4d4d91ab7d167fffde0f20acbf75065be5e85adda19cd033afe4862430689e58a43719cab523864d615aa8befa004ae13e5337596dac1be0fddb)
|
31 |
+
set(QT_HASH_qt5-remoteobjects a20699353269dd1d61ea9a45191aa6c438d597783c7461ee41c1bbde0d6043f2be138dd0f46744c1a3081c4098e66e78543f0397eb18b72aab99808de7855bd9)
|
32 |
+
set(QT_HASH_qt5-script ce35799a5625226fd62b394ecdc9d6826ef386a4b2d1a085a3def927ff3cf4808542a7e06be313baf12838fa0d2c1dbe6496a4e34818e3d035734305e60c24d9)
|
33 |
+
set(QT_HASH_qt5-scxml 59b4f2f5bf86a6528cbcffa64a1f3d300fde8509f94c95956558f8643d8f4d093609f4f6d4c095a58e5ea639619f7fd0da6046b2cb72c3cf505859de83aa05d1)
|
34 |
+
set(QT_HASH_qt5-sensors c9e69e78cbb3624cb1130c172a46d4916dbe5fc93f0f844262483468c2f53503844158e72b25692625f588452350bc2f125f583ef7244c62b2ea788ac72e32e2)
|
35 |
+
set(QT_HASH_qt5-serialbus af04a26d31d627592e5d91b163fd7e968a0ff42812b6f7a9f0e73ae5da32cea9e3d49c4abb93d7badd61f0d63a976572a5b42ceb140c761807b31496a9f1af87)
|
36 |
+
set(QT_HASH_qt5-serialport 1fb4dbb5d41c3280b07119d625030489566be29a1b8a7c555f9d484a7dd8c812a7e831147a8017d9026a77fdd57d48985a96f4e6c7887d90342005cf496b7b3a)
|
37 |
+
set(QT_HASH_qt5-speech 43790477887f533df9a1cfeb60194e171cbdbb79bce0f7d90228750219a67baa4b94a7f9d3833958bf7f9553f3f6302f980f269ce52c3756c116a61eae632a2a)
|
38 |
+
set(QT_HASH_qt5-svg 288ce98bb6dd746564c7ffbd0d8221d0816c62b7e33424cd21d945b40308292ec9a0b1e2b9cca6ce91d606c06813f05068cad590d827810383175bebfa8ab527)
|
39 |
+
set(QT_HASH_qt5-tools 3c4ffee1d67126e3dd10c1dabae3660b94b97541480814b77bc88c0eaf86d8d43324d582465521fbdbd49dbb4155561f93e91c998dc1ad6553da02a3fcb0da47)
|
40 |
+
set(QT_HASH_qt5-translations d2939a93a328aa1a8011a0e61970d9ce6a99b918aa35dac9fe10d8b65662ea5086207708157751573431aa24973a1a07e05c25fb90a254861a40d85a845bb1dc)
|
41 |
+
set(QT_HASH_qt5-virtualkeyboard f6033438d9a847d3592bcdbc9c525a2bac730621b2279b36157f8eb11c6f49fa27b5155835c3cc1fa412a0509ca387c5a7063d20b6ae0ff7aedaba786d3c75f2)
|
42 |
+
set(QT_HASH_qt5-webchannel 77ec10187601c826d15dad9a5112553bc1f954d11f54a40d38a2e1a1cf7412fe2c74e0b100c91befd8be06274dc537dbed4c6f858856a3b38974a363ff380415)
|
43 |
+
set(QT_HASH_qt5-webengine d4d10f2f95437042dfc67cc9826e8e27d390f986a1202f1bd5a765ea1b985e93158bde3068410f0a84b268de50c3e6fc9f67c4419224caa6b87b940d70d0869c)
|
44 |
+
set(QT_HASH_qt5-webglplugin 01860ca3ce27630ca1a92eb6deb933959a3679fb579d4cb8a06884f51a672c355f6929355aa6d45f4c5d8ac026b4cecdc7a26d5b2e897ca75bb7a9331e2d3e0d)
|
45 |
+
set(QT_HASH_qt5-websockets a4d1442028e842f5e97bb5d9142d2be768193a0807e51a72adc36bf9bf554fd3ae86373d3de841dc6e0c8bd8312d7bc23b2e46fdf90fce59ab5e35e4462ce4ea)
|
46 |
+
set(QT_HASH_qt5-webview 3a2a7c06df79a6ac4bfd3a45c2ad9e06dc1c2c71ca6a14f9006e031b0679549a9f1d09a9c82439c700e1c0c0785cf7baa402ea2d230a4ebd122dc4e5d2b07030)
|
47 |
+
set(QT_HASH_qt5-x11extras eaf5e639c68cc4e1a35f82a877f461f8023b92dede3819808fdb7334364f4428400a94e7d8cff30985410bf7754258c6376504fd068ba3d792683fd23f586133)
|
48 |
+
set(QT_HASH_qt5-xmlpatterns 4a5f7d68db6f950caedbb94291ab6aad77e7c52cc8adea2e41ddf600106c8d75b4eef83bc716bb1aa3696042c48c34979d8d216a16ccec3a539118b46691c5a4)
|
49 |
+
set(QT_HASH_qt5-wayland 0a9768282170709050490fb1b9daef59c21c8b5c4785f56a452d7954ffb6f016ec836022693941c99c5c10b2c3c55c75ba37fdad09dd1e0cde627f8b87b90c89)
|
50 |
+
set(QT_HASH_qt5-winextras d0707f865552645e82a493265b142171f14c126bd99325471b5d94593c95763d606be89fcc72f74f3192446e024c9be904c7d95816b2dd8e8cc7cf9f34a02f77)
|
51 |
+
|
52 |
+
|
53 |
+
if(QT_UPDATE_VERSION)
|
54 |
+
message(STATUS "Running Qt in automatic version port update mode!")
|
55 |
+
set(_VCPKG_INTERNAL_NO_HASH_CHECK 1)
|
56 |
+
if("${PORT}" MATCHES "qt5-base")
|
57 |
+
foreach(_current_qt_port ${QT_PORT_LIST})
|
58 |
+
set(_current_control "${VCPKG_ROOT_DIR}/ports/qt5-${_current_qt_port}/vcpkg.json")
|
59 |
+
file(READ ${_current_control} _control_contents)
|
60 |
+
#message(STATUS "Before: \n${_control_contents}")
|
61 |
+
string(REGEX REPLACE "\"version.*\": \"[0-9]+\.[0-9]+\.[0-9]+\",\n" "\"version\": \"${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}\",\n" _control_contents "${_control_contents}")
|
62 |
+
string(REGEX REPLACE "\n \"port-version\": [0-9]+," "" _control_contents "${_control_contents}")
|
63 |
+
#message(STATUS "After: \n${_control_contents}")
|
64 |
+
file(WRITE ${_current_control} "${_control_contents}")
|
65 |
+
configure_file("${_current_control}" "${_current_control}" @ONLY NEWLINE_STYLE LF)
|
66 |
+
endforeach()
|
67 |
+
endif()
|
68 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_port_hashes_latest.cmake
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#Every update requires an update of these hashes and the version within the control file of each of the 32 ports.
|
2 |
+
#So it is probably better to have a central location for these hashes and let the ports update via a script
|
3 |
+
set(QT_MAJOR_MINOR_VER 5.15)
|
4 |
+
set(QT_PATCH_VER 3)
|
5 |
+
set(QT_UPDATE_VERSION 0) # Switch to update qt and not build qt. Creates a file cmake/qt_new_hashes.cmake in qt5-base with the new hashes.
|
6 |
+
|
7 |
+
set(QT_PORT_LIST base 3d activeqt charts connectivity datavis3d declarative gamepad graphicaleffects imageformats location macextras mqtt multimedia networkauth
|
8 |
+
purchasing quickcontrols quickcontrols2 remoteobjects script scxml sensors serialport speech svg tools virtualkeyboard webchannel websockets
|
9 |
+
webview winextras xmlpatterns doc x11extras androidextras translations serialbus webengine webglplugin wayland)
|
10 |
+
|
11 |
+
set(QT_HASH_qt5-base 01723eff5116a1d7d136fa32d2aee2691b227a241dbc160953ee72a8c0f3bc7ab771c17434629cabef419983ef43bb38aa6956ddcc09c9a82e116a50073b0079)
|
12 |
+
set(QT_HASH_qt5-3d 1fa644ef53923b194efd2296c1505e2193897057774411b1bc50651c2fc4e781e427de13cdc4c1c770294a39d06f8e7360353361c75222c0eb457b560943d97c)
|
13 |
+
set(QT_HASH_qt5-activeqt 5a5fc0a98c4928e6cd27105e47288fe62713c0097a0c4fc555b3607b24f22eb0b9e5546944c7c8e6279d2a241a2935f9b7c64a2e2b5c635f0f35061227fee37a)
|
14 |
+
set(QT_HASH_qt5-androidextras 45957b9afccf147dfe75c210e77e7b12cd3d1c34855052773a8ccce62020acd06e9e8f5b848f32f1fdbdb8fa614877909b9a1517530aad643b8954200ec030ca)
|
15 |
+
set(QT_HASH_qt5-charts 5f03db6d8c99f696aba0528812924c4d6d1a6b1331449c5e23fb094f9166ed1f35cd3bb98e3f17daf4a9b3e7b00b8cdc569ac0200343cd47b5de04468acf1d48)
|
16 |
+
set(QT_HASH_qt5-connectivity 23e515e36da9fb75c280cd8edaf29f3ce7e669ba294d6c1768ccd9c9967ede02dae161a6736a7dac4aa7d8087a309d67b06ba68532684c72ca9964e6ce229534)
|
17 |
+
set(QT_HASH_qt5-datavis3d d38150d80ca700ab33f10b50faa412d930aabda157e5c671a9aeb00e7b257573f5cf77de363e8885bf507f00ce16aa14f5a7885dd308c47c2eaad08910c44ff3)
|
18 |
+
set(QT_HASH_qt5-declarative c0f8dba5ba9e211071d64ec9de7395925d97424be899292a83fe961091c6695bfe68395fed4b34a746a69293765122a5ee53c119053f01b5fc511f0dbf577597)
|
19 |
+
set(QT_HASH_qt5-doc bb23d6d65a7c39ed9119e0bf30810a94ad937cc3f9ab0004d0c3fda712a6fbe009fdef74f5fe1212bc68ad0851ada37592c11f6ef754b81eff2d9c453b3a995b)
|
20 |
+
set(QT_HASH_qt5-gamepad 6a95ed24452d4df07ce0cb6ee482a333b74559935867e32467b6eb66b3c9e6f45a09d0d2bf41f549e85400523e1bea2dc5e571ef58016544aa1f1b056b2accaa)
|
21 |
+
set(QT_HASH_qt5-graphicaleffects 500f22c3845a0aeb5900dce2664b931c177b9b8357eac51594e84bcd55949292d9001467ea317cc8bc020560cb17b56fa16e1d6fdfc8e11a869aaef8d54b6b98)
|
22 |
+
set(QT_HASH_qt5-imageformats f4ee52dc8c48bb3e558802be2f7209bd90c35b89af366836615342b2c6981c4389ddf8651b00970c49ee472e9c663434646228c24659d9e2e5591e4c8f1ff26e)
|
23 |
+
set(QT_HASH_qt5-location 755434db4cdea1c98159a2891c3efcda03fd03b144c37e7a71f57cb5d5dbc5ea1b35d1dcafa7301fc904ede910b4a9f7cfc834b7722cc06fcc360ad3be7b2886)
|
24 |
+
set(QT_HASH_qt5-macextras 26ff64206d6b491271a2db8a6932b30fc8df6ff121ef272edca5e2ec61d98668e326102d529f9335eab98bb3e5e3261cb50db2b2f78f751226bb9d4aa84e499b)
|
25 |
+
set(QT_HASH_qt5-mqtt df91daf1accdf93d05bad33b9abb4a69f2b3fcd91f6dbcd71d6c74c21b0f0b2aeabc83f64aa5c149321b1a700cde3d81a4cbfc8fad7cdd8b0d8c0cc073299f82)
|
26 |
+
set(QT_HASH_qt5-multimedia 8206df23a84ce77d234a97cd4847f7185d7b5ca2c6bf1cd48dc19c833a302f92f85c53d8bccd4bcfbfb6cdc82c2246b2fb62400eefd5d4b152e95e378dded668)
|
27 |
+
set(QT_HASH_qt5-networkauth 0d155fe4b50a412153a4da8423714aabaf24bdafa0dbe789a33c18b4111b0641c93dd0d5f31774c8ff5ccc0737cfde7992d8181a69d12c93ccebc7c65c5a1654)
|
28 |
+
set(QT_HASH_qt5-purchasing 33ce166c6f4e626fef4cc17e902a5117225fa87799687e6c0956898bf80e04df4f3fa447b466e43c9fac58e879a7c9fd0e8c18006e8aa69f0e8762b258c81674)
|
29 |
+
set(QT_HASH_qt5-quickcontrols 756bffb68ad3bd7b6f6c91dbf544e19ff897f8b97ef25bd5da7f9acf8edb903376776ab90cc1b4cf3a0a73e7be37bfbf06e3bfc9afd698aab83e27945c3a5b9e)
|
30 |
+
set(QT_HASH_qt5-quickcontrols2 c7127ed4b74c4d4d91ab7d167fffde0f20acbf75065be5e85adda19cd033afe4862430689e58a43719cab523864d615aa8befa004ae13e5337596dac1be0fddb)
|
31 |
+
set(QT_HASH_qt5-remoteobjects a20699353269dd1d61ea9a45191aa6c438d597783c7461ee41c1bbde0d6043f2be138dd0f46744c1a3081c4098e66e78543f0397eb18b72aab99808de7855bd9)
|
32 |
+
set(QT_HASH_qt5-script ce35799a5625226fd62b394ecdc9d6826ef386a4b2d1a085a3def927ff3cf4808542a7e06be313baf12838fa0d2c1dbe6496a4e34818e3d035734305e60c24d9)
|
33 |
+
set(QT_HASH_qt5-scxml 59b4f2f5bf86a6528cbcffa64a1f3d300fde8509f94c95956558f8643d8f4d093609f4f6d4c095a58e5ea639619f7fd0da6046b2cb72c3cf505859de83aa05d1)
|
34 |
+
set(QT_HASH_qt5-sensors c9e69e78cbb3624cb1130c172a46d4916dbe5fc93f0f844262483468c2f53503844158e72b25692625f588452350bc2f125f583ef7244c62b2ea788ac72e32e2)
|
35 |
+
set(QT_HASH_qt5-serialbus af04a26d31d627592e5d91b163fd7e968a0ff42812b6f7a9f0e73ae5da32cea9e3d49c4abb93d7badd61f0d63a976572a5b42ceb140c761807b31496a9f1af87)
|
36 |
+
set(QT_HASH_qt5-serialport 1fb4dbb5d41c3280b07119d625030489566be29a1b8a7c555f9d484a7dd8c812a7e831147a8017d9026a77fdd57d48985a96f4e6c7887d90342005cf496b7b3a)
|
37 |
+
set(QT_HASH_qt5-speech 43790477887f533df9a1cfeb60194e171cbdbb79bce0f7d90228750219a67baa4b94a7f9d3833958bf7f9553f3f6302f980f269ce52c3756c116a61eae632a2a)
|
38 |
+
set(QT_HASH_qt5-svg 288ce98bb6dd746564c7ffbd0d8221d0816c62b7e33424cd21d945b40308292ec9a0b1e2b9cca6ce91d606c06813f05068cad590d827810383175bebfa8ab527)
|
39 |
+
set(QT_HASH_qt5-tools 3c4ffee1d67126e3dd10c1dabae3660b94b97541480814b77bc88c0eaf86d8d43324d582465521fbdbd49dbb4155561f93e91c998dc1ad6553da02a3fcb0da47)
|
40 |
+
set(QT_HASH_qt5-translations d2939a93a328aa1a8011a0e61970d9ce6a99b918aa35dac9fe10d8b65662ea5086207708157751573431aa24973a1a07e05c25fb90a254861a40d85a845bb1dc)
|
41 |
+
set(QT_HASH_qt5-virtualkeyboard f6033438d9a847d3592bcdbc9c525a2bac730621b2279b36157f8eb11c6f49fa27b5155835c3cc1fa412a0509ca387c5a7063d20b6ae0ff7aedaba786d3c75f2)
|
42 |
+
set(QT_HASH_qt5-webchannel 77ec10187601c826d15dad9a5112553bc1f954d11f54a40d38a2e1a1cf7412fe2c74e0b100c91befd8be06274dc537dbed4c6f858856a3b38974a363ff380415)
|
43 |
+
set(QT_HASH_qt5-webengine d4d10f2f95437042dfc67cc9826e8e27d390f986a1202f1bd5a765ea1b985e93158bde3068410f0a84b268de50c3e6fc9f67c4419224caa6b87b940d70d0869c)
|
44 |
+
set(QT_HASH_qt5-webglplugin 01860ca3ce27630ca1a92eb6deb933959a3679fb579d4cb8a06884f51a672c355f6929355aa6d45f4c5d8ac026b4cecdc7a26d5b2e897ca75bb7a9331e2d3e0d)
|
45 |
+
set(QT_HASH_qt5-websockets a4d1442028e842f5e97bb5d9142d2be768193a0807e51a72adc36bf9bf554fd3ae86373d3de841dc6e0c8bd8312d7bc23b2e46fdf90fce59ab5e35e4462ce4ea)
|
46 |
+
set(QT_HASH_qt5-webview 3a2a7c06df79a6ac4bfd3a45c2ad9e06dc1c2c71ca6a14f9006e031b0679549a9f1d09a9c82439c700e1c0c0785cf7baa402ea2d230a4ebd122dc4e5d2b07030)
|
47 |
+
set(QT_HASH_qt5-x11extras eaf5e639c68cc4e1a35f82a877f461f8023b92dede3819808fdb7334364f4428400a94e7d8cff30985410bf7754258c6376504fd068ba3d792683fd23f586133)
|
48 |
+
set(QT_HASH_qt5-xmlpatterns 4a5f7d68db6f950caedbb94291ab6aad77e7c52cc8adea2e41ddf600106c8d75b4eef83bc716bb1aa3696042c48c34979d8d216a16ccec3a539118b46691c5a4)
|
49 |
+
set(QT_HASH_qt5-wayland 0a9768282170709050490fb1b9daef59c21c8b5c4785f56a452d7954ffb6f016ec836022693941c99c5c10b2c3c55c75ba37fdad09dd1e0cde627f8b87b90c89)
|
50 |
+
set(QT_HASH_qt5-winextras d0707f865552645e82a493265b142171f14c126bd99325471b5d94593c95763d606be89fcc72f74f3192446e024c9be904c7d95816b2dd8e8cc7cf9f34a02f77)
|
51 |
+
|
52 |
+
if(QT_UPDATE_VERSION)
|
53 |
+
message(STATUS "Running Qt in automatic version port update mode!")
|
54 |
+
set(_VCPKG_INTERNAL_NO_HASH_CHECK 1)
|
55 |
+
if("${PORT}" MATCHES "qt5-base")
|
56 |
+
foreach(_current_qt_port ${QT_PORT_LIST})
|
57 |
+
set(_current_control "${VCPKG_ROOT_DIR}/ports/qt5-${_current_qt_port}/vcpkg.json")
|
58 |
+
file(READ ${_current_control} _control_contents)
|
59 |
+
#message(STATUS "Before: \n${_control_contents}")
|
60 |
+
string(REGEX REPLACE "\"version.*\": \"[0-9]+\.[0-9]+\.[0-9]+\",\n" "\"version\": \"${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}\",\n" _control_contents "${_control_contents}")
|
61 |
+
string(REGEX REPLACE "\n \"port-version\": [0-9]+," "" _control_contents "${_control_contents}")
|
62 |
+
#message(STATUS "After: \n${_control_contents}")
|
63 |
+
file(WRITE ${_current_control} "${_control_contents}")
|
64 |
+
configure_file("${_current_control}" "${_current_control}" @ONLY NEWLINE_STYLE LF)
|
65 |
+
endforeach()
|
66 |
+
endif()
|
67 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/cmake/qt_submodule_installation.cmake
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
function(qt_submodule_installation)
|
4 |
+
cmake_parse_arguments(_csc "" "OUT_SOURCE_PATH" "" ${ARGN})
|
5 |
+
qt_download_submodule(OUT_SOURCE_PATH TARGET_SOURCE_PATH ${_csc_UNPARSED_ARGUMENTS})
|
6 |
+
if(QT_UPDATE_VERSION)
|
7 |
+
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled PARENT_SCOPE)
|
8 |
+
else()
|
9 |
+
qt_build_submodule(${TARGET_SOURCE_PATH} ${_csc_UNPARSED_ARGUMENTS})
|
10 |
+
qt_install_copyright(${TARGET_SOURCE_PATH})
|
11 |
+
endif()
|
12 |
+
if(DEFINED _csc_OUT_SOURCE_PATH)
|
13 |
+
set(${_csc_OUT_SOURCE_PATH} ${TARGET_SOURCE_PATH} PARENT_SCOPE)
|
14 |
+
endif()
|
15 |
+
endfunction()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/Qt5BasicConfig.patch
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
2 |
+
index c72989288..a88234dca 100644
|
3 |
+
--- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
4 |
+
+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
5 |
+
@@ -53,8 +53,12 @@ function(_qt5_$${CMAKE_MODULE_NAME}_process_prl_file prl_file_location Configura
|
6 |
+
set(_lib_deps)
|
7 |
+
set(_link_flags)
|
8 |
+
|
9 |
+
-!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
10 |
+
- set(_qt5_install_libs \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}\")
|
11 |
+
+!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
12 |
+
+ if(\"${Configuration}\" STREQUAL \"DEBUG\")
|
13 |
+
+ set(_qt5_install_libs \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_LIB_DIR}\")
|
14 |
+
+ else()
|
15 |
+
+ set(_qt5_install_libs \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}\")
|
16 |
+
+ endif()
|
17 |
+
!!ELSE
|
18 |
+
set(_qt5_install_libs \"$${CMAKE_LIB_DIR}\")
|
19 |
+
!!ENDIF
|
20 |
+
@@ -125,6 +129,8 @@ function(_qt5_$${CMAKE_MODULE_NAME}_process_prl_file prl_file_location Configura
|
21 |
+
elseif(EXISTS \"${_flag}\")
|
22 |
+
# The flag is an absolute path to an existing library
|
23 |
+
list(APPEND _lib_deps \"${_flag}\")
|
24 |
+
+ elseif(_flag MATCHES \"\\\\.lib$\") #Library name only. No -l. Probably missing some cases
|
25 |
+
+ list(APPEND _lib_deps \"${_flag}\")
|
26 |
+
elseif(_flag MATCHES \"^-L(.*)$\")
|
27 |
+
# Handle -Lfoo flags by putting their paths in the search path used by find_library above
|
28 |
+
list(APPEND _search_paths \"${CMAKE_MATCH_1}\")
|
29 |
+
@@ -147,7 +153,11 @@ macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATI
|
30 |
+
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
31 |
+
|
32 |
+
!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
|
33 |
+
- set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
|
34 |
+
+ if(\"${Configuration}\" STREQUAL \"DEBUG\") # 1
|
35 |
+
+ set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
|
36 |
+
+ else()
|
37 |
+
+ set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
|
38 |
+
+ endif()
|
39 |
+
!!ELSE
|
40 |
+
set(imported_location \"$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
|
41 |
+
!!ENDIF
|
42 |
+
@@ -174,21 +184,22 @@ macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATI
|
43 |
+
)
|
44 |
+
|
45 |
+
!!IF !isEmpty(CMAKE_STATIC_TYPE)
|
46 |
+
- if(NOT "${IsDebugAndRelease}")
|
47 |
+
- set(_genex_condition \"1\")
|
48 |
+
+ #if(NOT "${IsDebugAndRelease}")
|
49 |
+
+ # set(_genex_condition \"1\")
|
50 |
+
+ #else()
|
51 |
+
+ if("${Configuration}" STREQUAL "DEBUG")
|
52 |
+
+ set(_genex_condition \"$<CONFIG:Debug>\")
|
53 |
+
else()
|
54 |
+
- if("${Configuration}" STREQUAL "DEBUG")
|
55 |
+
- set(_genex_condition \"$<CONFIG:Debug>\")
|
56 |
+
- else()
|
57 |
+
- set(_genex_condition \"$<NOT:$<CONFIG:Debug>>\")
|
58 |
+
- endif()
|
59 |
+
+ set(_genex_condition \"$<NOT:$<CONFIG:Debug>>\")
|
60 |
+
endif()
|
61 |
+
+ #endif()
|
62 |
+
|
63 |
+
if(_static_deps)
|
64 |
+
set(_static_deps_genex \"$<${_genex_condition}:${_static_deps}>\")
|
65 |
+
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
66 |
+
\"${_static_deps_genex}\"
|
67 |
+
)
|
68 |
+
+ #message(STATUS \"Target Qt5::$${CMAKE_MODULE_NAME} static links: ${_static_dep} through ${_static_dep_genex}\") # Added for debugging
|
69 |
+
endif()
|
70 |
+
|
71 |
+
set(_static_link_flags \"${_Qt5$${CMAKE_MODULE_NAME}_STATIC_${Configuration}_LINK_FLAGS}\")
|
72 |
+
@@ -205,13 +216,18 @@ macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATI
|
73 |
+
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
74 |
+
\"${_static_link_flags_genex}\"
|
75 |
+
)
|
76 |
+
+ #message(STATUS \"Target Qt5::$${CMAKE_MODULE_NAME} static link flags: ${_static_link_flags} through ${_static_link_flags_genex}\")
|
77 |
+
endif()
|
78 |
+
endif()
|
79 |
+
!!ENDIF
|
80 |
+
|
81 |
+
!!IF !isEmpty(CMAKE_WINDOWS_BUILD)
|
82 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
83 |
+
- set(imported_implib \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
84 |
+
+ if(\"${Configuration}\" STREQUAL \"DEBUG\")
|
85 |
+
+ set(imported_implib \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
86 |
+
+ else()
|
87 |
+
+ set(imported_implib \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
88 |
+
+ endif()
|
89 |
+
!!ELSE
|
90 |
+
set(imported_implib \"IMPORTED_IMPLIB_${Configuration}\" \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
91 |
+
!!ENDIF
|
92 |
+
@@ -373,13 +389,14 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
93 |
+
|
94 |
+
!!IF !isEmpty(CMAKE_STATIC_TYPE)
|
95 |
+
if(NOT Qt5_EXCLUDE_STATIC_DEPENDENCIES)
|
96 |
+
-!!IF !isEmpty(CMAKE_DEBUG_TYPE)
|
97 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
98 |
+
+ if(EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\")
|
99 |
+
_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
100 |
+
- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\" DEBUG
|
101 |
+
+ \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\" DEBUG
|
102 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_DEBUG_LIB_DEPENDENCIES
|
103 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_DEBUG_LINK_FLAGS
|
104 |
+
)
|
105 |
+
+ endif()
|
106 |
+
!!ELSE
|
107 |
+
_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
108 |
+
\"$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\" DEBUG
|
109 |
+
@@ -387,22 +404,21 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
110 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_DEBUG_LINK_FLAGS
|
111 |
+
)
|
112 |
+
!!ENDIF
|
113 |
+
-!!ENDIF
|
114 |
+
|
115 |
+
-!!IF !isEmpty(CMAKE_RELEASE_TYPE)
|
116 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
117 |
+
+ if(EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\")
|
118 |
+
_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
119 |
+
\"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\" RELEASE
|
120 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_RELEASE_LIB_DEPENDENCIES
|
121 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_RELEASE_LINK_FLAGS
|
122 |
+
)
|
123 |
+
+ endif()
|
124 |
+
!!ELSE
|
125 |
+
_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
126 |
+
\"$${CMAKE_LIB_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\" RELEASE
|
127 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_RELEASE_LIB_DEPENDENCIES
|
128 |
+
_Qt5$${CMAKE_MODULE_NAME}_STATIC_RELEASE_LINK_FLAGS
|
129 |
+
)
|
130 |
+
-!!ENDIF
|
131 |
+
!!ENDIF
|
132 |
+
endif()
|
133 |
+
|
134 |
+
@@ -466,7 +482,7 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
135 |
+
!!IF isEmpty(CMAKE_DEBUG_TYPE)
|
136 |
+
!!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
|
137 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
138 |
+
- if (EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
139 |
+
+ if (EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
140 |
+
!!ELSE // CMAKE_LIB_DIR_IS_ABSOLUTE
|
141 |
+
if (EXISTS \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
142 |
+
!!ENDIF // CMAKE_LIB_DIR_IS_ABSOLUTE
|
143 |
+
@@ -474,13 +490,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
144 |
+
!!ELSE // CMAKE_STATIC_WINDOWS_BUILD
|
145 |
+
if (EXISTS
|
146 |
+
!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
|
147 |
+
- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
|
148 |
+
+ \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_DLL_DIR}$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
|
149 |
+
!!ELSE
|
150 |
+
\"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
|
151 |
+
!!ENDIF
|
152 |
+
AND EXISTS
|
153 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
154 |
+
- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
155 |
+
+ \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
156 |
+
!!ELSE
|
157 |
+
\"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
158 |
+
!!ENDIF
|
159 |
+
@@ -543,7 +559,11 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
160 |
+
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
161 |
+
|
162 |
+
!!IF isEmpty(CMAKE_PLUGIN_DIR_IS_ABSOLUTE)
|
163 |
+
- set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
|
164 |
+
+ if(\"${Configuration}\" STREQUAL \"DEBUG\")
|
165 |
+
+ set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
|
166 |
+
+ else()
|
167 |
+
+ set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
|
168 |
+
+ endif()
|
169 |
+
!!ELSE
|
170 |
+
set(imported_location \"$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
|
171 |
+
!!ENDIF
|
172 |
+
@@ -557,15 +577,15 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
173 |
+
${_Qt5${Plugin}_STATIC_${Configuration}_LIB_DEPENDENCIES}
|
174 |
+
)
|
175 |
+
|
176 |
+
- if(NOT "${IsDebugAndRelease}")
|
177 |
+
- set(_genex_condition \"1\")
|
178 |
+
+ #if(NOT "${IsDebugAndRelease}")
|
179 |
+
+ # set(_genex_condition \"1\")
|
180 |
+
+ #else()
|
181 |
+
+ if("${Configuration}" STREQUAL "DEBUG")
|
182 |
+
+ set(_genex_condition \"$<CONFIG:Debug>\")
|
183 |
+
else()
|
184 |
+
- if("${Configuration}" STREQUAL "DEBUG")
|
185 |
+
- set(_genex_condition \"$<CONFIG:Debug>\")
|
186 |
+
- else()
|
187 |
+
- set(_genex_condition \"$<NOT:$<CONFIG:Debug>>\")
|
188 |
+
- endif()
|
189 |
+
+ set(_genex_condition \"$<NOT:$<CONFIG:Debug>>\")
|
190 |
+
endif()
|
191 |
+
+ #endif()
|
192 |
+
if(_static_deps)
|
193 |
+
set(_static_deps_genex \"$<${_genex_condition}:${_static_deps}>\")
|
194 |
+
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/Qt5GuiConfigExtras.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
|
2 |
+
index 84dbbfebd..accb86e3f 100644
|
3 |
+
--- a/src/gui/Qt5GuiConfigExtras.cmake.in
|
4 |
+
+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
|
5 |
+
@@ -148,6 +153,8 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
|
6 |
+
!!ENDIF
|
7 |
+
unset(Qt5Gui_${_cmake_lib_name}_LIBRARY CACHE)
|
8 |
+
|
9 |
+
+ find_library(Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG ${_lib}d ${_lib} NAMES_PER_DIR
|
10 |
+
+ PATHS \"${_qt5Gui_install_prefix}/debug/lib\" NO_DEFAULT_PATH)
|
11 |
+
find_library(Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG ${_lib}d
|
12 |
+
PATHS \"${LibDir}\"
|
13 |
+
!!IF !mac
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/cocoa.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h b/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h
|
2 |
+
index e070ba97..07c75b04 100644
|
3 |
+
--- a/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h
|
4 |
+
+++ b/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h
|
5 |
+
@@ -40,6 +40,7 @@
|
6 |
+
#ifndef QIOSURFACEGRAPHICSBUFFER_H
|
7 |
+
#define QIOSURFACEGRAPHICSBUFFER_H
|
8 |
+
|
9 |
+
+#include <CoreGraphics/CGColorSpace.h>
|
10 |
+
#include <qpa/qplatformgraphicsbuffer.h>
|
11 |
+
#include <private/qcore_mac_p.h>
|
12 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/create_cmake.patch
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf
|
2 |
+
index 4aa5dad46..cee6d2882 100644
|
3 |
+
--- a/mkspecs/features/create_cmake.prf
|
4 |
+
+++ b/mkspecs/features/create_cmake.prf
|
5 |
+
@@ -212,10 +212,10 @@ contains(CONFIG, plugin) {
|
6 |
+
CMAKE_PLUGIN_TYPE_ESCAPED = $$replace(PLUGIN_TYPE, [-/], _)
|
7 |
+
|
8 |
+
win32 {
|
9 |
+
- !mingw|qtConfig(debug_and_release): debug_suffix="d"
|
10 |
+
+ debug_suffix="d"
|
11 |
+
|
12 |
+
CMAKE_PRL_FILE_LOCATION_RELEASE = $$PLUGIN_TYPE/$${CMAKE_QT_STEM}.prl
|
13 |
+
CMAKE_PRL_FILE_LOCATION_DEBUG = $$PLUGIN_TYPE/$${CMAKE_QT_STEM}$${debug_suffix}.prl
|
14 |
+
|
15 |
+
isEmpty(CMAKE_STATIC_TYPE) {
|
16 |
+
CMAKE_PLUGIN_LOCATION_RELEASE = $$PLUGIN_TYPE/$${CMAKE_QT_STEM}.dll
|
17 |
+
@@ -295,6 +295,7 @@ CMAKE_INTERFACE_QT5_MODULE_DEPS = $$join(aux_lib_deps, ";")
|
18 |
+
equals(TEMPLATE, aux): CMAKE_FEATURE_PROPERTY_PREFIX = "INTERFACE_"
|
19 |
+
|
20 |
+
mac {
|
21 |
+
+ CMAKE_FIND_OTHER_LIBRARY_BUILD = "true"
|
22 |
+
!isEmpty(CMAKE_STATIC_TYPE) {
|
23 |
+
CMAKE_LIB_FILE_LOCATION_DEBUG = lib$${CMAKE_QT_STEM}_debug.a
|
24 |
+
CMAKE_LIB_FILE_LOCATION_RELEASE = lib$${CMAKE_QT_STEM}.a
|
25 |
+
@@ -315,7 +316,7 @@ mac {
|
26 |
+
CMAKE_WINDOWS_BUILD = "true"
|
27 |
+
CMAKE_FIND_OTHER_LIBRARY_BUILD = "true"
|
28 |
+
|
29 |
+
- !mingw|qtConfig(debug_and_release): debug_suffix="d"
|
30 |
+
+ debug_suffix="d"
|
31 |
+
|
32 |
+
CMAKE_LIB_FILE_LOCATION_DEBUG = $${CMAKE_QT_STEM}$${debug_suffix}.dll
|
33 |
+
CMAKE_LIB_FILE_LOCATION_RELEASE = $${CMAKE_QT_STEM}.dll
|
34 |
+
@@ -342,6 +342,7 @@ mac {
|
35 |
+
CMAKE_IMPLIB_FILE_LOCATION_RELEASE = $${CMAKE_QT_STEM}.lib
|
36 |
+
}
|
37 |
+
} else {
|
38 |
+
+ CMAKE_FIND_OTHER_LIBRARY_BUILD = "true"
|
39 |
+
!isEmpty(CMAKE_STATIC_TYPE) {
|
40 |
+
CMAKE_LIB_FILE_LOCATION_DEBUG = lib$${CMAKE_QT_STEM}.a
|
41 |
+
CMAKE_LIB_FILE_LOCATION_RELEASE = lib$${CMAKE_QT_STEM}.a
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/egl.patch
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2 |
+
index 5fceb1150..7702cb261 100644
|
3 |
+
--- a/src/gui/configure.json
|
4 |
+
+++ b/src/gui/configure.json
|
5 |
+
@@ -220,7 +220,10 @@
|
6 |
+
"headers": "EGL/egl.h",
|
7 |
+
"sources": [
|
8 |
+
{ "type": "pkgConfig", "args": "egl" },
|
9 |
+
- { "type": "makeSpec", "spec": "EGL" }
|
10 |
+
+ { "type": "makeSpec", "spec": "EGL" },
|
11 |
+
+ { "libs": "-lEGL -lGLESv2 -lGL -lANGLE -lGL -lX11 -ldl -lm -lpthread" },
|
12 |
+
+ { "libs": "-DGL_GLES_PROTOTYPES=1 -DGL_GLEXT_PROTOTYPES -DEGL_EGL_PROTOTYPES=1 -DEGL_EGLEXT_PROTOTYPES -lEGL -lGLESv2 -lGL -lANGLE -lGL -lX11 -ldl -lm -lpthread" },
|
13 |
+
+ { "libs": "-DANGLE_EXPORT -DANGLE_UTIL_EXPORT -DGL_API -DGL_APICALL -DEGLAPI -DGL_GLES_PROTOTYPES=1 -DGL_GLEXT_PROTOTYPES -DEGL_EGL_PROTOTYPES=1 -DEGL_EGLEXT_PROTOTYPES -lEGL -lGLESv2 -lGL -lANGLE -lGL -lX11 -ldl -lm -lpthread" }
|
14 |
+
]
|
15 |
+
},
|
16 |
+
"freetype": {
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/gui_configure.patch
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2 |
+
index c51e3ceee..7f7e206b6 100644
|
3 |
+
--- a/src/gui/configure.json
|
4 |
+
+++ b/src/gui/configure.json
|
5 |
+
@@ -239,9 +239,9 @@
|
6 |
+
"headers": "ft2build.h",
|
7 |
+
"sources": [
|
8 |
+
{ "type": "pkgConfig", "args": "freetype2" },
|
9 |
+
- { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" },
|
10 |
+
+ { "type": "freetype", "libs": "-lbreakfreetypeautofind", "condition": "!config.wasm" },
|
11 |
+
{ "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" },
|
12 |
+
- { "libs": "-lfreetype" }
|
13 |
+
+ { "libs": "-lbreakfreetypeautofind" }
|
14 |
+
],
|
15 |
+
"use": [
|
16 |
+
{ "lib": "zlib", "condition": "features.system-zlib" }
|
17 |
+
@@ -262,7 +262,10 @@
|
18 |
+
"headers": "fontconfig/fontconfig.h",
|
19 |
+
"sources": [
|
20 |
+
- { "type": "pkgConfig", "args": "fontconfig" },
|
21 |
+
+ { "type": "pkgConfig", "args": "breakfontconfig" },
|
22 |
+
- { "type": "freetype", "libs": "-lfontconfig" }
|
23 |
+
+ { "type": "freetype", "libs": "-lbreakautofind" },
|
24 |
+
+ { "libs": "-lfontconfig -lexpat" },
|
25 |
+
+ { "libs": "-llibfontconfig -llibexpat" },
|
26 |
+
+ "-lfontconfig"
|
27 |
+
],
|
28 |
+
"use": "freetype"
|
29 |
+
},
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/icu.patch
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
|
2 |
+
index de8d26a12..068b80c51 100644
|
3 |
+
--- a/src/corelib/configure.json
|
4 |
+
+++ b/src/corelib/configure.json
|
5 |
+
@@ -106,13 +106,17 @@
|
6 |
+
"headers": [ "unicode/utypes.h", "unicode/ucol.h", "unicode/ustring.h" ],
|
7 |
+
"sources": [
|
8 |
+
{
|
9 |
+
+ "libs": "",
|
10 |
+
"builds": {
|
11 |
+
- "debug": "-lsicuind -lsicuucd -lsicudtd",
|
12 |
+
- "release": "-lsicuin -lsicuuc -lsicudt"
|
13 |
+
+ "debug": "-licuind -licuucd -licudtd",
|
14 |
+
+ "release": "-licuin -licuuc -licudt"
|
15 |
+
},
|
16 |
+
"condition": "config.win32 && !features.shared"
|
17 |
+
},
|
18 |
+
+ { "libs": "-licuind -licuucd -licudtd", "condition": "config.win32 && !features.shared"},
|
19 |
+
+ { "libs": "-licuin -licuuc -licudt", "condition": "config.win32 && !features.shared"},
|
20 |
+
{ "libs": "-licuin -licuuc -licudt", "condition": "config.win32 && features.shared" },
|
21 |
+
+ { "libs": "-licuind -licuucd -licudtd", "condition": "config.win32 && features.shared" },
|
22 |
+
{ "libs": "-licui18n -licuuc -licudata", "condition": "!config.win32" }
|
23 |
+
],
|
24 |
+
"use": [
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/limits_include.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/corelib/text/qbytearraymatcher.h b/src/corelib/text/qbytearraymatcher.h
|
2 |
+
index 0eedfc1d20..f5f9bef7b8 100644
|
3 |
+
--- a/src/corelib/text/qbytearraymatcher.h
|
4 |
+
+++ b/src/corelib/text/qbytearraymatcher.h
|
5 |
+
@@ -42,6 +42,8 @@
|
6 |
+
|
7 |
+
#include <QtCore/qbytearray.h>
|
8 |
+
|
9 |
+
+#include <limits>
|
10 |
+
+
|
11 |
+
QT_BEGIN_NAMESPACE
|
12 |
+
|
13 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/mysql-configure.patch
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- a/src/plugins/sqldrivers/configure.json
|
2 |
+
+++ b/src/plugins/sqldrivers/configure.json
|
3 |
+
@@ -65,7 +65,7 @@
|
4 |
+
],
|
5 |
+
"main": "mysql_get_client_version();"
|
6 |
+
},
|
7 |
+
- "headers": "mysql.h",
|
8 |
+
+ "headers": "mysql/mysql.h",
|
9 |
+
"sources": [
|
10 |
+
{ "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": true },
|
11 |
+
{ "type": "mysqlConfig", "query": "--libs", "cleanlibs": true },
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/mysql_plugin_include.patch
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--- a/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
|
2 |
+
+++ b/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
|
3 |
+
@@ -57,7 +57,7 @@
|
4 |
+
#include <QtCore/qt_windows.h>
|
5 |
+
#endif
|
6 |
+
|
7 |
+
-#include <mysql.h>
|
8 |
+
+#include <mysql/mysql.h>
|
9 |
+
|
10 |
+
#ifdef QT_PLUGIN
|
11 |
+
#define Q_EXPORT_SQLDRIVER_MYSQL
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5/vcpkg.json
ADDED
@@ -0,0 +1,358 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Qt5 Application Framework",
|
6 |
+
"homepage": "https://www.qt.io/",
|
7 |
+
"license": null,
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "qt5-base",
|
11 |
+
"default-features": false
|
12 |
+
}
|
13 |
+
],
|
14 |
+
"default-features": [
|
15 |
+
"essentials"
|
16 |
+
],
|
17 |
+
"features": {
|
18 |
+
"3d": {
|
19 |
+
"description": [],
|
20 |
+
"dependencies": [
|
21 |
+
"qt5-3d"
|
22 |
+
]
|
23 |
+
},
|
24 |
+
"activeqt": {
|
25 |
+
"description": "Windows Only",
|
26 |
+
"dependencies": [
|
27 |
+
{
|
28 |
+
"name": "qt5-activeqt",
|
29 |
+
"platform": "windows"
|
30 |
+
}
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"all": {
|
34 |
+
"description": "Install all Qt5 submodules (Warning: Could take a long time and fail...)",
|
35 |
+
"dependencies": [
|
36 |
+
{
|
37 |
+
"name": "qt5",
|
38 |
+
"features": [
|
39 |
+
"3d",
|
40 |
+
"activeqt",
|
41 |
+
"charts",
|
42 |
+
"connectivity",
|
43 |
+
"datavis3d",
|
44 |
+
"declarative",
|
45 |
+
"doc",
|
46 |
+
"extras",
|
47 |
+
"gamepad",
|
48 |
+
"graphicaleffects",
|
49 |
+
"imageformats",
|
50 |
+
"location",
|
51 |
+
"mqtt",
|
52 |
+
"multimedia",
|
53 |
+
"networkauth",
|
54 |
+
"purchasing",
|
55 |
+
"quickcontrols",
|
56 |
+
"quickcontrols2",
|
57 |
+
"remoteobjects",
|
58 |
+
"script",
|
59 |
+
"scxml",
|
60 |
+
"sensors",
|
61 |
+
"serialbus",
|
62 |
+
"serialport",
|
63 |
+
"speech",
|
64 |
+
"svg",
|
65 |
+
"tools",
|
66 |
+
"translations",
|
67 |
+
"virtualkeyboard",
|
68 |
+
"webchannel",
|
69 |
+
"webglplugin",
|
70 |
+
"websockets",
|
71 |
+
"webview",
|
72 |
+
"xmlpatterns"
|
73 |
+
]
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"name": "qt5",
|
77 |
+
"default-features": false,
|
78 |
+
"features": [
|
79 |
+
"webengine"
|
80 |
+
],
|
81 |
+
"platform": "!static"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"name": "qt5",
|
85 |
+
"default-features": false,
|
86 |
+
"features": [
|
87 |
+
"wayland"
|
88 |
+
],
|
89 |
+
"platform": "!windows"
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"name": "qt5-base",
|
93 |
+
"default-features": false,
|
94 |
+
"features": [
|
95 |
+
"mysqlplugin",
|
96 |
+
"postgresqlplugin"
|
97 |
+
]
|
98 |
+
}
|
99 |
+
]
|
100 |
+
},
|
101 |
+
"charts": {
|
102 |
+
"description": [],
|
103 |
+
"dependencies": [
|
104 |
+
"qt5-charts"
|
105 |
+
]
|
106 |
+
},
|
107 |
+
"connectivity": {
|
108 |
+
"description": [],
|
109 |
+
"dependencies": [
|
110 |
+
"qt5-connectivity"
|
111 |
+
]
|
112 |
+
},
|
113 |
+
"datavis3d": {
|
114 |
+
"description": [],
|
115 |
+
"dependencies": [
|
116 |
+
"qt5-datavis3d"
|
117 |
+
]
|
118 |
+
},
|
119 |
+
"declarative": {
|
120 |
+
"description": [],
|
121 |
+
"dependencies": [
|
122 |
+
"qt5-declarative"
|
123 |
+
]
|
124 |
+
},
|
125 |
+
"doc": {
|
126 |
+
"description": [],
|
127 |
+
"dependencies": [
|
128 |
+
{
|
129 |
+
"name": "qt5-doc",
|
130 |
+
"platform": "!windows"
|
131 |
+
}
|
132 |
+
]
|
133 |
+
},
|
134 |
+
"essentials": {
|
135 |
+
"description": "Build the essential qt modules",
|
136 |
+
"dependencies": [
|
137 |
+
{
|
138 |
+
"name": "qt5",
|
139 |
+
"default-features": false,
|
140 |
+
"features": [
|
141 |
+
"activeqt",
|
142 |
+
"declarative",
|
143 |
+
"imageformats",
|
144 |
+
"multimedia",
|
145 |
+
"networkauth",
|
146 |
+
"quickcontrols2",
|
147 |
+
"svg",
|
148 |
+
"tools"
|
149 |
+
]
|
150 |
+
}
|
151 |
+
]
|
152 |
+
},
|
153 |
+
"extras": {
|
154 |
+
"description": [],
|
155 |
+
"dependencies": [
|
156 |
+
{
|
157 |
+
"name": "qt5-androidextras",
|
158 |
+
"platform": "android"
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"name": "qt5-macextras",
|
162 |
+
"platform": "osx"
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"name": "qt5-winextras",
|
166 |
+
"features": [
|
167 |
+
"declarative"
|
168 |
+
],
|
169 |
+
"platform": "windows"
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"name": "qt5-x11extras",
|
173 |
+
"platform": "linux"
|
174 |
+
}
|
175 |
+
]
|
176 |
+
},
|
177 |
+
"gamepad": {
|
178 |
+
"description": [],
|
179 |
+
"dependencies": [
|
180 |
+
"qt5-gamepad"
|
181 |
+
]
|
182 |
+
},
|
183 |
+
"graphicaleffects": {
|
184 |
+
"description": [],
|
185 |
+
"dependencies": [
|
186 |
+
"qt5-graphicaleffects"
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"imageformats": {
|
190 |
+
"description": [],
|
191 |
+
"dependencies": [
|
192 |
+
"qt5-imageformats"
|
193 |
+
]
|
194 |
+
},
|
195 |
+
"latest": {
|
196 |
+
"description": "Build latest qt version (5.15.2) instead of LTS (Currently latest==LTS)",
|
197 |
+
"dependencies": [
|
198 |
+
{
|
199 |
+
"name": "qt5-base",
|
200 |
+
"default-features": false,
|
201 |
+
"features": [
|
202 |
+
"latest"
|
203 |
+
]
|
204 |
+
}
|
205 |
+
]
|
206 |
+
},
|
207 |
+
"location": {
|
208 |
+
"description": [],
|
209 |
+
"dependencies": [
|
210 |
+
"qt5-location"
|
211 |
+
]
|
212 |
+
},
|
213 |
+
"mqtt": {
|
214 |
+
"description": [],
|
215 |
+
"dependencies": [
|
216 |
+
"qt5-mqtt"
|
217 |
+
]
|
218 |
+
},
|
219 |
+
"multimedia": {
|
220 |
+
"description": [],
|
221 |
+
"dependencies": [
|
222 |
+
"qt5-multimedia"
|
223 |
+
]
|
224 |
+
},
|
225 |
+
"networkauth": {
|
226 |
+
"description": [],
|
227 |
+
"dependencies": [
|
228 |
+
"qt5-networkauth"
|
229 |
+
]
|
230 |
+
},
|
231 |
+
"purchasing": {
|
232 |
+
"description": [],
|
233 |
+
"dependencies": [
|
234 |
+
"qt5-purchasing"
|
235 |
+
]
|
236 |
+
},
|
237 |
+
"quickcontrols": {
|
238 |
+
"description": "(deprecated)",
|
239 |
+
"dependencies": [
|
240 |
+
"qt5-quickcontrols"
|
241 |
+
]
|
242 |
+
},
|
243 |
+
"quickcontrols2": {
|
244 |
+
"description": [],
|
245 |
+
"dependencies": [
|
246 |
+
"qt5-quickcontrols2"
|
247 |
+
]
|
248 |
+
},
|
249 |
+
"remoteobjects": {
|
250 |
+
"description": [],
|
251 |
+
"dependencies": [
|
252 |
+
"qt5-remoteobjects"
|
253 |
+
]
|
254 |
+
},
|
255 |
+
"script": {
|
256 |
+
"description": "(deprecated)",
|
257 |
+
"dependencies": [
|
258 |
+
"qt5-script"
|
259 |
+
]
|
260 |
+
},
|
261 |
+
"scxml": {
|
262 |
+
"description": [],
|
263 |
+
"dependencies": [
|
264 |
+
"qt5-scxml"
|
265 |
+
]
|
266 |
+
},
|
267 |
+
"sensors": {
|
268 |
+
"description": [],
|
269 |
+
"dependencies": [
|
270 |
+
"qt5-sensors"
|
271 |
+
]
|
272 |
+
},
|
273 |
+
"serialbus": {
|
274 |
+
"description": [],
|
275 |
+
"dependencies": [
|
276 |
+
"qt5-serialbus"
|
277 |
+
]
|
278 |
+
},
|
279 |
+
"serialport": {
|
280 |
+
"description": [],
|
281 |
+
"dependencies": [
|
282 |
+
"qt5-serialport"
|
283 |
+
]
|
284 |
+
},
|
285 |
+
"speech": {
|
286 |
+
"description": [],
|
287 |
+
"dependencies": [
|
288 |
+
"qt5-speech"
|
289 |
+
]
|
290 |
+
},
|
291 |
+
"svg": {
|
292 |
+
"description": [],
|
293 |
+
"dependencies": [
|
294 |
+
"qt5-svg"
|
295 |
+
]
|
296 |
+
},
|
297 |
+
"tools": {
|
298 |
+
"description": [],
|
299 |
+
"dependencies": [
|
300 |
+
"qt5-tools"
|
301 |
+
]
|
302 |
+
},
|
303 |
+
"translations": {
|
304 |
+
"description": [],
|
305 |
+
"dependencies": [
|
306 |
+
"qt5-translations"
|
307 |
+
]
|
308 |
+
},
|
309 |
+
"virtualkeyboard": {
|
310 |
+
"description": [],
|
311 |
+
"dependencies": [
|
312 |
+
"qt5-virtualkeyboard"
|
313 |
+
]
|
314 |
+
},
|
315 |
+
"wayland": {
|
316 |
+
"description": [],
|
317 |
+
"dependencies": [
|
318 |
+
"qt5-wayland"
|
319 |
+
]
|
320 |
+
},
|
321 |
+
"webchannel": {
|
322 |
+
"description": [],
|
323 |
+
"dependencies": [
|
324 |
+
"qt5-webchannel"
|
325 |
+
]
|
326 |
+
},
|
327 |
+
"webengine": {
|
328 |
+
"description": [],
|
329 |
+
"dependencies": [
|
330 |
+
"qt5-webengine"
|
331 |
+
]
|
332 |
+
},
|
333 |
+
"webglplugin": {
|
334 |
+
"description": [],
|
335 |
+
"dependencies": [
|
336 |
+
"qt5-webglplugin"
|
337 |
+
]
|
338 |
+
},
|
339 |
+
"websockets": {
|
340 |
+
"description": [],
|
341 |
+
"dependencies": [
|
342 |
+
"qt5-websockets"
|
343 |
+
]
|
344 |
+
},
|
345 |
+
"webview": {
|
346 |
+
"description": [],
|
347 |
+
"dependencies": [
|
348 |
+
"qt5-webview"
|
349 |
+
]
|
350 |
+
},
|
351 |
+
"xmlpatterns": {
|
352 |
+
"description": "(deprecated)",
|
353 |
+
"dependencies": [
|
354 |
+
"qt5-xmlpatterns"
|
355 |
+
]
|
356 |
+
}
|
357 |
+
}
|
358 |
+
}
|