Commit Graph

11 Commits

Author SHA1 Message Date
autoantwort
2c32f6e8c4
[proj] tools fix uwp (#33689) 2023-09-13 16:27:43 -07:00
Kai Pastor
7b5ca09708
[proj] Update to 9.3.0 (#33628) 2023-09-08 00:10:27 -07:00
Alexander Neumann
6de3d0cb2e
[Proj] remove toolset restriction (#32858)
* [proj] Remove toolset restrictions.

* v db
2023-08-01 09:22:49 -07:00
Kai Pastor
ad345ce17a
[proj] Update to 9.2.1 (#31769) 2023-06-06 16:17:57 -07:00
Kai Pastor
13003d8cf7
[proj] Update to 9.2 (#30023) 2023-03-06 11:55:28 -08:00
Kai Pastor
802998e89d
[proj] Update to 9.1.1 (#28157)
* [proj] Update to 9.1.1

* Trim patching

* Update versions
2022-12-05 15:30:55 -08:00
Bert Huijben
c382312bed
[proj] Upgrade to 9.1.0 (#26649) 2022-09-06 12:50:48 -07:00
Thomas1664
a147691f50
[proj] Disable docs (#25502)
* [proj] Remove docs

* version
2022-07-05 15:00:20 -07:00
Kai Pastor
dc7478734e
[proj] Update to 9.0.1 (#25257)
* Update to 9.0.1

* Update versions
2022-06-16 14:05:35 -07:00
Kai Pastor
fb3416466f
[proj, proj4] Update to PROJ 9.0.0 & make proj the regular port (#23186)
* Update to PROJ 9.0.0 & make proj the regular port

* Consolidate files in share, move data to subdir

* Update versions

* Update proj to 9.0.0 RC2

* Add license fields

* Update versions

* Update to PROJ 9.0.0 release

* Update versions

* Update versions
2022-03-09 10:33:02 -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