Commit Graph

11447 Commits

Author SHA1 Message Date
Maksim Moisiuk
8254d3be9f
[vcpkg] implement copy_symlink working for non-elevated processes (#12400)
* [vcpkg] implement copy_symlink working for non-elevated processes

* [vcpkg] read_symlink Windows implementation

* [vcpkg] normalize_path on Windows only

* Update toolsrc/src/vcpkg/base/files.cpp

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

* Update toolsrc/src/vcpkg/base/files.cpp

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

* Update toolsrc/src/vcpkg/base/files.cpp

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

* remove normalization

* Update toolsrc/src/vcpkg/base/files.cpp

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

* Update toolsrc/src/vcpkg/base/files.cpp

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

* Update toolsrc/src/vcpkg/base/files.cpp

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

* Update toolsrc/src/vcpkg/base/files.cpp

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

* Update toolsrc/src/vcpkg/base/files.cpp

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

* use unique_ptr

* comments

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-15 15:13:54 -07:00
Long Nguyen
830893fb8e
[liblzma, libvpx] Add mingw support (#12401)
* [liblzma] Update to v5.2.5

* [liblzma] Use WIN32 instead of MSVC

* [libvpx] Add mingw support

* Update portfile.cmake

* Update CONTROL

* Update CONTROL

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-07-15 15:09:33 -07:00
Jack·Boos·Yu
bad319d271
[libpq] Remove broken features (#12415)
* [libpq] Remove broken features

* Update ports/libpq/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-07-15 14:48:22 -07:00
Phoebe
9668eea2b4
[boost-modular-build-helper] Remove has_icu.lib (#12417)
* [boost-modular-build-helper] Remove has_icu.lib

* Add quotes
2020-07-15 14:44:01 -07:00
Maks Naumov
075a18b594
[vcpkg] Fix ParagraphParser::required_field() (#12429) 2020-07-15 14:42:45 -07:00
Lily
38d635a8fe
[folly] Fix build error C3861 (#12419)
* [folly] Fix build error C3861

* Update CONTROL
2020-07-15 14:26:17 -07:00
Ken A. Redergård
38e1a6465b
[nrf-ble-driver] Update to v4.1.2 (#12436)
* Update to nrf-ble-driver-4.1.2

* Update source code hash

* Copy .hex/.zip files to package install directory
2020-07-15 14:20:50 -07:00
Michael Hansen
23957929ba
[string-theory] Update to 3.3 (#12440) 2020-07-15 14:20:07 -07:00
Alexander Neumann
c9da48de31
[zstd] fix pkg-config files (#12407)
* [zstd] add pkgconfig

* [zstd] correct debug link

* Update ports/zstd/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-14 14:40:43 -07:00
nicole mazzuca
d2620cf02b
[vcpkg formatting] Turn off DeriveLineEnding (#12368)
* [vcpkg formatting] Turn off DeriveLineEnding

* format

* Add newlines to the end of files

Since we're reformatting anyways
2020-07-14 08:50:19 -07:00
Charles Karney
e554608135
[geographiclib] Update to 1.50.1 (#12379)
* Upgrade geographiclib to version 1.50.1

* Tinker with sourceforge download

* Strip verbiage at top of geographiclib/portfile.cmake

* geographiclib: fix for windows build

* geographiclib: minimize size of patch file

* add missing manifest

* A stab at fixing uwp build error.  But I'm working in the dark!

* Back out of previous commit.  It didn't help.

* Call cmake_minimum_required first

* geographiclib: remove tools from build -- incompatible with uwp

* geographiclib: remove stray reference to TOOLS

* geographiclib: try installing executables into tools

* geographiclib: Do not build tools for uwp

* geographiclib: fix up build of tools

* geographiclib: Minor clean up

* geographiclib: handle uwp vs tools more elegantly

* geographiclib: reformation vcpkg,json

* geographiclib: don't build tools by default

* geographiclib: Don't register the tools as targets; this causes problems if they are moved

Co-authored-by: Charles Karney <charles.karney@sri.com>
2020-07-14 08:44:21 -07:00
Adam Johnson
8e3c304269
[python3] Fix building x86-windows-static triplet on VS 2017. (#12412) 2020-07-14 08:43:02 -07:00
Jonathan Hale
5e40afca0d
[corrade,magnum,*-plugins,*-extras,*-integration] Update to v2020.06 (#12211)
* [magnum] Improve maintainability of feature to cmake flag conversion

* [magnum] Ignore features not supported on current platform

Allows `vcpkg install magnum[*]` on any platform.

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum] Add cglcontext and windowlesscglapplication features

* docs: Update valid VCPKG_CMAKE_SYSTEM_NAME values

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum-plugins] Replace deprecated basisu with archive download

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum-plugins] Add meshoptimizersceneconverter feature

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum-plugins] Also use vcpkg_check_features

Analog to magnum port.

Signed-off-by: Squareys <squareys@googlemail.com>

* [corrade,magnum,*-plugins,*-extras,*-integration] Update to v2020.06

Signed-off-by: Squareys <squareys@googlemail.com>

* [meshoptimizer] Add initial port

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum-plugins] Replace meshoptimizer download with feature dependency

Signed-off-by: Squareys <squareys@googlemail.com>

* [corrade,magnum-*] Fix license installation command

Signed-off-by: Squareys <squareys@googlemail.com>

* [meshoptimizer] Use vcpkg_fixup_cmake_targets

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-14 08:38:18 -07:00
Phoebe
9891a8f213
[libb2] Add supports and install pkg-conifg on macOS VM (#12398)
* [libb2] Add supports and install pkg-conifg on macOS VM

* Add blank line to the end of the json file

* vcpkg x-format-manifest --all

* Remove failed ports in ci baseline file
2020-07-14 08:37:14 -07:00
Robert Schumacher
f38a61de33
[vcpkg] RFC: Binarycaching (#11204)
* [vcpkg] Initial commit of Binarycaching specification

* [vcpkg] Update to Binarycaching Specification

Note change to XDG directory structure.
Replace 'upload' config keyword with more flexible read/write/readwrite keywords.

* [vcpkg] Update binarycaching.md with new option

--write-nuget-packages-config
2020-07-14 08:36:01 -07:00
alcroito
f1fbee87db
[vcpkg] Fix iOS toolchain detection when using the iOS community triplets (#12361)
* [vcpkg ios] Fix detection of iOS toolchain (#6003)

Added mapping of CMAKE_SYSTEM_NAME == iOS to the bundled iOS toolchain
file.

This fixes the "Unable to determine toolchain to use for
triplet arm64-ios with CMAKE_SYSTEM_NAME iOS" error.

* [vcpkg ios] Set the CMake system processor for the simulator arches (#6003)

So it's consistent for all architectures.
2020-07-13 14:13:44 -07:00
ras0219
385fb52332
[vcpkg] Track hashes of cmake script helpers in consuming portfiles (#12254)
* [vcpkg] Track hashes of cmake script helpers in consuming portfiles

* [vcpkg] Format

* [vcpkg_find_acquire_program] Use cpkg_from_sourceforge for FLEX and BISON

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 13:43:39 -07:00
Li Jiang
63578d09b0
[openmesh] Upgrade to 8.1 (#11739)
* upgrade openmesh to 8.1
Tested on Window 10 with Visual Studio 2019 x64

* update version for CONTROL file

* 1. Remove obsolete function `include(vcpkg_common_functions)`
2. Use `vcpkg_fixup_cmake_targets()`

* fix build error on Linux

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 13:37:29 -07:00
Wolfgang Stöggl
a3eee82a38
[pcre2] Fix -mshstk needed with -fcf-protection (#12347)
- Fixes the following error:
  src/sljit/sljitConfigInternal.h:219:2: error:
  #error "-mshstk is needed to compile with -fcf-protection"
- Upstream bug report:
  https://bugs.exim.org/show_bug.cgi?id=2578
- Add patch based on upstream commit:
  https://vcs.pcre.org/pcre2?view=revision&revision=1256
- Fixes #12343
2020-07-13 13:00:43 -07:00
ZeeWanderer
dcf6e5fe06
[blend2d] Update to beta_2020-07-09 (#12360) 2020-07-13 12:30:10 -07:00
ras0219
bc07f4b052
[vcpkg-ci] Always publish file lists (#12384)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 12:14:51 -07:00
Maksim Moisiuk
713950c89b
[vcpkg] proper errorcheck during files installation (#12378)
* [vcpkg] proper errorcheck during files installation

* [vcpkg] move ec.clear to status_implementation
2020-07-13 12:13:55 -07:00
ras0219
18c7750270
[vcpkg] Improve informational message for --editable while cleaning sources (#12366)
* [vcpkg] Improve informational message for --editable while cleaning sources

* [vcpkg] Update scripts/cmake/vcpkg_extract_source_archive_ex.cmake

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

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-13 12:12:48 -07:00
ras0219
7b3eea9481
[vcpkg] Add CMake heuristics for header-only libraries (#12386)
* [vcpkg] Add CMake heuristics for header-only libraries

* [vcpkg] Update toolsrc/src/vcpkg/install.cpp

Handles the case of:
```
triplet/lib/
triplet/lib/x.pc
```

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

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-13 12:07:52 -07:00
ras0219
52a9d9a9e4
[vcpkg] Enable binary caching by default (#12370)
* [vcpkg] Enable binary caching by default. Support `x-` migration.

Fix passing multiple copies of single parameter arguments.

* [vcpkg] Handle x- prefixes for general arguments

* [vcpkg] Fix #12285 and improve documentation of default binary cache path

* [vcpkg] Revert x- prefix homogenization for per-command arguments

* [vcpkg] Only use accelerated compiler detection for Windows Desktop + Ninja. Improve breadcrumbs for users encountering issues.

* [vcpkg] Fix compiler tracking not pre-downloading Ninja. Fix compiler tracking not looking in -err.log.

* [vcpkg] Update toolsrc/src/vcpkg/binarycaching.cpp

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* [vcpkg] Format

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2020-07-13 12:03:53 -07:00
Edhebi
f4b66c5e2b
[vcpkg] Add a schema file for vcpkg.json (#12178)
* Add a schema file for vcpkg.json

* [vcpkg.schema.json] fix $ref fields

Per json schema, having any other field in a `{ "$ref": ""}` object is invalid.

* [vcpkg.schema.json] change case to reflect usage

* [vcpkg.schema.json] check reserved names for identifiers

* [vcpkg.schema.json] add an $id field

* [vcpkg.schema.json] Apply suggestions from code review

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

* [vcpkg.schema.json] Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-13 11:34:15 -07:00
Anand Balakrishnan
8d50672e04
[pybind11] Update to v2.5.0 (#12394)
* [pybind11] Update to v2.5.0

* Address comments in PR
2020-07-13 11:04:14 -07:00
Adam Johnson
006a133d39
[openal-soft] Revert #12047 (#12318)
* [openal-soft] Revert #12047

* [openal-soft] Prevent addition of extra Windows SDK

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 11:00:26 -07:00
JonLiu1993
4953c8a3c0
[minhook] fix usage issue (#12399)
* fix minhook lib faild to load when tring to be included in a project

* fix usage issue
2020-07-13 10:54:00 -07:00
nicole mazzuca
0523b5eb57
[vcpkg formatting] Fix format regex (#12369)
* [vcpkg formatting] correct the header regexes

* format
2020-07-11 21:07:51 -07:00
nicole mazzuca
544f8e4593
[vcpkg build] fix #12355 (#12367) 2020-07-10 16:06:01 -07:00
nicole mazzuca
8a8d725b43
[vcpkg] Remove unnecessary work queue (#12350)
this work queue implementation was added at some point, and is no longer used anywhere.
Delete it as not used; if we need it again, we can grab it from the history
2020-07-09 16:04:59 -07:00
ras0219
a571c8ecc0
[vcpkg] Move default binary cache from $root/archives to user-wide directory (#12256)
* [vcpkg] Move default binary cache from `$root/archives` to user-wide directory

Teach nuget/nugetconfig binary sources to use read/write.

* [vcpkg] Reformat

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-09 15:14:05 -07:00
Alexander Neumann
513cac2f62
[cuda] correct env variables for newer cuda versions (#12244)
* [cuda] correct env variables for newer cuda versions

* Update ports/cuda/CONTROL

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

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-09 14:20:45 -07:00
myd7349
dbba608d3d
[kfr] Add new port (#8322)
* [kfr] Add new port

* [kfr] Modernize and update to lastest

* [kfr] Add features

* [kfr] Fail fast on arm-uwp, arm64-windows

* [kfr] Fail fast on linux
2020-07-09 13:59:37 -07:00
Kevin Lu
a6ba0da984
[nlohmann-json] Always install multiple headers to allow forward declarations (#12117)
* [nlohmann-json] Add multiple-headers feature

Closes #10795

* Update ports/nlohmann-json/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [nlohmann-json] Make multiple headers always active

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-09 13:17:32 -07:00
Leonid Pospelov
d7be068355
[MyGUI] Add new port (#11991)
* [MyGUI] Add new port

* fix
2020-07-09 12:40:15 -07:00
Rémy Tassoux
b385e54bac
[directxtk][directxtk12][directxtex][directxmesh] Update to latest version (#12332)
https://github.com/microsoft/DirectXTK/releases/tag/jul2020
https://github.com/microsoft/DirectXTK12/releases/tag/jul2020
https://github.com/microsoft/DirectXTex/releases/tag/jul2020
https://github.com/microsoft/DirectXMesh/releases/tag/jul2020
2020-07-09 12:33:08 -07:00
nicole mazzuca
3871d73349
[vcpkg manifests] fix some issues (#12227)
Fixes #12190
Fixes #12208
Fixes #12234
Fixes #12286
Fixes #12315
Fixes #12186
Fixes #12331
Fixes googleapis/google-cloud-cpp#4487
2020-07-09 12:32:31 -07:00
JinmingHu
cb8aa9c2ee
[azure-storage-cpp] Upgrade to 7.5.0 (#12333) 2020-07-09 12:29:52 -07:00
Christopher Di Bella
c6d69984ed
updates range-v3 (#12346)
Tip-of-trunk range-v3 more closely resembles C++20.
2020-07-09 10:23:13 -07:00
Alexander Neumann
3bffe1c049
[qt5] update qt to 5.15 and make ports depend on qt5-base[core]. (#11596)
* [qt5] update qt to 5.15 and make ports depend on qt5-base[core].

* [qt5] update and remove patches

* [baseline] skip qt5-canvas3d due to deprecation

* [qwt] update to 6.1.4 and fix build issues

* [qt5-webengine] remove old patches

* [qwt] fix static patch

* [qt5-location] add a message that the port has a sprious failure

* [qt5-webengine] fix filename of patch

* [qt5-webengine] add build.patch (ci is probably fast than me in checking for more errors)

* [qt5-winextras] depend on qt5-base[core]

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

* [qt5-base] update latest feature (latest=core)

* [baseline] remove qt5-webengine for nonstatic windows since CI can handle it now

* [qt5-base] make qt5-base fail to get logs.

* [angle] include missing egl sources.

* [qt5-base] patch egl detection logic.

* [baseline] remove qt-x11extras:x64-linux=fail

* [qt5-base] need to be explicit about xcb to build qt5-x11extras

* [CI] add necessary system libraries to linux CI

* [qt5-base] remove comment to retry on linux

* [qt5-base] add static_init patch for MSVC

* [qt5-base] refined workaround to not regress linux and osx due to

* [paraview] remove unnecessary patches with newer qt versions

* [vcpkg/baseline] add webengine back to skip

* [vtk] fix missing include regression using patch from upstream

* [vtk] fix patch

* [qt5-base] replace with patch from upstream

* [paraview] use hdf5 1.10 api.

* [paraview] bump control

* Add more packages to Linux machines.

* [qt5-base] forgot to add the patch

* Delete 6943.diff

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-07-08 15:34:35 -07:00
Jesse Schalken
6d4606fb79
[threadpool] Add new port (#11650)
* [threadpool] Add new port

* Use ${PORT} instead of hardcoded "theadpool"

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/threadpool/portfile.cmake

* [threadpool] Use vcpkg_from_sourceforge

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-08 15:26:47 -07:00
Kevin Lu
4e17c76d9f
[freetype] Update to 2.10.2 (#11846)
* [freetype] Update to 2.10.2

* Remove unneeded shared/static configuration

* [freetype] No need to pass BUILD_SHARED_LIBS. Always avoid detecting harfbuzz (to avoid cycles).

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-08 15:25:27 -07:00
Alexandro Sanchez
33e3e20c5c
[freerdp] Fix x64-osx triplet (#12037)
* [freerdp] Fix x64-osx triplet

Signed-off-by: Alexandro Sanchez Bach <alexandro@phi.nz>

* Update ports/freerdp/CONTROL

* Update scripts/ci.baseline.txt

* Update scripts/ci.baseline.txt

* Update scripts/ci.baseline.txt

* Update ports/freerdp/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-08 15:24:36 -07:00
ras0219
fd4a08806f
[vcpkg] Fix MSBuild regressions #12062 and #12086. (#12257)
This PR also renames the VcpkgUserTriplet MSBuild variable to VcpkgTriplet to minimize user confusion compared to previous practice and documentation.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-08 15:08:17 -07:00
myd7349
82797496ca
[libfort] Add new port (#12305) 2020-07-08 14:02:58 -07:00
Phoebe
5e8bcc9d39
[Many ports] fix invalid character in feature name (#12306) 2020-07-08 14:02:34 -07:00
Lily
eb9c86f281
[fontconfig] Fix fonts.conf install pat (#12322) 2020-07-08 13:54:19 -07:00
Jack·Boos·Yu
0c95d75d08
[vcpkg] Ignore dependencies not found errors when downloading mode (#12323) 2020-07-08 13:52:53 -07:00