Commit Graph

49 Commits

Author SHA1 Message Date
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
Buck Yeh
adad924a91
[buck-yeh-bux] add port (#19670)
* [bux] Add new port

* Corrections according to Create Pull Request suggested questions

* SHA512

* Mark fails into .\scripts\ci.baseline.txt

* Mark fails into .\scripts\ci.baseline.txt

* No need of "port-version": 1 in vcpkg.json

* Update version database

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update bux.json

* Update ports/bux/vcpkg.json

* update version

* Update scripts/ci.baseline.txt

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update bux support

* update version

* update version

* Rename bux to buck-yeh-bux

* Update version database

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-09-07 14:13:35 -07:00
siposcsaba89
18b793e28a
[boost-context] arm64 linux abi fix (#19522)
* [boost-context] arm64 linux abi fix

* [boost-context] baseline version updated
2021-08-31 20:27:44 -07:00
Mathis
bedae7b820
[Bullet3] fixes config failures. (#19236)
* fix bullet3

* add-version

* change version-string to version

* overwrite version

* add export targets; change usage_file

* version

* add bullet include dirs to target

* version

* remove line break

* version

* apply changes from @JackBoosY

* version

* change EOL to LF

* version
2021-08-31 12:55:56 -07:00
Anichitei Ionel-Cristinel
d19ebdc662
[bddisasm] Update to 1.34.2 (#19761) 2021-08-27 17:03:20 -07:00
9cvele3
a82c62d5c8
[Libb64] Add new port (#19447) 2021-08-25 20:33:40 -07:00
Barak Shoshany
3fee81c152
[bshoshany-thread-pool] Updated to v2.0.0 (#19582)
* Updated bshoshany-thread-pool to v2.0.0

* Updated versions database
2021-08-18 17:09:48 -07:00
Matthieu Penant
5dc6a9d2da
[bshoshany-thread-pool] add a new port (1.9) (#19470)
* [bshoshany-thread-pool] new port

* formatting vcpkg.json

* update version file

* baseline update based on bot comments

* Update ports/bshoshany-thread-pool/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bshoshany-thread-pool/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update bshoshany-thread-pool.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-08-11 19:42:01 -07:00
Stephan T. Lavavej
134505003b
[boost] Fix boost-modular-build.cmake with VS 2022 17.0 Preview 2 (#19086)
* Fix boost-modular-build.cmake with VS 2022 17.0 Preview 2.

* Update another version list, noticed by @CaseyCarter.

* Update port-version to 1.

* Run `vcpkg.exe x-add-version --all`.
2021-07-23 21:05:45 -07:00
nicole mazzuca
0e1dc12185
[rollup] Rollup PR 2021-07-16 (#19001)
* [rollup:2021-07-16 1/7] PR #18201 (@JackBoosY)

[vcpkg-cmake] Add check for unused cmake variables

* [rollup:2021-07-16 2/7] PR #18397 (@strega-nil)

[vcpkg_list] add new function

* [rollup:2021-07-16 3/7] PR #18782 (@strega-nil)

[scripts-audit] vcpkg_build_ninja

* [rollup:2021-07-16 4/7] PR #18784 (@strega-nil)

[scripts-audit] vcpkg_minimum_required

* [rollup:2021-07-16 5/7] PR #18785 (@strega-nil)

[scripts-audit] vcpkg_replace_string

* [rollup:2021-07-16 6/7] PR #18786 (@strega-nil)

[scripts-audit] windows scripts

* [rollup:2021-07-16 7/7] PR #18945 (@strega-nil)

[many ports] remove deprecated vcpkg_check_features call [1/5]

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-07-20 10:24:58 -07:00
Osyotr
8d5a4268a2
[boost-python] Allow feature python2 on Unix (#18465)
* [boost-python] Allow feature python2 on Unix

* Update version record
2021-07-16 00:19:25 -07:00
nicole mazzuca
d369df7ecf
[rollup:2021-07-06] Rollup PR (#18838)
* [rollup:2021-07-06 1/8] PR #18272 (@strega-nil)

[scripts-audit] vcpkg_from_*

* [rollup:2021-07-06 2/8] PR #18319 (@strega-nil)

[scripts-audit] add guidelines for cmake

* [rollup 2021-07-06 3/8] PR #18410 (@mheyman)

[vcpkg-cmake-config] documentation fix

* [rollup:2021-07-06 4/8] PR #18488 (@strega-nil)

[scripts-audit] vcpkg_execute_*

* [rollup:2021-07-06 5/8] PR #18517 (@strega-nil)

[scripts-audit] vcpkg_extract_source_archive

* [rollup:2021-07-06 6/8] PR #18674 (@NancyLi1013)

[vcpkg doc] Update examples

* [rollup:2021-07-06 7/8] PR #18695 (@JackBoosY)

[vcpkg] Update the minimum version of vcpkg

* [rollup:2021-07-06 8/8] PR #18758 (@ras0219-msft)

[vcpkg_from_git] Fix error if downloads folder does not exist

* build docs!

* fix bond:*-windows

* fix nmap

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Michael Heyman <Michael.Heyman@jhuapl.edu>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-07-14 12:45:18 -07:00
Anichitei Ionel-Cristinel
9f7d6142eb
[bddisasm] Update to 1.33.0 (#18873)
* Add bddisasm port

Currently fetching bddisasm from my fork of the project

* bddisasm: Build with BDD_INCLUDE_TOOL=OFF

* bddisasm: Use PREFER_NINJA

* bddisasm: Update REF

* bddisasm: Don't use vcpkg_install_msbuild

* bddisasm: Switch to release 1.32.1 from the bitdefender repo

* Add the result of ./vcpkg x-add-version --all

* Replace the control file with a manifest

Converted with ./vcpkg format-manifest

* Add more details to bddisasm/vcpkg.json

Added port-version, license, homepage, documentation, and port mantainers

* Fix bddisasm/vcpkg.json

* Fix the version file

* List arm as not supported

* Update version file

* Fail install on arm

* Use the new vcpkg_cmake_* functions

* Remove the LICENSE file

* Fix version

* Update version file

* build only static library

bddisasm only supports being built as a static library, so say that in the portfile

* bddisasm: Update port to version 1.33.0

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-07-13 13:15:22 -07:00
autoantwort
761c81d433
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76

* [boost] update ports to 1.76.0 (run generator)

* [boost] fix windows build?

* [quantlib] update and fix mac build

* [symengine] update and fix build

* [avro-cpp] update to latest master and fix windows build

* [folly] update to 2021.05.31.00

* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build

* [proxygen] update to version 2021.05.31.00

* [fizz, proxygen, fbthrift] fix sodium target

* [proxygen] also works on macOS

* [quantlib] use fix from upstream to fix mac build

* [symengine] minimize patch file and fix deprecation warning

* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00

* [fbthrift] remove unnecessary dependency rsocket

I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency

* [fizz,fbthrift] fix zlib dependency

* [fbthrift] pass required flex executable to cmake configure

* add version files

* [boost] generate-ports.ps1: Apply code review

* [boost] changes from new version of generate-ports script

* update version files

* [boost] generate-ports.ps1: Apply code review
2021-07-07 12:31:06 -07:00
omartijn
e1c7c900f9
[boost-modular-build-helper] Fix boost build toolchain options not being used (#18529)
* Fix boost build toolchain options not being used

The issue was due to the options only being set for the gcc toolchain,
and then only for a specific version. On platforms defaulting to a
different toolchain (e.g. macOS) this didn't work at all.

Additionally, some missing flags were not propagated, in particular the
CMAKE_OSX_DEPLOYMENT_TARGET, CMAKE_OSX_SYSROOT and CMAKE_OSX_ARCHITECTURES

* [boost-modular-build-helper] Apply CR comments

Co-authored-by: Martijn Otto <git@martijnotto.nl>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-07-06 14:05:13 -07:00
NancyLi1013
8bb3f9e4a0
[bzip2] Update repository (#18705)
* [bzip2] Update repository

* Update version files
2021-07-01 10:14:42 -07:00
Alexander Neumann
123211757a
[benchmark] Update to 1.5.5 (#18595)
* update benchmark

* version stuff
2021-06-24 13:05:24 -07:00
JonLiu1993
3b58466098
[boringssl] update to newer commit (#18604)
* [boringssl] update to newer commit

* update version
2021-06-24 13:04:17 -07:00
Sean Farrell
6ece598d97
Bumps bullet to 3.17 (#18295) 2021-06-11 08:58:43 -07:00
Anichitei Ionel-Cristinel
b8eda75055
[bddisasm] new port (#18046)
* Add bddisasm port

Currently fetching bddisasm from my fork of the project

* bddisasm: Build with BDD_INCLUDE_TOOL=OFF

* bddisasm: Use PREFER_NINJA

* bddisasm: Update REF

* bddisasm: Don't use vcpkg_install_msbuild

* bddisasm: Switch to release 1.32.1 from the bitdefender repo

* Add the result of ./vcpkg x-add-version --all

* Replace the control file with a manifest

Converted with ./vcpkg format-manifest

* Add more details to bddisasm/vcpkg.json

Added port-version, license, homepage, documentation, and port mantainers

* Fix bddisasm/vcpkg.json

* Fix the version file

* List arm as not supported

* Update version file

* Fail install on arm

* Use the new vcpkg_cmake_* functions

* Remove the LICENSE file

* Fix version

* Update version file

* build only static library

bddisasm only supports being built as a static library, so say that in the portfile

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-06-03 13:13:15 -07:00
Martin Vejdarski
d97e15975a
[box2d] Update CMake arguments (#18185)
* [box2d] Update CMake arguments

* [box2d] x-add-version
2021-06-03 12:52:57 -07:00
autoantwort
7bc5b8cdfa
[Boost] fix not header only libs (#17372)
* [boost] don't handle compiled libs as header only ones (json/python)

* add version files

* [boost script] wait for lock to not get failure messages

* [boost-json] fix build

* add version files

* remove unnecessary changes

* Trigger Build because of #17612

* update boost asio and concept-check as requested by ci

* add version files

* Trigger Build because of #17612

* apply code review

* add version files

* fix version stuff

* Apply suggestions from code review

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

* fixes

* add version file

* fix wrong suggestion

* add version files

* Update versions/b-/boost.json

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

* Address the review suggestion

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-05-28 11:20:52 -07:00
Alexander Neumann
0de461216d
[vcpkg.cmake] Cleanup every special case in the find_package override (#18047)
* move boost out of the toolchain

* move icu out of the toolchain

* remove CURL from the toolchain (was already unreachable?)

* remove gsl from toolchain

* remove grpc from toolchain

* version stuff

* fix indent and missing endif()

* version stuff

* Revert changes to vcpkg.cmake

* push port version

* version stuff
2021-05-28 10:00:20 -07:00
IronsDu
eba919784d
[bsio] Add new port (#17789)
* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* add the port of bsio library

* Update portfile.cmake

Format vcpkg_cmake_configure

* add the port of bsio library

Co-authored-by: duzhongwei <duzhongwei@querycap.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-05-13 11:07:01 -07:00
IronsDu
4a32fba364
[brynet] upgrade version 1.11.0 (#17733)
* upgrade version to 1.11.0

* upgrade version to 1.11.0

* Update brynet.json

* upgrade brynet 1.11.0

* upgrade brynet 1.11.0

* upgrade brynet 1.11.0
2021-05-11 00:31:56 -07:00
huangqinjin
8badb231a4
[boost-context] support android (#16930) 2021-04-30 11:43:39 -07:00
JonLiu1993
7c27548533
[boolinq] update to 3.0.1 (2020-07-29) (#17495)
* [boolinq] update to 3.0.1 (2020-07-29)
2021-04-28 13:51:46 -07:00
Joakim L. Gilje
05f715e6d0
[botan] add arm (#17509) 2021-04-28 13:51:03 -07:00
Kevin Lalumiere
e022c1e2eb
Update bitmagic version to 7.2.0 (#17223)
* Update bitmagic version

* Install includes in subfolder
2021-04-12 10:44:07 -07:00
JonLiu1993
5f32ae982d
[behaviortree-cpp] update to 3.5.6 (#17169)
* [behaviortree-cpp] update to 3.5.6

* update version

* update vcpkg.json

* update version
2021-04-09 09:42:55 -07:00
autoantwort
80d7989f73
[boost-regex] fix build with icu on osx (#16994)
* [boost-regex] fix osx build with icu

* add version files

* Update ports/boost-regex/b2-options.cmake: Apply suggestion

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

* add version files

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-04-08 12:04:56 -07:00
Park DongHa
b3aaa1c3b7
[bext-ut] create a new port (#16822)
* [ut] create a new port

* [ut] update baseline and port SHA

* [bext-ut] change port name

* [bext-ut] unique name for downloaded license

* Update ports/bext-ut/portfile.cmake

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

* [bext-ut] comment for copyright install

* [bext-ut] Lift license download up. Copy, don't move.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-07 13:25:51 -07:00
Kris Jusiak
b05fe02703
[bext-di] Rename boost-di to bext-di (#16302)
* Rename `boost-di` to `di`

Problem:
- `boost-di` is not an official Boost library and it shouldn't use boost name.

Solution:
- Rename it to `di` instead.

* Update the port name to bext-di

* Update the version

Co-authored-by: Kris Jusiak <kris@jusiak.net>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-04-01 10:33:58 -07:00
Jesse Towner
170e44d327
[breakpad] add support for Android triplets (#16401)
* [breakpad] add support for Android triplets

This changes vcpkg's custom CMakeLists.txt file for Breakpad so
that it correctly builds libbreakpad_client for Android. It
follows the same source file layout for Android as seen in the
./android/google_breakpad/Android.mk make file.

* [breakpad] update control file

* [breakpad] update versions

* [breakpad] fix for unordered_map in MSVC++ STL and libstdc++

* [breakpad] update versions

* [breakpad] fix to install libbreakpad on non-Android platforms

* [breakpad] update versions

* [breakpad] Read sources list from Android.mk

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:12:06 -07:00
ras0219
b5bb1511f0
[many ports] Apply host dependencies (#16479)
* [vcpkg] Add VCPKG_HOST_TRIPLET. Improve vcpkg.schema.json

* [many ports] Apply host dependencies

* [yasm-tool] Revert yasm-tool changes to split into PR #16478

* [many ports] Add versions

* [vcpkg.cmake] Revert change applied in other PR

* [boost-modular-build-helper] Merge from master

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-26 12:55:34 -07:00
Phoebe
a1e67195f8
boost-modular-build-helper] Add system library dl for boost-regex[icu] and boost-locale[icu] on linux (#16859)
* [boost-modular-build-helper] Add system library dl for boost-regex[icu] and boost-locale[icu] on linux

* Update baseline version
2021-03-24 13:45:55 -07:00
ZeeWanderer
e1e3d81a59
[blend2d] Update to beta_2021-03-17 (#16804)
* [blend2d] Update to 2021-03-17

* [blend2d] update port_versions
2021-03-23 14:30:38 -07:00
autoantwort
245713079f
[boost-context] fix build result on apple arm (#16482)
* [boost] fix boost context build on apple arm

* add version files
2021-03-10 14:15:19 -06:00
autoantwort
e25b620cf9
[boost-context] fix linux -> windows cross compile (#16378)
* [boost-context] fix linux -> windows cross compile

* add version files
2021-02-26 13:17:33 -08:00
Jesse Towner
b5e6d68c20
[brotli] add iOS support (#16397)
* [brotli] add iOS support

This commit adds support for iOS by modifying the CMakeLists.txt
file to specify the BUNDLE DESTINATION parameter during install,
which is required for iOS builds.

* [brotli] update control file

* [brotli] update versions
2021-02-26 13:15:50 -08:00
JonLiu1993
c8116498e4
[box2d] update to 2.4.1 (#16322)
* [box2d] update to 2.4.1

* update version

* delete patch file

* update version

* update json

* update version
2021-02-24 13:58:56 -08:00
IronsDu
c3de6c271e
[brynet] upgrade to 1.10.0 (#16366)
* Update CONTROL

* Update portfile.cmake

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-02-24 13:48:20 -08:00
autoantwort
feb0a364d8
[boost] /safeseh for assembly (#16375)
* [boost] build boost on windows x86 with /safeseh

* add version files
2021-02-24 13:38:42 -08:00
Phoebe
f7760cb15e
[boost-python] Fix build issue with feature python2 (#16087)
* [boost-python] Fix build issue with feature python2

* Update the versions

* Fix the python-tag

* update the version
2021-02-11 00:25:33 -08:00
Adam Johnson
d89ed89122
[bfgroup-lyra] Install CMake Targets (#16172)
* [bfgroup-lyra] Install cmake targets.

* [bfgroup-lyra] Update port version.

* x-add-version
2021-02-10 23:53:37 -08:00
Cheney Wang
65b70e6940
[boost-concept-check] Fix warning C4834 when install pagmo2 (#15887)
* [boost-concept-check] Fix warning C4834 when install pagmo2

* Update json files

* Modify patch

* update version

* Modify the patch with other workaround

* Update git-tree

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-02-08 17:45:19 -08:00
Ilya Arzhannikov
1d415e8dc3
[boost-locale] android build (#15606)
* pass additional link flags to b2

* configure boost-locale for android

* build libiconv for android

* Bump port version

* bump port version

* Update CONTROL

* new_ci_checks and versions

* add versions again

* fix pr review

* fix pr review. version

* bump versions

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-01-25 15:52:09 -08:00
Andrei Lebedev
83b8e27b95
[vcpkg,boost-modular-build-helper] initial ppc64le community support (#15572)
* [vcpkg] initial ppc64le community support

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* [boost-modular-build-helper] ppc64le support

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* Merge from master

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2021-01-22 10:37:26 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00