Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from microsoft:master #84

Merged
merged 27 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d6eb444
[ngtcp2] Update to 1.0.1 (#34698)
alagoutte Oct 25, 2023
b31a9e4
[soundtouch] Update to 2.3.2 (#34697)
daschuer Oct 25, 2023
213c01f
[azure-core-cpp] winhttp no uwp (#34704)
autoantwort Oct 25, 2023
fa4c4e2
[minizip-ng] update to v4.0.1 (#34730)
miyanyan Oct 26, 2023
0bc837a
[vcpkg baseline][libtins] Remove from ci.baseline.txt (#34613)
JonLiu1993 Oct 26, 2023
a7e4ad1
[glslang] fix tools windows (#34700)
autoantwort Oct 26, 2023
915077e
[proxsuite] add new port (#34722)
ex-purple Oct 26, 2023
3961f34
[fastrtps] no uwp (#34702)
autoantwort Oct 26, 2023
27728bb
[libremidi] Fix install path of the lib file (#34718)
LilyWangLL Oct 26, 2023
79be4be
[gts] Enables osx and android, fixes, cleanup. (#34673)
dg0yt Oct 27, 2023
eb7cb82
[mpark-patterns] add new port (#34679)
jiayuehua Oct 27, 2023
820cf6a
[sdl2-mixer-ext] uwp (#33774)
autoantwort Oct 27, 2023
45f34d7
[Qt] Update to 6.6.0 (#34426)
Neumann-A Oct 27, 2023
7dc6a4e
[opentelemetry-cpp] update to 1.12.0 (#33983)
jimwang118 Oct 27, 2023
e712423
[dylib] New port (#34578)
martin-olivier Oct 27, 2023
98a562a
[openssl] Update version to 3.1.4 (#34734)
FrankXie05 Oct 27, 2023
b86f18b
[mbedtls] update to 2.28.5 (#34744)
jiayuehua Oct 27, 2023
4b00fb5
[gstreamer] Add correct support for feature nvcodec (#34751)
FrankXie05 Oct 28, 2023
cbb9d90
[libpq] Fix MinGW build (#34747)
koprok Oct 28, 2023
1c00eae
[opencv] added openvino support (#34727)
ilya-lavrenov Oct 28, 2023
9ffbe67
[libigl] Update to v2.5.0 (#34703)
NewWheelTech Oct 28, 2023
5db5459
[openimageio] Separate feature flags for tools and viewer (#34556) (#…
jreichel-nvidia Oct 28, 2023
73408b1
[gz-cmake3] Fix export of static deps (#34667)
dg0yt Oct 28, 2023
e8539b0
[ogre-next] fix dependencies (#34617)
talregev Oct 28, 2023
ab567f8
[cppp-reiconv] new port (#34263)
ChenPi11 Oct 28, 2023
2b1fd46
[bloomberg-quantum] add new port (#34682)
jiayuehua Oct 28, 2023
ff9b47f
[rivers] add new port (#34701)
jiayuehua Oct 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ports/azure-core-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "azure-core-cpp",
"version-semver": "1.10.3",
"port-version": 1,
"description": [
"Microsoft Azure Core SDK for C++",
"This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++."
Expand Down Expand Up @@ -64,7 +65,7 @@
},
"winhttp": {
"description": "WinHTTP HTTP transport implementation",
"supports": "windows",
"supports": "windows & !uwp",
"dependencies": [
{
"name": "azure-core-cpp",
Expand Down
22 changes: 22 additions & 0 deletions ports/bloomberg-quantum/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bloomberg/quantum
REF f4b872f99480bc7f2ab60620d99823e8f2d3b0d6
SHA512 c41930c8bb0a1b70fdd4123ef349a0e8e892e0ecd52b412a171b1ce05386323a9ed2376a792ac12cd69f7d5a97a257bc08c2b85ce8a5f16b6f4e75740823b53b
HEAD_REF master
PATCHES rename-config-file-and-namespace.patch
)

set(VCPKG_BUILD_TYPE release) # header-only

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DQUANTUM_EXPORT_PKGCONFIG=OFF
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-${PORT} CONFIG_PATH "share/cmake/unofficial-${PORT}")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
46 changes: 46 additions & 0 deletions ports/bloomberg-quantum/rename-config-file-and-namespace.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d22f0f..55d6f65 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,8 +33,9 @@ endif()
if (NOT QUANTUM_PKGCONFIG_DIR)
set(QUANTUM_PKGCONFIG_DIR share/pkgconfig)
endif()
+set(PROJECT_NAMESPACE_NAME unofficial-bloomberg-${PROJECT_NAME})
if (NOT QUANTUM_CMAKE_CONFIG_DIR)
- set(QUANTUM_CMAKE_CONFIG_DIR share/cmake/${PROJECT_NAME})
+ set(QUANTUM_CMAKE_CONFIG_DIR share/cmake/${PROJECT_NAMESPACE_NAME})
endif()

#Global options
diff --git a/cmake/QuantumConfig.cmake.in b/cmake/unofficial-bloomberg-QuantumConfig.cmake.in
similarity index 100%
rename from cmake/QuantumConfig.cmake.in
rename to cmake/unofficial-bloomberg-QuantumConfig.cmake.in
diff --git a/quantum/CMakeLists.txt b/quantum/CMakeLists.txt
index 1a721f9..1e93bc4 100644
--- a/quantum/CMakeLists.txt
+++ b/quantum/CMakeLists.txt
@@ -21,10 +21,10 @@ make_quantum_header()

set(PKG_DIR "${CMAKE_BINARY_DIR}/package")
set(PKGCONFIG_FILE "${PKG_DIR}/${PROJECT_TARGET_NAME}.pc")
-set(TARGET_CONFIG_FILE "${PKG_DIR}/${PROJECT_NAME}Config.cmake")
-set(TARGET_VERSION_FILE "${PKG_DIR}/${PROJECT_NAME}ConfigVersion.cmake")
+set(TARGET_CONFIG_FILE "${PKG_DIR}/${PROJECT_NAMESPACE_NAME}Config.cmake")
+set(TARGET_VERSION_FILE "${PKG_DIR}/${PROJECT_NAMESPACE_NAME}ConfigVersion.cmake")
set(TARGET_EXPORT_NAME ${PROJECT_NAME}Targets)
-set(NAMESPACE "${PROJECT_NAME}::")
+set(NAMESPACE "${PROJECT_NAMESPACE_NAME}::")

add_library(${PROJECT_TARGET_NAME} INTERFACE)
set(QUANTUM_DEPENDENCIES Boost::context pthread)
@@ -70,7 +70,7 @@ if (QUANTUM_EXPORT_CMAKE_CONFIG)

# Generate CMAKE configuration file and exported targets
configure_package_config_file(
- "${PROJECT_SOURCE_DIR}/cmake/${PROJECT_NAME}Config.cmake.in"
+ "${PROJECT_SOURCE_DIR}/cmake/${PROJECT_NAMESPACE_NAME}Config.cmake.in"
"${TARGET_CONFIG_FILE}"
INSTALL_DESTINATION "${QUANTUM_CMAKE_CONFIG_DIR}"
PATH_VARS CMAKE_INSTALL_PREFIX CMAKE_INSTALL_INCLUDEDIR
18 changes: 18 additions & 0 deletions ports/bloomberg-quantum/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "bloomberg-quantum",
"version-date": "2023-02-03",
"description": "Powerful multi-threaded coroutine dispatcher and parallel execution engine",
"homepage": "https://github.com/bloomberg/quantum/",
"license": "Apache-2.0",
"dependencies": [
"boost-context",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
28 changes: 28 additions & 0 deletions ports/cppp-reiconv/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/cppp-project/cppp-reiconv/releases/download/v${VERSION}/cppp-reiconv-v${VERSION}.zip"
FILENAME "cppp-reiconv-v${VERSION}.zip"
SHA512 56294d63a71818842ec3f4a513bdc022ea3f472b582e16d377ec61282005965e7a08d619b9620cc036feb391e5b2eab3bfb4a1a21dcc860df89234e847048678
)

vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
)

vcpkg_find_acquire_program(PYTHON3)
get_filename_component(PYTHON3_DIR ${PYTHON3} DIRECTORY)
vcpkg_add_to_path("${PYTHON3_DIR}")

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS -DENABLE_TEST=OFF -DENABLE_EXTRA=ON
)

vcpkg_cmake_install()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
13 changes: 13 additions & 0 deletions ports/cppp-reiconv/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "cppp-reiconv",
"version": "2.1.0",
"description": "cppp-reiconv: A character set conversion library based on GNU LIBICONV for The C++ Plus Project.",
"homepage": "https://github.com/cppp-project/cppp-reiconv",
"license": "LGPL-3.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
21 changes: 21 additions & 0 deletions ports/dylib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martin-olivier/dylib
REF "v${VERSION}"
SHA512 8e691c1bc73f381ce8ec50d85165c122ba55167b050e696c8b26ccf1ba14999ca8129fb6c5b6c3320166f606acb2c21867d0786347c341d1267815580beb5c0a
HEAD_REF main
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/dylib)

vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
17 changes: 17 additions & 0 deletions ports/dylib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "dylib",
"version-semver": "2.2.1",
"description": "C++ cross-platform wrapper around dynamic loading of shared libraries",
"homepage": "https://github.com/martin-olivier/dylib",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
3 changes: 2 additions & 1 deletion ports/fastrtps/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "fastrtps",
"version": "2.7.0",
"port-version": 3,
"port-version": 4,
"description": "Eprosima Fast RTPS is a C++ implementation of the RTPS (Real Time Publish Subscribe) protocol, which provides publisher-subscriber communications over unreliable transports such as UDP, as defined and maintained by the Object Management Group (OMG) consortium.",
"homepage": "https://www.eprosima.com/",
"license": "Apache-2.0",
"supports": "!uwp",
"dependencies": [
"asio",
"fastcdr",
Expand Down
5 changes: 4 additions & 1 deletion ports/glslang/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (ENABLE_GLSLANG_BINARIES)
vcpkg_add_to_path("${PYTHON_PATH}")
endif ()

if (WIN32)
if (VCPKG_TARGET_IS_WINDOWS)
set(PLATFORM_OPTIONS "-DOVERRIDE_MSVCCRT=OFF")
endif ()

Expand All @@ -46,6 +46,9 @@ vcpkg_copy_pdbs()

if (ENABLE_GLSLANG_BINARIES)
vcpkg_copy_tools(TOOL_NAMES glslangValidator spirv-remap AUTO_CLEAN)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_copy_tools(TOOL_NAMES glslang AUTO_CLEAN)
endif()
endif ()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
Expand Down
1 change: 1 addition & 0 deletions ports/glslang/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "glslang",
"version": "13.0.0",
"port-version": 1,
"description": "Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.",
"homepage": "https://github.com/KhronosGroup/glslang",
"license": "Apache-2.0 AND BSD-3-Clause AND MIT AND GPL-3.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions ports/gstreamer/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gstreamer",
"version": "1.22.5",
"port-version": 4,
"port-version": 5,
"description": "GStreamer open-source multimedia framework core library",
"homepage": "https://gstreamer.freedesktop.org/",
"license": "LGPL-2.0-only",
Expand Down Expand Up @@ -424,7 +424,7 @@
},
"nvcodec": {
"description": "Enable support for the NVCODEC encoders and decoders",
"supports": "!uwp",
"supports": "!osx & !ios & !android & !emscripten",
"dependencies": [
{
"name": "gstreamer",
Expand Down
16 changes: 10 additions & 6 deletions ports/gts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
cmake_minimum_required(VERSION 3.14)

project(gts C)
project(gts VERSION "${VERSION}" LANGUAGES C)

find_package(PkgConfig REQUIRED)
pkg_check_modules(GLIB2 glib-2.0 IMPORTED_TARGET)

if(WIN32)
add_definitions(-DNATIVE_WIN32 -D_USE_MATH_DEFINES)
else()
add_definitions(-DHAVE_FPU_CONTROL_H)
include(CheckIncludeFile)
check_include_file("fpu_control.h" HAVE_FPU_CONTROL_H)
if(HAVE_FPU_CONTROL_H)
add_definitions(-DHAVE_FPU_CONTROL_H)
endif()
endif()

add_definitions(
-DGTS_COMPILATION
-DGTS_MAJOR_VERSION=0
-DGTS_MINOR_VERSION=7
-DGTS_MICRO_VERSION=6
-DGTS_MAJOR_VERSION=${PROJECT_VERSION_MAJOR}
-DGTS_MINOR_VERSION=${PROJECT_VERSION_MINOR}
-DGTS_MICRO_VERSION=${PROJECT_VERSION_PATCH}
-DGTS_INTERFACE_AGE=1
-DGTS_BINARY_AGE=1
-DGTS_VERSION=${GTS_MAJOR_VERSION}.${GTS_MINOR_VERSION}.${GTS_MICRO_VERSION}
-DGTS_VERSION=${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
)

file(GLOB src src/*.c src/gts.def)
Expand Down
13 changes: 0 additions & 13 deletions ports/gts/fix-dllexport_2.patch

This file was deleted.

13 changes: 0 additions & 13 deletions ports/gts/fix_missing_extern.patch

This file was deleted.

17 changes: 6 additions & 11 deletions ports/gts/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(patches fix-dllexport.patch)
elseif(VCPKG_TARGET_IS_WINDOWS)
set(patches fix-dllexport_2.patch fix_missing_extern.patch)
endif()

vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
REPO gts/gts
REF 0.7.6
FILENAME gts-0.7.6.tar.gz
SHA512 645123b72dba3d04dad3c5d936d7e55947826be0fb25e84595368919b720deccddceb7c3b30865a5a40f2458254c2af793b7c014e6719cf07e7f8e6ff30890f8
PATCHES ${patches}
PATCHES
fix-dllexport.patch
)

file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
Expand All @@ -21,14 +16,14 @@ vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
"-DVERSION=${VERSION}"
)

vcpkg_cmake_install()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()

configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
7 changes: 3 additions & 4 deletions ports/gts/usage
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
The port gts supports consumption from CMake:
gts can be imported via CMake FindPkgConfig module:

find_package(PkgConfig REQUIRED)
pkg_check_modules(GTS gts REQUIRED)
target_compile_options(main PRIVATE ${GTS_CFLAGS})
target_link_libraries(main PRIVATE ${GTS_LDFLAGS})
pkg_check_modules(GTS gts REQUIRED IMPORTED_TARGET)
target_link_libraries(main PRIVATE PkgConfig::GTS)
6 changes: 3 additions & 3 deletions ports/gts/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "gts",
"version": "0.7.6",
"port-version": 7,
"port-version": 8,
"description": "3D surfaces meshed with interconnected triangles",
"homepage": "http://gts.sourceforge.net/",
"supports": "!osx",
"homepage": "https://gts.sourceforge.net/",
"license": "LGPL-2.0-or-later",
"dependencies": [
"glib",
{
Expand Down
Loading