Commit Graph

12591 Commits

Author SHA1 Message Date
Francisco Facioni
6b19f55def
[magnum] fixes installing all dependecies by default (#11225) 2020-12-01 14:14:46 -08:00
Long Nguyen
02f6b89775
[many ports] mingw support (#14556)
* [vcpkg_configure_make] Only rename import libs on MSVC

* [x264] Only rename import libs on MSVC

* [x265] Add libc++ and libstdc++ as system libs

* [ffmpeg] mingw support

* [libvpx] Set AS environment variable

* [vcpkg_common_definition] Fix a mistake in the prefix and suffix variables

* [vcpkg_configure_make] Strip leading -l from lib list before joining

* [mp3lame] Use vcpkg_configure_make + mingw support

* [x265] Escape the pluses

* [ffmpeg] Add compiler flags for mingw

* [ffmpeg] Add WINVER define in mf_utils.c

* [ffmpeg] Remove unnecessary patch in 0003-fic-windowsinclude.patch

* [mp3lame] Add missing dollar sign

Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>

* [x265] Remove static lib when building shared with mingw

* [libogg] Change library name to libogg on mingw

* [libogg] Bump port version

* [x265] Remove -l(std)c++ flag in pkgconfig file

* [vcpkg_configure_make] Try to fix huge diff

* [mp3lame] Add comment on deprecated function lame_init_old

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

Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-12-01 14:13:58 -08:00
Francisco Facioni
326e8c8156
[ceres] update to 2.0.0 (#14719) 2020-12-01 14:13:35 -08:00
Nemirtingas
18c93abcb4
[opengl] port path fix when crosscompiling (#14724)
* Update portfile to use native file path.

Fixes cross-compilation paths.

* Update portfile.cmake

* Update CONTROL

* Update ports/opengl/CONTROL

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

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-12-01 14:12:13 -08:00
Alexander Neumann
00553d0269
[elfutils] add new port (#14771)
* [elfutils] add new port

* update

* Update ports/elfutils/configure.ac.patch

Fix missing ZSTD linkage

* Update ports/elfutils/portfile.cmake

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

* add eflutils on osx on CI skiplist

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-12-01 14:03:02 -08:00
Ryan
50e4bb5290
[xbyak] update to 5.991 (#14782)
* [xbyak] update to 5.991

* fail port on unsupported arch + true version

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

* correct version string

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

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-12-01 14:00:09 -08:00
Long Huan
629acdf9d1
[Proj4] Update to 7.2.0 (#14800)
* update proj4 to 7.2.0

* fix cmake find

* add tiff,curl feature

* fix depends

* Update fix-proj4-targets-cmake.patch

* fix

* remove tiff and curl when static build

* fix windows static build error

* Update ports/proj4/portfile.cmake

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

* change port version

* use find_dependency instead of find_package

* Update fix-proj4-targets-cmake.patch

* Update fix-proj4-targets-cmake.patch

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-12-01 13:59:39 -08:00
likle
5d813f3880
[cwalk] Add new port (#14801)
* added port: cwalk 1.2.5

* Update ports/cwalk/portfile.cmake

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

* Update ports/cwalk/vcpkg.json

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

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-12-01 13:52:56 -08:00
Gerald Combs
8ab16db55f
[c-ares] Update to 1.17.1. (#14863)
Update c-ares to 1.17.1, the current version as of
2020-11-30.  The release announcement can be found at
https://c-ares.haxx.se/mail/c-ares-archive-2020-11/0008.shtml.
Fixes #14828.
2020-12-01 13:49:39 -08:00
nicole mazzuca
6b117c9c7e
[vcpkg docs] Check for documentation generation in CI (#14614)
* [vcpkg docs] Change how documenting port functions works

Instead of using `##`, use comment blocks for documentation.

Also, add some minor docs and change RST -> MD
so we actually get docs generated.

* add CI stuff

* regenerate docs

* fix vcpkg_find_acquire_program to not use _execute_process
2020-12-01 13:37:26 -08:00
ras0219
f92bf6ee1e
[vcpkg] Output versions during install plans (#14882)
* [vcpkg] Output versions during install plans

* [vcpkg] Display versions for already-installed packages

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-12-01 13:18:42 -08:00
Phoebe
f8baf48629
[vcpkg] Remove non-existing 'import' command in vcpkg help information (#14791)
* [vcpkg] Remove non-existing 'import' command in vcpkg help information

* Remove 'import' in commands.autocomplete.cpp
2020-12-01 13:11:19 -08:00
chausner
40d77821bb
[rtaudio] Add new port (#14774)
* Add rtaudio 5.1.0

* Convert CONTROL to manifest format

* [rtaudio] Mark UWP as unsupported

* Add rtaudio:x64-linux=fail to ci.baseline.txt
2020-12-01 12:34:21 -08:00
ras0219
4fba4b7911
[vcpkg] Expose alpha end-to-end versioning (#14852)
* Check for the 'versions' feature flag while installing a manifest
* Implement two-level fallback for Baselines:
  * First, fall back to current repo's baseline.json
  * Second, fall back to the ports in ports/
* Optimize checking out baseline.json via `git show`
* Detect presence of '$x-default-baseline' in the manifest and use that as the baseline commit (to be replaced by Federation functionality)
* If port_versions/x-/xyz.json is not found, fall back to ports in ports/

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-12-01 12:00:00 -08:00
Phoebe
46e6bad823
[gdal] Fix build errors on linux and osx (#14866) 2020-12-01 10:01:02 -08:00
General Jack O'Neill
65d742a57d
[networkdirect-sdk] Rework portfile.cmake to allow windows x64 and x86, add fail for other triplet combinations, remove all triplets for CI fail list (#14688)
* Fix x86 triplets conditional expression

* Update CI baseline - remove triplet x86-windows

* Change message to fail on arm, linux and osx message

* Add UWP to fail message and remove networkdirect-sdk from CI

* Fix vcpkg_fail_port_install function

* Remove windows x64 and x86 check

* Fix misspelled ON_TARGET and change Supports in CONTROL
2020-11-30 15:58:22 -08:00
Jacob Kahn
51f295ade7
[cudnn] Don't copy debug versions of the lib since they aren't provided (#14736)
* [cudnn] Don't copy debug versions of the lib since they aren't provided

* Bump port version

* add VCPKG_POLICY_MISMATCHED_NUMBER_OF_BINARIES
2020-11-30 15:57:40 -08:00
nicole mazzuca
a1d48dc8ec
[vcpkg] fix feature flags telemetry (#14856)
* [vcpkg] fix feature flags telemetry

* change to robert's suggestion
2020-11-30 15:49:22 -08:00
LRFLEW
7313144886
[speexdsp] Update CMake script for macOS/Linux (#14758)
* [speexdsp] Update CMake script for macOS/Linux

* [speexdsp] Update download URL comment

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

* [speexdsp] update with suggested CMake changes

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-11-30 11:57:13 -08:00
eao197
7be127628f
SObjectizer updated to v.5.7.2. (#14844) 2020-11-30 11:04:05 -08:00
Eli Arzhannikov
f6dabc0250
[lapack-reference] add to CMAKE_FIND_LIBRARY_SUFFIXES additional suffixes (#14816)
* [lapack-reference] add to CMAKE_FIND_LIBRARY_SUFFIXES additional suffixes with versions for make find_library to able to find libgfortran

* restore original value of CMAKE_FIND_LIBRARY_SUFFIXES
2020-11-30 11:03:40 -08:00
NancyLi1013
2fbd692f56
[libevent] Fix library cannot be found (#14805) 2020-11-30 11:02:53 -08:00
Jack·Boos·Yu
94fe840933
[sdl2-image] Fix usage (#14796) 2020-11-30 11:01:16 -08:00
JonLiu1993
09d71f3041
[cpp-httplib] Update to 0.7.15 (#14795) 2020-11-30 11:00:50 -08:00
Jack·Boos·Yu
8f7de27b24
[devil] Fix pkgconfig on Windows (#14793) 2020-11-30 11:00:02 -08:00
Gregor Jasny
9202f7fa54
[prometheus-cpp] Update to version 0.11.0 (#14792) 2020-11-30 10:43:22 -08:00
Kevin Lu
1380e8fd4a
[fmt] Update to 7.1.3 (#14786) 2020-11-30 10:42:58 -08:00
Ryan
0878a82192
[span-lite] update to 0.9.0 (#14781) 2020-11-30 10:39:10 -08:00
Daniil Dudkin
1e9243799e
[fixed-string] Add library (#14770)
* [fixed-string] Add library

* [fixed-string] Added new lines to files
2020-11-30 10:37:18 -08:00
victorburckel
a61ae4f9d6
[ace] copy generated headers files for tao (#14768)
* copy generated files from ace / tao release build folder

* Update port version
2020-11-30 10:37:01 -08:00
Jack·Boos·Yu
d7c3b9ec4a
[poco] Fix dependency libmariadb (#14763)
* [poco] Fix dependency libmariadb

* [poco] Remove link in codes
2020-11-30 10:36:22 -08:00
Daniel Parker
b743d46899
[jsoncons] Update to version 0.159.0 (#14752) 2020-11-30 10:18:11 -08:00
Kevin Lalumiere
0c9285e534
[hiredis] update to 1.0.0 (Fix #13256) (#14734)
* Update to version 1.0.0

Some patches were removed since they are no longer required. Indeed, the
repository https://github.com/redis/hiredis@v1.0.0 fixes many of the
issues our patches were adressing.

* Fix cmake targets for ssl feature
2020-11-30 10:17:12 -08:00
Charles Karney
e7343e50b1
[geographiclib] Update to version 1.51 (#14711)
* [geographiclib] Update to version 1.51

This is just a routine upgrade.

* Use git diff to create patch file

* Preserve execute permissions on tools

* Handle installation of tools so that shared libs are found.

Co-authored-by: Charles Karney <charles.karney@sri.com>
2020-11-30 10:15:15 -08:00
SvenPStarFinanz
e7a3a4cd73
[sqlcipher] Update to 4.4.1 (#14677)
* [sqlcipher] Update to 4.4.1

* [sqlcipher] Updated control file to 4.4.1

* Update ports/sqlcipher/vcpkg.json

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

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-11-30 10:10:08 -08:00
JonLiu1993
ad2933e97e
[protobuf] Update to 3.14.0 (#14670)
* [protobuf] Update to 3.14.0

* Replace patch CRLF with LF
2020-11-30 10:08:38 -08:00
Alexander Neumann
3fd77452e0
[vcpkg] Add option cmake-args (#12877)
* [vcpkg] Add option cmake-args to pass additional args to the script execution

* apply clang format to install.cpp

* rename command to x-cmake-args

* imply editable if x-cmake-args are not empty.

* don't use bitwise or

* add a definition for CMAKE_SCRIPT_ARG

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-11-30 10:07:51 -08:00
Silvio Traversaro
24c67cb379
[tiny-process-library] Bump tiny-process-library to 2.0.4 (#14732)
* Bump tiny-process-library to 2.0.3

* fixup

* fixup
2020-11-30 10:06:27 -08:00
Jacob Kahn
b7f03b4635
[flashlight-cuda] New Port (#14676)
* [flashlight-cuda] New Port

* Rebase on NCCL port, update commit

* Add default feature (fl)
2020-11-30 10:05:02 -08:00
yurybura
e95a7a8dc0
[llvm] update to 11.0.0 (#13998)
* [vcpkg] allow to use semicolons in COMMAND argument

* [llvm] update to 11.0.0

* [vcpkg] use latest version

* [vcpkg] allow to use semicolons in OPTIONS

* fix vcpkg_fixup_cmake_targets

* [llvm] fix more install paths, add /bigobj option, fix up CMake targets

* Apply suggestions from code review

* [llvm] fix clang, flang, lld, mlir and polly CMake targets

* [llvm] remove empty include directory /include/flang/Config

* [llvm] Flang requires C++17

* [llvm] add /Zc:__cplusplus

* [llvm] remove empty include directory include/clang-tidy/plugin

* [llvm] try to fix ClangConfig.cmake, LLVMConfig.cmake, LLDConfig.cmake etc. with patch

* [llvm] set tools install dir to tools/llvm

* [aws-sdk-cpp] fix build after changes in vcpkg_configure_cmake.cmake

* [llvm] disable Flang and OpenMP on Windows

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-30 09:56:22 -08:00
ras0219
7c08030982
[vcpkg_apply_patches] Work around /etc/gitconfig: Permission denied (#14848)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-11-30 09:50:42 -08:00
Phoebe
666589a27d
[vcpkg baseline] [libass] Fix dependency issue in Linux (#14843)
* [libass] Fix dependency issue

* format vcpkg.json
2020-11-30 09:48:57 -08:00
Billy O'Neal
9d72e33d51
[freetds] Remove patches and update to a version that no longer needs them (#14529)
* [freetds] Remove patches and update to a version that no longer needs them

Upstream seems to have version numbered releases but they aren't explicitly numbered well in GitHub, so I've intentionally changed the version-string to something unorderable for now.

* Also update to 1.2.11.

* Update ports/freetds/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-11-30 09:41:33 -08:00
Phoebe
480ec85d51
[vcpkg] Fix issue in vcpkg.targets that introduced in 13755 (#14797) 2020-11-30 09:39:23 -08:00
TeeVenDick
43e41bb2b0
Fix broken doc link (#14833) 2020-11-29 13:44:03 -08:00
ras0219
896498fdba
[vcpkg] Introduce create_versioned_install_plan() (#14633)
* [vcpkg] Implement constraints in manifests

* [vcpkg] Add SourceControlFile::check_against_feature_flags to prevent accidentally ignoring versioning fields

* [vcpkg] Switch check_against_feature_flags to accept fs::path

* [vcpkg] Implement overrides parsing in manifests

* [vcpkg] Address CR comments

* [vcpkg] Initial implementation of create_versioned_install_plan()

* [vcpkg] Implement port-version minimums

* [vcpkg] Implement relaxation phase

* [vcpkg] Refactor tests to use check_name_and_version

* [vcpkg] Implemented simple relaxed scheme

* [vcpkg] More relaxed scheme tests

* [vcpkg] Mixed scheme testing

* [vcpkg] Support versions and features without defaults

* [vcpkg] Support versions and features without defaults 2

* [vcpkg] Only consider greater of toplevel and baseilne

* [vcpkg] Implement overrides

* [vcpkg] Install defaults

* [vcpkg] Handle defaults of transitive packages

* [vcpkg] Fix warnings for Span of initializer_list

* [vcpkg] Use CMakeVarProvider during versioned install

* [vcpkg] Handle inter-feature dependencies

* [vcpkg] Correctly handle qualified Dependencies at toplevel

* [vcpkg] Address CR comments

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-11-27 19:05:47 -08:00
Victor Romero
6c9cda1635
[vcpkg] Implement VersionedPortfileProvider and BaselineProvider (#14123)
* WIP: Get versions from database files

* Fix formatting

* Provider inherits ResourceBase

* Correct versions JSON file location

* Fix formatting

* Fix formatting

* Fix include in versions.h

* Fetch port versions using git tree object

* Undo changes to x-history

* Remove unnecesary moves

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

* Extract Git manipulation code

* [WIP] Review comments

* [WIP] Review comments pt. 2

* [WIP] Review comments / fix formatting

* Generate baseline.json

* Extract deserializers from registries source file

* BaselineProvider initial implementation

* Modify gitignore

* Update .gitignore again

* Use JSON deserializer for versions db

* Lazy load baseline file

* Fetch baseline.json from baseline commit

* More git abstractions

* Clean up code

* Path helpers

* Formatting

* Move data into impl object

* Use implementation object for VersionedPortfileProvider

* Reuse cloned instance for checkouts

* Code cleanup and formatting

* Fix returning dangling reference

* Prepare to remove files in port_versions/

* Remove files in port_versions/

* Update .gitignore

* Some PR review comments

* Use StringView

* More StringView conversions

* More refactoring

* Make some implementation members private

* Functions for parsing baseline and version files

* Hide deserializers implementation

* Check for `versions` feature flag in registries.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-27 05:44:21 -08:00
NancyLi1013
62fe6ffbbb
[ebml/gppanel/matroska/polyhook2/unrar] Fix typos in CONTROL files (#14794) 2020-11-26 15:05:51 -08:00
nicole mazzuca
539a182d37
[vcpkg msbuild] Fix the issues introduced in 13755 (#14772)
* Fix the issues introduced in 13755

Fixes #14735

* add VcpkgRoot != ''
2020-11-25 12:45:36 -08:00
肥猫零零七
d611b06c48
[vcpkg] Fix redefinition for OVERLAY_TRIPLETS_ENV (#14744)
* Update vcpkgcmdarguments.cpp

Fix the bug  for master branch, the var of OVERLAY_TRIPLETS_ENV  be defined two times (the lines of 923 and 925 )


[69/83] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/vcpkgcmdarguments.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/vcpkgcmdarguments.cpp.o
/usr/local/bin/g++-6 -DVCPKG_USE_STD_FILESYSTEM=0 -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/lizhipeng/develop/project/git_project/opensource/c++/vcpkg/toolsrc/include/pch.h -std=c++1z -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/vcpkgcmdarguments.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/vcpkgcmdarguments.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/vcpkgcmdarguments.cpp.o -c ../src/vcpkg/vcpkgcmdarguments.cpp
../src/vcpkg/vcpkgcmdarguments.cpp:925:48: error: redefinition of 'constexpr const vcpkg::StringLiteral vcpkg::VcpkgCmdArguments::OVERLAY_TRIPLETS_ENV'
     constexpr StringLiteral VcpkgCmdArguments::OVERLAY_TRIPLETS_ENV;
                                                ^~~~~~~~~~~~~~~~~~~~
In file included from ../src/vcpkg/vcpkgcmdarguments.cpp:9:0:
../include/vcpkg/vcpkgcmdarguments.h:145:40: note: 'constexpr const vcpkg::StringLiteral vcpkg::VcpkgCmdArguments::OVERLAY_TRIPLETS_ENV' previously defined here
         constexpr static StringLiteral OVERLAY_TRIPLETS_ENV = "VCPKG_OVERLAY_TRIPLETS";

* Update toolsrc/src/vcpkg/vcpkgcmdarguments.cpp

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-11-25 12:09:32 -08:00