Under normal circumstances, things can't be removed from the version database, because that breaks outstanding references to those versions. However, these entries can't be parsed in the first place which means nobody can be depending on them being there. (Usually this comes from accidentally merging PRs that add multiple versions, such as 8184c5e06chttps://github.com/microsoft/vcpkg/pull/31859 )
This was detected using new output from https://github.com/microsoft/vcpkg-tool/pull/1210
C:\Dev\vcpkg\versions\a-\abseil.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\abseil\2209360b556a40cf034551f6f9063456eac63986_83008.tmp" -c core.autocrlf=false read-tree -m -u 2209360b556a40cf034551f6f9063456eac63986
error: git failed with exit code: (128).
fatal: failed to unpack tree object 2209360b556a40cf034551f6f9063456eac63986
note: while checking out port abseil with git tree 2209360b556a40cf034551f6f9063456eac63986
note: while validating version: 20230125.3#2
C:\Dev\vcpkg\versions\a-\abseil.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\abseil\28fa609b06eec70bb06e61891e94b94f35f7d06e\vcpkg.json: error: $.features: mismatched type: expected a set of features
note: while validating version: 2020-03-03#7
C:\Dev\vcpkg\versions\a-\async-mqtt.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\async-mqtt\61071a18dc0dc629c374fa016b81473e04a28ff1_83008.tmp" -c core.autocrlf=false read-tree -m -u 61071a18dc0dc629c374fa016b81473e04a28ff1
error: git failed with exit code: (128).
fatal: failed to unpack tree object 61071a18dc0dc629c374fa016b81473e04a28ff1
note: while checking out port async-mqtt with git tree 61071a18dc0dc629c374fa016b81473e04a28ff1
note: while validating version: 1.0.8
C:\Dev\vcpkg\versions\b-\blend2d.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\blend2d\ffce764b880d8cc24e3b00328aa3861f15bae91d\vcpkg.json: error: $.features: mismatched type: expected a set of features
note: while validating version: beta_2020-07-31
C:\Dev\vcpkg\versions\b-\blend2d.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\blend2d\03a43f03eb0cab95aac27a77b71273fc4aa2e94d\vcpkg.json: error: $.features: mismatched type: expected a set of features
note: while validating version: beta_2020-07-09
C:\Dev\vcpkg\versions\e-\elfio.json: error: The version database declares 3.8 as version, but 19659f0b36d05c1643f7ecb4b553341a942b1fd5 declares it as version-string. Versions must be unique, even if they are declared with different schemes.
note: run:
vcpkg x-add-version elfio --overwrite-version
to overwrite the scheme declared in the version database with that declared in the port.
C:\Dev\vcpkg\versions\f-\flashlight-text.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\flashlight-text\6386901fa48bce946fdc5775a1c1b784e0a97175_83008.tmp" -c core.autocrlf=false read-tree -m -u 6386901fa48bce946fdc5775a1c1b784e0a97175
error: git failed with exit code: (128).
fatal: failed to unpack tree object 6386901fa48bce946fdc5775a1c1b784e0a97175
note: while checking out port flashlight-text with git tree 6386901fa48bce946fdc5775a1c1b784e0a97175
note: while validating version: 0.0.3
C:\Dev\vcpkg\versions\l-\libwebp.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\libwebp\a05e0de81085231df86f6902aba1e0a364e2ca7b\CONTROL:1:94: error: invalid character in feature name (must be lowercase, digits, '-', or '*')
on expression: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl] (!osx), libwebp[extras] (!osx)
^
note: while validating version: 1.1.0
C:\Dev\vcpkg\versions\l-\libwebp.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\libwebp\5066566c98bc1913b678347c4cbae0a6aff4cf2d\CONTROL:1:94: error: invalid character in feature name (must be lowercase, digits, '-', or '*')
on expression: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl] (!osx), libwebp[extras] (!osx)
^
note: while validating version: 1.0.3-1
C:\Dev\vcpkg\versions\l-\libwebp.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\libwebp\6ff3a23b154fad821db2d8236bf9d0382f0229cf\CONTROL:1:94: error: invalid character in feature name (must be lowercase, digits, '-', or '*')
on expression: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl, extras] (!osx)
^
note: while validating version: 1.0.3
C:\Dev\vcpkg\versions\o-\opencolorio.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\opencolorio\9569944b76966b78bec5ef83672899acd7e4febe_83008.tmp" -c core.autocrlf=false read-tree -m -u 9569944b76966b78bec5ef83672899acd7e4febe
error: git failed with exit code: (128).
fatal: failed to unpack tree object 9569944b76966b78bec5ef83672899acd7e4febe
note: while checking out port opencolorio with git tree 9569944b76966b78bec5ef83672899acd7e4febe
note: while validating version: 2.1.2
C:\Dev\vcpkg\versions\q-\qscintilla.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\qscintilla\b5942c0b0a6d9131bc4ad9a1dde662f809a6d965_83008.tmp" -c core.autocrlf=false read-tree -m -u b5942c0b0a6d9131bc4ad9a1dde662f809a6d965
error: git failed with exit code: (128).
fatal: failed to unpack tree object b5942c0b0a6d9131bc4ad9a1dde662f809a6d965
note: while checking out port qscintilla with git tree b5942c0b0a6d9131bc4ad9a1dde662f809a6d965
note: while validating version: 2.13.4
C:\Dev\vcpkg\versions\r-\robin-map.json: error: The version database declares 0.6.3 as version-semver, but 84f1433234bb4813feee71e4042174ec9e8d5a7a declares it as version-string. Versions must be unique, even if they are declared with different schemes.
note: run:
vcpkg x-add-version robin-map --overwrite-version
to overwrite the scheme declared in the version database with that declared in the port.
C:\Dev\vcpkg\versions\v-\vcpkg-cmake-get-vars.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake-get-vars\c6eb09f11e34173a4bfc31252d02d6aea6c25d8f_83008.tmp" -c core.autocrlf=false read-tree -m -u c6eb09f11e34173a4bfc31252d02d6aea6c25d8f
error: git failed with exit code: (128).
fatal: failed to unpack tree object c6eb09f11e34173a4bfc31252d02d6aea6c25d8f
note: while checking out port vcpkg-cmake-get-vars with git tree c6eb09f11e34173a4bfc31252d02d6aea6c25d8f
note: while validating version: 2023-04-13
* Fix broken version constraints.
C:\Dev\vcpkg\ports\kinectsdk1\vcpkg.json: error: the "version>=" constraint to vcpkg-tool-lessmsi names version 1.10#1 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\v-\vcpkg-tool-lessmsi.json.
C:\Dev\vcpkg\ports\kinectsdk2\vcpkg.json: error: the "version>=" constraint to vcpkg-tool-lessmsi names version 1.10#1 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\v-\vcpkg-tool-lessmsi.json.
C:\Dev\vcpkg\ports\matroska\vcpkg.json: error: the "version>=" constraint to ebml names version 1.4.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\e-\ebml.json.
C:\Dev\vcpkg\ports\openvino\vcpkg.json: error: the "version>=" constraint to protobuf names version 3.20.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\p-\protobuf.json.
note: the dependency is in the feature named onnx.
C:\Dev\vcpkg\ports\openvino\vcpkg.json: error: the "version>=" constraint to protobuf names version 3.20.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\p-\protobuf.json.
note: the dependency is in the feature named onnx.
C:\Dev\vcpkg\ports\openvino\vcpkg.json: error: the "version>=" constraint to protobuf names version 3.20.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\p-\protobuf.json.
note: the dependency is in the feature named paddle.
C:\Dev\vcpkg\ports\openvino\vcpkg.json: error: the "version>=" constraint to protobuf names version 3.20.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\p-\protobuf.json.
note: the dependency is in the feature named paddle.
C:\Dev\vcpkg\ports\openvino\vcpkg.json: error: the "version>=" constraint to protobuf names version 3.20.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\p-\protobuf.json.
note: the dependency is in the feature named tensorflow.
C:\Dev\vcpkg\ports\openvino\vcpkg.json: error: the "version>=" constraint to protobuf names version 3.20.3 which does not exist in the version database. All versions must exist in the version database to be interpreted by vcpkg. Consider removing the version constraint or choosing a value declared in C:\Dev\vcpkg\versions\p-\protobuf.json.
note: the dependency is in the feature named tensorflow.
C:\Dev\vcpkg\ports\qtvirtualkeyboard\vcpkg.json: error: the dependency t9write does not exist in the version database; does that port exist?
note: the dependency is in the feature named t9write.
* Remove entries from the baseline that do not exist.
* [openssl] update version to 3.1.3
* [openssl] removed patches that are already applied in version 3.1.3 for windows
* [openssl] format vcpkg.json
* [openssl] update version information
* Revert armcap changes (WIP)
* WIP
* Revert "Revert armcap changes (WIP)"
This reverts commit a451e6e0bede14873ab74f88fec8664577198c94.
* Trace
* Revert "Trace"
This reverts commit 91e6428688d3281ce8ce4427b4f6712b0ebfa176.
* [openssl] Disable asm also on arm32 neon
* Revert "WIP"
This reverts commit b7c3a6d96126a125df7b993e6f7f54ee7b807d6b.
---------
Co-authored-by: Carsten Grimm <carsten.grimm@ipolog.ai>
* fix oiiotool.exe
* update version
* update version
* fix iconv
* update version
* fix build erro on osx
* update version
* Generate Imath.pc
* update version
* add dependency imath minizip-ng
* updata version
* update version
* version
* [python3] Update to 3.11.3
* Force set PythonForBuild on windows
* Set LD_LIBRARY_PATH on unix
* Always use vcpkg_find_acquire_program(PYTHON3) on windows
* Remove LD_LIBRARY_PATH shenanigans
* [vtk] Parse python version from include folder
* Fix static builds on windows
* Pass --with-build-python on unix
* [omniorb] Fix python version in patch
* Resurrect rpath patch
* [python3] fix usage
* [gobject-introspection] don't hardcode python version
* Update vcpkg_find_aquire_program(PYTHON3)
This is also required for gobject-introspection
* [paraview] don't hardcode python version
* [vtk-dicom] don't hardcode python version
* Update python in vcpkgTools.xml
* Fix host arch detection in vcpkg_find_acquire_program(PYTHON3)
* [libpq] Don't hardcode python version
* [shiva] Don't pass python variables
* [vcpkg-get-python-packages] Delete unused file, update hardcoded python version
* [python3] update to 3.11.4
* [omniorb] Use PREPEND in vcpkg_add_to_path
So that python from vcpkg is picked before system python
* libpq quickfix
* re-fix libpq
* fix vcpkg-get-python-packages
* Make windows 7 patch compatible with unix builds
* Copy pyd files to bin
Also fixes copying files that do not belong to current build tree
* Fix static builds
* Speculatively fix osx regression
* Fix omniorb on unix
* [gobject-introspection] fix windows builds
* [vtk] Update vendored copy of mpi4py for python 3.11 support
* [mdl-sdk] Fix python
* [gobject-introspection] fix the fix of a fix...
* Update versions
* Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3)
---------
Co-authored-by: root <root@DESKTOP-UIPL9V8>
* [openssl] Use bash from PATH rather then /bin (microsoft/vcpkg#32288)
The configure script used to invoke python during the build process contains
a shebang that invokes /bin/bash independend of whatever bash would usually
resolve to.
This breaks compilation on FreeBSD, where bash isn't part of the operating
system.
Rather then /bin/bash, invoke /usr/bin/env bash, which resolves the bash
command by iterating PATH
* [openssl] regenerate versions registries (microsoft/vcpkg#32288)
* [opencascade] Fix feature dependence
* update version
* update version
* Apply suggesstion
* update version
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
* [openblas] Support arm64-uwp build
* Update version
* Merge UWP patches and don't set CMAKE_SYSTEM_PROCESSOR.
* Simplify supports clause.
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Xbox triplets should not support ports with only copyleft licenses
* Reverted ports that build with xbox currently
* Fix conflict and rebase
* Update baseline
* Update baseline
* Corrected fipsmodule.cnf install
move it to the same position as openssl.cnf, both are only examples of openssl
* Adjusted port version
* Adjusted SHA for vcpkg x-add-version --all
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [opencv3] Enable c++17 when building feature halide
* version
* add port-version
* version
* portfile.cmake
* version
* rv
* version
* portfile.cmake
* version
* portfile.cmake
* version
* add omniorb port
* v db
* fix stuff i didn't test
* try running without pythonpath on linux
* dont care to fix osx
* format manifest wants it braced.
* v db
* use & instead of ,
* v db
* also disallow x86 on windows
* v db
* Apply suggestions from code review
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* format
* v db
* cleanup
* v db
---------
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Added option to enable fips build for openssl
I only implement and tested it for windows as I have no option to do this under linux
* Adjusted port version
* Updated to support only for Windows
* Corrected Formatting
* Corrected SHA for vcpkg x-add-version --all
* Changes requested by review
Removed the not needed FEATURE FIPS
Initialize INSTALL_FIPS as empty
* Corrected SHA for vcpkg x-add-version --all
* Removed Windows only support
* Corrected SHA for vcpkg x-add-version --all
* Added "supports": "!static"
As the provider conecpts needs dynamic linkage
* Corrected SHA for vcpkg x-add-version --all
* update open62541
* run x-add-version
* adds patch to qtopcua to support open62541 v1.3
* x-add-version
* Update ports/open62541/vcpkg.json
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* x-add-version
* remove explicit set of version variable
* x-add-version
* Add a warning when the user tries to turn on both encryption options, as requested by @LilyWangLL.
---------
Co-authored-by: Julian Zimmermann <Julian.Zimmermann@gti.de>
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [opentelemetry-cpp] unvendor absl polyfills
By default opentelemetry vendors-in a copy of some Abseil polyfills
(e.g. `absl::variant`). That makes it hard (I would claim nearly
impossible) to use both the abseil and the opentelemetry-cpp ports at
the same time, as both define `absl::variant` in some of their headers.
It seems better to always use the `-DHAVE_ABSEIL=ON` CMake option and
depend on the abseil port. Outside vcpkg it may be useful to use such
vendored-in copies of the code, as that "simplifies" dependency
management. In the context of vcpkg that is just wasteful.
Simplified how to support `abseil[cxx17]` by removing some code in
opentelemetry that forcibly downgraded the compiler to use C++11. Add a
missing dependency for gRPC generated code. This code indirectly depends
on Abseil too.
* Opentelemetry is missing a find_dependency() when -DHAVE_ABSEIL=ON
* UWP toolchain fix and update some ports supports expressions for uwp/xbox
* Update baseline
* More ports updated for !xbox
* Update baseline
* Update support expression for ms-gdkx
* Update baseline
* ms-gdkx port should fail on ado system
* Revert change to opengl-registry since its needed for angle on UWP
* Minor github actions cr
* Refresh baseline
* [vcpkg-cmake-get-vars] Call 'project' early
System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.
* Get Android variables
* [openssl] Ensure that compiler is reached via 'PATH'
* Fix Android configuration
* Add 'tools' feature
* Update versions
* [openssl] Initialize android with vcpkg settings
* [openssl] Really don't build apps
* [vcpkg-cmake-get-vars] Update android vars
* [libpq] Pass openssl version from pkgconfig
* [vcpkg-cmake-get-vars] Update android vars
* [vcpkg-cmake-get-vars] Report generator
* [vcpkg-cmake-get-vars] Escape all output
* Transfer cmake-get-vars fixes
* Transfer cmake-get-vars extra flags
* no-asm for android-arm w/o neon
* [vcpkg_configure_make] Unquote as needed
Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.
* Re-add lost 'project', amends 4cf7caaa
* [openssl] Fix emscripten
* Added basic info to ptc-print port.
* Formatting json file.
* Trying to add master branch instead of main.
* Trying to add master branch instead of main.
* Update git-tree.
* CI baseline update.
* Update ports/ptc-print/usage
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Update ports/ptc-print/usage
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* CI baseline update.
* Update ports/ptc-print/portfile.cmake
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Update.
* Update in usage file.
* Formatting update.
* Update.
* Update.
* [osmanip] new port
* [osmanip] new port
* Updates.
* Updates.
* Update.
* [osmanip] new port
* Changed port version.
* Changed port version.
* [osmanip] new port
* [osmanip] new port
* Update.
* [arsenalgear] new port
* Added port to arsenalgear.
* Added port to arsenalgear.
* Update.
* Deleted arsenalgear stuff for the moment.
* [arsenalgear] new port
* Added right version.
* [arsenalgear] new port
* Update.
* Update.
* Delete baseline rows.
* Fixed issue.
* Fixed issue.
* Commented not working OSs.
* Update ports/arsenalgear/portfile.cmake
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Update versions/a-/arsenalgear.json
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Update
* Update
* Update.
* Update
* Update scripts/ci.baseline.txt
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Update versions/a-/arsenalgear.json
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Update
* Added correct formatting.
* Added correct formatting.
* Update
* Corrected hash.
* New patch update.
* Update.
* Update.
* Added new port version.
* Added new port version.
* Update.
* Update ports/osmanip/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Version update.
* Update
* Update sha15
---------
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Try adding xbox triplets
* Update for Gaming Command Prompt usage
* Fix directxtk12 shaders for xbox
* Add toolchain for xbox
* Fix ports for feature builds
* Code review feedback
* More code review
* Code review
* WIN32_LEAN_AND_MEAN is too aggressive for many libs
* Normalize GDK variable paths
* Need to leave oldnames.lib as many libs use POSIX names
* More code review feedback
* Remove extra file
* Use of /DEFAULTLIB fixed 41 ports
* Code review feedback
* Added basic xbox supports expression
* Updates for xbox-aware ports
* Update for CMake fixes upstream
* Minor synatx fix
* Fix up merge issues
* Need directx-headers for linux
* Missed one port revision
* Removed VCPKG_TARGET_IS_XBOX from project scope after upstream fixes
* Update baseline
* License updates per github-actions bot
* Update baseline
* Update toolchain to support try_compile for GDK headers
* Update port numbers
* Update baseline
* Don't need directx-dxc for Xbox builds
* Update baseline
* Update hashes
* Code review
* Update baseline
* Refresh hashes for upstream fixes
* Update baseline
* Add ms-gdkx stub port
* Update baseline
* updated ms-gdkx with user-friendly output
* Update baseline
* Code review for the toolchain file
* Update directxkt12 hash
* Refresh baseline
* Update MSBuild integration to select proper triplet for GDK custom platforms
* Update CMake integration to select proper xbox triplet from XBOX_CONSOLE_TARGET
* vcpkg.targets update
* Code review feedback
* Update baseline
* Refresh baseline
* Code review for MSBuild
* Code review for xbox toolchain
* vcpkg.cmake codereview
---------
Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4
* version
* typo
* version
* typo
* version
* Remove PREFER_NINJA
* version
* deprecated vcpkg_extract_source_archive_ex
* version
* fix argument
* version
* More rename
* version
---------
Co-authored-by: jyu49 <yu_jack@apple.com>
* [opusfile] Fix CMake config for case-sensitive FS.
On case-sensitive filesystems, `OpusFileConfig.cmake` is unable to find
the exported targets due to mismatch case. See xiph/opusfile#42
* [opusfile] Update baseline.
* [opusfile] Bump to 9d71834.
This was recommended to fix dependency issues in sdl2-mixer. See
https://github.com/microsoft/vcpkg/pull/29487#discussion_r1103658181
This commit brings first-party CMake support and minor fixes with no API
change.
* [opusfile] Disable opusurl on Windows.
Fixes#29582.
* [opusfile] Update baseline.
* [opusfile] Update ambiguous comment in usage file.
* [opusfile] Update version.
* [opusfile] Generate pc files.
This is needed for SDL_mixer. (see #29487)
* [opusfile] Modernise portfile.
- Use `${VERSION}` for the REF.
- Use `vcpkg_check_features` to check for opusurl.
- Replace deprecated functions with the ones from `vcpkg-cmake`.
- Use `vcpkg_replace_string` to edit the header.
- Use `vcpkg_install_copyright` to install the license.
* [opusfile] Update baseline.
* [opusfile] Add license field to vcpkg.json.
* [opusfile] Install pc files for debug.
* [opusfile] Update version.
* [opusfile] Don't install debug pc file in release.
* [opusfile] Update version.
* [openturns] add port
* v db
* fix missing boost dep.
* fix static stuff and others.
* v db
* reorder mpc and mpfr for linux
* v db
* add openturns:x64-osx=fail to ci baseline because vm uses old bison.
* move baseline fail above comment
* Add ci.baseline.txt note describing why it doesn't work.
* Add usage text.
* fix version
* v db
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [openslide] add port
* v db
* don't buffer fixing triplets which are unsupported
* v db
* Apply suggestions from code review
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
* v db
---------
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
* Update opentelemetry-cpp to v1.8.2
* Add feature description to otlp-http
* Update opentelemetry-cpp.json
* use ${VERSION} in portfile.cmake
* update version
---------
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Lily Wang <494550702@qq.com>
* [blosc] Update to 1.21.3
* Update version
* [blosc] Update to 1.21.3
* update version
* [blosc] update to 1.21.3
* [blosc] Modify review comments
* [blosc]Modify CI Error
* [blosc]Modify review comments
* [blosc]Modify the patch name
* [blosc]modify CI error
* [blosc]update version
* [blosc]update version
* update version
* update version
* update git-tree
---------
Co-authored-by: Lily Wang <494550702@qq.com>
* [openimageio] add libheif as an optional dependncy
* fmt
* x-add-version
* optional libheif find_dependency
* ./vcpkg x-add-version --all --overwrite-version
* also remove libsquish from dep list
* x-add-version
* Bumped version to 3.0.0 release.
* Update ports/onednn/vcpkg.json
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Update ports/onednn/portfile.cmake
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Applied changes requests from @LilyWangLL.
* Final database update.
* Fixed inability to download hidden by asset caching.
---------
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Switch stuff to Qt6
* give opencv4 the correct deps
* add Qt5Compat to find_dependency
* refine vtk deps and promote targets to global
* fix dep
* ci is probably faster than my desktop pc building.
* remove invalid patch part
* add qt6 patch
* second patch
* make openimageio ignore qt5
* [skip actions] qt6 part 3
* vtk qt6 patch
* try openimageio again
* move gl include
* fix patch
* does it work now?
* remove qualified name
* more qt6 fixes
* more patches
* update and fix rtabmap
* gles feature in qtbase needs to be disabled for vtk since vtk assumes desktop opengl
* remove patch add error if qtbase was build with gles2
* disable also second patch
* fix theia
* paraview consolidate patches
* fix case issue
* fix missing ,
* add more qt6 changes
* remove unnecessary patches
* bump port version
* remove comments from vtk
* add platform features for tools.
* fix format
* bump ports
* another one to bump
* v db
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [cgns] update to 4.2.0
* [vtk-m] update to 1.6.0
* [vtk] Update to 9.0.1-pv5.9.1
- VTK update to match release version of ParaView
* [ParaView] Update to 5.9.1
* version stuff
* fix automatic svg linkage in static builds
* update qt5-svg
* revisit vtk
- fix build with vtk-m 1.6
- remove unused patches
- remove comments
* bump version
* remove two commented lines
* version stuff
* remove old PR version
* commit stuff
* commit stuff
* update notes
* wip commit
* update paraview
* fix hdf5 patch
* fix patch
* fix patch
* fix portfile
* add mpi feature
* format manifest
* use relativ path
* trace
* retry
* move qml files again
* try with host triplet
* - use VCPKG_CRT_LINKAGE
- use METIS not metis
* fix casing Zlib
* hopefully more fixes on other platforms.
* fix patch
* fix missing ws
* fix typos
* scale down to warning
* revert jsoncpp change
fix zoltan on osx?
* move trace option to failing port
* move trace option to failing port
* Revert "trilinos vcpkg.json changes"
* verdict fix osx build ?
* fix patch
* fix internal find_package call
* also apply correct case for metis
* disable METIS on osx
* vtk-m don't support arm.
* force more features in Ci
* fix missing ,
* more fixes
* more vtk python try and error.
* - paraview python setup same as vtk
- remove openvr from platforms not supporting it
- trace openimageio
* fix case and remove fmt for openimageio.
* trying to fix stuff
* set hash to 0
* [skip actions] add missing module
* WebCore module moved to paraview&python
* fixes
* remove patch in vtk-dicom
* add var to maybe unused
* use correct 5.11 ref instead of the one in release
* Patch cleanup round 1
* remove empty patch parts
* fix vtkm configs
* reintegrate jsoncpp.patch
* fix patch
* add single seacas/kokkos/zoltan ports
* throw out trilinos, zoltan, kokkos
replace trilinos with seacas
make seacas work for dynamic windows
* fix mpi feature
* fix dependency
* retry dep fix
* rename target
* remove double line
* fix target
* fix patch
* retry
* remove cgns config
* fix cgns
* no seacas trace
* lowercase hdf5 target
* fix case of metis
* disable Fortran
* add iotr patch
* add additional config folder
* handel case sensitive Seacas again
* get trace again and force jsoncpp
* update cmake to 3.25.0
* bump port-version
* add patch from vtk upstream
* cleanup, format-manifest
* fix port version
* v db
* opencv4 always inject deps.
* fix test port to not require stuff which is not supported on x86
* Fix HDF5 lookup in opencv4
* only delete bin folder in static builds
* add license field
* v db
* add missing "
* v db
* trace again
* fix rtabmap python dep
* fix openimageio by deleting the find module
* v db
* cr cleanup
* v db
* opencv4 v db due to merge with master. Had to bump port version
* v db
* v db
* v db
* CR comments
* v db for cr comments
* trace theia output
* revert theia trace
* v db
* try without patch
* revert rtabmap changes
* v db after merge
* v db for all
* [mesa] supports: !staticcrt
* [mesa] Install copyright from license.rst
* [mesa] Revise internal dependencies
* [mesa] Revise external dependencies
* [mesa] Move windows opengl32 lib to manual-link
* [opengl] Fix case of include names
* [opengl] Refactor for simplicity and mingw support
* [opengl] Stop copying out of windows SDK [skip actions]
* Update versions
* Revert "[opengl] Stop copying out of windows SDK"
* [mesa] Align with port opengl
* feat : onnxruntime version up
* chore : add license
* chore : versions change
* feat : make with the version variable
* feat : change vcpkg_minimum_required
* update openimageio
* update version
* update openimageio
* update version
* update openimageio
* update version
* update format
* update version
* update format
* update version
* update openimageio
* update version
* format
* version
* update openimageio
* update version
* Add vcpkg_minimum_required
* update version
Co-authored-by: Monica <v-liumonica@microsoft.com>
* [imgui] Update to 1.89
* [imgui] Update version files
* [imgui] Update to 1.89.1
* [imgui] Update version files
* [ogre] Fix build failure on imgui 1.89
* [ogre] Update version files
* [imgui-sfml] Fix build failure on imgui 1.89
* [imgui-sfml] Update version files
* [milerius-sfml-imgui] Fix build failure on imgui 1.89
* [milerius-sfml-imgui] Update version files
* [imgui] Modernize port
* [imgui] Update version files
* bump port version
* version
* version... again
Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
* Update to GStreamer v1.20.3
* Fixed gst-plugins-bad * Made optional dependences features * Added webrtc feature
* webrtc dependency fixes
Set meson option 'gst_debug' to true for both debug and release configurations
Enabled dtls and srtp plugins
Fixed srtp plugin
* [gstreamer] Changed version to 1.20.4
* [gstreamer] Reworked port file
* [gst-rtsp-server] Updated to version 1.20.4
* [opencv4] Update GStreamer dependency
* [qtmultimedia] Update GStreamer dependency
* [qtmultimedia] Enabled AVFoundation (part of the Apple Frameworks)
* [qtbase] Fix PCRE2 static linking for GLib
* Added versions
Co-authored-by: Gerard Ryan <gerard.ryan@immersaview.com>
Co-authored-by: David Ely <david.ely@immersaview.com>
* try qt 6.4-beta4
* fix patch
* fix copyright install
* fix qtdeclarative
* always perform import prefix correction
* adjust qtmultimedia
* fix qttools
* add missing "
* fix linux ?
* fix qtmultimedia with gstreamer
* fix qtvirtualkeyboard
* fix qtwebengine
* fix qmllint regression in qtdeclarative on osx/linux
* fix details
* fix qttools deps
* fix qtdeclarative deps
* remove xcb feature
* fix hunspell patch
* bump qtbase
* add qt3d
* format manifest
* test features in CI
* pass ci baseline stuff
* vulkan is skip in ci so cannot force it.
* remove extra ,
* fix deps
* try to fix promotion
* gstreamer adjustments.
* fix gstreamer on linux
* fix gstreamer stuff
* fix x264 api import macro
* fix gst-rsp-server
* correctly replace
* promote targets....
* enable arm64 qtwebengine
* --trace-expand
* install wrapper for egl.
* add newline
* remove opengl from skip list
* add gl to link
* another try
* retry again
* test dynamic angle linkage
* retry
* link XNVCtrl
* retry
* add libxnvctrl
* retry
* retry again...
* move wrapper to angle
* revert changes to egl-reg
* more debugging
* try again
* fix stuff
* add missing ,
* egl stuff
* wrapper stuff
* fix angle
* remove double dep
* remove libxnvctrl
* format manifest
* revert trace
* bump version
* bump v
* v db
* remove trace
* v db
* refine supports
* v db
* remove qtmultimedia from baseline
* format manifest
* update all the stuff
* refine qtmultimedia
* fix qtmultimedia?
* fix stuff
* fix stuff ?
* trace again
* Try fixing qtmultimedia for static windows builds.
* is ci faster than me...?
* refine
* fix gstreamer static usage
* fix all the qt things!
* fix the path
* try getting logs.
* fix patch
* trace stuff
* only fix stuff when it needs fixing
* force lookup of system EGL. migth need a wrapper in opengl instead.
* try fixing opengl
* don't directly call _find_package
* don't search in install prefix
* retry
* disable trace
* have the correct fix for linux ?
* move angle into a subfolder. No way to deal with it otherwise on linux.
* make the wrapper do nothing
* try fixing allegro5
* lower case
* remove wrapper
* v db
* remove trace
* v db
* remove trace
* v db
* try fixing allegro5 on arm
* retry again
* try again
* revert allegro
* put on ci baseline
* v db
* v db
* bump port
* v db fix
* remove conflicting wrapper
* v db
* glib now uses pcre2
* fix gstreamer picking up egl on windows
* v db
* fix find_package call
* Add bullet feature control
* Disable Qt
* Update versions
* Remove obsolete qt patch junk
* Update versions
* v db
* comments
* v db
* v db
* v db
* v db
* restore correction lost in merge
* v db
* promote to global
* v db
* Fix minimal qtbase builds with opengl disabled
* make host dependency on qtshadertools a normal dependency in qtmultimedia.
* v db
* opengl dynamic doesn't work on !windows
* v db
Co-authored-by: Kai Pastor <dg0yt@darc.de>
* Use vcpkg_build_nmake for windows incl. uwp
Use prerun shell for configuration
* [openssl] Generate OPENSSL_VERSION_MAJOR/MINOR/FIX
* Update versions
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [OpenSSL] Update to 3.0.7.
Fixes critical security vulnerability https://twitter.com/iamamoose/status/1584908434855628800
flags.patch part already applied by upstream removed.
Download location changed to openssl.org while a github tag is still missing.
* Revert unintentional boringssl change.
* Add vcpkg_minimum_required and switch back to GitHub now that a tag is available.
* update openmesh
* update version
* Replace deprecated functions
* update version
* Fix CI errors for x64-linux
* update version
* update scalar specification
* update version
* update openmesh
* update version
* Remove duplicate version set.
Co-authored-by: Monica <v-liumonica@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [osg] Install plugins directly to plugins folder
This change removes the stage in portfile.cmake which relocates the osg plugins from bin/ to plugins/. Instead, the OsgMacroUtils.cmake file is patched to install directly to the plugins folder.
This has two primary effects. The first is correcting the exported target locations, as they still pointed to bin/ after moving the plugins. The second is fixing the process on non-Windows platforms, as the plugins were not being moved in those cases.
* update version
* update version
* update version
* [osg] Update version
* [osg] Update port version
* [osg] Fix port version
Co-authored-by: Jonliu1993 <13720414433@163.com>
* Update to 3.1.5
* Add feature 'tools'
* ilmbase is now imath
* [theia] Use openimageio cmake config
* [freeimage] Use OpenEXR 3 and Imath
* [opencv4] Use upstream's OpenEXR 3 support
* [opencv3] Use upstream's OpenEXR 3 support
* [opencv2] Use OpenEXR 3 and Imath
* [osg] Use OpenEXR 3
* [openvdb] Use Imath, enable OpenEXR
* [pangolin] Use OpenEXR 3
* [directxtex] Use OpenEXR 3
* [uvatlas] Disable /guard:ehcont when directxtex uses openexr
* Update versions
Co-authored-by: chausner <chausner@users.noreply.github.com>
* [quickcpplib] Properly delimit path option
* [outcome] Prevent buildsystem from enabling concepts pre cxx20
* [llfio] Update port to 2022-09-18
- Disable OpenSSL support until someone properly integrates it.
* [llfio] Disable buildsystem compiler introspection
The buildsystem tries to enable concepts and coroutines via non standard
compiler flags on earlier C++ versions which is exactly the opposite of
what our polyfill features warrant.
* Add versions to database
* [openfbx] Add port
* Set cxx standard to 11 to fix osx build
* version
* [openfbx] add unofficial namespace
* [openfbx] fixes for unofficial-openfbx
* [openfbx] more renaming
* [openfbx] fix after unofficial renaming
* [openfbx] Make it static only as it doesn't export any symbols
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* Don't depend on default features
* Use OpenEXR config
* Try to skip non-portable check_cxx_source_runs
* Ensure PKG_CONFIG_USE_CMAKE_PREFIX_PATH
* Use link libraries from pkg-config
* Revise feature-to-CMake mapping
* Update versions
* [quickcpplib] Update to 2022-09-08
* [status-code] Update to 2022-09-08
* [outcome] Update to version 2.2.4
* [llfio] Update to 2022-09-08
* [status-code,outcome,llfio] Update version database
* [outcome] Update to version 2.2.3
* [outcome] Add license information
* [outcome] Refactor deprecated functions
* [status-code] Update to latest version compatible with outcome 2.2.3
* [outcome] Provide polyfill features and extract status-code
* [outcome] Remove msvc linkage patch
* [llfio] Teach port about outcome polyfills
* [llfio] Fix vendored status-code include path
* [outcome][status-code][llfio] update version database
* Don't switch C++ standard version on polyfill feature
* [outcome] Fix version entry
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* openexr: Bump to 2.5.8
The x-add-version and patch fixes will be in next commits.
* openexr: vcpkg.json: Use "version" instead of "version-string"
* openexr: vcpkg.json: Add SPDX license identifier
* openexr: Clean 0001*-find_package patch
As upstream has cleaned it up already.
* openexr: Clean 0002-fixup_cmake_exports** patch from old whitespace fix
The upstream was already fixed it.
* openexr: Drop symlinks and find-pkg patches as it were handled at upstream
* openexr: Fix ARM build
See upstream fix for details in openexr/openexr#1216:
https://github.com/AcademySoftwareFoundation/openexr/pull/1216
* openexr: Migrate the old function to new vcpkg-cmake-config helpers
* openexr/portfile: Add comment about version for commit revision
* openexr: Update baseline via `vcpkg x-add-version openexr'
* [tesseract] update to 5.2.0
* x-add-version
* fix windows build error
* version
* fix opencv4 build error
* version
* conflict
* version
* fix opencv build error on uwp
* version
* fix linux build error
* version
* fix
* version
* version
* Audit use of TO_NATIVE_PATH.
TO_NATIVE_PATH should only be used when (1) pasting a path into a command line, or (2) displaying a path to a user. It must not be used before calling other CMake operations like file(WRITE.
Fixes https://github.com/microsoft/vcpkg/issues/26178
ports/ffmpeg/portfile.cmake:
Both uses are being embedded into a command line ✅
ports/gdal/dependency_win.cmake
117: This used TO_NATIVE_PATH but didn't actually connect the result. It's going on a command line so TO_NATIVE_PATH is appropriate.
Drive by: Added quotes around other uses (all of which seem to be going to command lines).
202: ${EXPAT_LIBRARY_REL} ${ZLIB_LIBRARY_REL} don't seem to be set even though they are used; I think this is wrong but I don't know for sure that it is so I'm leaving it alone for now.
ports/msmpi/portfile.cmake
All 3 uses are being embedded into a command line ✅
ports/jemalloc/fix-utilities.patch
ports/libproxy/fix-dependency-libmodman.patch
ports/qtbase/env.patch
These are in upstream content / context so it is not edited.
ports/opengl/portfile.cmake
Broken! Drive by fixes:
* Modernized checking VCPKG_BUILD_TYPE
* Ordered things consistently to be release then debug.
* Removed funny newlines.
ports/openni2/portfile.cmake
Borderline OK; it goes into an MSBuild / vcxproj. I'm leaving it alone. Drive by fixes:
* Guarded debug-only copies for VCPKG_BUILD_TYPE
* Fixed supports expression
ports/openssl/unix/CMakeLists.txt:
Unused!
ports/pthreads/portfile.cmake:
Both uses are being embedded into a command line ✅
ports/qt5-base/cmake/qt_fix_makefile_install.cmake
I'm not sure if this one is OK but it's being embedded into a file so it's probably fine.
ports/qtapplicationmanager/portfile.cmake:
I'm pretty sure this one is wrong, but it's guarded by VCPKG_TARGET_IS_WINDOWS so the ability to create damage is limited.
ports/readosm/portfile.cmake:
The use is being embedded into a command line ✅
ports/spatialite-tools/portfile.cmake:
The use is being embedded into a command line ✅
ports/sqlcipher/portfile.cmake:
Both uses are being embedded into a command line ✅
scripts/ports.cmake:
Some uses were unused, others are immediately used and printed to the console. ✅
scripts/buildsystems/vcpkg.cmake:
Fixed :)
scripts/cmake/vcpkg_build_qmake:
Looks unused.
scripts/cmake/vcpkg_build_process.cmake:
Added to console message only. ✅
scripts/cmake/vcpkg_execute_required_process_repeat.cmake:
Added to console message only. ✅
Drive by: Fixed typo in variable name in the message.
scripts/cmake/vcpkg_execute_required_process.cmake:
Added to console message only. ✅
* Fix missing license.
* [openlap] Add new port
Merge pull request #1 from dg0yt/openldap
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
* [openlap] Add new port
m4.patch is needed when libtool < 2.4.6
m4.patch will only work with autoconf < 2.70
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
* wip: Make cyrus-sasl optional
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
* Fix target export in osgearth config
* Update port
* Update ports/osgearth/fix-osgearth-config.patch
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [ogre] Fix pkgconfig
* version
* Absolute path
* version
* Re-fix pkgconfig in source code
* version
* typo
* version
* Sync with upstream changes
* version
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Move CMAKE_CXX_FLAGS to VCPKG_CXX_FLAGS
* version
* Also set VCPKG_C_FLAGS
* version
* apply suggestions and fix other ports
* version
* apply suggestion
* version
* try to figure out what triplet needs crt macros
* version