Commit Graph

11632 Commits

Author SHA1 Message Date
nicole mazzuca
1c2af99415
[vcpkg format-manifest] Add convert-control flag (#12471)
* [vcpkg format-manifest] initial convert-control attempt

TODO: manifest comments! we should keep $directives

* Finalize x-format-manifest

First, fix Json::parse -- "\c", for any c, was incorrectly parsed.
It would emit the escaped character, and then parse the character, so
that `\b` would give you { '\b', 'b' }.

Second, canonicalize source paragraphs as we're parsing them. This found
an error in qt5 -- The `declarative` feature was listed twice, and we
now catch it, so I removed the second paragraph.

Add PlatformExpression::complexity to allow ordering platform
expressions in a somewhat reasonable way.

Notes:
  - We allow `all_modules` as a feature name for back-compat with
    paraview
  - In order to actually convert CONTROL to vcpkg.json, we'd need to
    rename the qt5 `default` feature.
  - We need to add support for $directives in x-format-manifest

* fix qt5 port

* format

* fix compile

* fix tests for canonicalization

* Clean up code

* add error message for nothing to format

* add extra_info field

* add `const X&` overloads for `Object::insert[_or_replace]`

* fix compile

* simple CRs

* add tests

* format

* Fix mosquitto port file

also unmerge a line

* fail the tests on malformed manifest

* fix format_all

* fix coroutine port-version

* format manifests
2020-08-02 10:08:07 -07:00
Long Nguyen
c0f23c6c31
[openssl-unix] Add mingw with dynamic libs support - take 2 (#12544)
* [openssl-unix] Add mingw with dynamic libs support

* Use new Port-Version

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

* Fix indenting

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-01 21:22:54 -07:00
Vicki Pfau
b46242ff15
[many ports] Remove _find_package guards that break *_FOUND (#12157)
* [many ports] Remove _find_package guards that break *_FOUND

* [many ports] Fix incrementing version

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-08-01 17:13:08 -07:00
nicole mazzuca
d6565e146c
[vcpkg manifest] add feature support (#12549) 2020-08-01 16:45:00 -07:00
nicole mazzuca
80d8bf5b72
[mpir] fix compilation on macOS (#12677)
also remove dependency on autotools
2020-08-01 16:18:12 -07:00
Phoebe
337893d706
[argtable3] Update to 3.1.5 (#12421)
* [argtable3] Update to 3.1.5

* Replace CONTROL file with vcpkg.json

* Remove comma at the end of json file

* Remove bin folder on static build
2020-08-01 16:14:16 -07:00
Jack·Boos·Yu
75bb11678e
[libigl] Fix configure error and dependencies (#10252)
* [libigl] Fix configure error and dependencies

* convert patch EOL

* [libigl] Update to 2.2.0

* Update ports/libigl/CONTROL

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

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-01 16:12:24 -07:00
Tanguy Fautre
b4f71b8f2f
[Arrow] Update to 1.0.0 (#12537)
* Update to arrow-1.0.0.
Fix FindZSTD and FindUtf8Proc.

* Re-enable warning-as-error on MSVC.

* Fix static/shared mismatch when linking against utf8proc

* Trying to fix Zstd detection on Linux.

* Fix Linux detection of Zstd static libraries

* Remove unnecessary patch

* Fix MSVC compilation now that ZSTD is specified as static.

* Update patches to match candidate ARROW-9541 upstream patch.

* Update patch reflecting the latest changes in ARROW-9541 PR.

* Trying to fix OSX build by re-adding a patch I previously removed
2020-08-01 15:10:40 -07:00
Manuel Kugelmann
0e08105aa9
[vcpkg] Fix [boost] find_package for MSVC2013 / v120 (#10670)
* Fix [boost] find_package for MSVC2013 / v120

added conditional set(Boost_COMPILER "-vc120") to vcpkg.cmake

* fixed spacing

* fixed spaces
2020-08-01 15:02:50 -07:00
Lily
8797e9b0f9
[coroutine] Fix error C7651 (#12456)
* [coroutine] Fix error C7651

* Update portfile.cmake
2020-08-01 14:04:25 -07:00
Alexander Neumann
4ab218039c
[vcpkg] Add environment variable VCPKG_DEFAULT_BINARY_CACHE (#12423)
* [vcpkg] Add environment variable VCPKG_BINARY_CACHE

* apply clang-format

* change line ending

* Update toolsrc/src/vcpkg/binarycaching.cpp

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

* Remove comment

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

* rename to VCPKG_DEFAULT_BINARY_CACHE

* apply clang format

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-01 13:59:33 -07:00
Rémi Bédard-Couture
b228555bbc
[xframe] new port for the xframe library (#12427)
* Add skeleton of signing yaml.

* add xframe port

* Update ports/xframe/portfile.cmake

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

* Revert "Add skeleton of signing yaml."

This reverts commit e3b135e530.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-01 13:57:49 -07:00
Billy O'Neal
322b17f573
[vcpkg] Fix .gitignore excluding triplets/community, sort, and driveby vcpkg_check_linkage.md doc bug. (#12624)
* Un-.gitignore /triplets/community and use an absolute glob for all non .gitignore'd triplets.

* Fix vcpkg_check_linkage.md example to a port that actually uses vcpkg_check_linkage.

* Exclude all of the community directory.

* Update .gitignore

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

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-01 13:57:39 -07:00
Kevin Lu
5512eafd80
[mpg123] Allow cross-compiling, fix previous builds tainting rebuilds (#11535)
* [mpg123] Allow cross-compiling, fix previous builds tainting rebuilds

* [mpg123] Rewrite to use vcpkg_configure_make

* Update ports/mpg123/portfile.cmake

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

* [mpg123] Use vcpkg_execute_required_process

* [mpg123] Bump CONTROL version

* [mpg123] Remove unneeded legacy lines and strip out trailing newline from dumpmachine

* pre-install yasm on OSX.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-08-01 13:56:56 -07:00
alexander-smyslov
021db935f6
[avro-cpp] new port (#11376)
* Add files via upload

* [new port] avro-cpp

* add boost-format

* remove comments

* remove comments

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* avro-cpp 1.9.2

* fix remarks

* fix remarks

* fix remarks

* Update ports/avro-cpp/portfile.cmake

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

* Update ports/avro-cpp/portfile.cmake

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

* add linux support

* back osx restriction

* Update ports/avro-cpp/portfile.cmake

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

* fix remarks

* Update ports/avro-cpp/CONTROL

* Update ports/avro-cpp/portfile.cmake

* add osx support

* Update portfile.cmake

* Update CONTROL

* Update scripts/ci.baseline.txt

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

* fix

* disable all static build

* fix remarks

* fix remarks

* Update ports/avro-cpp/portfile.cmake

Remove whitespace

Co-authored-by: Alexander Smyslov <aleksandr.smyslov@libertexgroup.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Smyslov Alexander Nikolayevich <aleksandr.smyslov@fxclub.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-01 13:55:50 -07:00
Alexander Neumann
f7fe9e374f
[qt5-base] Add zstd as a dependency (#12342)
* [qt5-base] add hidden optional not switchable zstd dependency.

* [netcdf/paraview] correct embree3 dependency
[paraview] make tools default feature for CI testing.

* [paraview] fix typo and remove unnecessary flags

* [paraview] add flags back into portfile

* [vtk] add hdf5 api patch
[paraview] remove hdf5 use flags from portfile
[field3d] use flags instead of patching to fix hdf5.

* [paraview] remove message on osx since it now works with qt 5.15

* [paraview] remove default feature and force CI features by a CI test port

* [paraview|CI] back out python from CI testing for now

* [qt5-base] add in the macos deployment target fix
2020-08-01 13:48:24 -07:00
Alexander Neumann
f7dcd675d0
[qt-webengine] Fix building with vs2017 (#12494)
* [qt5-webengine] fix vs2017 builds. closes #12477

* remove skip from ci baseline to test changes.

* add src/3rdparty/ subdir to patch

* put webengine back to skip. patch was succesfully applied
2020-08-01 13:48:12 -07:00
nicole mazzuca
f225ba822b
[vcpkg manifest] look at platform directives (#12548)
Fixes #12538
2020-08-01 13:46:26 -07:00
nicole mazzuca
54ec974afe
[vcpkg] Refactor commands 2: Electric Boogaloo (#12641)
* Add BasicCommand and VersionCommand

* Add ContactCommand

* test get_available_commands_type_c

* Change get_available_commands_type_c to return objects

* Add TripletCommand & InstallCommand

* Add SetInstalledCommand

* add linking tests

* Add CICommand

* Add remaining *Command objects

* Add tests for commands_type_a

* Move over to using const TripletCommand* for commands_type_a

* Add PathsCommand

* Add SearchCommand

* add test for commands_type_b

* add *Command for all type b commands

* Switch from function pointers to PathsCommand for everything

* format

* rename get_available_commands

also remove CommandType* types
2020-08-01 13:45:17 -07:00
Silvio Traversaro
00e44369cb
[tomlplusplus] Add new port (#10786)
* vcpkg_fixup_cmake_targets: Add support for processing cmake config files generated by meson

In particular this adds a workaround for the differences between CMake and meson
described in https://github.com/mesonbuild/meson/issues/6955

* Add tomlplusplus

* Resolve conflicts

* Update scripts/ci.baseline.txt

* [tomplusplus] Update ci.basline.txt

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2020-07-31 16:49:53 -07:00
Alexander Neumann
5c66f720c0
[cmake] Add cmake port to test qt (#10770)
* [cmake] add port for qt testing

* only add cmcldeps on windows

* [cmake] cleanup and fix portfile for osx build

* [cmake] more cleanup

* move cmake to scripts/test_ports

* add the overlay scripts/test_ports to ci
2020-07-31 16:48:52 -07:00
nicole mazzuca
56fffbe49d
[vcpkg] Refactor Commands: Part 1 (#12585)
* Rename commands.exportifw.cpp -> export.ifw.cpp

* move DryRun from commands.h -> commands.interface.h

* move vcpkgcmdarguments and vcpkgpaths over to commands.interface.h

* move vcpkg::Commands::BuildExternal -> commands.buildexternal.h

* add commands.*.h for the commands.*.cpp

* move vcpkg::Commands::* to commands.*.h

* move vcpkg::Commands::{Hash,Fetch} to their own files

* change include commands.h -> commands.*.h in commands.*.cpp

* remove commands.*.h from commands.h

* join vcpkg::Commands::* into one namespace line

* fix vcxproj build
2020-07-31 11:53:42 -07:00
nicole mazzuca
37f7d69757
[vcpkg] Fix build on Windows 8.1 SDK (#12586) 2020-07-31 11:53:18 -07:00
nicole mazzuca
f0ae3efbb4
[vcpkg-ci] fix macos setup scripts (#12639)
* [vcpkg-ci] fix macos setup scripts

* the disk feature is still experimental

* fix Get-InstalledVirtualBoxExtensionPacks

* use new bash install script for brew

instead of old-style ruby
2020-07-31 11:52:24 -07:00
Robert Schumacher
683ec4724e
[azure-iot-sdk-c] Fix passing hsm_type_symm_key (#12605) 2020-07-31 11:40:11 -07:00
Varun Agrawal
e6cc4b49e7
[vcpkg] Fix typo in link for installing and using packages (#12661) 2020-07-31 11:38:02 -07:00
Lily
103939fa9b
[mosquitto] Add vcpkg-cmake-wrapper.cmake and vcpkg.json (#12536) 2020-07-31 11:35:46 -07:00
JonLiu1993
cd6c4e19fa
[osgearth] update to 3.0 (#12531)
* [osgearth] update to 3.0

* delete controlfile

* fixjsonfile

* Update ports/osgearth/portfile.cmake

* fixJsonfile

* deletejsonfile

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-31 11:35:04 -07:00
Emerson de Freitas Barcelos
544222febd
[wxwidgets] Adding wxWidgets resource compiler (wxrc) to <triplet>/tools/wxwidgets directory (#12485)
* Adding wxWidgets resource compiler (wxrc) to <triplet>/tools/wxwidgets directory

* Fix tool missing dependencies

* CONTROL file version update

* Update ports/wxwidgets/portfile.cmake

* Update ports/wxwidgets/portfile.cmake

* Fix the build failures

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-07-31 11:30:41 -07:00
myd7349
c2b5201e1f
[audiofile] Add new port (#12482) 2020-07-31 11:30:06 -07:00
Rémy Tassoux
19e86d2dab
[robin-hood-hashing] Update to latest version (#12480)
https://github.com/martinus/robin-hood-hashing/releases/tag/3.8.0
2020-07-31 11:29:17 -07:00
ahugeat
31cf09e108
[gf] Add the new package GF (#12426)
* [gf] Add the new package GF

* Update CONTROL

* Update portfile.cmake

* Try to fix failed builds

* fix x64-linux build for vcpkg

* remove nuklear from dependencies

* use vcpkg_fail_port_install to fail early on arm

* fix x64-windows build

* change the name of the source in CONTROL

* change the name of the directory

* fix cmake install directory

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: Julien Bernard <julien.bernard@univ-fcomte.fr>
2020-07-31 11:28:21 -07:00
Adam Johnson
092267fd50
[physx] Add patch for NVIDIAGameWorks/PhysX#322. (#12413)
* [physx] Add patch for NVIDIAGameWorks/PhysX#322.

* [physx] Cleanup usage of `VCPKG_CMAKE_SYSTEM_NAME`.

* [physx] Convert portfile space indentation to tabs.

* Update portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-31 11:27:31 -07:00
Kevin Lu
62d4320409
[sdl2-mixer] Fix FLAC symbol export when static linking, add nativemidi default feature (#12374)
* [sdl2-mixer] Fix FLAC symbol export when static linking

Fix regression introduced by #11152

* [sdl2-mixer] Add nativemidi default feature

Closes #10318

* [libsndfile] Revert to port version 8 as version 10

* [libflac] Use BUILD_SHARED_LIBS to properly export FLAC__NO_DLL via CMake

* [libflac] Force FLAC__NO_DLL in installed headers in static triplets

* [libflac] Modify headers on installation
2020-07-31 11:23:27 -07:00
Daniel Parker
4b0f9cbaec
[jsoncons] Update to v0.154.1 (#12372)
* [jsoncons] Update to v0.154.0

* [jsoncons] Update to v0.154.1

* v prefix removed from version in CONTROL file
2020-07-31 11:22:32 -07:00
DailyShana
faf2d6ffb6
[libevent] update to 2.1.12 (#12277)
* [libevent] update to 2.1.12

* fix path in LibeventConfig.cmake.in

* configure crt runtime

* patch target file

* try to fix evpp build on unix

* try to fix evpp build on unix

* try to fix evpp build on unix

* try to fix evpp build on unix

* fix file patching

* code review

* fix fizz:x64-windows build
2020-07-31 11:21:44 -07:00
eao197
0a8857d260
[RESTinio] Update to v.0.6.8.1 (#12087)
* RESTinio updated to v.0.6.8.1

* Fix version number in comment.
2020-07-31 11:16:37 -07:00
Todor Prokopov
e2cdd07866
[vcpkg] Fix vcpkg_fixup_cmake_targets to work correctly on MinGW (#12104)
* [vcpkg] Fix vcpkg_fixup_cmake_targets to work correctly on MinGW

* [akali] Bump version to test vcpkg_fixup_cmake_targets changes

* Update ports/akali/CONTROL

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-31 11:13:45 -07:00
curoky
f533327462
[brpc] Add new port (#11524)
* [brpc] add new port

* [brpc] ci ignore build error on windows

* [brpc] update version and delete deprecated function

* [brpc] fail install on windows

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

* [brpc] not support windows

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

* Update portfile.cmake

Update the format and remove unused comments

* [brpc] rebase master

* [brpc] reset ci.baseline.txt

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-31 11:10:00 -07:00
curoky
62cbf26175
[rsocket] Add new port (#11021)
* [rsocket] Add new port

* [rsocket] don't build in some window environment

* [rsocket] add missing deps in CONTROL

* [rsocket] add missing deps in CONTROL

* [rsocket] remove some deprecated args

* [rsocket] romove vcpkg_fail_port_install(ON_ARCH x64)

* [rsocket] only support x64 architecture

* [rsocket] upgrade to 2020.05.04.00

* [rsocket] add vcpkg_fail_port_install to portfile

* [rsocket] Fix find dependencies

* Update ports/rsocket/portfile.cmake

* Update ports/rsocket/CONTROL

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-31 11:07:14 -07:00
Jamie Kydd
a17543d840
Fix android toolchain so it correctly adds -fPIC flag (#12097)
(cherry picked from commit 497fe8ab805bcafd2cb2abd538db8783f897f9ad)
2020-07-31 10:46:26 -07:00
Alexander Neumann
e299457351
[vcpkg_fixup_pkgconfig] Remove required in first find_program call for pkg-config (#12569)
* Remove required in first find_program call

* add usr/local/bin for mac

* lets try without cellar and see if osx ci agrees
2020-07-31 09:20:56 -07:00
Jack·Boos·Yu
2b8d5bad0a
[qt5 components] Disable parallel build (#12529)
* [qt5-imageformats] Disable parallel build

* [ompl] Disable parallel configure

* [qt5-connectivity] Disable parallel build

* [qwt] Update hash

* [qt5-location] Disable parallel build

* Update ports/qwt/portfile.cmake

* Update ports/qwt/portfile.cmake

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

* [qt5] change build method to vcpkg_execute_build_process

* Add condition when there are some file conflicts

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-31 09:12:17 -07:00
NancyLi1013
2cb28482bb
[mpir] Fix build error if VCPKG_BUILD_TYPE is set as release or debug (#12514)
* [mpir] Fix build error if VCPKG_BUILD_TYPE is set as release or debug

* Update ci.baseline.txt

* EOL LF for vcpkg.json

* Update to use vcpkg_configure_make and vcpkg_install_make in UNIX
2020-07-30 22:59:38 -07:00
NancyLi1013
ef037af3d7
[libmodbus] Fix static linkage error (#12530) 2020-07-30 22:57:28 -07:00
Andrei Lebedev
4da29fee9d
[boost] s390x support (#12535)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-07-30 22:55:25 -07:00
Phoebe
ca93b65ade
[winpcap] Remove the keyword 'inline' macro (#12542)
* [winpcap] Remove the keyword 'inline' macro

* Restrict the keyword macro in C
2020-07-30 22:45:15 -07:00
Phoebe
6afa4d3a16
[nana] Fix the version and language standard (#12543) 2020-07-30 22:43:48 -07:00
ras0219
7938ab75c1
[fltk] Force static library due to global variables. Fix CMake Targets. (#12273)
* [fltk] Force static library due to global variables. Fix CMake Targets.

* [fltk] Add include directory to exported targets

* [fltk] Update ports/fltk/CONTROL

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

* Update ports/fltk/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-07-30 22:41:46 -07:00
Lily
32b7ad04ea
[ogre] Update to version 1.12.7 and fix link error (#12210)
* [ogre] Update to version 1.12.7 and fix link error

* [ogre] Fix find imgui

* [ogre] Fix find imgui

* [ogre] Add vcpkg.json

* format manifest

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-07-30 22:39:26 -07:00