Commit Graph

21 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
JonLiu1993
fc05ba67b4
[cimg] update to 2.9.4 (#14923)
* [cimg] update to 2.9.4

* Add fixup function

* Delete fixup function
2020-12-08 09:57:58 -08:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
Robert Schumacher
223d5d82ac
[many ports] Updates 2019.05.07 (#6338)
* [many ports] Updates 2019.05.07

* Undo assimp and gdcm2 changes since they caused regressions
2019-05-08 17:51:44 -07:00
Robert Schumacher
516d10bb68 [many ports] Updates 2019.04.19 (#6155)
* [many ports] Updates 2019.04.19
2019-04-30 09:20:18 -07:00
Robert Schumacher
c95512aaf6 [many ports] Updates 2019.03.29 (#5698)
* Updates 2019.03.29

* Undo changes to 4 ports(rocksdb tbb thrift uwebsockets) due to failures

* [folly] Fix target files in debug mode

* Undo glog changes since it caused sophus openmvg and cartographer failures

* Undo Folly changes since it cause wangle failed

* Undo Folly portfile
2019-04-15 22:30:11 -07:00
Robert Schumacher
1207951b7b Updates 2019.01.30 2019-02-12 17:38:31 -08:00
Robert Schumacher
c6db2c880a Updates 2019.01.09 2019-01-18 14:08:49 -08:00
Robert Schumacher
bb1bb1c94a Updates 2018.12.14 2019-01-09 12:27:19 -08:00
Robert Schumacher
9fe14bc18e Updates 2018.11.01 2018-11-08 00:17:59 -08:00
Robert Schumacher
9c62c6a37a Upgrades 2018.10.11 2018-10-25 10:27:26 -07:00
Robert Schumacher
64a7483a4a Upgrades 2018.09.18 2018-09-19 14:13:12 -07:00
Robert Schumacher
86fecfc61c Upgrades 2018.07.08 2018-07-08 22:29:53 -07:00
Robert Schumacher
feb0e9af9a Upgrades 2018.07.01 2018-07-03 00:52:10 -07:00
Alexander Karatarakis
6ad96b7e7a 2018.05.17 updates 2018-05-17 22:56:05 -07:00
Robert Schumacher
0764aafbd0 [abseil][aws-sdk-cpp][breakpad][chakracore][cimg][date][exiv2][libzip][rs-core-lib] Upgrades 2018-04-12 23:32:09 -07:00
Robert Schumacher
51f93e27f1 [abseil][breakpad][cimg][matio][piex][rocksdb][thrift][tiny-dnn][unicorn-lib][unicorn] Updates 2018-03-13 11:16:07 -07:00
Robert Schumacher
96da24e716 [cimg][doctest][harfbuzz][libwebsockets] Upgrades 2018-03-11 11:52:35 -07:00
Stanislav Ershov
e3ae00e4f1 [cimg] initial port 2018-01-05 07:57:58 +03:00