11232 Commits

Author SHA1 Message Date
Leonardo Guilherme de Freitas
7c82b03faf
[Font Chef] add font-chef C/C++ library (#12293)
* add font-chef

* Fix wrong hash and useless command

* Fix static build error

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-07-07 13:41:59 -07:00
Billy O'Neal
8f886661b6
[libbson, vcpkg baseline] Remove passing and fix spurious failure. (#12300)
* [libbson] DISABLE_PARALLEL_CONFIGURE

* [vcpkg baseline] Fix 'passing, remove from baseline' in CI from 20200705.1

See https://dev.azure.com/vcpkg/public/_build/results?buildId=39820
2020-07-07 13:41:28 -07:00
Gilberto Lopez Zayas
1c409c48cb
aws-sdk-cpp version update (#12316) 2020-07-07 13:40:31 -07:00
nicole mazzuca
ee218d3065
[vcpkg docs] new README/Quick Start guide (#12093)
* [vcpkg docs] new README/Quick Start guide

* some CRs

* add VS+CMake instructions

* add CLion instructions

* Update chinese readme, add link url.

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update README_zh_CN.md

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* CRs

* Fix some describe and link

* Re-fix url link

* Re-fix url link

* Re-fix url link

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-07-07 10:53:14 -07:00
Jim Hague
e1285b4a28
[getdns] Add new port. (#12090)
* [getdns] Add new port.

* Add support for vcpkg static library builds.

* Convert libevent and libuv libraries to features.

* Use ${PORT} in copyright install.

* getdns does not currently support UWP.

* Add failing port on UWP to portfile.

* Remove optional FEATURES keyword.
2020-07-06 17:22:17 -07:00
nicole mazzuca
6a41626eaf
[vcpkg] Format the C++ in CI (#11655)
* [vcpkg] Format the C++ in the CI

* format the C++

* CR
2020-07-06 16:45:34 -07:00
JonLiu1993
ae4968fad4
[caf] Update to 0.17.3 (#12068) 2020-07-06 14:28:59 -07:00
Long Nguyen
89dec24cc2
[vcpkg] Add mingw dynamic libs triplet (#12101)
* Update .gitignore

* Add mingw dynamic lib triplets

* Only copy pdbs if not using *-mingw triplets

* Using VCPKG_POLICY_DLLS_WITHOUT_LIBS as a workaround

* Rename *-mingw to *-mingw-dynamic

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2020-07-06 14:20:06 -07:00
ankurverma85
8b710dea8d
[angle] Add egl renderer to list of files compiled for linux (#12111)
* Add egl renderer to list of files compiled for linux

* Update Control File as per request from vcpkg reviewers

Co-authored-by: Ankur Verma <ankurv@localhost.localdomain>
2020-07-06 14:06:30 -07:00
Wolfgang Stöggl
a05cec95a0
[libffi] Add pkgconfig file (#12126)
* [libffi] Add pkgconfig file

- Configure and add the libffi.pc file.
- Furthermore, enable the check for same 32/64bit-ness in
  libffiConfigVersion.cmake again, which had caused issues in the past
  with newer versions of glib using meson build, e.g. when building for
  x86-windows target on an x64-windows host.
  Now, libffi is found by current glib (e.g. 2.64.3) during
  meson build using the libffi pkgconfig file.

* Check VCPKG_BUILD_TYPE to handle release/debug
2020-07-06 13:40:46 -07:00
Maximilian Kruse
24637886f8
[tinyfiledialogs] Update version and download path to v3.6.3 (#12137)
* Update tinyfiledialogs version and download path to v3.6.3

* update sha512 hash

* Fix download link having an extra version ref

* Fix filehash being uppercased

* again, fixed some ci.baseline errors
2020-07-06 13:39:32 -07:00
Daniele Pallastrelli
0f088f09a8
[cli] Update the version to 1.1.1 (#12139)
Co-authored-by: Daniele Pallastrelli <daniele.pallastrelli@sadel.it>
2020-07-06 13:39:02 -07:00
Leo Yao
aa2b9ef32e
[vcpkg] Added python script to generate all packages file list, added to azur… (#12177)
* Added python script to generate all packages file list, added to azure pipeline to build at the end of the run

* fixed an issue that causes some leading slashes were being removed

* Header Database now includes hpp files for C++ header files

* Changed Header Database to include all files under \include\ folder

* Apply suggestions from code review, changing condition from eq to ne

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

* Update last condition from eq to ne

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2020-07-06 13:38:22 -07:00
myd7349
89746990b7
[marl] Update to 2020-06-30 (#12162)
* [marl] Update to 2020-06-30

[marl] Repoint HEAD_REF to `main` (#11953)

[marl] Dynamic build support

* [marl] Fix typo

* [marl] Add manifest
2020-07-06 13:35:42 -07:00
Oskari Timperi
d1a86d47d8
[libexif] Update to 0.6.22 (#12161)
* [libexif] Update to 0.6.22

From the release page on github:

> It largely contains stability, security and bugfixes.
>
> Some EXIF 2.3 tags have been added.
>
> It is ABI compatible to 0.6.21 release.

* [libexif] Fixes to portfile.cmake

- don't include vcpkg_commong_functions
- use the PORT variable when installing copyright file

* [libexif] Use vcpkg_fail_port_install

Co-authored-by: Oskari Timperi <oskari.timperi@novatron.fi>
2020-07-06 13:28:59 -07:00
Rémy Tassoux
a54c55d39a
[robin-hood-hashing] Update to 3.7.0 (#12147)
https://github.com/martinus/robin-hood-hashing/releases/tag/3.7.0
2020-07-06 13:24:19 -07:00
NancyLi1013
f12d986e6a
[curl] Update to 7.71.0 (#12141)
* [curl] Update to 7.71.0

* Update to 7.71.1
2020-07-06 13:23:44 -07:00
Johnny Willemsen
ac4e90220a
[ace] 6.5.10 (#12183)
* [ace] 6.5.10

* Add version macros to make the port file easier to update

    * ports/ace/portfile.cmake:

* Updated macro names to have ACE_ prefix

    * ports/ace/portfile.cmake:

* Use string replace

    * ports/ace/portfile.cmake:
2020-07-06 13:16:24 -07:00
Stephen Eckels
e5e521a0d1
[polyhook2] Update to latest (#12189)
* bump polyhook2 version

* update polyhook2
2020-07-06 13:15:26 -07:00
Phoebe
e0f0dc5fa1
[libyuv] Find dependency port libjpeg-turbo (#12213) 2020-07-06 12:58:52 -07:00
Glyn Matthews
63cd5bf560
[skyr-url] Changed version number to 1.12.0 (#12214) 2020-07-06 12:53:29 -07:00
Rémy Tassoux
b65decc9f7
[utf8h] Update to latest commit (#12218)
This library doesn't provide official releases, therefore I'm using the latest commit.
2020-07-06 12:53:06 -07:00
Rémy Tassoux
7c5e2356f1
[openvr] Update to 1.12.5 (#12219)
* [openvr] Update to 1.12.5

https://github.com/ValveSoftware/openvr/releases/tag/v1.12.5

* [openvr] Fix static build faillure

* [openvr] revert aa222ad9f8fdc040dc5929138d9ed3c09ca215cd

* [openvr] update ci.baseline.txt
2020-07-06 12:51:58 -07:00
Billy O'Neal
8eda81cc4d
[opengl wincrypt winsock2] Use $ENV{WindowsSdkDir} instead of hard coding Windows SDK paths. (#12232)
Also delete vcpkg_get_program_files_32_bit because it was used in only one place.

Resolves #8288
Obsoletes #11421, #11261, #8329
2020-07-06 12:42:35 -07:00
JonLiu1993
58ff68ae41
[doctest] update to 2.4.0 (#12239) 2020-07-06 12:27:14 -07:00
Jack·Boos·Yu
b6d4c4e2bf
[opencc] Fix regression on pipeline (#12246)
* debug opencc regression on pipeline

* Get the build logs.

* [opencc] Remove debug code, add DISABLE_PARALLEL to configure

* [opencc] Remove apply patch

* Update portfile.cmake
2020-07-06 12:20:02 -07:00
Vennor
a2a16ae7d5
[ppmagic] Add new port (#12253)
* [ppmagic] Add 2c7894e3056c610d383027b2d48149ba9d4a1c62

* [ppmagic] Updated port version to the proper value 2020-07-03
2020-07-06 12:18:53 -07:00
Wolfgang Stöggl
6958919b40
[vcpkg] Update toolsrc VERSION to 2020.06.15 (#12263)
The currently released version of vcpkg is 2020.06.15
See commit: https://github.com/microsoft/vcpkg/commit/6185aa7

- Update also:
  vcpkg/toolsrc/VERSION.txt
2020-07-06 12:12:16 -07:00
ras0219
b37b1bae58
[vcpkg] Revert change which causes sources to be purged by default in vcpkg build (#12272)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-06 11:53:25 -07:00
Jack·Boos·Yu
74ecb4f0bd
[nanodbc] Set unixodbc as a dependency under non-Windows (#12274) 2020-07-06 11:50:07 -07:00
JonLiu1993
9013a281d6
[Exiv2] update to 0.27.3 (#12278) 2020-07-06 11:49:13 -07:00
Tim Autry
4bd7c053bb
[mpg123] Update portfile.cmake to accomodate OpenSUSE 15.x /lib /lib64 (#12287)
* Increment CONTROL file version

Increment CONTROL file version for mpg123 due to changes made to differentiate between library files being put in /lib64 instead of /lib on OpenSUSE 15.x linux

* Update portfile.cmake to differentiate between /lib64 and /lib libraries on OpenSUSE 15.x linux

Update portfile.cmake to differentiate between /lib64 and /lib libraries on OpenSUSE 15.x linux
2020-07-06 11:40:13 -07:00
Billy O'Neal
2a233a21b9
[pcre] Use vcpkg_from_sourceforge as a fallback (#12252)
* [pcre] Use vcpkg_from_sourceforge as a fallback

* Update ports/pcre/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-06 11:28:04 -07:00
ras0219
e82e56f27f
[vcpkg] Remove use of std::variant and std::visit to fix VS2015. (#12242)
Fixes #12220

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-06 11:03:38 -07:00
Dr. Frank Heimes
c21893b4dc
[vcpkg integrate] Clean up vcpkg.target file (#4608)
Use IncludePath and LibraryPath propertiesThese tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code.
This change includes my changes from #4454.

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-07-05 12:39:14 -07:00
Jack·Boos·Yu
21b56d9929
[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018) 2020-07-03 09:36:40 -07:00
Billy O'Neal
3d2a7ca33e
[pcre2] Restore the https://ftp.pcre.org/ mirror in addition to the SourceForge mirrors. (#12233) 2020-07-02 23:52:04 -07:00
Johnny Willemsen
485799e37b
[xercesc] rename feature from xmlch_wchar to xmlch-wchar (#12205) 2020-07-02 21:12:23 -07:00
Rémy Tassoux
e5a6d6db62
[safeint] Update to 3.24 (#12217)
https://github.com/dcleblanc/SafeInt/releases/tag/3.24
2020-07-02 20:21:56 -07:00
Billy O'Neal
a28bfe7674
[vcpkg] Remove the tombstones and 'ignore' baseline concepts. (#12197)
This changes our PR builds to treat 'fail' in the ci.baseline.txt as 'skip' instead of using tombstones.

We currently have large numbers of spurious failures that get enshrined in PRs through no fault of a PR author, removing the tombstones concept will fix those by allowing the user to retry. This does mean we accept some risk of not detecting when a port is 'fixed', but that failure is reasonable for us to handle after we see it in CI, but that seems worth it given that it lets us get rid of the tombstone concept.

This also helps out the binary caching feature, because we don't have to figure out how to productize tombstones.
2020-07-02 20:20:07 -07:00
Phoebe
f24543e831
[msbuild] Revert the importance to Normal (#12212) 2020-07-02 20:19:23 -07:00
Lars Glud
2ad4074aea
[vtk] Added opengl feature. (#11399)
* Added opengl feature.

Change description of feature: all.

* Fix copyright
2020-07-02 13:17:26 -07:00
Ryan
8133cef324
[span-lite] Update to 0.7.0 (#12206) 2020-07-02 11:50:03 -07:00
nicole mazzuca
ef91134964
[cmocka libarchive libiconv libpq libxml2 plibsys] fix drive-by error in vcpkg-cmake-wrappers (#12196)
* fix drive-by error in vcpkg-cmake-wrappers

* rev port versions
2020-07-02 11:00:28 -07:00
NancyLi1013
77617e31e3
[azure-iot-sdk-c] Fix feature name and enable to build (#12209)
* [azure-iot-sdk-c] Fix feature name enable to build

* Update OPTIONS
2020-07-02 10:47:54 -07:00
ras0219
9ddf284ece
[vcpkg] Improve performance of compiler tracking by suppressing aspects of CMake's compiler detection. (#12203)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-02 00:12:54 -07:00
ras0219
a218d0e61d
[vcpkg] Remove all uses of Foo::Foo() noexcept = default; to fix #9955 (#12201)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-01 21:05:18 -07:00
Richard H
66b906e3ad
[sqlite3] update to 3.32.3 to deal with security issues (#12185) 2020-07-01 17:00:57 -07:00
наб
930b3de8fa
[infoware] Bump version to 0.5.4 (#12167) 2020-07-01 17:00:32 -07:00
Rémy Tassoux
b046c27e1d
[imgui] Update to 1.77 (#12155)
* [imgui] Add Freetype feature

* [imgui] Update to 1.77

https://github.com/ocornut/imgui/releases/tag/v1.77

* [imgui] Fix INSTALL_INTERFACE path case
2020-07-01 16:58:37 -07:00
Phoebe
bd2dbb2ce5
[vcpkg] Update message in bootstrap.ps1 (#12145)
* [vcpkg] Update message in bootstrap.ps1

* Update docs/users/integration.md
2020-07-01 16:58:04 -07:00
ras0219
5a9d8011f5
[vcpkg] Enable NuGet-based binary caching via mono (#12170)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-01 12:18:37 -07:00
Stephane Lajoie
428df4c7d6
Don't change manifest root when manifest isn't enabled. (#12191)
* Don't change manifest root when manifest isn't enabled.

* Update scripts/buildsystems/msbuild/vcpkg.targets

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-07-01 12:18:13 -07:00
nicole mazzuca
7e8cda8404
Fix sourceparagraph:BooleanField (#12192)
the function is called `visit_boolean`, not `visit_bool`.
I wish there was a better way to do this.
2020-07-01 12:16:32 -07:00
ras0219
135f91de1e
[vcpkg] Implement --x-write-nuget-packages-config= setting for install and x-set-installed (#12138)
* [vcpkg] Implement --x-write-nuget-packages-config= setting for `install` and `x-set-installed`.

* [vcpkg] Add end-to-end testing suite for install, remove, and binary caching

* [vcpkg] Define `$TestingRoot in end-to-end-tests.ps1

* [vcpkg] Address CR comments

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-01 11:36:09 -07:00
Carlos O'Ryan
42f70a4276
[google-cloud-cpp] Update to v1.15.0 (#12195) 2020-07-01 11:35:20 -07:00
Billy O'Neal
532db1d8f7
[vcpkg] VM Update (#12176)
* [qt5] Add more dependent Linux packages for https://github.com/microsoft/vcpkg/pull/11596/

* [vcpkg] Add LLVM 10 to Windows CI machines for https://github.com/microsoft/vcpkg/pull/11655/

* [vcpkg] Add missing Param block to InstallLLVM function.

* [vcpkg] Add throw after all Write-Error calls for consistency with https://github.com/microsoft/vcpkg/pull/12172
2020-07-01 10:53:10 -07:00
nicole mazzuca
0084acc75d
[vcpkg ci] add macos scripts to vcpkg repo (#12172)
* [vcpkg ci] add macos scripts to vcpkg repo

* CR changes

* docs stuff
2020-07-01 10:08:06 -07:00
Wolfgang Stöggl
c8ebb5aa93
[monkeys-audio] Update to 5.46 (#12158)
- The previous version in vcpkg is not available for download any more
- Fixes: Downloading https://monkeysaudio.com/files/MAC_SDK_538d.zip...
  Failed. Status: 22;"HTTP response code said error"
2020-06-30 15:01:30 -07:00
Victor-Bergman
0a5c4e4ca3
[boost-locale] Fix boost-locale failing to build with ICU (#10943)
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2020-06-30 15:00:31 -07:00
Sean Yen
7c9bf0a6cd
[suitesparse] Fixing SuiteSparse_INCLUDE_DIRS is not usable from the port. (#11945)
* correct _SuiteSparse_PREFIX.

* Update portfile.cmake
2020-06-30 14:43:32 -07:00
ras0219
3f6342db6d
[vcpkg] Fix vcpkg export --nuget regressions (#12174)
* [vcpkg] Upgrade find_acquire_program(NUGET) to 5.5.1. Add partial SHA to temporary download paths to avoid collisions.

* [vcpkg] Fix regression in `vcpkg export --nuget` due to file locking on .vcpkg-root

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-30 14:02:26 -07:00
nicole mazzuca
1d8f0acc9c
[vcpkg manifest] Manifest Implementation (#11757)
==== Changes Related to manifests ====

* Add the `manifests` feature flag
  * This only says whether we look for a `vcpkg.json` in the cwd, not
    whether we support parsing manifests (for ports, for example)
* Changes to the manifests RFC
  * `"authors"` -> `"maintainers"`
  * `--x-classic-mode` -> `-manifests` \in `vcpkg_feature_flags`
  * reserve `"core"` in addition to `"default"`, since that's already
    reserved for features
  * Add a small helper note about what identifiers must look like
  * `<license-string>`: SPDX v3.8 -> v3.9
  * `"feature"."description"` is allowed to be an array of strings as well
  * `"version"` -> `"version-string"` for forward-compat with versions
    RFC
* Add the `--feature-flags` option
* Add the ability to turn off feature flags via passing
  `-<feature-flag>` to `VCPKG_FEATURE_FLAGS` or `--feature-flags`
* Add CMake toolchain support for manifests
  * Requires either:
    * a feature flag of `manifests` in either `Env{VCPKG_FEATURE_FLAGS}`
      or `VCPKG_FEATURE_FLAGS`
    * Passing the `VCPKG_ENABLE_MANIFESTS` option
  * The toolchain will install your packages to
    `${VCPKG_MANIFEST_DIR}/vcpkg_installed`.
* Add MSBuild `vcpkg integrate install` support for manifests
  * Requires `VcpkgEnableManifest` to be true
* `vcpkg create` creates a port that has a `vcpkg.json` instead of a
  `CONTROL`
* argparse, abseil, 3fd, and avisynthplus ports switched to manifest
  from CONTROL
* Add support for `--x-manifest-root`, as well as code for finding it if
  not passed
* Add support for parsing manifests!
* Add a filesystem lock!

==== Important Changes which are somewhat unrelated to manifests ====

* Rename `logicexpression.{h,cpp}` to `platform-expression.{h,cpp}`
* Add `PlatformExpression` type which takes the place of the old logic
  expression
  * Split the parsing of platform expressions from checking whether
    they're true or not
  * Eagerly parse PlatformExpressions as opposed to leaving them as
    strings
* Add checking for feature flag consistency
  * i.e., if `-binarycaching` is passed, you shouldn't be passing
    `--binarysource`
* Add the `Json::Reader` type which, with the help of user-defined
  visitors, converts JSON to your internal type
* VcpkgArgParser: place the switch names into a constant as opposed to
  using magic constants
  * In general update the parsing code so that this ^ works
* Add `Port-Version` fields to CONTROL files
  * This replaces the existing practice of
    `Version: <my-version>-<port-version>`

==== Smaller changes ====
* small drive-by cleanups to some CMake
  * `${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}` ->
    `${CURRENT_INSTALLED_DIR}`
  * Remove `-analyze` when compiling with clang-cl, since that's not a
    supported flag (vcpkg's build system)
  * Add a message about which compiler is detected by vcpkg's build
    system machinery
* Fix `Expected::then`
* Convert `""` to `{}` for `std::string` and `fs::path`, to avoid a
  `strlen` (additionally, `.empty()` instead of `== ""`, and `.clear()`)
* Add `Strings::strto` which converts strings to numeric types
* Support built-in arrays and `StringView` for `Strings::join`
* Add `operator<` and friends to `StringView`
* Add `substr` to `StringView`
* SourceParagraphParser gets some new errors
2020-06-30 10:40:18 -07:00
Jack·Boos·Yu
67ab6130b6
[vcpkg baseline][paraview] Fix linux build (#12144) 2020-06-29 23:31:08 -07:00
Alexander Neumann
3b275f5138
[qt5-base] fix static init fiasco and fix debug dll's not being copied (#12153) 2020-06-29 16:33:19 -07:00
Matthias C. M. Troffaes
1f01a1fd25
[ffmpeg] Allow gpl builds without avisynthplus (#12083)
* [ffmpeg] Allow gpl builds without avisynthplus

* Update CONTROL

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-06-29 15:37:40 -07:00
Septarius
3c34afc1c4
[openssl] Update openssl 1.1.1g - continued from PR #11003 (#11882)
* [openssl] Update version to 1.1.1g

* [openssl] Disable build tests

* [openssl-unix][openssl-uwp] use vcpkg_fail_port_install

* [openssl] Applying PR #11003 Suggestions

The suggested changes from PR #11003

Along with one additional to remove the deprecated vcpkg_test_cmake from openssl-uwp\portfile.cmake as well.

* Update ports/openssl-uwp/portfile.cmake

Co-authored-by: crackedmind <digital.stream.of.mind@gmail.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-06-29 14:43:51 -07:00
ras0219
d47570b8d6
[vcpkg-x-set-installed] Implement --dry-run (#12132)
* [vcpkg-x-set-installed] Implement --dry-run

* [vcpkg] Address code review comments

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-27 09:50:01 -07:00
freddy77
a0bd59c6a2
Fix typo in comment (#12069)
Enabel -> Enable

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
2020-06-26 19:22:12 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899) 2020-06-26 15:06:30 -07:00
Billy O'Neal
81ae2ed94b
[vcpkg] Add write-only binary caching for CI. (#12130)
Changes to the binary caching spec made as comments over at https://github.com/microsoft/vcpkg/pull/11204#pullrequestreview-438518901
2020-06-26 12:37:53 -07:00
Billy O'Neal
309f6fc9bc
[vcpkg] Delete unused --purge-tombstones and introduce BufferedPrint class (#12049)
* Introduce buffered_print class to manage buffered write patterns like in the ci command.

* Remove --purge-tombstones option.

* Law of demeter.

* Make buffered_print imobile.

* buffered_print => BufferedPrint

* Fix merge conflict.
2020-06-26 12:16:17 -07:00
ras0219
91e798afd8
[vcpkg] Implementation of --x-binarysource=nuget (and friends) (#12058)
* [vcpkg] Initial implementation of --x-binarysource=nuget

* [vcpkg] Remove double-double quoting of CMake arguments

* [vcpkg] Update nuget.exe to 5.5.1 to support Azure DevOps Artifacts

* [vcpkg] Enable batching of NuGet server calls with prefetch(). Add `interactive` binarysource.

* [vcpkg] Add `nugetconfig` binary source

* [vcpkg] Short circuit querying remote NuGet servers once all refs are found

* [vcpkg] Add experimental help for binary caching

* [vcpkg] Improved NuGet cache package descriptions and version formatting

* [vcpkg] Rename `CmdLineBuilder::build()` to extract()

* [vcpkg-help] Ascii-betize help topics

* [vcpkg] Add tests for cmdlinebuilder. Improve handling of quotes and slashes.

* [vcpkg] Addressing code review comments

* [vcpkg] Add tests for vcpkg::reformat_version()

* [vcpkg] Added test for vcpkg::generate_nuspec()

* [vcpkg] Add tests for vcpkg::XmlSerializer

* [vcpkg] Addressed code review comment

* [vcpkg] Add test for vcpkg::Strings::find_first_of

* [vcpkg] Fix machine-specific paths in test for vcpkg::generate_nuspec()

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-26 12:16:02 -07:00
ras0219
7ebb42a4d9
[vcpkg] Fix "[commands-build] build smoke test" (#12128)
* [vcpkg] Fix "[commands-build] build smoke test"

1. Do not exit with a success code in Build::perform, because this causes failures in other tests to be ignored.
2. Use temp directory to avoid interference with the current set of {installed, buildtrees, packages}
3. Explicitly disable binary caching

* [vcpkg] Disable binarycaching in "build smoke test", "[commands-build]"

Return 1 for the last failure case in Build::perform() so testing may continue.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-26 11:35:41 -07:00
ras0219
4c527e49c4
[vcpkg] Use XDG/LOCALAPPDATA for default binary caching path (#12091)
* [vcpkg] Use XDG Base Directory Specification on non-Windows

* [vcpkg] Move user-wide binary cache on Windows to $LOCALAPPDATA/vcpkg/archives

* [vcpkg] Address code review comments; refactor other uses of LOCALAPPDATA

* [vcpkg] Address code review comments

* [vcpkg] filesystem::path::append() accepts string arguments, not paths.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-26 11:26:38 -07:00
Billy O'Neal
9f8cc9ee88
[vcpkg] Delete unnecessary tombstone deletion step now that CI rebuilds everything (#12120) 2020-06-25 22:19:17 -07:00
nicole mazzuca
22c8e3a23a
[vcpkg build] fix build command (#12072) 2020-06-25 18:23:30 -07:00
Billy O'Neal
f10c49281a
[vcpkg] Add disk space report to Windows PR/CI (#12113)
* [vcpkg] Add disk space report to PR/CI

Example output:
```
Disk Label           Size     Free Space
---- -----           ----     ----------
C:   Sabrent         1907 GiB 1239 GiB
D:   Dev             447 GiB  383 GiB
E:   Samsung 960 Pro 1908 GiB 1084 GiB
H:   Rocket          3815 GiB 863 GiB
R:                   0 B      0 B
S:                   0 B      0 B
```
2020-06-25 16:38:13 -07:00
Billy O'Neal
0d37525d75
[vcpkg] Commonize pipelines build powershell and don't use binary caching in CI (rather than PR) builds (#12082) 2020-06-25 16:36:28 -07:00
Jack·Boos·Yu
1f0db1f06a
[vcpkg baseline] Fix baseline errors (#12067)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-06-25 11:11:17 -07:00
Silvio Traversaro
70ab27fcad
[ignition-plugin1] Add new port 🤖 (#11275)
* [ignition-plugin1] Add new port

* vcpkg_fixup_cmake_targets: Add DO_NOT_DELETE_PARENT_CONFIG_PATH

By default the vcpkg_fixup_cmake_targets script remove the parent
path of CONFIG_PATH if it named "cmake", this behaviour is not convenient
for ports that install more than one CMake package config file, and
for which vcpkg_fixup_cmake_targets is invoked multiple times.
To optionally disable this behaviour, this commit adds the option
DO_NOT_DELETE_PARENT_CONFIG_PATH to vcpkg_fixup_cmake_targets.

* [ignition-modularscripts] Add support for ignition libraries that install multiple CMake package config files

Some ignition libraries install several CMake  package config files,
to represent the different components of the library. This  commit modifies
the ignition_modular_library function to fixup correctly all the cmake package config files.

* vcpkg_fixup_pkgconfig: Move definition of SYSTEM_LIBRARIES to vcpkg_common_definitions

To correctly validate installed pkg-config files, vcpkg_fixup_pkgconfig needs to know
for each platform which libraries are not managed by vcpkg. This commits improve this
definitions for all the triplet supported by vcpkg, and move this definition to vcpkg_common_definitions
in a way that permit custom triplets to overload its value.
2020-06-24 14:59:32 -07:00
Billy O'Neal
7ced7d721e
[vcpkg] Do not fail just because cleaning tombstones failed in CI. (#12074) 2020-06-24 11:39:47 -07:00
Vicki Pfau
eede79eb27
Fix bootstrapping MSYS2 pacman (#11499) (#12080) 2020-06-24 11:29:28 -07:00
Phoebe
7042764fe1
[stlab] Fix cmake config file (#11787)
* [stlab] Fix cmake config file

* Update ports/stlab/portfile.cmake

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-06-23 14:38:14 -07:00
Jack·Boos·Yu
c75f0b32a6
[grpc] Update to 1.29.1 (#11791)
* [grpc] Update to 1.29.1

* re-fix uwp build

* re-fix dependency upb

* [offscale-libetcd-cpp] Fix dependency grpc
2020-06-23 14:36:26 -07:00
NancyLi1013
db74895497
[cairo] Fix error in static build (#11829)
* [cairo] Fix error in static build

* Fix Typo

* [pango] Update dependency cairo as cairo[gobject] to solve the regressions

* Update ports/cairo/portfile.cmake

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

* Update ports/cairo/CMakeLists.txt

* [pango] Update dependency

* Update

* Remove redundant target

* Post the message for feature gobject only in static build on Windows

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 14:28:19 -07:00
ZeeWanderer
36bb6f02e9
[tgbot-cpp] Add new port (#11876) 2020-06-23 14:26:53 -07:00
JangBoo
09be10d763
[Bitmagic] Add new port (#11890)
* Add Bitmagic Port file

* Renamed to Bitmagic

* Added bitmagic portfile

* Added lower case to capital letter to match

* Edited path for header files

* Removed function vcpkg_configure_cmake()
2020-06-23 14:18:09 -07:00
NancyLi1013
e33e3fc229
[icu] Add tools (#11897)
* [icu] Add tools

* Add macro variables
2020-06-23 14:14:02 -07:00
Christian Ullrich
1b578cfac9
[wtl] Update to 10.0.10077 (#11893) 2020-06-23 14:09:35 -07:00
Leonid Pospelov
8af2f692eb
[efsw] Add new port (#11901)
* [efsw] Add new port

* Update portfile.cmake

* Remove unnecessary BUILD_SHARED_LIBS assigning

* Update portfile.cmake

* Update library

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-06-23 13:58:38 -07:00
Kuntal Majumder
c12aa1cd7b
[x265] Delete the bin directory if the platform is Linux (#11903)
* Delete the bin directory if the platform is Linux

* Update x265 to 3.2-4
2020-06-23 13:57:29 -07:00
Rémy Tassoux
8e9ee5d36c
[imgui] Add Freetype feature (#11919) 2020-06-23 13:56:15 -07:00
NancyLi1013
5058547304
[ffmpeg] Add avisynthplus support (#11946) 2020-06-23 13:40:35 -07:00
yurybura
8714f0d829
[llvm] fix issue #11916 (#11956)
* [llvm] fix issue #11916

* Remove include(vcpkg_common_functions)

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-06-23 13:39:52 -07:00
Jack·Boos·Yu
67a031a4d5
[libmicrohttpd] Support build on UNIX and use msbuild on Windows (#11983)
* [libmicrohttpd] Support build on UNIX and use msbuild on Windows

* update baseline
2020-06-23 13:38:30 -07:00
Jack·Boos·Yu
2c280eed42
[date] Update to 3.0.0 (#11968) 2020-06-23 13:37:41 -07:00
Jack·Boos·Yu
7e18ac0d8b
[activemq-cpp] Fix static build (#12005)
* [activemq-cpp] Fix static build

* update baseline
2020-06-23 13:18:04 -07:00
Jack·Boos·Yu
088963227e
[cpprestsdk] Fix usage issue when building static (#12006) 2020-06-23 13:12:42 -07:00
Lily
2ad479e667
[openmesh] Fix install *.dll and add vcpkg-cmake-wrapper.cmake (#12007)
* [openmesh] Fix *.dll export and add vcpkg-cmake-wrapper.cmake

* Update ports/openmesh/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 13:12:14 -07:00