Spaces:
Sleeping
Sleeping
dab5c974e1efdecefeb3f22f0712b7d578e141677c85643d57a6950ab5360a24
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgpod/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgta/portfile.cmake +37 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgta/vcpkg.json +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libguarded/portfile.cmake +11 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libguarded/vcpkg.json +7 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgwenhywfar/portfile.cmake +71 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgwenhywfar/vcpkg.json +45 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgxps/libgxps-0.3.2_fix_meson_warnings.patch +55 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgxps/portfile.cmake +34 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgxps/vcpkg.json +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/add-boolean-typedef.patch +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/fix-build-fail.patch +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/portfile.cmake +88 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/tiff.patch +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/vcpkg.json +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/libhdfs3Config.cmake +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/portfile.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/usage +4 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/vcpkg.json +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libheif/gdk-pixbuf.patch +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libheif/portfile.cmake +36 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libheif/vcpkg.json +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhsplasma/portfile.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhsplasma/vcpkg.json +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhv/fix-find_package.patch +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhv/portfile.cmake +44 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhv/vcpkg.json +23 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhydrogen/portfile.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhydrogen/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libical/portfile.cmake +42 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libical/vcpkg.json +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/0002-Config-for-MSVC.patch +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/0003-Add-export.patch +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/0004-ModuleFileName.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/portfile.cmake +53 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/usage +4 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/vcpkg-cmake-wrapper.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/vcpkg.json +7 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libics/portfile.cmake +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libics/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libideviceactivation/CMakeLists.txt +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libideviceactivation/portfile.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libideviceactivation/vcpkg.json +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/CMakeLists.txt +124 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/config.h +1289 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/portfile.cmake +73 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/string.h +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libigl/fix-config.patch +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/libigl/fix-dependency.patch +213 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgpod/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libgpod",
|
3 |
+
"version-date": "2019-08-29",
|
4 |
+
"port-version": 4,
|
5 |
+
"description": "libgpod is a library meant to abstract access to an iPod content.",
|
6 |
+
"homepage": "https://github.com/fadingred/libgpod",
|
7 |
+
"supports": "!windows & !osx",
|
8 |
+
"dependencies": [
|
9 |
+
"glib",
|
10 |
+
"libplist",
|
11 |
+
"sqlite3"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgta/portfile.cmake
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(LIBGTA_VERSION 1.0.8)
|
2 |
+
set(LIBGTA_HASH 99ec3d6317c9a12cf440a60bb989cc7a3fe35e0a1da3e65206e5cd52b69fb860850e61ea0f819511ef48ddc87c468c0ded710409990627096738886e1b358423)
|
3 |
+
|
4 |
+
vcpkg_download_distfile(ARCHIVE
|
5 |
+
URLS "http://download.savannah.nongnu.org/releases/gta/libgta-1.0.8.tar.xz"
|
6 |
+
FILENAME "libgta-${LIBGTA_VERSION}.tar.xz"
|
7 |
+
SHA512 ${LIBGTA_HASH})
|
8 |
+
|
9 |
+
vcpkg_extract_source_archive_ex(
|
10 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
11 |
+
ARCHIVE ${ARCHIVE}
|
12 |
+
REF ${LIBGTA_VERSION}
|
13 |
+
)
|
14 |
+
|
15 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ENABLE_SHARED_LIBS)
|
16 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC_LIBS)
|
17 |
+
|
18 |
+
vcpkg_configure_cmake(
|
19 |
+
SOURCE_PATH ${SOURCE_PATH}
|
20 |
+
PREFER_NINJA
|
21 |
+
OPTIONS -DGTA_BUILD_SHARED_LIB=${ENABLE_SHARED_LIBS}
|
22 |
+
-DGTA_BUILD_STATIC_LIB=${ENABLE_STATIC_LIBS}
|
23 |
+
-DGTA_BUILD_DOCUMENTATION=OFF
|
24 |
+
)
|
25 |
+
|
26 |
+
vcpkg_install_cmake()
|
27 |
+
vcpkg_copy_pdbs()
|
28 |
+
|
29 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
30 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
31 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/bin)
|
32 |
+
endif()
|
33 |
+
|
34 |
+
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libgta)
|
35 |
+
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libgta/COPYING ${CURRENT_PACKAGES_DIR}/share/libgta/copyright)
|
36 |
+
|
37 |
+
vcpkg_fixup_pkgconfig()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgta/vcpkg.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libgta",
|
3 |
+
"version-string": "1.0.8",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "Libgta is a portable library that implements the Generic Tagged Array (GTA) file format.",
|
6 |
+
"homepage": "https://download.savannah.nongnu.org/releases/gta",
|
7 |
+
"dependencies": [
|
8 |
+
"bzip2",
|
9 |
+
"liblzma",
|
10 |
+
"zlib"
|
11 |
+
]
|
12 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libguarded/portfile.cmake
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO copperspice/cs_libguarded
|
4 |
+
REF 1f159aa866a50f5d2952de41d8a99821b8ec37df
|
5 |
+
SHA512 91380262e65ec7b8990c500c60b8d141960be24b69e01a4661c2e8fbfdb8e315c9a4509c2c65a74bc60a8fe690d6dbc8f2b39757d13da5068c95283a19d4c6c4
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
File(COPY ${SOURCE_PATH}/src/libguarded DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
10 |
+
|
11 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libguarded/vcpkg.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libguarded",
|
3 |
+
"version-string": "2019-08-27",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "The libGuarded library is a standalone header-only library for multithreaded programming.",
|
6 |
+
"homepage": "https://github.com/copperspice/libguarded"
|
7 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgwenhywfar/portfile.cmake
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VERSION_MAJOR 5)
|
2 |
+
set(VERSION_MINOR 6)
|
3 |
+
set(VERSION_PATCH 0)
|
4 |
+
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
5 |
+
|
6 |
+
vcpkg_download_distfile(ARCHIVE
|
7 |
+
URLS "https://www.aquamaniac.de/rdm/attachments/download/364/gwenhywfar-${VERSION}.tar.gz"
|
8 |
+
FILENAME "gwenhywfar-${VERSION}.tar.gz"
|
9 |
+
SHA512 9875d677f49fc0a46f371fd1954d15d99c7d5994e90b16f1be7a5b8a1cbcd74ae9733e4541afd6d8251a2ba1a0a37c28e0f248952b7c917313fbf5b38b1d8d11
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_extract_source_archive_ex(
|
13 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
14 |
+
ARCHIVE ${ARCHIVE}
|
15 |
+
REF ${VERSION}
|
16 |
+
)
|
17 |
+
|
18 |
+
if ("libxml2" IN_LIST FEATURES)
|
19 |
+
set(WITH_LIBXML2_CODE "--with-libxml2-code=yes")
|
20 |
+
endif()
|
21 |
+
if ("cpp" IN_LIST FEATURES)
|
22 |
+
list(APPEND FEATURES_GUI "cpp")
|
23 |
+
endif()
|
24 |
+
if ("qt5" IN_LIST FEATURES)
|
25 |
+
list(APPEND FEATURES_GUI "qt5")
|
26 |
+
endif()
|
27 |
+
|
28 |
+
list(JOIN FEATURES_GUI " " GUIS)
|
29 |
+
|
30 |
+
if(VCPKG_TARGET_IS_OSX)
|
31 |
+
set(LDFLAGS "-framework CoreFoundation -framework Security")
|
32 |
+
else()
|
33 |
+
set(LDFLAGS "")
|
34 |
+
endif()
|
35 |
+
|
36 |
+
vcpkg_configure_make(
|
37 |
+
SOURCE_PATH ${SOURCE_PATH}
|
38 |
+
OPTIONS
|
39 |
+
--disable-silent-rules
|
40 |
+
--disable-binreloc
|
41 |
+
--with-guis=${GUIS}
|
42 |
+
--with-libgpg-error-prefix=${CURRENT_INSTALLED_DIR}/tools/libgpg-error
|
43 |
+
--with-libgcrypt-prefix=${CURRENT_INSTALLED_DIR}/tools/libgcrypt
|
44 |
+
--with-qt5-qmake=${CURRENT_INSTALLED_DIR}/tools/qt5/bin/qmake
|
45 |
+
--with-qt5-moc=${CURRENT_INSTALLED_DIR}/tools/qt5/bin/moc
|
46 |
+
--with-qt5-uic=${CURRENT_INSTALLED_DIR}/tools/qt5/bin/uic
|
47 |
+
${WITH_LIBXML2_CODE}
|
48 |
+
"LDFLAGS=${LDFLAGS}"
|
49 |
+
)
|
50 |
+
|
51 |
+
vcpkg_install_make()
|
52 |
+
vcpkg_copy_pdbs()
|
53 |
+
vcpkg_fixup_pkgconfig()
|
54 |
+
|
55 |
+
foreach(GUI IN LISTS FEATURES_GUI)
|
56 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME gwengui-cpp CONFIG_PATH lib/cmake/gwengui-${GUI}-${VERSION_MAJOR}.${VERSION_MINOR} DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
57 |
+
endforeach()
|
58 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME gwenhywfar CONFIG_PATH lib/cmake/gwenhywfar-${VERSION_MAJOR}.${VERSION_MINOR})
|
59 |
+
|
60 |
+
if ("tools" IN_LIST FEATURES)
|
61 |
+
vcpkg_copy_tools(SEARCH_DIR ${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin TOOL_NAMES gct-tool gsa mklistdoc typemaker typemaker2 xmlmerge AUTO_CLEAN)
|
62 |
+
endif()
|
63 |
+
|
64 |
+
# the `dir` variable is not used in the script
|
65 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgwenhywfar/bin/gwenhywfar-config" "dir=\"${CURRENT_INSTALLED_DIR}\"" "")
|
66 |
+
if(NOT VCPKG_BUILD_TYPE)
|
67 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgwenhywfar/debug/bin/gwenhywfar-config" "dir=\"${CURRENT_INSTALLED_DIR}/debug\"" "")
|
68 |
+
endif()
|
69 |
+
|
70 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
71 |
+
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgwenhywfar/vcpkg.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libgwenhywfar",
|
3 |
+
"version-semver": "5.6.0",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "A helper library for networking and security applications and libraries",
|
6 |
+
"homepage": "https://www.aquamaniac.de/rdm/",
|
7 |
+
"supports": "!windows",
|
8 |
+
"dependencies": [
|
9 |
+
"libgcrypt",
|
10 |
+
{
|
11 |
+
"name": "libgnutls",
|
12 |
+
"features": [
|
13 |
+
"openssl"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake-config",
|
18 |
+
"host": true
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"default-features": [
|
22 |
+
"cpp",
|
23 |
+
"libxml2"
|
24 |
+
],
|
25 |
+
"features": {
|
26 |
+
"cpp": {
|
27 |
+
"description": "C++ bindings"
|
28 |
+
},
|
29 |
+
"libxml2": {
|
30 |
+
"description": "Enables libXML2-depending functionality",
|
31 |
+
"dependencies": [
|
32 |
+
"libxml2"
|
33 |
+
]
|
34 |
+
},
|
35 |
+
"qt5": {
|
36 |
+
"description": "Qt bindings",
|
37 |
+
"dependencies": [
|
38 |
+
"qt5-base"
|
39 |
+
]
|
40 |
+
},
|
41 |
+
"tools": {
|
42 |
+
"description": "Some helper tools provided by Gwenhywfar and useful for applications using it"
|
43 |
+
}
|
44 |
+
}
|
45 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgxps/libgxps-0.3.2_fix_meson_warnings.patch
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From a18e12604d2cab13146a357c7fd3b80909b65efd Mon Sep 17 00:00:00 2001
|
2 |
+
From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= <[email protected]>
|
3 |
+
Date: Thu, 9 Sep 2021 17:59:13 +0200
|
4 |
+
Subject: [PATCH] Fix meson warnings
|
5 |
+
|
6 |
+
- Deduplicate "libraries" in pkgg.generate()
|
7 |
+
Fixes:
|
8 |
+
libgxps/meson.build:101: WARNING: Keyword argument "libraries"
|
9 |
+
defined multiple times.
|
10 |
+
WARNING: This will be an error in future Meson releases.
|
11 |
+
- Increase required meson_version from 0.43.0 to 0.50.0 due to usage
|
12 |
+
of install arg in libgxps/meson.build:63:
|
13 |
+
Fixes:
|
14 |
+
WARNING: Project targeting '>= 0.43.0' but tried to use feature
|
15 |
+
introduced in '0.50.0': install arg in configure_file.
|
16 |
+
---
|
17 |
+
libgxps/meson.build | 5 ++---
|
18 |
+
meson.build | 2 +-
|
19 |
+
2 files changed, 3 insertions(+), 4 deletions(-)
|
20 |
+
|
21 |
+
diff --git a/libgxps/meson.build b/libgxps/meson.build
|
22 |
+
index 29b044e..52d53d0 100644
|
23 |
+
--- a/libgxps/meson.build
|
24 |
+
+++ b/libgxps/meson.build
|
25 |
+
@@ -98,12 +98,11 @@ pkgg = import('pkgconfig')
|
26 |
+
cairo_dep_str = cairo_pc_found ? ', cairo >= ' + cairo_req : ''
|
27 |
+
cairo_dep_libs = cairo_pc_found ? [] : cairo_dep
|
28 |
+
|
29 |
+
-pkgg.generate(libraries: gxps,
|
30 |
+
+pkgg.generate(libraries: [gxps, cairo_dep_libs],
|
31 |
+
version: gxps_version,
|
32 |
+
name: 'libgxps',
|
33 |
+
description: 'XPS Documents library',
|
34 |
+
- requires: 'gobject-2.0 >= ' + glib_req + ', gio-2.0 >= ' + glib_req + ', libarchive >= ' + archive_req + cairo_dep_str,
|
35 |
+
- libraries: [gxps, cairo_dep_libs])
|
36 |
+
+ requires: 'gobject-2.0 >= ' + glib_req + ', gio-2.0 >= ' + glib_req + ', libarchive >= ' + archive_req + cairo_dep_str)
|
37 |
+
|
38 |
+
if build_gir
|
39 |
+
gir_extra_args = [
|
40 |
+
diff --git a/meson.build b/meson.build
|
41 |
+
index 07c8cc2..c6780c9 100644
|
42 |
+
--- a/meson.build
|
43 |
+
+++ b/meson.build
|
44 |
+
@@ -4,7 +4,7 @@ project('libgxps', 'c',
|
45 |
+
'buildtype=debugoptimized'
|
46 |
+
],
|
47 |
+
license: 'LGPL2+',
|
48 |
+
- meson_version: '>= 0.43.0')
|
49 |
+
+ meson_version: '>= 0.50.0')
|
50 |
+
|
51 |
+
gxps_version = meson.project_version()
|
52 |
+
version_array = gxps_version.split('.')
|
53 |
+
--
|
54 |
+
GitLab
|
55 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgxps/portfile.cmake
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(LIBGXPS_VERSION 0.3.2)
|
2 |
+
string(SUBSTRING ${LIBGXPS_VERSION} 0 3 MAJOR_MINOR) # e.g. 0.3
|
3 |
+
|
4 |
+
vcpkg_download_distfile(ARCHIVE
|
5 |
+
URLS "https://download.gnome.org/sources/${PORT}/${MAJOR_MINOR}/${PORT}-${LIBGXPS_VERSION}.tar.xz"
|
6 |
+
FILENAME "${PORT}-${LIBGXPS_VERSION}.tar.xz"
|
7 |
+
SHA512 d3d56e4906477b68d088bf83bde666f9ea8bf383add592772aad53dd571e727f1bc0410dd020e12212ede5ff8e26cb46150a9860a6f7af29c4d195f03e946fe9
|
8 |
+
)
|
9 |
+
|
10 |
+
vcpkg_extract_source_archive_ex(
|
11 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
12 |
+
ARCHIVE ${ARCHIVE}
|
13 |
+
REF ${LIBGXPS_VERSION}
|
14 |
+
PATCHES
|
15 |
+
"${CMAKE_CURRENT_LIST_DIR}/libgxps-0.3.2_fix_meson_warnings.patch" # https://gitlab.gnome.org/GNOME/libgxps/-/commit/a18e1260
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_configure_meson(
|
19 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
20 |
+
OPTIONS ${OPTIONS}
|
21 |
+
-Ddisable-introspection=true
|
22 |
+
-Denable-test=false
|
23 |
+
-Dwith-libjpeg=true
|
24 |
+
-Dwith-liblcms2=true
|
25 |
+
-Dwith-libtiff=true
|
26 |
+
)
|
27 |
+
|
28 |
+
vcpkg_install_meson()
|
29 |
+
|
30 |
+
vcpkg_fixup_pkgconfig()
|
31 |
+
|
32 |
+
vcpkg_copy_tools(TOOL_NAMES xpstojpeg xpstopdf xpstopng xpstops xpstosvg AUTO_CLEAN)
|
33 |
+
|
34 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libgxps/vcpkg.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libgxps",
|
3 |
+
"version": "0.3.2",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "libgxps is a GObject based library for handling and rendering XPS documents.",
|
6 |
+
"homepage": "https://wiki.gnome.org/Projects/libgxps",
|
7 |
+
"dependencies": [
|
8 |
+
"cairo",
|
9 |
+
"glib",
|
10 |
+
"lcms",
|
11 |
+
"libarchive",
|
12 |
+
"libjpeg-turbo",
|
13 |
+
"libpng",
|
14 |
+
"libxslt",
|
15 |
+
"tiff",
|
16 |
+
{
|
17 |
+
"name": "vcpkg-tool-meson",
|
18 |
+
"host": true
|
19 |
+
}
|
20 |
+
]
|
21 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/add-boolean-typedef.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/include/hpdf.h b/include/hpdf.h
|
2 |
+
index 1cf0dd9..cce9b59 100644
|
3 |
+
--- a/include/hpdf.h
|
4 |
+
+++ b/include/hpdf.h
|
5 |
+
@@ -54,6 +54,7 @@
|
6 |
+
#include "hpdf_types.h"
|
7 |
+
|
8 |
+
typedef void *HPDF_HANDLE;
|
9 |
+
+typedef HPDF_HANDLE HPDF_Boolean;
|
10 |
+
typedef HPDF_HANDLE HPDF_Doc;
|
11 |
+
typedef HPDF_HANDLE HPDF_Page;
|
12 |
+
typedef HPDF_HANDLE HPDF_Pages;
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/fix-build-fail.patch
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2 |
+
index 9d2a604..be8e964 100644
|
3 |
+
--- a/src/CMakeLists.txt
|
4 |
+
+++ b/src/CMakeLists.txt
|
5 |
+
@@ -79,11 +79,11 @@ if(LIBHPDF_STATIC)
|
6 |
+
LIBRARY DESTINATION lib
|
7 |
+
RUNTIME DESTINATION bin
|
8 |
+
)
|
9 |
+
- if(WIN32 AND NOT CYGWIN)
|
10 |
+
- foreach(addlib ${ADDITIONAL_LIBRARIES})
|
11 |
+
- install(FILES ${addlib} DESTINATION lib)
|
12 |
+
- endforeach(addlib)
|
13 |
+
- endif(WIN32 AND NOT CYGWIN)
|
14 |
+
+ #if(WIN32 AND NOT CYGWIN)
|
15 |
+
+ #foreach(addlib ${ADDITIONAL_LIBRARIES})
|
16 |
+
+ #install(FILES ${addlib} DESTINATION lib)
|
17 |
+
+ #endforeach(addlib)
|
18 |
+
+ #endif(WIN32 AND NOT CYGWIN)
|
19 |
+
endif(LIBHPDF_STATIC)
|
20 |
+
if(LIBHPDF_SHARED)
|
21 |
+
add_library(${LIBHPDF_NAME} SHARED ${LIBHPDF_SRCS})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/portfile.cmake
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if("notiffsymbols" IN_LIST FEATURES)
|
2 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
3 |
+
set(DISABLETIFF tiff.patch)
|
4 |
+
endif()
|
5 |
+
endif()
|
6 |
+
vcpkg_download_distfile(SHADING_PR
|
7 |
+
URLS "https://github.com/libharu/libharu/pull/157.diff"
|
8 |
+
FILENAME "libharu-shading-pr-157.patch"
|
9 |
+
SHA512 f2ddb22b54b4eccc79400b6a4b2d245a221898f75456a5a559523eab7a523a87dfc5dfd0ec5fb17a771697e03c7ea6ed4c6095eff73e0a4302cd6eb24584c957
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_from_github(
|
13 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
14 |
+
REPO libharu/libharu
|
15 |
+
REF d84867ebf9f3de6afd661d2cdaff102457fbc371
|
16 |
+
SHA512 789579dd52c1056ae90a4ce5360c26ba92cadae5341a3901c4159afe624129a1f628fa6412952a398e048b0e5040c93f7ed5b4e4bc620a22d897098298fe2a99
|
17 |
+
HEAD_REF master
|
18 |
+
PATCHES
|
19 |
+
fix-build-fail.patch
|
20 |
+
add-boolean-typedef.patch
|
21 |
+
# This patch adds shading support which is required for VTK. If desired, this could be moved into an on-by-default feature.
|
22 |
+
${SHADING_PR}
|
23 |
+
${DISABLETIFF}
|
24 |
+
)
|
25 |
+
|
26 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
27 |
+
set(VCPKG_BUILD_SHARED_LIBS ON)
|
28 |
+
set(VCPKG_BUILD_STATIC_LIBS OFF)
|
29 |
+
else()
|
30 |
+
set(VCPKG_BUILD_SHARED_LIBS OFF)
|
31 |
+
set(VCPKG_BUILD_STATIC_LIBS ON)
|
32 |
+
endif()
|
33 |
+
|
34 |
+
vcpkg_cmake_configure(
|
35 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
36 |
+
OPTIONS
|
37 |
+
-DLIBHPDF_STATIC=${VCPKG_BUILD_STATIC_LIBS}
|
38 |
+
-DLIBHPDF_SHARED=${VCPKG_BUILD_SHARED_LIBS}
|
39 |
+
)
|
40 |
+
|
41 |
+
vcpkg_cmake_install()
|
42 |
+
|
43 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
44 |
+
if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
45 |
+
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
46 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/libhpdfs.lib" "${CURRENT_PACKAGES_DIR}/lib/libhpdf.lib")
|
47 |
+
endif()
|
48 |
+
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
49 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/libhpdfsd.lib" "${CURRENT_PACKAGES_DIR}/debug/lib/libhpdfd.lib")
|
50 |
+
endif()
|
51 |
+
else()
|
52 |
+
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
53 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/libhpdfs.a" "${CURRENT_PACKAGES_DIR}/lib/libhpdf.a")
|
54 |
+
endif()
|
55 |
+
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
56 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/libhpdfs.a" "${CURRENT_PACKAGES_DIR}/debug/lib/libhpdfd.a")
|
57 |
+
endif()
|
58 |
+
endif()
|
59 |
+
endif()
|
60 |
+
|
61 |
+
file(REMOVE_RECURSE
|
62 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
63 |
+
"${CURRENT_PACKAGES_DIR}/debug/README"
|
64 |
+
"${CURRENT_PACKAGES_DIR}/debug/CHANGES"
|
65 |
+
"${CURRENT_PACKAGES_DIR}/debug/INSTALL"
|
66 |
+
"${CURRENT_PACKAGES_DIR}/README"
|
67 |
+
"${CURRENT_PACKAGES_DIR}/CHANGES"
|
68 |
+
"${CURRENT_PACKAGES_DIR}/INSTALL"
|
69 |
+
)
|
70 |
+
|
71 |
+
file(READ "${CURRENT_PACKAGES_DIR}/include/hpdf.h" _contents)
|
72 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
73 |
+
string(REPLACE "#ifdef HPDF_DLL\n" "#if 1\n" _contents "${_contents}")
|
74 |
+
else()
|
75 |
+
string(REPLACE "#ifdef HPDF_DLL\n" "#if 0\n" _contents "${_contents}")
|
76 |
+
endif()
|
77 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/include/hpdf.h" "${_contents}")
|
78 |
+
|
79 |
+
file(READ "${CURRENT_PACKAGES_DIR}/include/hpdf_types.h" _contents)
|
80 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
81 |
+
string(REPLACE "#ifdef HPDF_DLL\n" "#if 1\n" _contents "${_contents}")
|
82 |
+
else()
|
83 |
+
string(REPLACE "#ifdef HPDF_DLL\n" "#if 0\n" _contents "${_contents}")
|
84 |
+
endif()
|
85 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/include/hpdf_types.h" "${_contents}")
|
86 |
+
|
87 |
+
vcpkg_copy_pdbs()
|
88 |
+
file(INSTALL "${SOURCE_PATH}/LICENCE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/tiff.patch
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/hpdf_image_ccitt.c b/src/hpdf_image_ccitt.c
|
2 |
+
index 2937fc90d..a1a35d0ed 100644
|
3 |
+
--- a/src/hpdf_image_ccitt.c
|
4 |
+
+++ b/src/hpdf_image_ccitt.c
|
5 |
+
@@ -21,7 +21,6 @@
|
6 |
+
#include <memory.h>
|
7 |
+
#include <assert.h>
|
8 |
+
|
9 |
+
-#define G3CODES
|
10 |
+
#include "t4.h"
|
11 |
+
|
12 |
+
typedef unsigned int uint32;
|
13 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
14 |
+
index 354ca7526..ee301d9af 100644
|
15 |
+
--- a/CMakeLists.txt
|
16 |
+
+++ b/CMakeLists.txt
|
17 |
+
@@ -99,6 +99,8 @@ if(PNG_FOUND)
|
18 |
+
set(ADDITIONAL_LIBRARIES ${ADDITIONAL_LIBRARIES} ${PNG_LIBRARIES})
|
19 |
+
endif(PNG_FOUND)
|
20 |
+
|
21 |
+
+find_package(TIFF REQUIRED)
|
22 |
+
+list(APPEND ADDITIONAL_LIBRARIES TIFF::TIFF)
|
23 |
+
|
24 |
+
# =======================================================================
|
25 |
+
# configure header files, add compiler flags
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libharu/vcpkg.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libharu",
|
3 |
+
"version-string": "2017-08-15",
|
4 |
+
"port-version": 10,
|
5 |
+
"description": "libharu - free PDF library",
|
6 |
+
"homepage": "https://github.com/libharu/libharu",
|
7 |
+
"dependencies": [
|
8 |
+
"libpng",
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
"zlib"
|
14 |
+
],
|
15 |
+
"default-features": [
|
16 |
+
"notiffsymbols"
|
17 |
+
],
|
18 |
+
"features": {
|
19 |
+
"notiffsymbols": {
|
20 |
+
"description": "disable symbols also defined by the tiff port",
|
21 |
+
"dependencies": [
|
22 |
+
"tiff"
|
23 |
+
]
|
24 |
+
}
|
25 |
+
}
|
26 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/libhdfs3Config.cmake
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
FUNCTION(SET_LIBRARY_TARGET NAMESPACE LIB_NAME DEBUG_LIB_FILE_NAME RELEASE_LIB_FILE_NAME INCLUDE_DIR)
|
3 |
+
ADD_LIBRARY(${NAMESPACE}::${LIB_NAME} STATIC IMPORTED)
|
4 |
+
SET_TARGET_PROPERTIES(${NAMESPACE}::${LIB_NAME} PROPERTIES
|
5 |
+
IMPORTED_CONFIGURATIONS "RELEASE;DEBUG"
|
6 |
+
IMPORTED_LOCATION_RELEASE "${RELEASE_LIB_FILE_NAME}"
|
7 |
+
IMPORTED_LOCATION_DEBUG "${DEBUG_LIB_FILE_NAME}"
|
8 |
+
INTERFACE_INCLUDE_DIRECTORIES "${INCLUDE_DIR}"
|
9 |
+
)
|
10 |
+
SET(${NAMESPACE}_${LIB_NAME}_FOUND 1)
|
11 |
+
ENDFUNCTION()
|
12 |
+
|
13 |
+
GET_FILENAME_COMPONENT(ROOT "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
14 |
+
GET_FILENAME_COMPONENT(ROOT "${ROOT}" PATH)
|
15 |
+
GET_FILENAME_COMPONENT(ROOT "${ROOT}" PATH)
|
16 |
+
|
17 |
+
SET_LIBRARY_TARGET("HDFS" "hdfs3" "${ROOT}/debug/lib/libhdfs3.a" "${ROOT}/lib/libhdfs3.a" "${ROOT}/include/hdfs")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/portfile.cmake
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO erikmuttersbach/libhdfs3
|
4 |
+
REF 9a60d79812d6dee72455f61bff57a93c3c7d56f5
|
5 |
+
SHA512 2b635ab979230c251243f01717105872245d7948f75832e58f50a09b0b06d1b366b3c5f3a3253fa538076e9f199003f28d10b9958293144dbc301276073a0633
|
6 |
+
HEAD_REF apache-rpc-9
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_configure_cmake(
|
10 |
+
SOURCE_PATH ${SOURCE_PATH}
|
11 |
+
PREFER_NINJA
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_install_cmake()
|
15 |
+
|
16 |
+
vcpkg_copy_pdbs()
|
17 |
+
|
18 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
19 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
20 |
+
FILE(INSTALL ${CMAKE_CURRENT_LIST_DIR}/libhdfs3Config.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
21 |
+
FILE(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/usage
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The package libhdfs3 is compatible with built-in CMake targets:
|
2 |
+
|
3 |
+
FIND_PACKAGE(libhdfs3 REQUIRED)
|
4 |
+
TARGET_LINK_LIBRARIES(main PRIVATE HDFS::hdfs3)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhdfs3/vcpkg.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libhdfs3",
|
3 |
+
"version-date": "2019-11-05",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "Native Hadoop RPC protocol and HDFS data transfer protocol implementation",
|
6 |
+
"homepage": "https://github.com/erikmuttersbach/libhdfs3",
|
7 |
+
"supports": "!windows",
|
8 |
+
"dependencies": [
|
9 |
+
"boost",
|
10 |
+
{
|
11 |
+
"name": "libuuid",
|
12 |
+
"platform": "!windows & !osx"
|
13 |
+
},
|
14 |
+
"libxml2",
|
15 |
+
"protobuf"
|
16 |
+
]
|
17 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libheif/gdk-pixbuf.patch
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/gdk-pixbuf/CMakeLists.txt b/gdk-pixbuf/CMakeLists.txt
|
2 |
+
index 85ad59708..d6aa4a5f9 100644
|
3 |
+
--- a/gdk-pixbuf/CMakeLists.txt
|
4 |
+
+++ b/gdk-pixbuf/CMakeLists.txt
|
5 |
+
@@ -1,9 +1,9 @@
|
6 |
+
if(UNIX)
|
7 |
+
find_package(PkgConfig)
|
8 |
+
find_package(Threads)
|
9 |
+
- pkg_check_modules(GDKPIXBUF2 gdk-pixbuf-2.0)
|
10 |
+
+ pkg_check_modules(GDKPIXBUF2 gdk-pixbuf-2.0 IMPORTED_TARGET)
|
11 |
+
|
12 |
+
if(GDKPIXBUF2_FOUND)
|
13 |
+
- execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} gdk-pixbuf-2.0 --variable gdk_pixbuf_moduledir --define-variable=prefix=${CMAKE_INSTALL_PREFIX} OUTPUT_VARIABLE GDKPIXBUF2_MODULE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
14 |
+
+ pkg_get_variable(GDKPIXBUF2_MODULE_DIR gdk-pixbuf-2.0 gdk_pixbuf_moduledir)
|
15 |
+
|
16 |
+
add_library(pixbufloader-heif MODULE pixbufloader-heif.c)
|
17 |
+
@@ -13,7 +13,7 @@ if(UNIX)
|
18 |
+
${GDKPIXBUF2_INCLUDE_DIRS}
|
19 |
+
${libheif_BINARY_DIR}
|
20 |
+
${libheif_SOURCE_DIR})
|
21 |
+
- target_link_libraries(pixbufloader-heif PUBLIC ${GDKPIXBUF2_LIBRARIES} heif)
|
22 |
+
+ target_link_libraries(pixbufloader-heif PUBLIC PkgConfig::GDKPIXBUF2 heif)
|
23 |
+
|
24 |
+
install(TARGETS pixbufloader-heif LIBRARY DESTINATION ${GDKPIXBUF2_MODULE_DIR})
|
25 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libheif/portfile.cmake
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO strukturag/libheif
|
4 |
+
REF 56c8a2613370562fc330af2c70c1510aa5fd9ff6 #v1.12.0
|
5 |
+
SHA512 11ac7f32d1f49963046b1a4479a41f39004475211563ba7f41b2398f07f7b4d90339ea663e528b3cc80deeef1fff374987208d48b447116a806564ef05487e97
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
gdk-pixbuf.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
OPTIONS
|
14 |
+
-DWITH_EXAMPLES=OFF
|
15 |
+
-DWITH_DAV1D=OFF
|
16 |
+
)
|
17 |
+
vcpkg_cmake_install()
|
18 |
+
vcpkg_copy_pdbs()
|
19 |
+
|
20 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libheif/)
|
21 |
+
# libheif's pc file assumes libstdc++, which isn't always true.
|
22 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libheif.pc" " -lstdc++" "")
|
23 |
+
if(NOT VCPKG_BUILD_TYPE)
|
24 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libheif.pc" " -lstdc++" "")
|
25 |
+
endif()
|
26 |
+
vcpkg_fixup_pkgconfig()
|
27 |
+
|
28 |
+
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
29 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libheif/heif.h" "!defined(LIBHEIF_STATIC_BUILD)" "1")
|
30 |
+
else()
|
31 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libheif/heif.h" "!defined(LIBHEIF_STATIC_BUILD)" "0")
|
32 |
+
endif()
|
33 |
+
|
34 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
35 |
+
|
36 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libheif/vcpkg.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libheif",
|
3 |
+
"version": "1.12.0",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "Open h.265 video codec implementation.",
|
6 |
+
"homepage": "http://www.libheif.org/",
|
7 |
+
"license": "LGPL-3.0-only",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "gdk-pixbuf",
|
11 |
+
"platform": "!windows"
|
12 |
+
},
|
13 |
+
"libde265",
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake",
|
16 |
+
"host": true
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"name": "vcpkg-cmake-config",
|
20 |
+
"host": true
|
21 |
+
},
|
22 |
+
"x265"
|
23 |
+
]
|
24 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhsplasma/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO H-uru/libhsplasma
|
4 |
+
REF e435db76f86a0258ccd6f62a8bcd1f8b42d4f22d #2021.06.08
|
5 |
+
SHA512 ebd53633f22662793613c689b5a07f6149ed2b437c42a024e7c14a18d4411356edb11c95c08e1215dde443988fd1e4bcdd8d35fc30ca2545f507d6a61565cc69
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
10 |
+
FEATURES
|
11 |
+
net ENABLE_NET
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_configure(
|
15 |
+
SOURCE_PATH ${SOURCE_PATH}
|
16 |
+
OPTIONS
|
17 |
+
${FEATURE_OPTIONS}
|
18 |
+
-DENABLE_PHYSX=OFF
|
19 |
+
-DENABLE_PYTHON=OFF
|
20 |
+
-DENABLE_TOOLS=OFF
|
21 |
+
)
|
22 |
+
|
23 |
+
vcpkg_cmake_install()
|
24 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME HSPlasma CONFIG_PATH share/cmake/HSPlasma)
|
25 |
+
|
26 |
+
vcpkg_fixup_pkgconfig()
|
27 |
+
vcpkg_copy_pdbs()
|
28 |
+
|
29 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
30 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhsplasma/vcpkg.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libhsplasma",
|
3 |
+
"version-string": "2021.06.08",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Cross-platform Plasma data and network library",
|
6 |
+
"homepage": "https://github.com/H-uru/libhsplasma",
|
7 |
+
"supports": "!(arm | uwp)",
|
8 |
+
"dependencies": [
|
9 |
+
"libjpeg-turbo",
|
10 |
+
"libpng",
|
11 |
+
"string-theory",
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake",
|
14 |
+
"host": true
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake-config",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
"zlib"
|
21 |
+
],
|
22 |
+
"features": {
|
23 |
+
"net": {
|
24 |
+
"description": "Network functionality",
|
25 |
+
"dependencies": [
|
26 |
+
"openssl"
|
27 |
+
]
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhv/fix-find_package.patch
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index cd9d1c3..e707884 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -112,7 +112,10 @@ endif()
|
6 |
+
|
7 |
+
if(WITH_OPENSSL)
|
8 |
+
add_definitions(-DWITH_OPENSSL)
|
9 |
+
- set(LIBS ${LIBS} ssl crypto)
|
10 |
+
+ find_package(OpenSSL REQUIRED)
|
11 |
+
+ if(OpenSSL_FOUND)
|
12 |
+
+ set(LIBS ${LIBS} OpenSSL::SSL OpenSSL::Crypto)
|
13 |
+
+ endif()
|
14 |
+
endif()
|
15 |
+
|
16 |
+
if(WITH_GNUTLS)
|
17 |
+
@@ -197,6 +200,7 @@ if(BUILD_STATIC)
|
18 |
+
add_library(hv_static STATIC ${LIBHV_SRCS})
|
19 |
+
target_compile_definitions(hv_static PRIVATE HV_STATICLIB)
|
20 |
+
target_include_directories(hv_static PRIVATE ${LIBHV_SRCDIRS})
|
21 |
+
+ target_link_libraries(hv_static ${LIBS})
|
22 |
+
install(TARGETS hv_static DESTINATION lib)
|
23 |
+
add_custom_target(libhv_static DEPENDS hv_static)
|
24 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhv/portfile.cmake
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO ithewei/libhv
|
4 |
+
REF v1.2.4
|
5 |
+
SHA512 5732800970180294DCEB329F25D22B1A7178739A2A5A2CE32E030F4FD38055A6298797D26E7FF5525AC662059FF0AAEDB8ABC200E0BA9E4EEBEB5846FB53F4D0
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
fix-find_package.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
|
12 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
|
13 |
+
|
14 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
15 |
+
FEATURES
|
16 |
+
ssl WITH_OPENSSL
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_configure(
|
20 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
21 |
+
DISABLE_PARALLEL_CONFIGURE
|
22 |
+
OPTIONS
|
23 |
+
-DBUILD_EXAMPLES=OFF
|
24 |
+
-DBUILD_UNITTEST=OFF
|
25 |
+
-DBUILD_STATIC=${BUILD_STATIC}
|
26 |
+
-DBUILD_SHARED=${BUILD_SHARED}
|
27 |
+
${FEATURE_OPTIONS}
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_cmake_install()
|
31 |
+
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
33 |
+
|
34 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
35 |
+
|
36 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/hv.dll")
|
37 |
+
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/bin")
|
38 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/hv.dll" "${CURRENT_PACKAGES_DIR}/bin/hv.dll")
|
39 |
+
endif()
|
40 |
+
|
41 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/hv.dll")
|
42 |
+
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/bin")
|
43 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/hv.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/hv.dll")
|
44 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhv/vcpkg.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libhv",
|
3 |
+
"version": "1.2.4",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Libhv is a C/C++ network library similar to libevent/libuv.",
|
6 |
+
"homepage": "https://github.com/ithewei/libhv",
|
7 |
+
"license": "BSD-3-Clause",
|
8 |
+
"supports": "!(arm | uwp)",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"features": {
|
16 |
+
"ssl": {
|
17 |
+
"description": "with openssl library",
|
18 |
+
"dependencies": [
|
19 |
+
"openssl"
|
20 |
+
]
|
21 |
+
}
|
22 |
+
}
|
23 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhydrogen/portfile.cmake
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO jedisct1/libhydrogen
|
6 |
+
REF 01c32862f6f6e864c113efc3f0142e05ea3531fe #2021-12-02
|
7 |
+
SHA512 016181db4573a1ab31547fbfb51e19fa09e4ee4e0e788434a7654921956a02547b55eda14ccfea98425f4f615fb90e0534c5e1010d5320c1958b65b0489a2931
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_install()
|
16 |
+
|
17 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/hydrogen)
|
18 |
+
|
19 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
20 |
+
|
21 |
+
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libhydrogen/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libhydrogen",
|
3 |
+
"version-date": "2021-12-02",
|
4 |
+
"description": "A lightweight, secure, easy-to-use crypto library suitable for constrained environments",
|
5 |
+
"homepage": "https://github.com/jedisct1/libhydrogen",
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "vcpkg-cmake",
|
9 |
+
"host": true
|
10 |
+
},
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake-config",
|
13 |
+
"host": true
|
14 |
+
}
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libical/portfile.cmake
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO libical/libical
|
4 |
+
REF v3.0.11
|
5 |
+
SHA512 cdee86c50edc2373ab2024d7d4ae26dd4b9a728dbc13083472c4923c67f61ff3cef7d43edca762c6a11979d2040fc1576a033eaa23a19e58af8f14a7d67fc139
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_find_acquire_program(PERL)
|
9 |
+
get_filename_component(PERL_PATH ${PERL} DIRECTORY)
|
10 |
+
vcpkg_add_to_path(${PERL_PATH})
|
11 |
+
|
12 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
13 |
+
INVERTED_FEATURES
|
14 |
+
"rscale" CMAKE_DISABLE_FIND_PACKAGE_ICU
|
15 |
+
)
|
16 |
+
|
17 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
18 |
+
list(APPEND FEATURE_OPTIONS -DSTATIC_ONLY=ON)
|
19 |
+
else()
|
20 |
+
list(APPEND FEATURE_OPTIONS -DSHARED_ONLY=ON)
|
21 |
+
endif()
|
22 |
+
|
23 |
+
vcpkg_cmake_configure(
|
24 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
25 |
+
OPTIONS
|
26 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_BDB=ON
|
27 |
+
-DUSE_BUILTIN_TZDATA=ON
|
28 |
+
-DICAL_GLIB=OFF
|
29 |
+
-DICAL_BUILD_DOCS=OFF
|
30 |
+
-DLIBICAL_BUILD_TESTING=OFF
|
31 |
+
${FEATURE_OPTIONS}
|
32 |
+
)
|
33 |
+
|
34 |
+
vcpkg_cmake_install()
|
35 |
+
vcpkg_copy_pdbs()
|
36 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME LibIcal CONFIG_PATH CONFIG_PATH lib/cmake/LibIcal)
|
37 |
+
vcpkg_fixup_pkgconfig()
|
38 |
+
|
39 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
40 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
41 |
+
|
42 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libical/vcpkg.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libical",
|
3 |
+
"version": "3.0.11",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Reference implementation of the iCalendar data type and serialization format",
|
6 |
+
"homepage": "https://github.com/libical/libical",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "vcpkg-cmake",
|
10 |
+
"host": true
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake-config",
|
14 |
+
"host": true
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"features": {
|
18 |
+
"rscale": {
|
19 |
+
"description": "Support for RSCALE element",
|
20 |
+
"supports": "!static",
|
21 |
+
"dependencies": [
|
22 |
+
"icu"
|
23 |
+
]
|
24 |
+
}
|
25 |
+
}
|
26 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/0002-Config-for-MSVC.patch
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git "a/lib/loop_wchar.h" "b/lib/loop_wchar.h"
|
2 |
+
index 6dc011b..158ccdd 100644
|
3 |
+
--- "a/lib/loop_wchar.h"
|
4 |
+
+++ "b/lib/loop_wchar.h"
|
5 |
+
@@ -37,7 +37,7 @@
|
6 |
+
# include <wchar.h>
|
7 |
+
# define BUF_SIZE 64 /* assume MB_LEN_MAX <= 64 */
|
8 |
+
/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
|
9 |
+
- extern size_t mbrtowc ();
|
10 |
+
+// extern size_t mbrtowc ();
|
11 |
+
# ifdef mbstate_t
|
12 |
+
# define mbrtowc(pwc, s, n, ps) (mbrtowc)(pwc, s, n, 0)
|
13 |
+
# define mbsinit(ps) 1
|
14 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/0003-Add-export.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff -uNr libiconv-1.16/libcharset/include/libcharset.h.in libiconv-1.16-work/libcharset/include/libcharset.h.in
|
2 |
+
--- libiconv-1.16/libcharset/include/libcharset.h.in 2018-09-17 19:07:42.000000000 +0300
|
3 |
+
+++ libiconv-1.16-work/libcharset/include/libcharset.h.in 2019-12-04 17:15:50.000000000 +0300
|
4 |
+
@@ -33,7 +33,7 @@
|
5 |
+
by the corresponding pathname with the current prefix instead. Both
|
6 |
+
prefixes should be directory names without trailing slash (i.e. use ""
|
7 |
+
instead of "/"). */
|
8 |
+
-extern void libcharset_set_relocation_prefix (const char *orig_prefix,
|
9 |
+
+extern void LIBCHARSET_DLL_EXPORTED libcharset_set_relocation_prefix (const char *orig_prefix,
|
10 |
+
const char *curr_prefix);
|
11 |
+
|
12 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/0004-ModuleFileName.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/lib/relocatable.c b/lib/relocatable.c
|
2 |
+
index 89b6c27..1561894 100644
|
3 |
+
--- a/lib/relocatable.c
|
4 |
+
+++ b/lib/relocatable.c
|
5 |
+
@@ -329,7 +329,7 @@ DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved)
|
6 |
+
/* The DLL is being loaded into an application's address range. */
|
7 |
+
static char location[MAX_PATH];
|
8 |
+
|
9 |
+
- if (!GetModuleFileName (module_handle, location, sizeof (location)))
|
10 |
+
+ if (!GetModuleFileNameA (module_handle, location, sizeof (location)))
|
11 |
+
/* Shouldn't happen. */
|
12 |
+
return FALSE;
|
13 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/portfile.cmake
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(NOT VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_ANDROID)
|
2 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
3 |
+
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/iconv")
|
4 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/iconv")
|
5 |
+
return()
|
6 |
+
endif()
|
7 |
+
|
8 |
+
set(LIBICONV_VERSION 1.16)
|
9 |
+
|
10 |
+
vcpkg_download_distfile(ARCHIVE
|
11 |
+
URLS "https://ftp.gnu.org/gnu/libiconv/libiconv-${LIBICONV_VERSION}.tar.gz" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libiconv/libiconv-${LIBICONV_VERSION}.tar.gz"
|
12 |
+
FILENAME "libiconv-${LIBICONV_VERSION}.tar.gz"
|
13 |
+
SHA512 365dac0b34b4255a0066e8033a8b3db4bdb94b9b57a9dca17ebf2d779139fe935caf51a465d17fd8ae229ec4b926f3f7025264f37243432075e5583925bb77b7
|
14 |
+
)
|
15 |
+
vcpkg_extract_source_archive_ex(
|
16 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
17 |
+
ARCHIVE ${ARCHIVE}
|
18 |
+
REF ${LIBICONV_VERSION}
|
19 |
+
PATCHES
|
20 |
+
0002-Config-for-MSVC.patch
|
21 |
+
0003-Add-export.patch
|
22 |
+
0004-ModuleFileName.patch
|
23 |
+
)
|
24 |
+
|
25 |
+
if (NOT VCPKG_TARGET_IS_ANDROID)
|
26 |
+
list(APPEND OPTIONS --enable-relocatable)
|
27 |
+
endif()
|
28 |
+
|
29 |
+
vcpkg_configure_make(
|
30 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
31 |
+
DETERMINE_BUILD_TRIPLET
|
32 |
+
USE_WRAPPERS
|
33 |
+
OPTIONS
|
34 |
+
--enable-extra-encodings
|
35 |
+
--without-libiconv-prefix
|
36 |
+
--without-libintl-prefix
|
37 |
+
${OPTIONS}
|
38 |
+
)
|
39 |
+
vcpkg_install_make()
|
40 |
+
|
41 |
+
vcpkg_copy_pdbs()
|
42 |
+
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
|
43 |
+
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin")
|
44 |
+
|
45 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/iconv")
|
46 |
+
|
47 |
+
set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
|
48 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
49 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}") # share contains unneeded doc files
|
50 |
+
|
51 |
+
# Please keep, the default usage is broken
|
52 |
+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
53 |
+
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/usage
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The package libiconv provides CMake targets:
|
2 |
+
|
3 |
+
find_package(Iconv)
|
4 |
+
target_link_libraries(main PRIVATE Iconv::Iconv)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/vcpkg-cmake-wrapper.cmake
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
include(SelectLibraryConfigurations)
|
2 |
+
|
3 |
+
_find_package(${ARGS})
|
4 |
+
if(Iconv_FOUND AND NOT Iconv_IS_BUILT_IN)
|
5 |
+
find_path(CHARSET_INCLUDE_DIR NAMES "libcharset.h" HINTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
|
6 |
+
find_library(CHARSET_LIBRARY_DEBUG NAMES charsetd libcharsetd charset libcharset NAMES_PER_DIR PATH_SUFFIXES lib HINTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug")
|
7 |
+
find_library(CHARSET_LIBRARY_RELEASE NAMES charset libcharset NAMES_PER_DIR PATH_SUFFIXES lib HINTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}")
|
8 |
+
select_library_configurations(CHARSET)
|
9 |
+
if(NOT TARGET Iconv::Charset)
|
10 |
+
add_library(Iconv::Charset INTERFACE IMPORTED)
|
11 |
+
set_target_properties(Iconv::Charset PROPERTIES
|
12 |
+
INTERFACE_LINK_LIBRARIES "\$<\$<NOT:\$<CONFIG:DEBUG>>:${CHARSET_LIBRARY_RELEASE}>;\$<\$<CONFIG:DEBUG>:${CHARSET_LIBRARY_DEBUG}>"
|
13 |
+
INTERFACE_INCLUDE_DIRECTORIES "${CHARSET_INCLUDE_DIRS}")
|
14 |
+
endif()
|
15 |
+
if(CHARSET_LIBRARIES)
|
16 |
+
list(APPEND Iconv_LIBRARIES ${CHARSET_LIBRARIES})
|
17 |
+
if(TARGET Iconv::Iconv)
|
18 |
+
set_property(TARGET Iconv::Iconv APPEND PROPERTY INTERFACE_LINK_LIBRARIES Iconv::Charset)
|
19 |
+
endif()
|
20 |
+
endif()
|
21 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libiconv/vcpkg.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libiconv",
|
3 |
+
"version": "1.16",
|
4 |
+
"port-version": 13,
|
5 |
+
"description": "GNU Unicode text conversion",
|
6 |
+
"homepage": "https://www.gnu.org/software/libiconv/"
|
7 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libics/portfile.cmake
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO svi-opensource/libics
|
4 |
+
REF ae55128e0532d78aaea4adce21a3fa553d208b83 # 1.6.5
|
5 |
+
SHA512 37a1e9034d7e32954840e18f3e3c19f6ed2f8c651ce0da53f678e2f04653be0fc4d9ab3dca8b6f0bfcaec2a9cc560ccfbc7d9034977faa14036281d6a3ca662a
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_cmake_configure(
|
10 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
11 |
+
DISABLE_PARALLEL_CONFIGURE
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
|
16 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
17 |
+
|
18 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
19 |
+
|
20 |
+
file(INSTALL "${SOURCE_PATH}/GNU_LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libics/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libics",
|
3 |
+
"version": "1.6.5",
|
4 |
+
"description": "Reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject.",
|
5 |
+
"homepage": "https://github.com/svi-opensource/libics",
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "vcpkg-cmake",
|
9 |
+
"host": true
|
10 |
+
},
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake-config",
|
13 |
+
"host": true
|
14 |
+
}
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libideviceactivation/CMakeLists.txt
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.0)
|
2 |
+
project(libideviceactivation C)
|
3 |
+
|
4 |
+
# find dependencies
|
5 |
+
find_library(libplist NAMES plist plist-2.0 libplist libplist-2.0 REQUIRED)
|
6 |
+
find_path(libimobiledevice_INCLUDES endianness.h)
|
7 |
+
find_library(libimobiledevice NAMES imobiledevice imobiledevice-1.0 libimobiledevice libimobiledevice-1.0 REQUIRED)
|
8 |
+
find_package(LibXml2 REQUIRED)
|
9 |
+
find_package(CURL REQUIRED)
|
10 |
+
|
11 |
+
# ready to create library
|
12 |
+
file(GLOB_RECURSE IDVCACTV_TOOLS_SRC common/*.c)
|
13 |
+
|
14 |
+
file(GLOB_RECURSE IDVCACTV_PUBLIC_HDR include/*.h)
|
15 |
+
file(GLOB_RECURSE IDVCACTV_SRC src/*.c)
|
16 |
+
|
17 |
+
add_library(libideviceactivation ${IDVCACTV_TOOLS_SRC} ${IDVCACTV_SRC} ${IDVCACTV_PUBLIC_HDR})
|
18 |
+
target_include_directories(libideviceactivation PRIVATE ${libimobiledevice_INCLUDES} ${LIBXML2_INCLUDE_DIR} ${CURL_INCLUDE_DIRS} include)
|
19 |
+
target_compile_definitions(libideviceactivation PRIVATE -DHAVE_OPENSSL)
|
20 |
+
target_link_libraries(libideviceactivation PRIVATE ${libplist} ${libimobiledevice} ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES})
|
21 |
+
|
22 |
+
# install
|
23 |
+
install(
|
24 |
+
TARGETS libideviceactivation
|
25 |
+
RUNTIME DESTINATION bin
|
26 |
+
ARCHIVE DESTINATION lib
|
27 |
+
LIBRARY DESTINATION lib
|
28 |
+
)
|
29 |
+
configure_file(
|
30 |
+
${CMAKE_CURRENT_SOURCE_DIR}/src/libideviceactivation-1.0.pc.in
|
31 |
+
${CMAKE_CURRENT_BINARY_DIR}/libideviceactivation-1.0.pc
|
32 |
+
@ONLY
|
33 |
+
)
|
34 |
+
install(
|
35 |
+
FILES ${CMAKE_CURRENT_BINARY_DIR}/libideviceactivation-1.0.pc
|
36 |
+
DESTINATION lib/pkgconfig
|
37 |
+
)
|
38 |
+
|
39 |
+
install(FILES ${IDVCACTV_PUBLIC_HDR} DESTINATION include)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libideviceactivation/portfile.cmake
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO libimobiledevice-win32/libideviceactivation
|
4 |
+
REF fbe0476cfeddc2fc317ceb900eec12302c1d4c11 # v1.3.17
|
5 |
+
SHA512 18fdf1b42744da33e0f0f037e83a72b76cc0b63a0b712e78d9736adcde113582327f3712bc2bfa7b6fdb692465700a9106286f383fd7d11f9351ca7939b20e24
|
6 |
+
HEAD_REF msvc-master
|
7 |
+
)
|
8 |
+
|
9 |
+
configure_file("${CURRENT_PORT_DIR}/CMakeLists.txt" "${SOURCE_PATH}/CMakeLists.txt" COPYONLY)
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_install()
|
16 |
+
vcpkg_copy_pdbs()
|
17 |
+
|
18 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
19 |
+
|
20 |
+
# Handle copyright
|
21 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libideviceactivation/vcpkg.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libideviceactivation",
|
3 |
+
"version": "1.3.17",
|
4 |
+
"description": "A library to handle the activation process of iOS devices",
|
5 |
+
"dependencies": [
|
6 |
+
"curl",
|
7 |
+
"libimobiledevice",
|
8 |
+
"libplist",
|
9 |
+
"libxml2",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
}
|
14 |
+
]
|
15 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/CMakeLists.txt
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.8)
|
2 |
+
|
3 |
+
project(libidn2 C)
|
4 |
+
|
5 |
+
find_package(Iconv REQUIRED)
|
6 |
+
|
7 |
+
if(MSVC)
|
8 |
+
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
9 |
+
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
10 |
+
endif()
|
11 |
+
|
12 |
+
add_definitions(-DIDN2_BUILDING)
|
13 |
+
|
14 |
+
if(NOT BUILD_SHARED_LIBS)
|
15 |
+
add_definitions(-DIDN2_STATIC)
|
16 |
+
endif()
|
17 |
+
|
18 |
+
# List the source files
|
19 |
+
set(LIB_SRC lib/bidi.c
|
20 |
+
lib/context.c
|
21 |
+
lib/data.c
|
22 |
+
lib/decode.c
|
23 |
+
lib/error.c
|
24 |
+
lib/free.c
|
25 |
+
lib/idna.c
|
26 |
+
lib/lookup.c
|
27 |
+
lib/puny_decode.c
|
28 |
+
lib/puny_encode.c
|
29 |
+
lib/register.c
|
30 |
+
lib/tables.c
|
31 |
+
lib/tr46map.c
|
32 |
+
lib/tr46map_data.c
|
33 |
+
lib/version.c
|
34 |
+
)
|
35 |
+
|
36 |
+
# List the libunistring source files
|
37 |
+
set(UNISTR_SRC unistring/c-ctype.c
|
38 |
+
unistring/c-strcasecmp.c
|
39 |
+
unistring/c-strncasecmp.c
|
40 |
+
unistring/free.c
|
41 |
+
unistring/striconveh.c
|
42 |
+
unistring/striconveha.c
|
43 |
+
unistring/uniconv/u8-conv-from-enc.c
|
44 |
+
unistring/uniconv/u8-strconv-from-enc.c
|
45 |
+
unistring/uniconv/u8-strconv-from-locale.c
|
46 |
+
unistring/uniconv/u8-strconv-to-enc.c
|
47 |
+
unistring/uniconv/u8-strconv-to-locale.c
|
48 |
+
unistring/unistr/u32-cmp.c
|
49 |
+
unistring/unistr/u32-cpy.c
|
50 |
+
unistring/unistr/u32-cpy-alloc.c
|
51 |
+
unistring/unistr/u32-mbtouc-unsafe.c
|
52 |
+
unistring/unistr/u32-strlen.c
|
53 |
+
unistring/unistr/u32-to-u8.c
|
54 |
+
unistring/unistr/u32-uctomb.c
|
55 |
+
unistring/unistr/u8-check.c
|
56 |
+
unistring/unistr/u8-mblen.c
|
57 |
+
unistring/unistr/u8-mbtouc.c
|
58 |
+
unistring/unistr/u8-mbtouc-aux.c
|
59 |
+
unistring/unistr/u8-mbtouc-unsafe.c
|
60 |
+
unistring/unistr/u8-mbtouc-unsafe-aux.c
|
61 |
+
unistring/unistr/u8-mbtoucr.c
|
62 |
+
unistring/unistr/u8-prev.c
|
63 |
+
unistring/unistr/u8-strlen.c
|
64 |
+
unistring/unistr/u8-to-u32.c
|
65 |
+
unistring/unistr/u8-uctomb.c
|
66 |
+
unistring/unistr/u8-uctomb-aux.c
|
67 |
+
unistring/uninorm/canonical-decomposition.c
|
68 |
+
unistring/uninorm/composition.c
|
69 |
+
unistring/uninorm/decompose-internal.c
|
70 |
+
unistring/uninorm/decomposition-table.c
|
71 |
+
unistring/uninorm/nfc.c
|
72 |
+
unistring/uninorm/nfd.c
|
73 |
+
unistring/uninorm/u32-normalize.c
|
74 |
+
unistring/unictype/bidi_of.c
|
75 |
+
unistring/unictype/categ_M.c
|
76 |
+
unistring/unictype/categ_none.c
|
77 |
+
unistring/unictype/categ_of.c
|
78 |
+
unistring/unictype/categ_test.c
|
79 |
+
unistring/unictype/combiningclass.c
|
80 |
+
unistring/unictype/joiningtype_of.c
|
81 |
+
unistring/unictype/scripts.c
|
82 |
+
)
|
83 |
+
|
84 |
+
# List the gnulib source files
|
85 |
+
set(GL_SRC gl/rawmemchr.c
|
86 |
+
gl/strchrnul.c
|
87 |
+
gl/strverscmp.c
|
88 |
+
gl/msvc-inval.c
|
89 |
+
gl/msvc-nothrow.c
|
90 |
+
gl/malloca.c
|
91 |
+
)
|
92 |
+
|
93 |
+
add_library(libidn2 ${LIB_SRC} ${UNISTR_SRC} ${GL_SRC})
|
94 |
+
set_target_properties(libidn2
|
95 |
+
PROPERTIES
|
96 |
+
OUTPUT_NAME idn2
|
97 |
+
PREFIX lib
|
98 |
+
IMPORT_PREFIX lib
|
99 |
+
)
|
100 |
+
|
101 |
+
target_include_directories(libidn2 PRIVATE . ./unistring ./gl)
|
102 |
+
target_link_libraries(libidn2 PRIVATE Iconv::Iconv)
|
103 |
+
|
104 |
+
install(TARGETS libidn2
|
105 |
+
RUNTIME DESTINATION bin
|
106 |
+
LIBRARY DESTINATION lib
|
107 |
+
ARCHIVE DESTINATION lib)
|
108 |
+
|
109 |
+
install(FILES lib/idn2.h DESTINATION include)
|
110 |
+
|
111 |
+
# Install pc file
|
112 |
+
set(prefix "\${pcfiledir}/../..")
|
113 |
+
set(exec_prefix "\${prefix}")
|
114 |
+
set(includedir "\${prefix}/include")
|
115 |
+
set(libdir "\${prefix}/lib")
|
116 |
+
set(LTLIBICONV "-liconv -lcharset")
|
117 |
+
set(LTLIBUNISTRING "")
|
118 |
+
configure_file("libidn2.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libidn2.pc" @ONLY)
|
119 |
+
if(WIN32 AND NOT MINGW)
|
120 |
+
file(READ "${CMAKE_CURRENT_BINARY_DIR}/libidn2.pc" pc_data)
|
121 |
+
string(REPLACE " -lidn" " -llibidn" pc_data "${pc_data}")
|
122 |
+
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/libidn2.pc" "${pc_data}")
|
123 |
+
endif()
|
124 |
+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libidn2.pc" DESTINATION "lib/pkgconfig")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/config.h
ADDED
@@ -0,0 +1,1289 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* config.h. Generated from config.h.in by configure. */
|
2 |
+
/* config.h.in. Generated from configure.ac by autoheader. */
|
3 |
+
|
4 |
+
/* Define to the number of bits in type 'ptrdiff_t'. */
|
5 |
+
/* #undef BITSIZEOF_PTRDIFF_T */
|
6 |
+
|
7 |
+
/* Define to the number of bits in type 'sig_atomic_t'. */
|
8 |
+
/* #undef BITSIZEOF_SIG_ATOMIC_T */
|
9 |
+
|
10 |
+
/* Define to the number of bits in type 'size_t'. */
|
11 |
+
/* #undef BITSIZEOF_SIZE_T */
|
12 |
+
|
13 |
+
/* Define to the number of bits in type 'wchar_t'. */
|
14 |
+
/* #undef BITSIZEOF_WCHAR_T */
|
15 |
+
|
16 |
+
/* Define to the number of bits in type 'wint_t'. */
|
17 |
+
/* #undef BITSIZEOF_WINT_T */
|
18 |
+
|
19 |
+
|
20 |
+
/* Define to 1 if using 'alloca.c'. */
|
21 |
+
/* #undef C_ALLOCA */
|
22 |
+
|
23 |
+
/* Define to 1 if // is a file system root distinct from /. */
|
24 |
+
/* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */
|
25 |
+
|
26 |
+
/* Define to 1 if translation of program messages to the user's native
|
27 |
+
language is requested. */
|
28 |
+
/* #undef ENABLE_NLS */
|
29 |
+
|
30 |
+
/* Define this to 1 if F_DUPFD behavior does not match POSIX */
|
31 |
+
/* #undef FCNTL_DUPFD_BUGGY */
|
32 |
+
|
33 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
34 |
+
whether the gnulib module fscanf shall be considered present. */
|
35 |
+
#define GNULIB_FSCANF 1
|
36 |
+
|
37 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
38 |
+
whether the gnulib module msvc-nothrow shall be considered present. */
|
39 |
+
#define GNULIB_MSVC_NOTHROW 1
|
40 |
+
|
41 |
+
/* Define to 1 if printf and friends should be labeled with attribute
|
42 |
+
"__gnu_printf__" instead of "__printf__" */
|
43 |
+
#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
|
44 |
+
|
45 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
46 |
+
whether the gnulib module scanf shall be considered present. */
|
47 |
+
#define GNULIB_SCANF 1
|
48 |
+
|
49 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
50 |
+
whether the gnulib module strerror shall be considered present. */
|
51 |
+
#define GNULIB_STRERROR 1
|
52 |
+
|
53 |
+
/* Define to 1 when the gnulib module getdelim should be tested. */
|
54 |
+
/* #undef GNULIB_TEST_GETDELIM */
|
55 |
+
|
56 |
+
/* Define to 1 when the gnulib module getline should be tested. */
|
57 |
+
/* #undef GNULIB_TEST_GETLINE */
|
58 |
+
|
59 |
+
/* Define to 1 when the gnulib module malloc-posix should be tested. */
|
60 |
+
/* #undef GNULIB_TEST_MALLOC_POSIX */
|
61 |
+
|
62 |
+
/* Define to 1 when the gnulib module rawmemchr should be tested. */
|
63 |
+
/* #undef GNULIB_TEST_RAWMEMCHR */
|
64 |
+
|
65 |
+
/* Define to 1 when the gnulib module strchrnul should be tested. */
|
66 |
+
/* #undef GNULIB_TEST_STRCHRNUL */
|
67 |
+
|
68 |
+
/* Define to 1 when the gnulib module strerror should be tested. */
|
69 |
+
/* #undef GNULIB_TEST_STRERROR */
|
70 |
+
|
71 |
+
/* Define to 1 when the gnulib module strverscmp should be tested. */
|
72 |
+
/* #undef GNULIB_TEST_STRVERSCMP */
|
73 |
+
|
74 |
+
/* Define to 1 when the gnulib module uninorm/u32-normalize should be tested.
|
75 |
+
*/
|
76 |
+
/* #undef GNULIB_TEST_UNINORM_U32_NORMALIZE */
|
77 |
+
|
78 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
79 |
+
whether the gnulib module unistr/u32-mbtouc-unsafe shall be considered
|
80 |
+
present. */
|
81 |
+
#define GNULIB_UNISTR_U32_MBTOUC_UNSAFE 1
|
82 |
+
|
83 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
84 |
+
whether the gnulib module unistr/u32-uctomb shall be considered present. */
|
85 |
+
#define GNULIB_UNISTR_U32_UCTOMB 1
|
86 |
+
|
87 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
88 |
+
whether the gnulib module unistr/u8-mbtouc shall be considered present. */
|
89 |
+
#define GNULIB_UNISTR_U8_MBTOUC 1
|
90 |
+
|
91 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
92 |
+
whether the gnulib module unistr/u8-mbtoucr shall be considered present. */
|
93 |
+
#define GNULIB_UNISTR_U8_MBTOUCR 1
|
94 |
+
|
95 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
96 |
+
whether the gnulib module unistr/u8-mbtouc-unsafe shall be considered
|
97 |
+
present. */
|
98 |
+
#define GNULIB_UNISTR_U8_MBTOUC_UNSAFE 1
|
99 |
+
|
100 |
+
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
101 |
+
whether the gnulib module unistr/u8-uctomb shall be considered present. */
|
102 |
+
#define GNULIB_UNISTR_U8_UCTOMB 1
|
103 |
+
|
104 |
+
/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
|
105 |
+
may be supplied by this distribution. */
|
106 |
+
#define HAVE_ALLOCA 1
|
107 |
+
|
108 |
+
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
109 |
+
*/
|
110 |
+
/* #undef HAVE_ALLOCA_H */
|
111 |
+
|
112 |
+
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
|
113 |
+
CoreFoundation framework. */
|
114 |
+
/* #undef HAVE_CFLOCALECOPYCURRENT */
|
115 |
+
|
116 |
+
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
117 |
+
the CoreFoundation framework. */
|
118 |
+
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
|
119 |
+
|
120 |
+
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
121 |
+
*/
|
122 |
+
#define HAVE_DCGETTEXT 1
|
123 |
+
|
124 |
+
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
125 |
+
don't. */
|
126 |
+
#define HAVE_DECL_GETC_UNLOCKED 0
|
127 |
+
|
128 |
+
/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
|
129 |
+
don't. */
|
130 |
+
#define HAVE_DECL_GETDELIM 0
|
131 |
+
|
132 |
+
/* Define to 1 if you have the declaration of `getline', and to 0 if you
|
133 |
+
don't. */
|
134 |
+
#define HAVE_DECL_GETLINE 0
|
135 |
+
|
136 |
+
/* Define to 1 if you have the declaration of `program_invocation_name', and
|
137 |
+
to 0 if you don't. */
|
138 |
+
#define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
|
139 |
+
|
140 |
+
/* Define to 1 if you have the declaration of `program_invocation_short_name',
|
141 |
+
and to 0 if you don't. */
|
142 |
+
#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
|
143 |
+
|
144 |
+
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
145 |
+
don't. */
|
146 |
+
#define HAVE_DECL_STRERROR_R 0
|
147 |
+
|
148 |
+
/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
|
149 |
+
*/
|
150 |
+
#define HAVE_DECL___ARGV 1
|
151 |
+
|
152 |
+
/* Define to 1 if you have the <dlfcn.h> header file. */
|
153 |
+
/* #undef HAVE_DLFCN_H */
|
154 |
+
|
155 |
+
/* Define to 1 if you have the `flockfile' function. */
|
156 |
+
/* #undef HAVE_FLOCKFILE */
|
157 |
+
|
158 |
+
/* Define to 1 if you have the `funlockfile' function. */
|
159 |
+
/* #undef HAVE_FUNLOCKFILE */
|
160 |
+
|
161 |
+
/* Define to 1 if you have the 'getdelim' function. */
|
162 |
+
/* #undef HAVE_GETDELIM */
|
163 |
+
|
164 |
+
/* Define to 1 if you have the 'getexecname' function. */
|
165 |
+
/* #undef HAVE_GETEXECNAME */
|
166 |
+
|
167 |
+
/* Define to 1 if you have the 'getprogname' function. */
|
168 |
+
/* #undef HAVE_GETPROGNAME */
|
169 |
+
|
170 |
+
/* Define if the GNU gettext() function is already present or preinstalled. */
|
171 |
+
#define HAVE_GETTEXT 1
|
172 |
+
|
173 |
+
/* Define if you have the iconv() function and it works. */
|
174 |
+
#define HAVE_ICONV 1
|
175 |
+
|
176 |
+
/* Define to 1 if you have the <iconv.h> header file. */
|
177 |
+
#define HAVE_ICONV_H 1
|
178 |
+
|
179 |
+
/* Define to 1 if the compiler supports one of the keywords 'inline',
|
180 |
+
'__inline__', '__inline' and effectively inlines functions marked as such.
|
181 |
+
*/
|
182 |
+
#define HAVE_INLINE 1
|
183 |
+
|
184 |
+
/* Define to 1 if you have the <inttypes.h> header file. */
|
185 |
+
#define HAVE_INTTYPES_H 1
|
186 |
+
|
187 |
+
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
188 |
+
/* #undef HAVE_LANGINFO_CODESET */
|
189 |
+
|
190 |
+
/* Define if you have the libunistring library. */
|
191 |
+
/* #undef HAVE_LIBUNISTRING */
|
192 |
+
|
193 |
+
/* Define to 1 if you have the <limits.h> header file. */
|
194 |
+
#define HAVE_LIMITS_H 1
|
195 |
+
|
196 |
+
/* Define to 1 if the system has the type 'long long int'. */
|
197 |
+
#define HAVE_LONG_LONG_INT 1
|
198 |
+
|
199 |
+
/* Define if the 'malloc' function is POSIX compliant. */
|
200 |
+
/* #undef HAVE_MALLOC_POSIX */
|
201 |
+
|
202 |
+
/* Define to 1 if you have the <memory.h> header file. */
|
203 |
+
#define HAVE_MEMORY_H 1
|
204 |
+
|
205 |
+
/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
|
206 |
+
concept. */
|
207 |
+
#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
|
208 |
+
|
209 |
+
/* Define to 1 if you have the `rawmemchr' function. */
|
210 |
+
/* #undef HAVE_RAWMEMCHR */
|
211 |
+
|
212 |
+
/* Define to 1 if atoll is declared even after undefining macros. */
|
213 |
+
#define HAVE_RAW_DECL_ATOLL 1
|
214 |
+
|
215 |
+
/* Define to 1 if canonicalize_file_name is declared even after undefining
|
216 |
+
macros. */
|
217 |
+
/* #undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME */
|
218 |
+
|
219 |
+
/* Define to 1 if chdir is declared even after undefining macros. */
|
220 |
+
/* #undef HAVE_RAW_DECL_CHDIR */
|
221 |
+
|
222 |
+
/* Define to 1 if chown is declared even after undefining macros. */
|
223 |
+
/* #undef HAVE_RAW_DECL_CHOWN */
|
224 |
+
|
225 |
+
/* Define to 1 if dprintf is declared even after undefining macros. */
|
226 |
+
/* #undef HAVE_RAW_DECL_DPRINTF */
|
227 |
+
|
228 |
+
/* Define to 1 if dup is declared even after undefining macros. */
|
229 |
+
/* #undef HAVE_RAW_DECL_DUP */
|
230 |
+
|
231 |
+
/* Define to 1 if dup2 is declared even after undefining macros. */
|
232 |
+
/* #undef HAVE_RAW_DECL_DUP2 */
|
233 |
+
|
234 |
+
/* Define to 1 if dup3 is declared even after undefining macros. */
|
235 |
+
/* #undef HAVE_RAW_DECL_DUP3 */
|
236 |
+
|
237 |
+
/* Define to 1 if endusershell is declared even after undefining macros. */
|
238 |
+
/* #undef HAVE_RAW_DECL_ENDUSERSHELL */
|
239 |
+
|
240 |
+
/* Define to 1 if environ is declared even after undefining macros. */
|
241 |
+
/* #undef HAVE_RAW_DECL_ENVIRON */
|
242 |
+
|
243 |
+
/* Define to 1 if euidaccess is declared even after undefining macros. */
|
244 |
+
/* #undef HAVE_RAW_DECL_EUIDACCESS */
|
245 |
+
|
246 |
+
/* Define to 1 if faccessat is declared even after undefining macros. */
|
247 |
+
/* #undef HAVE_RAW_DECL_FACCESSAT */
|
248 |
+
|
249 |
+
/* Define to 1 if fchdir is declared even after undefining macros. */
|
250 |
+
/* #undef HAVE_RAW_DECL_FCHDIR */
|
251 |
+
|
252 |
+
/* Define to 1 if fchownat is declared even after undefining macros. */
|
253 |
+
/* #undef HAVE_RAW_DECL_FCHOWNAT */
|
254 |
+
|
255 |
+
/* Define to 1 if fdatasync is declared even after undefining macros. */
|
256 |
+
/* #undef HAVE_RAW_DECL_FDATASYNC */
|
257 |
+
|
258 |
+
/* Define to 1 if ffsl is declared even after undefining macros. */
|
259 |
+
/* #undef HAVE_RAW_DECL_FFSL */
|
260 |
+
|
261 |
+
/* Define to 1 if ffsll is declared even after undefining macros. */
|
262 |
+
/* #undef HAVE_RAW_DECL_FFSLL */
|
263 |
+
|
264 |
+
/* Define to 1 if fpurge is declared even after undefining macros. */
|
265 |
+
/* #undef HAVE_RAW_DECL_FPURGE */
|
266 |
+
|
267 |
+
/* Define to 1 if fseeko is declared even after undefining macros. */
|
268 |
+
#define HAVE_RAW_DECL_FSEEKO 1
|
269 |
+
|
270 |
+
/* Define to 1 if fsync is declared even after undefining macros. */
|
271 |
+
/* #undef HAVE_RAW_DECL_FSYNC */
|
272 |
+
|
273 |
+
/* Define to 1 if ftello is declared even after undefining macros. */
|
274 |
+
#define HAVE_RAW_DECL_FTELLO 1
|
275 |
+
|
276 |
+
/* Define to 1 if ftruncate is declared even after undefining macros. */
|
277 |
+
#define HAVE_RAW_DECL_FTRUNCATE 1
|
278 |
+
|
279 |
+
/* Define to 1 if getcwd is declared even after undefining macros. */
|
280 |
+
/* #undef HAVE_RAW_DECL_GETCWD */
|
281 |
+
|
282 |
+
/* Define to 1 if getdelim is declared even after undefining macros. */
|
283 |
+
/* #undef HAVE_RAW_DECL_GETDELIM */
|
284 |
+
|
285 |
+
/* Define to 1 if getdomainname is declared even after undefining macros. */
|
286 |
+
/* #undef HAVE_RAW_DECL_GETDOMAINNAME */
|
287 |
+
|
288 |
+
/* Define to 1 if getdtablesize is declared even after undefining macros. */
|
289 |
+
/* #undef HAVE_RAW_DECL_GETDTABLESIZE */
|
290 |
+
|
291 |
+
/* Define to 1 if getgroups is declared even after undefining macros. */
|
292 |
+
/* #undef HAVE_RAW_DECL_GETGROUPS */
|
293 |
+
|
294 |
+
/* Define to 1 if gethostname is declared even after undefining macros. */
|
295 |
+
/* #undef HAVE_RAW_DECL_GETHOSTNAME */
|
296 |
+
|
297 |
+
/* Define to 1 if getline is declared even after undefining macros. */
|
298 |
+
/* #undef HAVE_RAW_DECL_GETLINE */
|
299 |
+
|
300 |
+
/* Define to 1 if getloadavg is declared even after undefining macros. */
|
301 |
+
/* #undef HAVE_RAW_DECL_GETLOADAVG */
|
302 |
+
|
303 |
+
/* Define to 1 if getlogin is declared even after undefining macros. */
|
304 |
+
/* #undef HAVE_RAW_DECL_GETLOGIN */
|
305 |
+
|
306 |
+
/* Define to 1 if getlogin_r is declared even after undefining macros. */
|
307 |
+
/* #undef HAVE_RAW_DECL_GETLOGIN_R */
|
308 |
+
|
309 |
+
/* Define to 1 if getpagesize is declared even after undefining macros. */
|
310 |
+
/* #undef HAVE_RAW_DECL_GETPAGESIZE */
|
311 |
+
|
312 |
+
/* Define to 1 if gets is declared even after undefining macros. */
|
313 |
+
/* #undef HAVE_RAW_DECL_GETS */
|
314 |
+
|
315 |
+
/* Define to 1 if getsubopt is declared even after undefining macros. */
|
316 |
+
/* #undef HAVE_RAW_DECL_GETSUBOPT */
|
317 |
+
|
318 |
+
/* Define to 1 if getusershell is declared even after undefining macros. */
|
319 |
+
/* #undef HAVE_RAW_DECL_GETUSERSHELL */
|
320 |
+
|
321 |
+
/* Define to 1 if grantpt is declared even after undefining macros. */
|
322 |
+
/* #undef HAVE_RAW_DECL_GRANTPT */
|
323 |
+
|
324 |
+
/* Define to 1 if group_member is declared even after undefining macros. */
|
325 |
+
/* #undef HAVE_RAW_DECL_GROUP_MEMBER */
|
326 |
+
|
327 |
+
/* Define to 1 if initstate is declared even after undefining macros. */
|
328 |
+
/* #undef HAVE_RAW_DECL_INITSTATE */
|
329 |
+
|
330 |
+
/* Define to 1 if initstate_r is declared even after undefining macros. */
|
331 |
+
/* #undef HAVE_RAW_DECL_INITSTATE_R */
|
332 |
+
|
333 |
+
/* Define to 1 if isatty is declared even after undefining macros. */
|
334 |
+
/* #undef HAVE_RAW_DECL_ISATTY */
|
335 |
+
|
336 |
+
/* Define to 1 if lchown is declared even after undefining macros. */
|
337 |
+
/* #undef HAVE_RAW_DECL_LCHOWN */
|
338 |
+
|
339 |
+
/* Define to 1 if link is declared even after undefining macros. */
|
340 |
+
/* #undef HAVE_RAW_DECL_LINK */
|
341 |
+
|
342 |
+
/* Define to 1 if linkat is declared even after undefining macros. */
|
343 |
+
/* #undef HAVE_RAW_DECL_LINKAT */
|
344 |
+
|
345 |
+
/* Define to 1 if lseek is declared even after undefining macros. */
|
346 |
+
/* #undef HAVE_RAW_DECL_LSEEK */
|
347 |
+
|
348 |
+
/* Define to 1 if memmem is declared even after undefining macros. */
|
349 |
+
/* #undef HAVE_RAW_DECL_MEMMEM */
|
350 |
+
|
351 |
+
/* Define to 1 if mempcpy is declared even after undefining macros. */
|
352 |
+
/* #undef HAVE_RAW_DECL_MEMPCPY */
|
353 |
+
|
354 |
+
/* Define to 1 if memrchr is declared even after undefining macros. */
|
355 |
+
/* #undef HAVE_RAW_DECL_MEMRCHR */
|
356 |
+
|
357 |
+
/* Define to 1 if mkdtemp is declared even after undefining macros. */
|
358 |
+
/* #undef HAVE_RAW_DECL_MKDTEMP */
|
359 |
+
|
360 |
+
/* Define to 1 if mkostemp is declared even after undefining macros. */
|
361 |
+
/* #undef HAVE_RAW_DECL_MKOSTEMP */
|
362 |
+
|
363 |
+
/* Define to 1 if mkostemps is declared even after undefining macros. */
|
364 |
+
/* #undef HAVE_RAW_DECL_MKOSTEMPS */
|
365 |
+
|
366 |
+
/* Define to 1 if mkstemp is declared even after undefining macros. */
|
367 |
+
/* #undef HAVE_RAW_DECL_MKSTEMP */
|
368 |
+
|
369 |
+
/* Define to 1 if mkstemps is declared even after undefining macros. */
|
370 |
+
/* #undef HAVE_RAW_DECL_MKSTEMPS */
|
371 |
+
|
372 |
+
/* Define to 1 if pclose is declared even after undefining macros. */
|
373 |
+
/* #undef HAVE_RAW_DECL_PCLOSE */
|
374 |
+
|
375 |
+
/* Define to 1 if pipe is declared even after undefining macros. */
|
376 |
+
/* #undef HAVE_RAW_DECL_PIPE */
|
377 |
+
|
378 |
+
/* Define to 1 if pipe2 is declared even after undefining macros. */
|
379 |
+
/* #undef HAVE_RAW_DECL_PIPE2 */
|
380 |
+
|
381 |
+
/* Define to 1 if popen is declared even after undefining macros. */
|
382 |
+
/* #undef HAVE_RAW_DECL_POPEN */
|
383 |
+
|
384 |
+
/* Define to 1 if posix_openpt is declared even after undefining macros. */
|
385 |
+
/* #undef HAVE_RAW_DECL_POSIX_OPENPT */
|
386 |
+
|
387 |
+
/* Define to 1 if pread is declared even after undefining macros. */
|
388 |
+
/* #undef HAVE_RAW_DECL_PREAD */
|
389 |
+
|
390 |
+
/* Define to 1 if ptsname is declared even after undefining macros. */
|
391 |
+
/* #undef HAVE_RAW_DECL_PTSNAME */
|
392 |
+
|
393 |
+
/* Define to 1 if ptsname_r is declared even after undefining macros. */
|
394 |
+
/* #undef HAVE_RAW_DECL_PTSNAME_R */
|
395 |
+
|
396 |
+
/* Define to 1 if pwrite is declared even after undefining macros. */
|
397 |
+
/* #undef HAVE_RAW_DECL_PWRITE */
|
398 |
+
|
399 |
+
/* Define to 1 if qsort_r is declared even after undefining macros. */
|
400 |
+
/* #undef HAVE_RAW_DECL_QSORT_R */
|
401 |
+
|
402 |
+
/* Define to 1 if random is declared even after undefining macros. */
|
403 |
+
/* #undef HAVE_RAW_DECL_RANDOM */
|
404 |
+
|
405 |
+
/* Define to 1 if random_r is declared even after undefining macros. */
|
406 |
+
/* #undef HAVE_RAW_DECL_RANDOM_R */
|
407 |
+
|
408 |
+
/* Define to 1 if rawmemchr is declared even after undefining macros. */
|
409 |
+
/* #undef HAVE_RAW_DECL_RAWMEMCHR */
|
410 |
+
|
411 |
+
/* Define to 1 if readlink is declared even after undefining macros. */
|
412 |
+
/* #undef HAVE_RAW_DECL_READLINK */
|
413 |
+
|
414 |
+
/* Define to 1 if readlinkat is declared even after undefining macros. */
|
415 |
+
/* #undef HAVE_RAW_DECL_READLINKAT */
|
416 |
+
|
417 |
+
/* Define to 1 if realpath is declared even after undefining macros. */
|
418 |
+
/* #undef HAVE_RAW_DECL_REALPATH */
|
419 |
+
|
420 |
+
/* Define to 1 if renameat is declared even after undefining macros. */
|
421 |
+
/* #undef HAVE_RAW_DECL_RENAMEAT */
|
422 |
+
|
423 |
+
/* Define to 1 if rmdir is declared even after undefining macros. */
|
424 |
+
/* #undef HAVE_RAW_DECL_RMDIR */
|
425 |
+
|
426 |
+
/* Define to 1 if rpmatch is declared even after undefining macros. */
|
427 |
+
/* #undef HAVE_RAW_DECL_RPMATCH */
|
428 |
+
|
429 |
+
/* Define to 1 if secure_getenv is declared even after undefining macros. */
|
430 |
+
/* #undef HAVE_RAW_DECL_SECURE_GETENV */
|
431 |
+
|
432 |
+
/* Define to 1 if setenv is declared even after undefining macros. */
|
433 |
+
/* #undef HAVE_RAW_DECL_SETENV */
|
434 |
+
|
435 |
+
/* Define to 1 if sethostname is declared even after undefining macros. */
|
436 |
+
/* #undef HAVE_RAW_DECL_SETHOSTNAME */
|
437 |
+
|
438 |
+
/* Define to 1 if setstate is declared even after undefining macros. */
|
439 |
+
/* #undef HAVE_RAW_DECL_SETSTATE */
|
440 |
+
|
441 |
+
/* Define to 1 if setstate_r is declared even after undefining macros. */
|
442 |
+
/* #undef HAVE_RAW_DECL_SETSTATE_R */
|
443 |
+
|
444 |
+
/* Define to 1 if setusershell is declared even after undefining macros. */
|
445 |
+
/* #undef HAVE_RAW_DECL_SETUSERSHELL */
|
446 |
+
|
447 |
+
/* Define to 1 if sleep is declared even after undefining macros. */
|
448 |
+
#define HAVE_RAW_DECL_SLEEP 1
|
449 |
+
|
450 |
+
/* Define to 1 if snprintf is declared even after undefining macros. */
|
451 |
+
#define HAVE_RAW_DECL_SNPRINTF 1
|
452 |
+
|
453 |
+
/* Define to 1 if srandom is declared even after undefining macros. */
|
454 |
+
/* #undef HAVE_RAW_DECL_SRANDOM */
|
455 |
+
|
456 |
+
/* Define to 1 if srandom_r is declared even after undefining macros. */
|
457 |
+
/* #undef HAVE_RAW_DECL_SRANDOM_R */
|
458 |
+
|
459 |
+
/* Define to 1 if stpcpy is declared even after undefining macros. */
|
460 |
+
/* #undef HAVE_RAW_DECL_STPCPY */
|
461 |
+
|
462 |
+
/* Define to 1 if stpncpy is declared even after undefining macros. */
|
463 |
+
/* #undef HAVE_RAW_DECL_STPNCPY */
|
464 |
+
|
465 |
+
/* Define to 1 if strcasestr is declared even after undefining macros. */
|
466 |
+
/* #undef HAVE_RAW_DECL_STRCASESTR */
|
467 |
+
|
468 |
+
/* Define to 1 if strchrnul is declared even after undefining macros. */
|
469 |
+
/* #undef HAVE_RAW_DECL_STRCHRNUL */
|
470 |
+
|
471 |
+
/* Define to 1 if strdup is declared even after undefining macros. */
|
472 |
+
#define HAVE_RAW_DECL_STRDUP 1
|
473 |
+
|
474 |
+
/* Define to 1 if strerror_r is declared even after undefining macros. */
|
475 |
+
/* #undef HAVE_RAW_DECL_STRERROR_R */
|
476 |
+
|
477 |
+
/* Define to 1 if strncat is declared even after undefining macros. */
|
478 |
+
#define HAVE_RAW_DECL_STRNCAT 1
|
479 |
+
|
480 |
+
/* Define to 1 if strndup is declared even after undefining macros. */
|
481 |
+
/* #undef HAVE_RAW_DECL_STRNDUP */
|
482 |
+
|
483 |
+
/* Define to 1 if strnlen is declared even after undefining macros. */
|
484 |
+
#define HAVE_RAW_DECL_STRNLEN 1
|
485 |
+
|
486 |
+
/* Define to 1 if strpbrk is declared even after undefining macros. */
|
487 |
+
/* #undef HAVE_RAW_DECL_STRPBRK */
|
488 |
+
|
489 |
+
/* Define to 1 if strsep is declared even after undefining macros. */
|
490 |
+
/* #undef HAVE_RAW_DECL_STRSEP */
|
491 |
+
|
492 |
+
/* Define to 1 if strsignal is declared even after undefining macros. */
|
493 |
+
/* #undef HAVE_RAW_DECL_STRSIGNAL */
|
494 |
+
|
495 |
+
/* Define to 1 if strtod is declared even after undefining macros. */
|
496 |
+
#define HAVE_RAW_DECL_STRTOD 1
|
497 |
+
|
498 |
+
/* Define to 1 if strtok_r is declared even after undefining macros. */
|
499 |
+
/* #undef HAVE_RAW_DECL_STRTOK_R */
|
500 |
+
|
501 |
+
/* Define to 1 if strtoll is declared even after undefining macros. */
|
502 |
+
/* #undef HAVE_RAW_DECL_STRTOLL */
|
503 |
+
|
504 |
+
/* Define to 1 if strtoull is declared even after undefining macros. */
|
505 |
+
/* #undef HAVE_RAW_DECL_STRTOULL */
|
506 |
+
|
507 |
+
/* Define to 1 if strverscmp is declared even after undefining macros. */
|
508 |
+
/* #undef HAVE_RAW_DECL_STRVERSCMP */
|
509 |
+
|
510 |
+
/* Define to 1 if symlink is declared even after undefining macros. */
|
511 |
+
/* #undef HAVE_RAW_DECL_SYMLINK */
|
512 |
+
|
513 |
+
/* Define to 1 if symlinkat is declared even after undefining macros. */
|
514 |
+
/* #undef HAVE_RAW_DECL_SYMLINKAT */
|
515 |
+
|
516 |
+
/* Define to 1 if tmpfile is declared even after undefining macros. */
|
517 |
+
/* #undef HAVE_RAW_DECL_TMPFILE */
|
518 |
+
|
519 |
+
/* Define to 1 if truncate is declared even after undefining macros. */
|
520 |
+
#define HAVE_RAW_DECL_TRUNCATE 1
|
521 |
+
|
522 |
+
/* Define to 1 if ttyname_r is declared even after undefining macros. */
|
523 |
+
/* #undef HAVE_RAW_DECL_TTYNAME_R */
|
524 |
+
|
525 |
+
/* Define to 1 if unlink is declared even after undefining macros. */
|
526 |
+
#define HAVE_RAW_DECL_UNLINK 1
|
527 |
+
|
528 |
+
/* Define to 1 if unlinkat is declared even after undefining macros. */
|
529 |
+
/* #undef HAVE_RAW_DECL_UNLINKAT */
|
530 |
+
|
531 |
+
/* Define to 1 if unlockpt is declared even after undefining macros. */
|
532 |
+
/* #undef HAVE_RAW_DECL_UNLOCKPT */
|
533 |
+
|
534 |
+
/* Define to 1 if unsetenv is declared even after undefining macros. */
|
535 |
+
/* #undef HAVE_RAW_DECL_UNSETENV */
|
536 |
+
|
537 |
+
/* Define to 1 if usleep is declared even after undefining macros. */
|
538 |
+
#define HAVE_RAW_DECL_USLEEP 1
|
539 |
+
|
540 |
+
/* Define to 1 if vdprintf is declared even after undefining macros. */
|
541 |
+
/* #undef HAVE_RAW_DECL_VDPRINTF */
|
542 |
+
|
543 |
+
/* Define to 1 if vsnprintf is declared even after undefining macros. */
|
544 |
+
#define HAVE_RAW_DECL_VSNPRINTF 1
|
545 |
+
|
546 |
+
/* Define to 1 if _Exit is declared even after undefining macros. */
|
547 |
+
#define HAVE_RAW_DECL__EXIT 1
|
548 |
+
|
549 |
+
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
|
550 |
+
/* #undef HAVE_SIGNED_SIG_ATOMIC_T */
|
551 |
+
|
552 |
+
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
553 |
+
/* #undef HAVE_SIGNED_WCHAR_T */
|
554 |
+
|
555 |
+
/* Define to 1 if 'wint_t' is a signed integer type. */
|
556 |
+
/* #undef HAVE_SIGNED_WINT_T */
|
557 |
+
|
558 |
+
/* Define to 1 if you have the <stdint.h> header file. */
|
559 |
+
#define HAVE_STDINT_H 1
|
560 |
+
|
561 |
+
/* Define to 1 if you have the <stdlib.h> header file. */
|
562 |
+
#define HAVE_STDLIB_H 1
|
563 |
+
|
564 |
+
/* Define to 1 if you have the `strchrnul' function. */
|
565 |
+
/* #undef HAVE_STRCHRNUL */
|
566 |
+
|
567 |
+
/* Define to 1 if you have the `strerror_r' function. */
|
568 |
+
/* #undef HAVE_STRERROR_R */
|
569 |
+
|
570 |
+
/* Define to 1 if you have the <strings.h> header file. */
|
571 |
+
/* #undef HAVE_STRINGS_H */
|
572 |
+
|
573 |
+
/* Define to 1 if you have the <string.h> header file. */
|
574 |
+
#define HAVE_STRING_H 1
|
575 |
+
|
576 |
+
/* Define to 1 if you have the `strverscmp' function. */
|
577 |
+
/* #undef HAVE_STRVERSCMP */
|
578 |
+
|
579 |
+
/* Define to 1 if you have the 'symlink' function. */
|
580 |
+
/* #undef HAVE_SYMLINK */
|
581 |
+
|
582 |
+
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
583 |
+
/* #undef HAVE_SYS_BITYPES_H */
|
584 |
+
|
585 |
+
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
586 |
+
/* #undef HAVE_SYS_INTTYPES_H */
|
587 |
+
|
588 |
+
/* Define to 1 if you have the <sys/socket.h> header file. */
|
589 |
+
/* #undef HAVE_SYS_SOCKET_H */
|
590 |
+
|
591 |
+
/* Define to 1 if you have the <sys/stat.h> header file. */
|
592 |
+
#define HAVE_SYS_STAT_H 1
|
593 |
+
|
594 |
+
/* Define to 1 if you have the <sys/types.h> header file. */
|
595 |
+
#define HAVE_SYS_TYPES_H 1
|
596 |
+
|
597 |
+
/* Define to 1 if you have the <unistd.h> header file. */
|
598 |
+
/* #undef HAVE_UNISTD_H */
|
599 |
+
|
600 |
+
/* Define to 1 if the system has the type 'unsigned long long int'. */
|
601 |
+
#define HAVE_UNSIGNED_LONG_LONG_INT 1
|
602 |
+
|
603 |
+
/* Define if you have a global __progname variable */
|
604 |
+
/* #undef HAVE_VAR___PROGNAME */
|
605 |
+
|
606 |
+
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
607 |
+
declarations. */
|
608 |
+
/* #undef HAVE_VISIBILITY */
|
609 |
+
|
610 |
+
/* Define to 1 if you have the <wchar.h> header file. */
|
611 |
+
#define HAVE_WCHAR_H 1
|
612 |
+
|
613 |
+
/* Define if you have the 'wchar_t' type. */
|
614 |
+
#define HAVE_WCHAR_T 1
|
615 |
+
|
616 |
+
/* Define to 1 if you have the <winsock2.h> header file. */
|
617 |
+
#define HAVE_WINSOCK2_H 1
|
618 |
+
|
619 |
+
/* Define if you have the 'wint_t' type. */
|
620 |
+
#define HAVE_WINT_T 1
|
621 |
+
|
622 |
+
/* Define to 1 if O_NOATIME works. */
|
623 |
+
#define HAVE_WORKING_O_NOATIME 0
|
624 |
+
|
625 |
+
/* Define to 1 if O_NOFOLLOW works. */
|
626 |
+
#define HAVE_WORKING_O_NOFOLLOW 0
|
627 |
+
|
628 |
+
/* Define to 1 if the system has the type `_Bool'. */
|
629 |
+
#define HAVE__BOOL 1
|
630 |
+
|
631 |
+
/* Define to 1 if you have the '_set_invalid_parameter_handler' function. */
|
632 |
+
#define HAVE__SET_INVALID_PARAMETER_HANDLER 1
|
633 |
+
|
634 |
+
/* Define as const if the declaration of iconv() needs const. */
|
635 |
+
#define ICONV_CONST
|
636 |
+
|
637 |
+
/* Define to a symbolic name denoting the flavor of iconv_open()
|
638 |
+
implementation. */
|
639 |
+
/* #undef ICONV_FLAVOR */
|
640 |
+
|
641 |
+
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
642 |
+
#define LT_OBJDIR ".libs/"
|
643 |
+
|
644 |
+
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
645 |
+
#define MALLOC_0_IS_NONNULL 1
|
646 |
+
|
647 |
+
/* Use GNU style printf and scanf. */
|
648 |
+
#ifndef __USE_MINGW_ANSI_STDIO
|
649 |
+
# define __USE_MINGW_ANSI_STDIO 1
|
650 |
+
#endif
|
651 |
+
|
652 |
+
|
653 |
+
/* Name of package */
|
654 |
+
#define PACKAGE "libidn2"
|
655 |
+
|
656 |
+
/* Define to the address where bug reports for this package should be sent. */
|
657 |
+
#define PACKAGE_BUGREPORT "[email protected]"
|
658 |
+
|
659 |
+
/* Define to the full name of this package. */
|
660 |
+
#define PACKAGE_NAME "libidn2"
|
661 |
+
|
662 |
+
/* String identifying the packager of this software */
|
663 |
+
/* #undef PACKAGE_PACKAGER */
|
664 |
+
|
665 |
+
/* Packager info for bug reports (URL/e-mail/...) */
|
666 |
+
/* #undef PACKAGE_PACKAGER_BUG_REPORTS */
|
667 |
+
|
668 |
+
/* Packager-specific version information */
|
669 |
+
/* #undef PACKAGE_PACKAGER_VERSION */
|
670 |
+
|
671 |
+
/* Define to the full name and version of this package. */
|
672 |
+
#define PACKAGE_STRING "libidn2 @IDN2_VERSION@"
|
673 |
+
|
674 |
+
/* Define to the one symbol short name of this package. */
|
675 |
+
#define PACKAGE_TARNAME "libidn2"
|
676 |
+
|
677 |
+
/* Define to the home page for this package. */
|
678 |
+
#define PACKAGE_URL "https://www.gnu.org/software/libidn/#libidn2"
|
679 |
+
|
680 |
+
/* Define to the version of this package. */
|
681 |
+
#define PACKAGE_VERSION "@IDN2_VERSION@"
|
682 |
+
|
683 |
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
684 |
+
'ptrdiff_t'. */
|
685 |
+
/* #undef PTRDIFF_T_SUFFIX */
|
686 |
+
|
687 |
+
/* Define to 1 if strerror(0) does not return a message implying success. */
|
688 |
+
/* #undef REPLACE_STRERROR_0 */
|
689 |
+
|
690 |
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
691 |
+
'sig_atomic_t'. */
|
692 |
+
/* #undef SIG_ATOMIC_T_SUFFIX */
|
693 |
+
|
694 |
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
695 |
+
'size_t'. */
|
696 |
+
/* #undef SIZE_T_SUFFIX */
|
697 |
+
|
698 |
+
/* If using the C implementation of alloca, define if you know the
|
699 |
+
direction of stack growth for your system; otherwise it will be
|
700 |
+
automatically deduced at runtime.
|
701 |
+
STACK_DIRECTION > 0 => grows toward higher addresses
|
702 |
+
STACK_DIRECTION < 0 => grows toward lower addresses
|
703 |
+
STACK_DIRECTION = 0 => direction of growth unknown */
|
704 |
+
/* #undef STACK_DIRECTION */
|
705 |
+
|
706 |
+
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
707 |
+
/* #undef STAT_MACROS_BROKEN */
|
708 |
+
|
709 |
+
/* Define to 1 if you have the ANSI C header files. */
|
710 |
+
#define STDC_HEADERS 1
|
711 |
+
|
712 |
+
/* Define to 1 if strerror_r returns char *. */
|
713 |
+
/* #undef STRERROR_R_CHAR_P */
|
714 |
+
|
715 |
+
/* Define to 1 if the type of the st_atim member of a struct stat is struct
|
716 |
+
timespec. */
|
717 |
+
/* #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC */
|
718 |
+
|
719 |
+
/* Enable extensions on AIX 3, Interix. */
|
720 |
+
#ifndef _ALL_SOURCE
|
721 |
+
# define _ALL_SOURCE 1
|
722 |
+
#endif
|
723 |
+
/* Enable general extensions on macOS. */
|
724 |
+
#ifndef _DARWIN_C_SOURCE
|
725 |
+
# define _DARWIN_C_SOURCE 1
|
726 |
+
#endif
|
727 |
+
/* Enable general extensions on Solaris. */
|
728 |
+
#ifndef __EXTENSIONS__
|
729 |
+
/* # undef __EXTENSIONS__ */
|
730 |
+
#endif
|
731 |
+
/* Enable GNU extensions on systems that have them. */
|
732 |
+
#ifndef _GNU_SOURCE
|
733 |
+
# define _GNU_SOURCE 1
|
734 |
+
#endif
|
735 |
+
/* Enable X/Open compliant socket functions that do not require linking
|
736 |
+
with -lxnet on HP-UX 11.11. */
|
737 |
+
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
|
738 |
+
/* # undef _HPUX_ALT_XOPEN_SOCKET_API */
|
739 |
+
#endif
|
740 |
+
/* Identify the host operating system as Minix.
|
741 |
+
This macro does not affect the system headers' behavior.
|
742 |
+
A future release of Autoconf may stop defining this macro. */
|
743 |
+
#ifndef _MINIX
|
744 |
+
/* # undef _MINIX */
|
745 |
+
#endif
|
746 |
+
/* Enable general extensions on NetBSD.
|
747 |
+
Enable NetBSD compatibility extensions on Minix. */
|
748 |
+
#ifndef _NETBSD_SOURCE
|
749 |
+
/* # undef _NETBSD_SOURCE */
|
750 |
+
#endif
|
751 |
+
/* Enable OpenBSD compatibility extensions on NetBSD.
|
752 |
+
Oddly enough, this does nothing on OpenBSD. */
|
753 |
+
#ifndef _OPENBSD_SOURCE
|
754 |
+
/* # undef _OPENBSD_SOURCE */
|
755 |
+
#endif
|
756 |
+
/* Define to 1 if needed for POSIX-compatible behavior. */
|
757 |
+
#ifndef _POSIX_SOURCE
|
758 |
+
/* # undef _POSIX_SOURCE */
|
759 |
+
#endif
|
760 |
+
/* Define to 2 if needed for POSIX-compatible behavior. */
|
761 |
+
#ifndef _POSIX_1_SOURCE
|
762 |
+
/* # undef _POSIX_1_SOURCE */
|
763 |
+
#endif
|
764 |
+
/* Enable POSIX-compatible threading on Solaris. */
|
765 |
+
#ifndef _POSIX_PTHREAD_SEMANTICS
|
766 |
+
# define _POSIX_PTHREAD_SEMANTICS 1
|
767 |
+
#endif
|
768 |
+
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
769 |
+
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
770 |
+
# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
|
771 |
+
#endif
|
772 |
+
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
773 |
+
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
774 |
+
# define __STDC_WANT_IEC_60559_BFP_EXT__ 1
|
775 |
+
#endif
|
776 |
+
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
777 |
+
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
778 |
+
# define __STDC_WANT_IEC_60559_DFP_EXT__ 1
|
779 |
+
#endif
|
780 |
+
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
781 |
+
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
782 |
+
# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
|
783 |
+
#endif
|
784 |
+
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
|
785 |
+
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
786 |
+
# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
|
787 |
+
#endif
|
788 |
+
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
789 |
+
#ifndef __STDC_WANT_LIB_EXT2__
|
790 |
+
# define __STDC_WANT_LIB_EXT2__ 1
|
791 |
+
#endif
|
792 |
+
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
793 |
+
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
794 |
+
# define __STDC_WANT_MATH_SPEC_FUNCS__ 1
|
795 |
+
#endif
|
796 |
+
/* Enable extensions on HP NonStop. */
|
797 |
+
#ifndef _TANDEM_SOURCE
|
798 |
+
# define _TANDEM_SOURCE 1
|
799 |
+
#endif
|
800 |
+
/* Enable X/Open extensions. Define to 500 only if necessary
|
801 |
+
to make mbstate_t available. */
|
802 |
+
#ifndef _XOPEN_SOURCE
|
803 |
+
/* # undef _XOPEN_SOURCE */
|
804 |
+
#endif
|
805 |
+
|
806 |
+
|
807 |
+
/* Version number of package */
|
808 |
+
#define VERSION "@IDN2_VERSION@"
|
809 |
+
|
810 |
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
811 |
+
'wchar_t'. */
|
812 |
+
/* #undef WCHAR_T_SUFFIX */
|
813 |
+
|
814 |
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
815 |
+
'wint_t'. */
|
816 |
+
/* #undef WINT_T_SUFFIX */
|
817 |
+
|
818 |
+
/* Number of bits in a file offset, on hosts where this is settable. */
|
819 |
+
/* #undef _FILE_OFFSET_BITS */
|
820 |
+
|
821 |
+
/* True if the compiler says it groks GNU C version MAJOR.MINOR. */
|
822 |
+
#if defined __GNUC__ && defined __GNUC_MINOR__
|
823 |
+
# define _GL_GNUC_PREREQ(major, minor) \
|
824 |
+
((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
|
825 |
+
#else
|
826 |
+
# define _GL_GNUC_PREREQ(major, minor) 0
|
827 |
+
#endif
|
828 |
+
|
829 |
+
|
830 |
+
/* Define to enable the declarations of ISO C 11 types and functions. */
|
831 |
+
/* #undef _ISOC11_SOURCE */
|
832 |
+
|
833 |
+
/* Define for large files, on AIX-style hosts. */
|
834 |
+
/* #undef _LARGE_FILES */
|
835 |
+
|
836 |
+
/* The _Noreturn keyword of C11. */
|
837 |
+
#ifndef _Noreturn
|
838 |
+
# if (defined __cplusplus \
|
839 |
+
&& ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
|
840 |
+
|| (defined _MSC_VER && 1900 <= _MSC_VER)) \
|
841 |
+
&& 0)
|
842 |
+
/* [[noreturn]] is not practically usable, because with it the syntax
|
843 |
+
extern _Noreturn void func (...);
|
844 |
+
would not be valid; such a declaration would only be valid with 'extern'
|
845 |
+
and '_Noreturn' swapped, or without the 'extern' keyword. However, some
|
846 |
+
AIX system header files and several gnulib header files use precisely
|
847 |
+
this syntax with 'extern'. */
|
848 |
+
# define _Noreturn [[noreturn]]
|
849 |
+
# elif ((!defined __cplusplus || defined __clang__) \
|
850 |
+
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|
851 |
+
|| (!defined __STRICT_ANSI__ \
|
852 |
+
&& (_GL_GNUC_PREREQ (4, 7) \
|
853 |
+
|| (defined __apple_build_version__ \
|
854 |
+
? 6000000 <= __apple_build_version__ \
|
855 |
+
: 3 < __clang_major__ + (5 <= __clang_minor__))))))
|
856 |
+
/* _Noreturn works as-is. */
|
857 |
+
# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
|
858 |
+
# define _Noreturn __attribute__ ((__noreturn__))
|
859 |
+
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
|
860 |
+
# define _Noreturn __declspec (noreturn)
|
861 |
+
# else
|
862 |
+
# define _Noreturn
|
863 |
+
# endif
|
864 |
+
#endif
|
865 |
+
|
866 |
+
|
867 |
+
/* For standard stat data types on VMS. */
|
868 |
+
#define _USE_STD_STAT 1
|
869 |
+
|
870 |
+
/* Define to rpl_ if the getopt replacement functions and variables should be
|
871 |
+
used. */
|
872 |
+
/* #undef __GETOPT_PREFIX */
|
873 |
+
|
874 |
+
/* Define to 1 if the system <stdint.h> predates C++11. */
|
875 |
+
/* #undef __STDC_CONSTANT_MACROS */
|
876 |
+
|
877 |
+
/* Define to 1 if the system <stdint.h> predates C++11. */
|
878 |
+
/* #undef __STDC_LIMIT_MACROS */
|
879 |
+
|
880 |
+
/* The _GL_ASYNC_SAFE marker should be attached to functions that are
|
881 |
+
signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
|
882 |
+
invoked from such signal handlers. Such functions have some restrictions:
|
883 |
+
* All functions that it calls should be marked _GL_ASYNC_SAFE as well,
|
884 |
+
or should be listed as async-signal-safe in POSIX
|
885 |
+
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
|
886 |
+
section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
|
887 |
+
particular, are NOT async-signal-safe.
|
888 |
+
* All memory locations (variables and struct fields) that these functions
|
889 |
+
access must be marked 'volatile'. This holds for both read and write
|
890 |
+
accesses. Otherwise the compiler might optimize away stores to and
|
891 |
+
reads from such locations that occur in the program, depending on its
|
892 |
+
data flow analysis. For example, when the program contains a loop
|
893 |
+
that is intended to inspect a variable set from within a signal handler
|
894 |
+
while (!signal_occurred)
|
895 |
+
;
|
896 |
+
the compiler is allowed to transform this into an endless loop if the
|
897 |
+
variable 'signal_occurred' is not declared 'volatile'.
|
898 |
+
Additionally, recall that:
|
899 |
+
* A signal handler should not modify errno (except if it is a handler
|
900 |
+
for a fatal signal and ends by raising the same signal again, thus
|
901 |
+
provoking the termination of the process). If it invokes a function
|
902 |
+
that may clobber errno, it needs to save and restore the value of
|
903 |
+
errno. */
|
904 |
+
#define _GL_ASYNC_SAFE
|
905 |
+
|
906 |
+
|
907 |
+
/* Attributes. */
|
908 |
+
#if (defined __has_attribute \
|
909 |
+
&& (!defined __clang_minor__ \
|
910 |
+
|| 3 < __clang_major__ + (5 <= __clang_minor__)))
|
911 |
+
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
|
912 |
+
#else
|
913 |
+
# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
|
914 |
+
# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
|
915 |
+
# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
|
916 |
+
# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
|
917 |
+
# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
|
918 |
+
# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
|
919 |
+
# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
|
920 |
+
# define _GL_ATTR_diagnose_if 0
|
921 |
+
# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
|
922 |
+
# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
|
923 |
+
# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
|
924 |
+
# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
|
925 |
+
# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
|
926 |
+
# ifdef _ICC
|
927 |
+
# define _GL_ATTR_may_alias 0
|
928 |
+
# else
|
929 |
+
# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
|
930 |
+
# endif
|
931 |
+
# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
|
932 |
+
# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
|
933 |
+
# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
|
934 |
+
# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
|
935 |
+
# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
|
936 |
+
# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
|
937 |
+
# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
|
938 |
+
# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
|
939 |
+
# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
|
940 |
+
# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
|
941 |
+
# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
|
942 |
+
#endif
|
943 |
+
|
944 |
+
|
945 |
+
#if _GL_HAS_ATTRIBUTE (alloc_size)
|
946 |
+
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
|
947 |
+
#else
|
948 |
+
# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
|
949 |
+
#endif
|
950 |
+
|
951 |
+
#if _GL_HAS_ATTRIBUTE (always_inline)
|
952 |
+
# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
|
953 |
+
#else
|
954 |
+
# define _GL_ATTRIBUTE_ALWAYS_INLINE
|
955 |
+
#endif
|
956 |
+
|
957 |
+
#if _GL_HAS_ATTRIBUTE (artificial)
|
958 |
+
# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
|
959 |
+
#else
|
960 |
+
# define _GL_ATTRIBUTE_ARTIFICIAL
|
961 |
+
#endif
|
962 |
+
|
963 |
+
/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
|
964 |
+
<https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
|
965 |
+
Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
|
966 |
+
#if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
|
967 |
+
# ifndef __SUNPRO_C
|
968 |
+
# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
|
969 |
+
# else
|
970 |
+
# define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
|
971 |
+
# endif
|
972 |
+
#else
|
973 |
+
# define _GL_ATTRIBUTE_COLD
|
974 |
+
#endif
|
975 |
+
|
976 |
+
#if _GL_HAS_ATTRIBUTE (const)
|
977 |
+
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
|
978 |
+
#else
|
979 |
+
# define _GL_ATTRIBUTE_CONST
|
980 |
+
#endif
|
981 |
+
|
982 |
+
#if 201710L < __STDC_VERSION__
|
983 |
+
# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
|
984 |
+
#elif _GL_HAS_ATTRIBUTE (deprecated)
|
985 |
+
# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
|
986 |
+
#else
|
987 |
+
# define _GL_ATTRIBUTE_DEPRECATED
|
988 |
+
#endif
|
989 |
+
|
990 |
+
#if _GL_HAS_ATTRIBUTE (error)
|
991 |
+
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
|
992 |
+
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
|
993 |
+
#elif _GL_HAS_ATTRIBUTE (diagnose_if)
|
994 |
+
# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
|
995 |
+
# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
|
996 |
+
#else
|
997 |
+
# define _GL_ATTRIBUTE_ERROR(msg)
|
998 |
+
# define _GL_ATTRIBUTE_WARNING(msg)
|
999 |
+
#endif
|
1000 |
+
|
1001 |
+
#if _GL_HAS_ATTRIBUTE (externally_visible)
|
1002 |
+
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
|
1003 |
+
#else
|
1004 |
+
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
|
1005 |
+
#endif
|
1006 |
+
|
1007 |
+
/* FALLTHROUGH is special, because it always expands to something. */
|
1008 |
+
#if 201710L < __STDC_VERSION__
|
1009 |
+
# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
|
1010 |
+
#elif _GL_HAS_ATTRIBUTE (fallthrough)
|
1011 |
+
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
|
1012 |
+
#else
|
1013 |
+
# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
|
1014 |
+
#endif
|
1015 |
+
|
1016 |
+
#if _GL_HAS_ATTRIBUTE (format)
|
1017 |
+
# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
|
1018 |
+
#else
|
1019 |
+
# define _GL_ATTRIBUTE_FORMAT(spec)
|
1020 |
+
#endif
|
1021 |
+
|
1022 |
+
#if _GL_HAS_ATTRIBUTE (leaf)
|
1023 |
+
# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
|
1024 |
+
#else
|
1025 |
+
# define _GL_ATTRIBUTE_LEAF
|
1026 |
+
#endif
|
1027 |
+
|
1028 |
+
/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
|
1029 |
+
#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
|
1030 |
+
# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
|
1031 |
+
#else
|
1032 |
+
# define _GL_ATTRIBUTE_MAY_ALIAS
|
1033 |
+
#endif
|
1034 |
+
|
1035 |
+
#if 201710L < __STDC_VERSION__
|
1036 |
+
# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
|
1037 |
+
#elif _GL_HAS_ATTRIBUTE (unused)
|
1038 |
+
# define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
|
1039 |
+
#else
|
1040 |
+
# define _GL_ATTRIBUTE_MAYBE_UNUSED
|
1041 |
+
#endif
|
1042 |
+
/* Earlier spellings of this macro. */
|
1043 |
+
#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
|
1044 |
+
#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
|
1045 |
+
|
1046 |
+
#if _GL_HAS_ATTRIBUTE (malloc)
|
1047 |
+
# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
|
1048 |
+
#else
|
1049 |
+
# define _GL_ATTRIBUTE_MALLOC
|
1050 |
+
#endif
|
1051 |
+
|
1052 |
+
#if 201710L < __STDC_VERSION__
|
1053 |
+
# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
|
1054 |
+
#elif _GL_HAS_ATTRIBUTE (warn_unused_result)
|
1055 |
+
# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
|
1056 |
+
#else
|
1057 |
+
# define _GL_ATTRIBUTE_NODISCARD
|
1058 |
+
#endif
|
1059 |
+
|
1060 |
+
#if _GL_HAS_ATTRIBUTE (noinline)
|
1061 |
+
# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
|
1062 |
+
#else
|
1063 |
+
# define _GL_ATTRIBUTE_NOINLINE
|
1064 |
+
#endif
|
1065 |
+
|
1066 |
+
#if _GL_HAS_ATTRIBUTE (nonnull)
|
1067 |
+
# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
|
1068 |
+
#else
|
1069 |
+
# define _GL_ATTRIBUTE_NONNULL(args)
|
1070 |
+
#endif
|
1071 |
+
|
1072 |
+
#if _GL_HAS_ATTRIBUTE (nonstring)
|
1073 |
+
# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
|
1074 |
+
#else
|
1075 |
+
# define _GL_ATTRIBUTE_NONSTRING
|
1076 |
+
#endif
|
1077 |
+
|
1078 |
+
/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
|
1079 |
+
|
1080 |
+
#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
|
1081 |
+
# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
|
1082 |
+
#else
|
1083 |
+
# define _GL_ATTRIBUTE_NOTHROW
|
1084 |
+
#endif
|
1085 |
+
|
1086 |
+
#if _GL_HAS_ATTRIBUTE (packed)
|
1087 |
+
# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
|
1088 |
+
#else
|
1089 |
+
# define _GL_ATTRIBUTE_PACKED
|
1090 |
+
#endif
|
1091 |
+
|
1092 |
+
#if _GL_HAS_ATTRIBUTE (pure)
|
1093 |
+
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
|
1094 |
+
#else
|
1095 |
+
# define _GL_ATTRIBUTE_PURE
|
1096 |
+
#endif
|
1097 |
+
|
1098 |
+
#if _GL_HAS_ATTRIBUTE (returns_nonnull)
|
1099 |
+
# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
|
1100 |
+
#else
|
1101 |
+
# define _GL_ATTRIBUTE_RETURNS_NONNULL
|
1102 |
+
#endif
|
1103 |
+
|
1104 |
+
#if _GL_HAS_ATTRIBUTE (sentinel)
|
1105 |
+
# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
|
1106 |
+
#else
|
1107 |
+
# define _GL_ATTRIBUTE_SENTINEL(pos)
|
1108 |
+
#endif
|
1109 |
+
|
1110 |
+
|
1111 |
+
/* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
|
1112 |
+
#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
|
1113 |
+
# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
|
1114 |
+
#else
|
1115 |
+
# define _GL_UNUSED_LABEL
|
1116 |
+
#endif
|
1117 |
+
|
1118 |
+
|
1119 |
+
/* Please see the Gnulib manual for how to use these macros.
|
1120 |
+
|
1121 |
+
Suppress extern inline with HP-UX cc, as it appears to be broken; see
|
1122 |
+
<https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
|
1123 |
+
|
1124 |
+
Suppress extern inline with Sun C in standards-conformance mode, as it
|
1125 |
+
mishandles inline functions that call each other. E.g., for 'inline void f
|
1126 |
+
(void) { } inline void g (void) { f (); }', c99 incorrectly complains
|
1127 |
+
'reference to static identifier "f" in extern inline function'.
|
1128 |
+
This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
|
1129 |
+
|
1130 |
+
Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
|
1131 |
+
on configurations that mistakenly use 'static inline' to implement
|
1132 |
+
functions or macros in standard C headers like <ctype.h>. For example,
|
1133 |
+
if isdigit is mistakenly implemented via a static inline function,
|
1134 |
+
a program containing an extern inline function that calls isdigit
|
1135 |
+
may not work since the C standard prohibits extern inline functions
|
1136 |
+
from calling static functions (ISO C 99 section 6.7.4.(3).
|
1137 |
+
This bug is known to occur on:
|
1138 |
+
|
1139 |
+
OS X 10.8 and earlier; see:
|
1140 |
+
https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
|
1141 |
+
|
1142 |
+
DragonFly; see
|
1143 |
+
http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
|
1144 |
+
|
1145 |
+
FreeBSD; see:
|
1146 |
+
https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
|
1147 |
+
|
1148 |
+
OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
|
1149 |
+
for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
|
1150 |
+
Assume DragonFly and FreeBSD will be similar.
|
1151 |
+
|
1152 |
+
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
|
1153 |
+
inline semantics, unless -fgnu89-inline is used. It defines a macro
|
1154 |
+
__GNUC_STDC_INLINE__ to indicate this situation or a macro
|
1155 |
+
__GNUC_GNU_INLINE__ to indicate the opposite situation.
|
1156 |
+
GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
|
1157 |
+
semantics but warns, unless -fgnu89-inline is used:
|
1158 |
+
warning: C99 inline functions are not supported; using GNU89
|
1159 |
+
warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
|
1160 |
+
It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
|
1161 |
+
*/
|
1162 |
+
#if (((defined __APPLE__ && defined __MACH__) \
|
1163 |
+
|| defined __DragonFly__ || defined __FreeBSD__) \
|
1164 |
+
&& (defined __header_inline \
|
1165 |
+
? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
|
1166 |
+
&& ! defined __clang__) \
|
1167 |
+
: ((! defined _DONT_USE_CTYPE_INLINE_ \
|
1168 |
+
&& (defined __GNUC__ || defined __cplusplus)) \
|
1169 |
+
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
|
1170 |
+
&& defined __GNUC__ && ! defined __cplusplus))))
|
1171 |
+
# define _GL_EXTERN_INLINE_STDHEADER_BUG
|
1172 |
+
#endif
|
1173 |
+
#if ((__GNUC__ \
|
1174 |
+
? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
|
1175 |
+
: (199901L <= __STDC_VERSION__ \
|
1176 |
+
&& !defined __HP_cc \
|
1177 |
+
&& !defined __PGI \
|
1178 |
+
&& !(defined __SUNPRO_C && __STDC__))) \
|
1179 |
+
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
|
1180 |
+
# define _GL_INLINE inline
|
1181 |
+
# define _GL_EXTERN_INLINE extern inline
|
1182 |
+
# define _GL_EXTERN_INLINE_IN_USE
|
1183 |
+
#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
|
1184 |
+
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
|
1185 |
+
# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
|
1186 |
+
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
|
1187 |
+
# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
|
1188 |
+
# else
|
1189 |
+
# define _GL_INLINE extern inline
|
1190 |
+
# endif
|
1191 |
+
# define _GL_EXTERN_INLINE extern
|
1192 |
+
# define _GL_EXTERN_INLINE_IN_USE
|
1193 |
+
#else
|
1194 |
+
# define _GL_INLINE static _GL_UNUSED
|
1195 |
+
# define _GL_EXTERN_INLINE static _GL_UNUSED
|
1196 |
+
#endif
|
1197 |
+
|
1198 |
+
/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
|
1199 |
+
suppress bogus "no previous prototype for 'FOO'"
|
1200 |
+
and "no previous declaration for 'FOO'" diagnostics,
|
1201 |
+
when FOO is an inline function in the header; see
|
1202 |
+
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
|
1203 |
+
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
|
1204 |
+
#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
|
1205 |
+
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
|
1206 |
+
# define _GL_INLINE_HEADER_CONST_PRAGMA
|
1207 |
+
# else
|
1208 |
+
# define _GL_INLINE_HEADER_CONST_PRAGMA \
|
1209 |
+
_Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
|
1210 |
+
# endif
|
1211 |
+
# define _GL_INLINE_HEADER_BEGIN \
|
1212 |
+
_Pragma ("GCC diagnostic push") \
|
1213 |
+
_Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
|
1214 |
+
_Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
|
1215 |
+
_GL_INLINE_HEADER_CONST_PRAGMA
|
1216 |
+
# define _GL_INLINE_HEADER_END \
|
1217 |
+
_Pragma ("GCC diagnostic pop")
|
1218 |
+
#else
|
1219 |
+
# define _GL_INLINE_HEADER_BEGIN
|
1220 |
+
# define _GL_INLINE_HEADER_END
|
1221 |
+
#endif
|
1222 |
+
|
1223 |
+
/* A replacement for va_copy, if needed. */
|
1224 |
+
#define gl_va_copy(a,b) ((a) = (b))
|
1225 |
+
|
1226 |
+
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
1227 |
+
calls it, or to nothing if 'inline' is not supported under any name. */
|
1228 |
+
#ifndef __cplusplus
|
1229 |
+
/* #undef inline */
|
1230 |
+
#endif
|
1231 |
+
|
1232 |
+
/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
|
1233 |
+
the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
|
1234 |
+
earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
|
1235 |
+
__APPLE__ && __MACH__ test for Mac OS X.
|
1236 |
+
__APPLE_CC__ tests for the Apple compiler and its version.
|
1237 |
+
__STDC_VERSION__ tests for the C99 mode. */
|
1238 |
+
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
|
1239 |
+
# define __GNUC_STDC_INLINE__ 1
|
1240 |
+
#endif
|
1241 |
+
|
1242 |
+
/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
|
1243 |
+
n1 and n2 are expressions without side effects, that evaluate to real
|
1244 |
+
numbers (excluding NaN).
|
1245 |
+
It returns
|
1246 |
+
1 if n1 > n2
|
1247 |
+
0 if n1 == n2
|
1248 |
+
-1 if n1 < n2
|
1249 |
+
The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
|
1250 |
+
jump with nearly all GCC versions up to GCC 10.
|
1251 |
+
This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
|
1252 |
+
GCC versions up to GCC 9.
|
1253 |
+
The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
|
1254 |
+
avoids conditional jumps in all GCC versions >= 3.4. */
|
1255 |
+
#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
|
1256 |
+
|
1257 |
+
|
1258 |
+
/* Define to `int' if <sys/types.h> does not define. */
|
1259 |
+
/* #undef mode_t */
|
1260 |
+
|
1261 |
+
/* Define to the type of st_nlink in struct stat, or a supertype. */
|
1262 |
+
/* #undef nlink_t */
|
1263 |
+
|
1264 |
+
/* Define as a signed integer type capable of holding a process identifier. */
|
1265 |
+
/* #undef pid_t */
|
1266 |
+
|
1267 |
+
/* Define to the equivalent of the C99 'restrict' keyword, or to
|
1268 |
+
nothing if this is not supported. Do not define if restrict is
|
1269 |
+
supported only directly. */
|
1270 |
+
#define restrict __restrict
|
1271 |
+
/* Work around a bug in older versions of Sun C++, which did not
|
1272 |
+
#define __restrict__ or support _Restrict or __restrict__
|
1273 |
+
even though the corresponding Sun C compiler ended up with
|
1274 |
+
"#define restrict _Restrict" or "#define restrict __restrict__"
|
1275 |
+
in the previous line. This workaround can be removed once
|
1276 |
+
we assume Oracle Developer Studio 12.5 (2016) or later. */
|
1277 |
+
#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
|
1278 |
+
# define _Restrict
|
1279 |
+
# define __restrict__
|
1280 |
+
#endif
|
1281 |
+
|
1282 |
+
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
1283 |
+
/* #undef size_t */
|
1284 |
+
|
1285 |
+
/* Define as a signed type of the same size as size_t. */
|
1286 |
+
#define ssize_t intptr_t
|
1287 |
+
|
1288 |
+
/* Define as a macro for copying va_list variables. */
|
1289 |
+
/* #undef va_copy */
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/portfile.cmake
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(IDN2_VERSION 2.3.1)
|
2 |
+
set(IDN2_FILENAME libidn2-${IDN2_VERSION}.tar.gz)
|
3 |
+
|
4 |
+
vcpkg_download_distfile(ARCHIVE
|
5 |
+
URLS "https://ftp.gnu.org/gnu/libidn/${IDN2_FILENAME}" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libidn/${IDN2_FILENAME}"
|
6 |
+
FILENAME "${IDN2_FILENAME}"
|
7 |
+
SHA512 4d77a4a79e08a05e46fc14827f987b9e7645ebf5d0c0869eb96f9902c2f6b73ea69fd6f9f97b80a9f07cce84f7aa299834df91485d4e7c16500d31a4b9865fe4
|
8 |
+
)
|
9 |
+
|
10 |
+
vcpkg_extract_source_archive_ex(
|
11 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
12 |
+
ARCHIVE "${ARCHIVE}"
|
13 |
+
REF ${IDN2_VERSION}
|
14 |
+
)
|
15 |
+
|
16 |
+
if (VCPKG_TARGET_IS_WINDOWS)
|
17 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
18 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/string.h" DESTINATION "${SOURCE_PATH}/gl")
|
19 |
+
|
20 |
+
set(HAVE_ALLOCA_H 0)
|
21 |
+
|
22 |
+
configure_file("${CMAKE_CURRENT_LIST_DIR}/config.h" "${SOURCE_PATH}")
|
23 |
+
configure_file("${SOURCE_PATH}/gl/alloca.in.h" "${SOURCE_PATH}/gl/alloca.h")
|
24 |
+
|
25 |
+
function(simple_copy_template_header FILE_PATH BASE_NAME)
|
26 |
+
if(NOT EXISTS "${FILE_PATH}/${BASE_NAME}.h" AND EXISTS "${FILE_PATH}/${BASE_NAME}.in.h")
|
27 |
+
configure_file("${FILE_PATH}/${BASE_NAME}.in.h" "${FILE_PATH}/${BASE_NAME}.h" @ONLY)
|
28 |
+
endif()
|
29 |
+
endfunction()
|
30 |
+
|
31 |
+
# There seems to be no difference between source and destination files after 'configure'
|
32 |
+
# apart from auto-generated notification at the top. So why not just do a simple copy.
|
33 |
+
simple_copy_template_header("${SOURCE_PATH}/unistring" uniconv)
|
34 |
+
simple_copy_template_header("${SOURCE_PATH}/unistring" unictype)
|
35 |
+
simple_copy_template_header("${SOURCE_PATH}/unistring" uninorm)
|
36 |
+
simple_copy_template_header("${SOURCE_PATH}/unistring" unistr)
|
37 |
+
simple_copy_template_header("${SOURCE_PATH}/unistring" unitypes)
|
38 |
+
simple_copy_template_header("${SOURCE_PATH}/unistring" alloca)
|
39 |
+
|
40 |
+
vcpkg_cmake_configure(
|
41 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
42 |
+
OPTIONS
|
43 |
+
"-DPACKAGE_VERSION=${IDN2_VERSION}"
|
44 |
+
)
|
45 |
+
|
46 |
+
vcpkg_cmake_install()
|
47 |
+
|
48 |
+
vcpkg_copy_pdbs()
|
49 |
+
|
50 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
51 |
+
|
52 |
+
else()
|
53 |
+
set(ENV{GTKDOCIZE} true)
|
54 |
+
vcpkg_configure_make(
|
55 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
56 |
+
AUTOCONFIG
|
57 |
+
COPY_SOURCE
|
58 |
+
OPTIONS
|
59 |
+
"--with-libiconv-prefix=${CURRENT_INSTALLED_DIR}"
|
60 |
+
--disable-gtk-doc
|
61 |
+
--disable-doc
|
62 |
+
)
|
63 |
+
|
64 |
+
vcpkg_install_make()
|
65 |
+
|
66 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
67 |
+
endif()
|
68 |
+
|
69 |
+
vcpkg_fixup_pkgconfig()
|
70 |
+
|
71 |
+
# License and man
|
72 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libidn2" RENAME copyright)
|
73 |
+
file(INSTALL "${SOURCE_PATH}/doc/libidn2.pdf" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libidn2")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/string.h
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef _GL_STRING_H
|
2 |
+
#define _GL_STRING_H
|
3 |
+
|
4 |
+
char * strchrnul (const char *s, int c_in);
|
5 |
+
int strverscmp (const char *s1, const char *s2);
|
6 |
+
void * rawmemchr (const void *s, int c_in);
|
7 |
+
|
8 |
+
#if defined(__MINGW32__)
|
9 |
+
#include <../include/string.h>
|
10 |
+
#elif defined(_WIN32)
|
11 |
+
#include <../ucrt/string.h>
|
12 |
+
#endif
|
13 |
+
|
14 |
+
#endif /* _GL_STRING_H */
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libidn2/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libidn2",
|
3 |
+
"version": "2.3.1",
|
4 |
+
"description": "GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.",
|
5 |
+
"homepage": "https://www.gnu.org/software/libidn/",
|
6 |
+
"dependencies": [
|
7 |
+
"libiconv",
|
8 |
+
{
|
9 |
+
"name": "libunistring",
|
10 |
+
"platform": "!windows"
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake",
|
14 |
+
"host": true,
|
15 |
+
"platform": "windows"
|
16 |
+
}
|
17 |
+
]
|
18 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libigl/fix-config.patch
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/cmake/libigl-config.cmake.in b/cmake/libigl-config.cmake.in
|
2 |
+
index 21aa2468..0aa6d8a0 100644
|
3 |
+
--- a/cmake/libigl-config.cmake.in
|
4 |
+
+++ b/cmake/libigl-config.cmake.in
|
5 |
+
@@ -27,5 +27,23 @@ if (TARGET igl::common)
|
6 |
+
endif()
|
7 |
+
endif()
|
8 |
+
|
9 |
+
+ include(CMakeFindDependencyMacro)
|
10 |
+
+if (TARGET igl::embree)
|
11 |
+
+ find_dependency(embree 3 CONFIG REQUIRED)
|
12 |
+
+endif()
|
13 |
+
+if (TARGET igl::xml)
|
14 |
+
+ find_dependency(tinyxml2 CONFIG REQUIRED)
|
15 |
+
+endif()
|
16 |
+
+if (TARGET igl::opengl)
|
17 |
+
+ find_dependency(OpenGL REQUIRED)
|
18 |
+
+ find_dependency(glad CONFIG REQUIRED)
|
19 |
+
+ if (TARGET igl::opengl_glfw)
|
20 |
+
+ find_dependency(glfw3 CONFIG REQUIRED)
|
21 |
+
+ if (TARGET igl::opengl_glfw_imgui)
|
22 |
+
+ find_dependency(imgui CONFIG REQUIRED)
|
23 |
+
+ endif()
|
24 |
+
+ endif()
|
25 |
+
+endif()
|
26 |
+
+
|
27 |
+
check_required_components(libigl)
|
28 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/libigl/fix-dependency.patch
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/cmake/LibiglWindows.cmake b/cmake/LibiglWindows.cmake
|
2 |
+
index b98aa55..46c68a7 100644
|
3 |
+
--- a/cmake/LibiglWindows.cmake
|
4 |
+
+++ b/cmake/LibiglWindows.cmake
|
5 |
+
@@ -1,4 +1,4 @@
|
6 |
+
-if(MSVC)
|
7 |
+
+if(0)
|
8 |
+
option(IGL_STATIC_RUNTIME "Use libigl with the static MSVC runtime." OFF)
|
9 |
+
if(IGL_STATIC_RUNTIME)
|
10 |
+
message(STATUS "MSVC -> forcing use of statically-linked runtime.")
|
11 |
+
diff --git a/cmake/libigl.cmake b/cmake/libigl.cmake
|
12 |
+
index 6de1b41..46ecbf0 100644
|
13 |
+
--- a/cmake/libigl.cmake
|
14 |
+
+++ b/cmake/libigl.cmake
|
15 |
+
@@ -107,7 +107,8 @@ if(HUNTER_ENABLED)
|
16 |
+
endif()
|
17 |
+
|
18 |
+
# Eigen
|
19 |
+
-if(NOT TARGET Eigen3::Eigen)
|
20 |
+
+find_package(Eigen3 CONFIG REQUIRED)
|
21 |
+
+if(0)
|
22 |
+
igl_download_eigen()
|
23 |
+
add_library(igl_eigen INTERFACE)
|
24 |
+
target_include_directories(igl_eigen SYSTEM INTERFACE
|
25 |
+
@@ -296,9 +297,9 @@ endif()
|
26 |
+
################################################################################
|
27 |
+
### Compile the embree part ###
|
28 |
+
if(LIBIGL_WITH_EMBREE)
|
29 |
+
- set(EMBREE_DIR "${LIBIGL_EXTERNAL}/embree")
|
30 |
+
+ find_package(embree 3 CONFIG REQUIRED)
|
31 |
+
|
32 |
+
- if(NOT TARGET embree)
|
33 |
+
+ if(0)
|
34 |
+
igl_download_embree()
|
35 |
+
|
36 |
+
# Note: On macOS, building embree as a static lib can only be done with a single ISA target.
|
37 |
+
@@ -317,8 +318,11 @@ if(LIBIGL_WITH_EMBREE)
|
38 |
+
|
39 |
+
compile_igl_module("embree")
|
40 |
+
target_link_libraries(igl_embree ${IGL_SCOPE} embree)
|
41 |
+
- target_include_directories(igl_embree ${IGL_SCOPE} ${EMBREE_DIR}/include)
|
42 |
+
- target_compile_definitions(igl_embree ${IGL_SCOPE} -DEMBREE_STATIC_LIB)
|
43 |
+
+ if(LIBIGL_USE_STATIC_LIBRARY)
|
44 |
+
+ find_package(TBB CONFIG REQUIRED)
|
45 |
+
+ target_link_libraries(igl_embree ${IGL_SCOPE} TBB::tbb)
|
46 |
+
+ target_compile_definitions(igl_embree ${IGL_SCOPE} -DEMBREE_STATIC_LIB)
|
47 |
+
+ endif()
|
48 |
+
endif()
|
49 |
+
|
50 |
+
################################################################################
|
51 |
+
@@ -359,11 +363,12 @@ if(LIBIGL_WITH_OPENGL)
|
52 |
+
endif()
|
53 |
+
|
54 |
+
# glad module
|
55 |
+
- if(NOT TARGET glad)
|
56 |
+
+ find_package(glad CONFIG REQUIRED)
|
57 |
+
+ if(0)
|
58 |
+
igl_download_glad()
|
59 |
+
add_subdirectory(${LIBIGL_EXTERNAL}/glad glad)
|
60 |
+
endif()
|
61 |
+
- target_link_libraries(igl_opengl ${IGL_SCOPE} glad)
|
62 |
+
+ target_link_libraries(igl_opengl ${IGL_SCOPE} glad::glad)
|
63 |
+
endif()
|
64 |
+
|
65 |
+
################################################################################
|
66 |
+
@@ -372,7 +377,8 @@ if(LIBIGL_WITH_OPENGL_GLFW)
|
67 |
+
if(TARGET igl::opengl)
|
68 |
+
# GLFW module
|
69 |
+
compile_igl_module("opengl/glfw")
|
70 |
+
- if(NOT TARGET glfw)
|
71 |
+
+ find_package(glfw3 CONFIG REQUIRED)
|
72 |
+
+ if(0)
|
73 |
+
igl_download_glfw()
|
74 |
+
option(GLFW_BUILD_EXAMPLES "Build the GLFW example programs" OFF)
|
75 |
+
option(GLFW_BUILD_TESTS "Build the GLFW test programs" OFF)
|
76 |
+
@@ -395,17 +401,19 @@ if(LIBIGL_WITH_OPENGL_GLFW_IMGUI)
|
77 |
+
if(TARGET igl::opengl_glfw)
|
78 |
+
# ImGui module
|
79 |
+
compile_igl_module("opengl/glfw/imgui")
|
80 |
+
- if(NOT TARGET imgui)
|
81 |
+
+ find_package(imgui CONFIG REQUIRED)
|
82 |
+
+ if(0)
|
83 |
+
igl_download_imgui()
|
84 |
+
add_subdirectory(${LIBIGL_EXTERNAL}/libigl-imgui imgui)
|
85 |
+
endif()
|
86 |
+
- if(NOT TARGET imguizmo)
|
87 |
+
+ find_package(imguizmo CONFIG REQUIRED)
|
88 |
+
+ if(0)
|
89 |
+
igl_download_imguizmo()
|
90 |
+
add_library(imguizmo ${LIBIGL_EXTERNAL}/imguizmo/ImGuizmo.cpp ${LIBIGL_EXTERNAL}/imguizmo/ImGuizmo.h)
|
91 |
+
target_compile_features(imguizmo PUBLIC cxx_std_11)
|
92 |
+
target_link_libraries(imguizmo PUBLIC imgui)
|
93 |
+
endif()
|
94 |
+
- target_link_libraries(igl_opengl_glfw_imgui ${IGL_SCOPE} igl_opengl_glfw imgui imguizmo)
|
95 |
+
+ target_link_libraries(igl_opengl_glfw_imgui ${IGL_SCOPE} igl_opengl_glfw imgui::imgui imguizmo::imguizmo)
|
96 |
+
endif()
|
97 |
+
endif()
|
98 |
+
|
99 |
+
@@ -415,12 +423,22 @@ if(LIBIGL_WITH_PNG)
|
100 |
+
# png/ module is anomalous because it also depends on opengl it really should
|
101 |
+
# be moved into the opengl/ directory and namespace ...
|
102 |
+
if(TARGET igl_opengl)
|
103 |
+
- if(NOT TARGET stb_image)
|
104 |
+
+ find_path(stb_include_dir stb.h)
|
105 |
+
+ find_package(opengl REQUIRED)
|
106 |
+
+ find_package(libpng CONFIG REQUIRED)
|
107 |
+
+ find_package(glad CONFIG REQUIRED)
|
108 |
+
+ if (BUILD_SHARED_LIBS)
|
109 |
+
+ set(libpng_LIBRARIES png)
|
110 |
+
+ else()
|
111 |
+
+ set(libpng_LIBRARIES png_static)
|
112 |
+
+ endif()
|
113 |
+
+ if(0)
|
114 |
+
igl_download_stb()
|
115 |
+
add_subdirectory(${LIBIGL_EXTERNAL}/stb stb_image)
|
116 |
+
endif()
|
117 |
+
compile_igl_module("png" "")
|
118 |
+
- target_link_libraries(igl_png ${IGL_SCOPE} igl_stb_image igl_opengl)
|
119 |
+
+ target_include_directories(igl_png INTERFACE ${stb_include_dir})
|
120 |
+
+ target_link_libraries(igl_png ${IGL_SCOPE} OpenGL::GL ${libpng_LIBRARIES} glad::glad)
|
121 |
+
endif()
|
122 |
+
endif()
|
123 |
+
|
124 |
+
@@ -468,7 +486,8 @@ endif()
|
125 |
+
### Compile the xml part ###
|
126 |
+
if(LIBIGL_WITH_XML)
|
127 |
+
set(TINYXML2_DIR "${LIBIGL_EXTERNAL}/tinyxml2")
|
128 |
+
- if(NOT TARGET tinyxml2)
|
129 |
+
+ find_package(tinyxml2 CONFIG REQUIRED)
|
130 |
+
+ if(0)
|
131 |
+
igl_download_tinyxml2()
|
132 |
+
add_library(tinyxml2 STATIC ${TINYXML2_DIR}/tinyxml2.cpp ${TINYXML2_DIR}/tinyxml2.h)
|
133 |
+
target_include_directories(tinyxml2 PUBLIC ${TINYXML2_DIR})
|
134 |
+
@@ -478,8 +497,7 @@ if(LIBIGL_WITH_XML)
|
135 |
+
SOVERSION "3")
|
136 |
+
endif()
|
137 |
+
compile_igl_module("xml")
|
138 |
+
- target_link_libraries(igl_xml ${IGL_SCOPE} tinyxml2)
|
139 |
+
- target_include_directories(igl_xml ${IGL_SCOPE} ${TINYXML2_DIR})
|
140 |
+
+ target_link_libraries(igl_xml ${IGL_SCOPE} tinyxml2::tinyxml2)
|
141 |
+
endif()
|
142 |
+
|
143 |
+
################################################################################
|
144 |
+
diff --git a/include/igl/opengl/glfw/imgui/ImGuiHelpers.h b/include/igl/opengl/glfw/imgui/ImGuiHelpers.h
|
145 |
+
index 0663390..f35f097 100644
|
146 |
+
--- a/include/igl/opengl/glfw/imgui/ImGuiHelpers.h
|
147 |
+
+++ b/include/igl/opengl/glfw/imgui/ImGuiHelpers.h
|
148 |
+
@@ -10,7 +10,7 @@
|
149 |
+
|
150 |
+
////////////////////////////////////////////////////////////////////////////////
|
151 |
+
#include "ImGuiTraits.h"
|
152 |
+
-#include <imgui/imgui.h>
|
153 |
+
+#include <imgui.h>
|
154 |
+
#include <vector>
|
155 |
+
#include <string>
|
156 |
+
#include <algorithm>
|
157 |
+
diff --git a/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp b/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
|
158 |
+
index c91c1cc..0836142 100644
|
159 |
+
--- a/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
|
160 |
+
+++ b/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
|
161 |
+
@@ -9,7 +9,7 @@
|
162 |
+
#include "ImGuiMenu.h"
|
163 |
+
#include "ImGuiHelpers.h"
|
164 |
+
#include <igl/project.h>
|
165 |
+
-#include <imgui/imgui.h>
|
166 |
+
+#include <imgui.h>
|
167 |
+
#include <imgui_impl_glfw.h>
|
168 |
+
#include <imgui_impl_opengl3.h>
|
169 |
+
#include <imgui_fonts_droid_sans.h>
|
170 |
+
diff --git a/include/igl/opengl/glfw/imgui/ImGuiTraits.h b/include/igl/opengl/glfw/imgui/ImGuiTraits.h
|
171 |
+
index 7dae22a..e6911c5 100644
|
172 |
+
--- a/include/igl/opengl/glfw/imgui/ImGuiTraits.h
|
173 |
+
+++ b/include/igl/opengl/glfw/imgui/ImGuiTraits.h
|
174 |
+
@@ -8,7 +8,7 @@
|
175 |
+
#ifndef IGL_OPENGL_GLFW_IMGUI_IMGUITRAITS_H
|
176 |
+
#define IGL_OPENGL_GLFW_IMGUI_IMGUITRAITS_H
|
177 |
+
|
178 |
+
-#include <imgui/imgui.h>
|
179 |
+
+#include <imgui.h>
|
180 |
+
|
181 |
+
// Extend ImGui by populating its namespace directly
|
182 |
+
namespace ImGui
|
183 |
+
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
184 |
+
index 2410c19..a7659a3 100644
|
185 |
+
--- a/tests/CMakeLists.txt
|
186 |
+
+++ b/tests/CMakeLists.txt
|
187 |
+
@@ -15,12 +15,11 @@ igl_download_test_data()
|
188 |
+
set(IGL_TEST_DATA ${LIBIGL_EXTERNAL}/../tests/data)
|
189 |
+
|
190 |
+
### Download Catch2 unit test framework
|
191 |
+
-igl_download_catch2()
|
192 |
+
+find_package(Catch2 CONFIG REQUIRED)
|
193 |
+
list(APPEND CMAKE_MODULE_PATH ${LIBIGL_EXTERNAL}/catch2/contrib)
|
194 |
+
|
195 |
+
|
196 |
+
# Add catch2
|
197 |
+
-add_subdirectory(${LIBIGL_EXTERNAL}/catch2 catch2)
|
198 |
+
|
199 |
+
|
200 |
+
# Create test executable
|
201 |
+
diff --git a/tutorial/106_ViewerMenu/main.cpp b/tutorial/106_ViewerMenu/main.cpp
|
202 |
+
index a8e49d6..c7946f9 100644
|
203 |
+
--- a/tutorial/106_ViewerMenu/main.cpp
|
204 |
+
+++ b/tutorial/106_ViewerMenu/main.cpp
|
205 |
+
@@ -2,7 +2,7 @@
|
206 |
+
#include <igl/opengl/glfw/Viewer.h>
|
207 |
+
#include <igl/opengl/glfw/imgui/ImGuiMenu.h>
|
208 |
+
#include <igl/opengl/glfw/imgui/ImGuiHelpers.h>
|
209 |
+
-#include <imgui/imgui.h>
|
210 |
+
+#include <imgui.h>
|
211 |
+
#include <iostream>
|
212 |
+
#include "tutorial_shared_path.h"
|
213 |
+
|