Commit Graph

6 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
Vincent Parizet
aedd6c30a0
[egl-registry, opengl-registry] Update egl-registry to 2020-02-20 and opengl-registry to 2020-03-25 (#10676)
* Update egl-registry to 2020-02-20 and opengl-registry to 2020-03-25

* opengl-registry: remove extra includes that

* egl-registry, opengl-registry: add Homepage

* egl-registry, opengl-registry: remove includes, use
2020-04-27 07:49:37 -07:00
Alexander Neumann
6028fd5e1a
[angle] Improve port (#9965)
* update opengl and install all headers

* improve angle

* update egl-registry

* fix osx regression

* update baseline.

* fix uwp regressions

* fix osx and linux regression

* add encoding patch

* bump glad control

* rechdeck gl visibility from native build

* removed unnecessary commented code

* add GL_VISIBILITY to the exported targets

Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
2020-04-06 14:49:51 -07:00
TheGoddessInari
ae667efe15 Update egl-registry to 2019-08-08 and opengl-registry to 2019-08-22. (#8095) 2019-09-09 10:56:57 -07:00
Robert Schumacher
35ea46995b [glad] Use registry ports instead of vendored copies 2018-11-20 15:47:14 -08:00
Robert Schumacher
b08e78b07d [cmark][gl3w][libpopt][libraw][libssh][live555] Fixes, mostly around changing download locations. 2018-07-02 22:16:47 -07:00