Commit Graph

5 Commits

Author SHA1 Message Date
NancyLi1013
897ff9372f
[sdl2] Add feature x11 (#21188)
* [ssdl2] Add feature x11

* Update dependencies

* Update version files
2021-11-11 13:47:51 -08:00
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
276401d741 [pixel] Add warning message on Linux 2020-03-31 20:35:49 -07:00
Jayesh Badwaik
accde13dbb [pixel] v0.3 (#4685)
* [pixel] v0.3

  - installs debug library as `libpixeld.a`

* [pixel] bump CONTROL version
2018-11-08 15:29:08 -08:00
Jayesh Badwaik
5459adf5de [pixel] added support for dascandy/pixel (#4637)
* + added support for dascandy/pixel

* [pixel] Cleanup comments

* [SDL2] Add SDL2::SDL2{,-static} wrapper

* [pixel] update to v0.2

  - fixes linking problem against SDL2

* [pixel] Bump control version
2018-11-07 23:48:23 -08:00