18 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
NancyLi1013
6ea34201f3
[h3/jaeger-client-cpp] Update to the latest version (#20008)
* [h3/jaeger-client-cpp] Update to the latest version

* Remove CONTROL files

* Update version files

* Update patch

* Update versions/j-/jaeger-client-cpp.json
2021-09-08 08:00:54 -07:00
JonLiu1993
5835ade57b
[jasper] update to 2.0.33 (#19798)
* jasper

* update version

* update function

* update version
2021-09-02 18:04:16 -07:00
pyrotechnics-io
728557cc78
[jwt-cpp] Fixes SHA512 (#19845)
* Fixes jwt-cpp

This is a fix for #19837

Not sure why the hash worked a few days ago but appears to have broken now though (that needs some investigation). But the build is indeed broken

* update port version

* version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-09-01 11:02:47 -07:00
Chris Mc
722b30de80
[jwt-cpp] port update to add version 0.5.1 (#19618)
* Update vcpkg.json

* Update portfile.cmake

* Update baseline.json

* Update jwt-cpp.json

* Update jwt-cpp.json
2021-08-30 10:32:35 -07:00
Be
3ab8c74874
[jack2] update to 1.9.19; install pkgconfig file; fix library name (#19270)
Also:
* allow dynamic linking by adding jack.def file
* replace deprecated vcpkg functions
* replace legacy CONTROL file with vcpkg.json
2021-08-05 03:23:41 -07:00
eao197
f7ddab358d
[json-dto] Update to 0.2.13 (#18710)
* json_dto updated to 0.2.13.

* x-add-version for json-dto.
2021-07-01 07:30:13 -07:00
Daniel Parker
a025c1b045
[jsoncons] Update to 0.165.0 (#18284)
* [jsoncons] Update to 0.165.0

* [jsoncons] Update to 0.165.0, update baseline

* [jsoncons] Added vcpkg_fixup_pkgconfig() to portfolio.cmake

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-06-21 14:21:22 -07:00
Jack·Boos·Yu
7c55ecac26
[jxrlib] Add usage and fix FindJXR.cmake (#17715)
* [jxrlib] Add usage and fix FindJXR.cmake

* update version record
2021-05-24 17:43:03 -07:00
eao197
2e9b73fc8b
[json-dto] Update to 0.2.12 (#18019)
* json_dto updated to 0.2.12

* Command x-add-version for json-dto.

* Fix for json-dto's vckpg.json.

* Command x-add-version for json-dto.
2021-05-21 00:36:21 -07:00
Daniel Parker
684a000aac
[jsoncons] Update to version 0.163.3 (#17466)
* [jsoncons] Update to version 0.163.3

* [jsoncons] Update baseline
2021-04-23 10:18:49 -07:00
Daniel Parker
7ee07915db
[jsoncons] Update to 0.163.1 (#17126)
* [jsoncons]Update to 0.163.1

* [jsoncons] Update baseline
2021-04-09 09:50:50 -07:00
Chris Mc
63cc543890
[jwt-cpp] update to v0.5.0 (#16799)
* [jwt-cpp] update to v0.5.0

* Update CONTROL

* Update portfile.cmake

* Delete fix-warning.patch

* Update and rename CONTROL to vcpkg.json

* Update vcpkg.json

* Update jwt-cpp.json

* Update baseline.json

* Update versions/j-/jwt-cpp.json

* Apply suggestions from code review

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

* Update versions/j-/jwt-cpp.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-03-25 09:33:34 -07:00
Daniel Parker
80bd78d3dd
[jsoncons] Update to v0.163.0 (#16820)
* [jsoncons] Update to v0.163.0

* [jsoncons] Update baseline

* [jsoncons] BUILD_TESTS ->JSONCONS_BUILD_TESTS

* [jsoncons] Update baseline
2021-03-24 12:46:18 -07:00
Daniel Parker
6582f0e0d3
[jsoncons] Update to 0.162.1 (#16334)
* Issue #307

* Update baseline
2021-02-20 21:19:45 -08:00
Tetsuya Hayashi
82167226dd
[jsonnet] Added 0004-incorporate-md5.patch to incorporate md5.cpp into libjsonnet (#16335)
* [jsonnet] Added a patch file to incorporate md5.cpp into libjsonnet

* [jsonnet] increment port version

* [jsonnet] update version record
2021-02-20 21:19:24 -08:00
Daniel Parker
5368422fb9
[jsoncons] Update to version 0.162.0 (#16227)
* [jsoncons] Update to version 0.162.0

* [jsoncons] Run ./vcpkg x-add-version jsoncons
2021-02-16 11:14:37 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00