Commit Graph

9 Commits

Author SHA1 Message Date
Osyotr
2e43a34b44
[qt5] Update to 5.15.10 (#31878) 2023-06-08 09:55:57 -07:00
Osyotr
a2476c3ed4
[qt5] Update to 5.15.9 (#30699) 2023-04-11 22:54:14 -07:00
Osyotr
a61e638f3a
[qt5] Update to 5.15.8 (#28720) 2023-01-12 15:28:00 -08:00
Osyotr
a71baa4dc7
[qt5] Update to 5.15.7 (#27522) 2022-11-01 20:00:58 -07:00
Osyotr
5d500d15c1
[qt5] Update to 5.15.6 (#26715)
* [qt5] Update to 5.15.6

* Drop icu patch in qt5-tools that has been merged upstream
2022-09-08 11:33:41 -07:00
مهدي شينون (Mehdi Chinoune)
e8c16a3136
[qt5] update to 5.15.5 (#25305) 2022-06-20 14:12:25 -07:00
Osyotr
81134652a6
[qt5] Update to 5.15.4 (#24660)
* [qt5] Update to 5.15.4
https://lists.qt-project.org/pipermail/development/2022-May/042437.html

* Deprecate "latest" feature
Also update "qt5" port when updating versions

Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
2022-05-13 16:51:51 -07:00
Osyotr
ddff8f2cd6
[qt5] Update to 5.15.3 (#23364) 2022-03-07 11:27:29 -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