Commit Graph

77 Commits

Author SHA1 Message Date
Alexander Neumann
5bf1323378
[vcpkg-get-python-packages] add helper to manage python and pip (#23089)
* add vcpkg-get-python-packages

* version stuff

* use vcpkg_execute_required_process

* use function in mesa.

* version stuff

* fix the last call which needs to use vcpkg_execute_in_download_mode

* version update

* set WORKING_DIRECTORY

* version stuff

* use include_guard; remove HEAD_REF

* version stuff

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* fine tuning after CR

* version stuff

* add "supports": "native"

* version stuff

* remove message since vcpkg will tell you that it is unsupported

* version stuff

* make sure we only do stuff on windows hosts.

* version stuff

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Alexander Neumann <you@example.com>
2022-04-05 11:21:01 -07:00
Robert Schumacher
54951282f3
[boost-modular-build-helper] Pass flags more correctly into b2 (#23001)
* [vcpkg-cmake][boost-modular-build-helper] Rework vcpkg_cmake_get_vars to produce fully cooked flags

* [ffmpeg] Fix arm-uwp builds

* [ffmpeg] Fix arm-uwp builds

* [ffmpeg] Fix arm64-windows

* [ffmpeg] Fix arm64-windows

* [ffmpeg] Update version after merge

* [boost-modular-build-helper] Add <linkflags> to requirements

* Address PR comments

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Victor Romero <viromer@microsoft.com>
2022-03-30 14:52:25 -07:00
LilyWangLL
4f778cf094
[vulkan-memory-allocator] update to 3.0.0 (#23831)
* [vulkan-memory-allocator] update to 3.0.0

* update version

* format portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-03-29 17:25:46 -07:00
Mathis Logemann
6c74a6d7b9
[volk] update port (#23821)
* update volk

* volk version

* add license

* version
2022-03-29 17:25:31 -07:00
Burak Arslan
b3c7e74cd2
[nss] Add new ports nspr and nss (#21281)
* [nspr] Add new port 4.33

* [nss] Add new port 3.73.1

* [nss] Add new port 3.73.1

* Improve code

* Add supports field

* improve code

* version

* Update doc

* [nss] Switch to gyp-nss fork to fix msvc 17 build

* [nss] Improve code

* [nss] Bump version to 3.74

* [nspr] Add new port 4.33

* [nss] Add new port 3.73.1

* improve code

* Update doc

* [nss] Switch to gyp-nss fork to fix msvc 17 build

* [nss] Improve code

* [nss] Bump to 3.74

* [nss] Bump to 3.75

* [nss] Fix mpi.h confusion

When GYP generates rules for ninja, it puts nspr include dirs before nss's
own include dirs. When the msmpi package is installed, this causes
mpi.h from msmpi to be found, instead of multi-precision integer library
that comes bundled with nss.

This patch uses nspr headers from include/nspr subdirectory which sidesteps
the mpi.h from the include root

* [nss] add quotes around paths

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [nss] remove debug versions of tools

* [nspr] Remove redundant environment variable assignments

* Add dependencies vcpkg-tool-mozbuild and vcpkg-tool-gyp-nss

* clean doc

* version

* Remove unnecessary vcpkg_crosscompiling block on vcpkg-tool-gyp-nss.

Guard for VCPKG_BUILD_TYPE
Improve error reporting for unsupported VCPKG_TARGET_ARCHITECTURE
Declare support for x64 rather than !x86 (given that the URI in question only has x64 binaries)
Fix version numbers to use 'version'.

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-03-21 17:49:12 -07:00
Kai Pastor
18cff4b7ad
[vtk] Fix lzma patch (#23444)
* Use interface library for LZMA::LZMA

* Update versions

* [vtk] bump port version

* [vtk] Update version files

Co-authored-by: Victor Romero <viromer@microsoft.com>
2022-03-15 12:46:27 -07:00
Alexander Neumann
fad0644ade
add port vcpkg-tool-python2 (#23431)
* add vcpkg-tool-lessmsi

* add vcpkg-tool-python2

* adjust vcpkg_find_acquire_program

* use python2 dependency in qt5-base

* remove python2 from qt5-base

* add python2 to qt5-webengine

* use python3 instead of python2

* add some deps on the new vcpkg-tool-python2

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* add license field

* fix test detection

* error on failure to find python2

* move logs to correct position.

* add dep to qtwebengine

* adjust pybind cmake config.

* fix shiva

* move python2 to manual-tools
adjust search path
generate a details.cmake for vcpkg_find_acquire_program

* format manifest

* use version-date

* version stuff

* replace version-string

* more version stuff

* fix search path and add supports expression

* version stuff

* shiva version

* remove arm windows from support

* reuse output_path
use lessmsi is a host dep so use the correct path

* version stuff

* Fix x86 regression

* version stuff

* try fixing qtinterfaceframework

* version stuff

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Victor Romero <viromer@microsoft.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2022-03-14 10:25:04 -07:00
Kai Pastor
fb3416466f
[proj, proj4] Update to PROJ 9.0.0 & make proj the regular port (#23186)
* Update to PROJ 9.0.0 & make proj the regular port

* Consolidate files in share, move data to subdir

* Update versions

* Update proj to 9.0.0 RC2

* Add license fields

* Update versions

* Update to PROJ 9.0.0 release

* Update versions

* Update versions
2022-03-09 10:33:02 -08:00
Alexander Neumann
b196dacc2f
[vtk] use interface target instead of alias for lz4 (#23352)
* [vtk] use interface target instead of alias

* update version

Co-authored-by: Alexander Neumann <you@example.com>
2022-03-03 10:14:45 -08:00
Mengna Li
188617d873
[vamp-sdk] install pkgconfig files (#23331)
* install pkgconfig files

* remove useless commands
2022-03-02 15:00:06 -08:00
Kai Pastor
0707a17ecf
[liblzma] No debug postfix. Rewrite wrapper. (#22856)
* Restore upstream's DLL name

* Don't add debug postfix

* Decouple wrapper from config

* Don't inject Find module stuff into config

* Cleanup

* [skip actions] Trim lzmad and LibLZMA patching

* [skip actions] Fix CMAKE_DISABLE_FIND_PACKAGE_LibLZMA

* [skip actions] CI

* Update manifests

* Update versions

* Backfill LibLZMA::LibLZMA to CMake < 3.14

* Update versions

* Update versions
2022-02-28 10:25:31 -08:00
Stefano Sinigardi
401578455f
[OpenCV] upgrade to v4.5.5 (#22801)
* [OpenCV4] update to v4.5.5

* [OpenCV] bump version

* [gstreamer] fix build for opencv

* fix references

* [vcpkg-tool-meson] fix nuget packaging

* fix references

* [gstreamer] fix references

* [ogre] update vcpkg tools

* fix references

* [OpenCV4] fixes from CI runs

* fix references

* [OpenCV4] force python module also in debug builds

* fix references

* [harfbuzz] fix cmake config

* harfbuzz fixes

* fix references

* [OpenCV4] remove unnecessary lines from patches

* fix references

* fix references

* [harfbuzz] bump version

* [harfbuzz] fix for single config builds

* fix references

* freetype fixes

* fix references

* fix ogre references

* fix references, again

* python when building static windows opencv libraries is unsupported

* fix references

* fix

* refs

* use required when necessary

* fix references

* do not use config for hdf5, use internal module

* fix references

* use proper spelling for freetype config cmake

* fix references

* [OpenCV] restore versions after merge

* fix references

* [leptonica] fix building

* fix references

* do not require package in optional features

* £fix references

* fix python feat

* update version

* update version

* [ffmpeg] remove opengl feat on arm64-windows

* format manifest

* fix references

* fix cuda/nvidia features compatibility matrix

* fix manifest

* fix

* fix

* fix references

* fix references, again

* move CONTROL to manifest

* [gstreamer] bump versions

* fix references

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-02-23 11:57:13 -08:00
Kai Pastor
3565cab797
[vcpkg-cmake-config] Merge INTERFACE_LINK_LIBRARIES configurations (#22546)
* Merge INTERFACE_LINK_LIBRARIES configurations

Direct references to binaries must match the active build type when used.

* Update tmx for cmake_config_fixup

* Update versions

* Prevent repeated fixup of the same file

* Don't change line structure

* Update versions

* CI

* Apply CR suggestion

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update versions

* Fixup CR suggestion

* Update versions

* Update versions

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-02-18 13:54:55 -08:00
Jack·Boos·Yu
7f3e168d8f
[sqlite3] Add more features (#23009)
* [sqlite3] Add more features

* version

* Add dependency zlib for feature zlib

* version

* Remove -DSQLITE_API=extern

* version

* Add pre-defines to pkgconfig

* Add new option CFLAGS to get all clfags

* Get pkgconfig cflags, add sqlite3 feature dependency

* version

* doc
2022-02-16 13:00:36 -08:00
Alexander Neumann
3e13256799
[vcpkg-cmake-config] add missing TOOLS_PATH (#22863)
* add missing parameter to vcpkg-cmake-config

* version stuff

* apply format diff

* ci retrigger

* CI retrigger
2022-02-03 11:12:33 -08:00
Alexander Neumann
84d9d9bc40
[vcpkg-scripts] Use pkgconf in vcpkg pkgconfig get modules (#20527)
* use pkgconf

* version stuff

* Update ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* version stuff

* fix obviuos error

* bit of version playaround

* version stuff

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-01-31 21:09:40 -08:00
Kai Pastor
dd42206f86
[vcpkg-cmake] Remove cmake generator support restrictions (#22626)
* Stop failing in build step on unknown generators

CMake already completed configuration using the given generator.

* Support parallel build with Unix Makefiles

* Documentation fixes for vcpkg_cmake port

* `vcpkg_cmake_configure`: links to `opencv4` as example instead of
  `opencv` which is an empty port
* `vcpkg_cmake_install`: fix link to `vcpkg_cmake_build`'s docs
* `vcpkg_cmake_build`: fix link to `vcpkg_cmake_install`'s docs

* Extra script audit

* Update versions

* Regenerate docs

* [vcpkg-cmake] support Xcode parallel build

* no/parallel_args when CMake Generator is  "Xcode"

* Update versions

* CI

Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Co-authored-by: luncliff <dong-ha-park@linecorp.com>
2022-01-28 11:30:37 -08:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
autoantwort
a511f26aec
[vtk] no absolute paths (#22330) 2022-01-13 09:14:32 -08:00
autoantwort
4c570f2b8d
[vlpp] fix mac build (#22452) 2022-01-10 13:09:22 -08:00
Mengna Li
5c09112d26
[vulkan-headers/vulkan-hpp] update to v1.2.203 (#22364)
* update vulkan-headers and vulkan-hpp to v1.2.203

* change 'version-string' to 'version'

* version-semver -> version

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-01-05 18:42:59 -08:00
Kai Pastor
c943da1f0d
[vcpkg-cmake] Fix parallel cmake (#22124)
* New version

* Refactor build dir setup

* Start parallel cmake from build directory

* Update versions

* [skip actions] CI
2021-12-30 09:45:20 -08:00
Laurent Rineau
95d4d067f0
[vcpkg] Fix vcpkg_cmake_config_fixup.cmake (#22236)
* Fix vcpkg_cmake_config_fixup.cmake

The PR #22235 exposed a bug in `vcpkg_cmake_config_fixup.cmake`, that
incorrectly preprends a string without a end-of-line. That creates
CMake syntax errors, like this one:

```
get_filename_component(VCPKG_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)set(CGAL_ROOT ${VCPKG_IMPORT_PREFIX})
```

The fix is simple: add a `\n` at the end of the prepended string.

* format manifest

* Update versions
2021-12-29 13:19:10 -08:00
Alexander Neumann
8060230922
[meson] fix windows linker detection (#22032)
* fix meson linker detection .....

* bit of code cleanup in vcpkg_configure_meson

* forgot the version stuff

* put cmake back on path because meson is buggy as hell
2021-12-16 22:47:16 -08:00
sean
7c2cbf1f53
[vk-bootstrap] New port (#21949) 2021-12-13 12:49:27 -08:00
Kai Pastor
207af1c995
[vcpkg-cmake] Fix windows toolchain chainloading for uwp (#21857)
* Fix uwp toolchain chainloading

* Use common definitions

* Update versions

* [netcdf-c] Fix uwp compiler flags

* Update versions

* [skip actions] CI

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-10 13:55:24 -08:00
LilyWangLL
5c54cc0655
[v8] Fix link error (#21933)
* [v8] Fix link error

* update version

* [v8]Update portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-09 21:01:18 -08:00
Phoebe
77967a6228
[vcpkg-cmake-config] fix up cmake_current_packages_dir (#20439)
* [vcpkg-cmake-config] fix up cmake_current_packages_dir

* Small changes

* Address the review suggestion

* Update ports/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake

* Update the baseline version

* Address the review suggestions

* Address the review suggestions

* fix up VCPKG_IMPORT_PREFIX if the file being modified at a deep subpath

* Fix regressions

* Remove out of date comments about multiconfig generators that are no longer relevant, fix spelling errors, and avoid calculating relative paths for the definition of VCPKG_IMPORT_PREFIX when not used.

* Fix version database.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-09 14:24:16 -08:00
Alexander Neumann
163065a352
Update meson to 0.60.2 (#21542)
* update meson to 0.60.1

* add port vcpkg-tool-meson for consistency deprecate usage of tool-meson

* [skip actions] make every port using meson depend on vcpkg-tool-meson
(except pkgconf for now.)

* fix subtle bugs in vcpkg_find_acquire_program
make the port install meson if the system does not provide it.

* make pkgconf depend on meson

* restore old vcpkg_find_acquire_program behavior for versioning

* Update ports/gstreamer/vcpkg.json

remove duplicated dependency

* remove invalid option in glib

* [skip actions] fix ci failures?

* remove invalid option in gstreamer

* try without cmake

* get more logs from meson configure.

* update glib to 2.70.1

* fix typo

* fix pc file of flac

* update meson to 0.60.2

* try the patch from the other pr.

* patch meson .....

* version stuff

* fix port version

* fix gstreamer version

* remove version

* format-manifest

* version stuff

* format manifest again

* revert version stuff

* remove outdated gtk options

* version stuff

* pango version stuff

* correct baseline lost in merge

* Fix fontconfig version db

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-02 15:48:34 -08:00
autoantwort
2c5e3d573e
[vxl] no absolute paths (#21690)
* [vxl] no absolute paths

* [vxl] Disable build of testlib

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-11-30 13:46:51 -08:00
autoantwort
e873f77971
[vtk-m] no absolute paths (#21691) 2021-11-29 16:39:20 -08:00
dave-juicelabs
2496d23d41
[vcpkg-gn] New port vcpkg-gn (#21498)
* [vcpkg-gn] Adding gn as a host only port

* Disable support for x86 and fix variable name usage.

* [vcpkg-gn] Version information.

* Updating documentation.

Co-authored-by: David McCloskey <davmcclo@gmail.com>
2021-11-29 11:42:39 -08:00
Alexander Neumann
64e658f3e7
[vcpkg-qmake] initial add for qt6 (#20963)
* add vcpkg-qmake

* add missing ,

* format manifest

* fix silly $( mistake

* fix syntax issues

* fix if since cmake port seems to b e out of sync

* add qwt test port

* wip transfer commit

* fix remaining issues. add docs.

* enable verbose output

* fix qt.conf and prl files

* [skip actions] add missing ()

* disable debug flag

* prl files are not only in /lib

* bump qtbase version

* version stuff

* more prl fixes.

* update version

* revert qwt update

* version stuff

* revert changes to qtbase

* make vcpkg-cmake a direct dependency

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* add supports native. remove host deps.

* remove comment

* format manifest

* overwrite version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-11-23 11:41:33 -08:00
Bert Huijben
56e89ebc21
[proj4] Update to 8.0.0 (#16494)
* [proj4,vtk,mapnik] Upgrade to proj 8.0.0. Make vtk compatible via upstream patch and mapnik by buildscript tweak.

* [mapnik, proj4, vtk]: add versions
2021-11-18 21:42:18 -08:00
NancyLi1013
30b2f6bb8f
[vtk] Fix missing includes (#21319) 2021-11-12 16:38:22 -08:00
Osyotr
52fd7e4a64
[vcpkg-cmake-config] Fix parsing of NO_PREFIX_CORRECTION (#21062) 2021-11-08 21:29:35 -08:00
chausner
96840d5ae2
[variant-lite] Update to 2.0.0 (#20911)
* Update variant-lite to 2.0.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-21 22:38:46 -07:00
gllebede
050ee6cce0
V8Config-shared compatibility issue fixed for VS generator (#20560)
* V8Config-shared compatibility issue fixed for VS generator

* Version updated

* port version fix

* update version

* adjust first entry

* update version

* Use version rather than version-string.

* Picking V8 snapshot via cmake generator expression

* version fix

Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-12 17:11:26 -07:00
Jack·Boos·Yu
ac3853c74e
[vtk] Add feature gdal and geojson, re-factory the feature select part (#20147)
* [vtk] Add feature gdal and geojson, re-factory the feature select part

* version stuff

* Fix feature option MPI

* Fix find and use gdal.

* version

* Handle some of the same parameters

* version
2021-10-11 11:01:04 -07:00
Alexander Neumann
35bfef7084
[Qt 6.2] Update Qt6 to 6.2 (#18687)
* [qt6] Update to 6.1.1

* version stuff

* fix empty dir

* update version

* fix casing in qtbase

* [libpq] add secure32.lib on windows

* add clang-cl fix

* version stuff

* fix flag removal by adding a space

* version stuff

* make qt6->Qt6 usage consistent since Qt6 refers to itself as Qt6 with uppercase Q

* fix libpq wrapper opensll linkage on linux

* use policy to fix dependent ports

* version stuff

* use upstream patch

* version stuff

* fix source_location with clang-cl

* version stuff

* add all new modules

* add all modules to the qt port

* push all the ports

* fix patch

* update ports

* split qt_install_submodule into smaller functions

* add qlitehtml submodule to qttools

* update a few ports before moving to beta

* update vcpkg.json and refs and fix issue with update

* fix dependencies

* remove patch

* update to 6.2

* add nodejs to vcpkg_find_acquire_program for qtwebengine

* format manifest.

* fix webengine and see if it builds.

* apply format diff

* add patch

* fix arm builds

* fix linux gcc 7.5 build error

* fix patch

* bump version in qtbase otherwise CI seems to resuse the wrong version

* fix webengine release build

* try fixing gcc 7.5 build

* revert gcc 7.5 fixes since they broke osx

* revert gcc 7.5 fixes since they broke osx

* fix qtimageformats.

* actually enable new qt6 builds.

* fix search path for nodejs.

* fix the webengine patch again.

* fix wrong binary name

* revisit all dependencies

* revisit webengine features and build settings

* more feature stuff

* remove qt6betablock and more features review for qt 6.2

* add missing qt prefix.

* format manifest

* fix ci issues

* format manifest.

* add node on osx.

* install node on linux

* fix a typo and a disable another find_package

* fix mingw build issues and switch to not using tag

* use CMAKE_HOST_WIN32 instead

* update ref

* fix core configure error

* fix mingw case.

* fix script installation

* remove qmake helper scrpt

* delete debug folder if empty

* add vcpkg-tool-nodejs

* revert changes in the pipeline scripts

* adjust qtwebengine to the changes

* format manifest and revert doc changes

* fix message and logic

* fix hashes and make host only port

* fix hash again?

* qttools add linguist feature for crossbuilds

* fix dependency

* add thread and future to concurrent feature

* add assistant as a required host feature
(somebody should tell Qt not to do that)

* fix dependency.

* [skip ci] not a host dep?!?

* [skip ci] debuging

* [skip ci] more debug messages

* [skip ci] try always redownloading

* [skip ci] fix hash und skip hash for redownloading once

* [skip ci] comment out skip sha and redownload

* add vcpkg_fixup_pkgconfig to libvpx

* qtwebengine requires qml and quick

* fix manifest format

* qtwebengine does not support static builds!

* remove unnecessary parts of the patch

* update to beta2

* add some " and a message in update mode

* [skip ci] remove old and reorder patches

* [skip ci] add qtpaths6

* [skip actions] fix webengine patch

* [skip actions] fix a few submodule refs

* [skip actions] fix qtwebengine

* [skip actions] remove qml feature from webengine in qt metaport

* qtdeclarative raise minimum cmake version

* use the tree id instead?

* [skip actions] raise minimum cmake version in qtquick3d

* fix fetching of unadvertised commit ids

* revert changes to vcpkg_from_git

* revert doc changes

* [skip actions] use the new FETCH_REF

* [skip actiosn] remove raise of minimum version to retry with new cmake version

* [skip actions] update to beta3

* revert removal of patch

* update to beta4
remove qtquickcontrols2 deps

* fix missing \

* [skip actions] fix gstreamer feature on windows

* [skip actions]
remove outdated patches
format qtmultimedia

* [skip actions] update to rc1

* [skip actions] remove patch for now

* update refs

* [skip actions] comment patch to try another patch in qtmultimedia

* x86 is not supported by qtwebengine (at least one of its internal third party deps fails due to x64 intrinsics.)

* Finalize for 6.2 release.
Open issues: QtWebengine and cross builds.

* version stuff

* fix semver in qtquickcontrols.

* version stuff

* revise qtwebengine supports expression

* update version
2021-09-30 13:03:56 -07:00
Phoebe
042e1db92d
[vcpkg_cmake_config_fixup] Fix variable name (#20380)
* [vcpkg_cmake_config_fixup] Fix variable name

* Fix vcpkg.json
2021-09-27 21:11:50 -07:00
Jack·Boos·Yu
878d3514eb
[vtk] fix usage and add the usage file (#20356)
* [vtk] fix usage and add the usage file

* version stuff

* typo

* version

* Change qt5-base as a host port

* version

* Revert 433fe47901, push in wrong branch

* Replace deprecate functions

* version
2021-09-27 20:57:22 -07:00
misirlou-tg
451d6664e4
[valijson] Update to version 0.6 (#20269)
* Update varijson to version 0.6

Removing fix-nlohmann-json.patch, this patch is no longer needed

* Run x-add-version
2021-09-22 13:23:22 -07:00
Phoebe
c592209c5f
[vcpkg_cmake_configure/vcpkg_configure_cmake] Support VS2022 17.0 (#19088)
* [vcpkg] Support VS2022 17.0

* small changes

* Update vcpkg.cmake

* Update the baseline version

* Update the baseline version

* Update the baselin version

* Adress the review suggestions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-13 20:10:12 -07:00
Stefano Sinigardi
333e0d4e5d
[VTK] fix cmake patches not recycling targets already defined (#20074)
* [VTK] recycle alias targets if already defined

* [VTK] bump port version

* [VTK] fix references

* [VTK] fix other patches for target recycling

* [VTK] fix references

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-13 19:34:11 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. (#19986)
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
Be
4304bada11
[vamp-sdk] fix library filenames to match upstream build systems (#20002)
* [vamp-sdk] fix library filenames to match upstream build systems

There were two problems:
1. The port added a `d` suffix for debug builds that upstream did
not. This caused
`find_library(VampHostSDK_LIBRARY NAMES vamp-sdk)`
to fail to find the debug library.
2. The port used the same file name for libraries on every OS but
that is not what upstream does.

* [vamp-sdk] fix capitalization of Vamp

Vamp is not an acronym.
2021-09-08 07:51:30 -07:00
Alexander Neumann
8c7e8df015
[CGNS|VTK-M|VTK|ParaView] Update ports (#18248)
* [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

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-08-30 10:03:01 -07:00
Johan Pauwels
e0a5659774
[vtk] Fix OpenGL feature (#19735)
* [vtk] Fix typo that breaks OpenGL feature

Missspelled "VTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2"

* [vtk] Bump version
2021-08-26 10:07:38 -07:00
Phoebe
025e564979
[vcpkg baseline][paraview:x64-osx][vcpkg_cmake_config_fixup] Revert #19469 (#19633)
* [vcpkg_cmake_config_fixup] Revert #19469

* Update the version date

* actually just revert

* move stuff around in vcpkg-cmake-config.json file

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-08-20 14:46:02 -07:00