Commit Graph

10 Commits

Author SHA1 Message Date
TheReclif
f7927c0c20
[antlr4] fix MSVC linker errors (#29384)
* [antlr4] fix dll export/import macro evaluating always to dllexport

* [antlr4] fix portfile formatting

* [antlr4] fix formatting in port manifest

* [antlr4] updated versions in vcpkg/versions
2023-02-03 13:01:19 -08:00
Artem Shubovych
2ef381ddf7
[antlr4] Update antlr4 to v4.11.1 (#27720)
* Update antlr4 to version 4.11.1 and use GitHub instead of website downloads

* Remove unused patch files

* Run x-add-version

* Remove single-use variable and enforce vcpkg version

* x-add-version

* Use VERSION variable which is generated by vcpkg from vcpkg.json

* Add quotes, remove variable-used-once.

* Minimize patch.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-11-16 13:37:32 -08:00
LilyWangLL
c168ce4e76
[antlr4] Update to 4.10.1 (#25416)
* [antlr4] Update to 4.10.1

* x-add-version

* update portfile.cmake

* x-add-version

Co-authored-by: LilyWangLL <v-lilywang@microsoft.com>
2022-06-24 15:11:33 -07:00
LilyWangLL
d35a986b57
[antlr4] Fix CMake files export (#24157)
* [antlr4] Fix CMake export

* update vcpkg.json

* update version

* fix build

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-04-18 16:44:47 -07:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
Yue
218ea21905
[antlr4] update to 4.9.3 (#22438) 2022-01-13 09:23:06 -08:00
Michael Scovetta
b47d6ce6e3
[many ports] Update HTTP to HTTPS links where it can be done safely. (#20464)
* Update HTTP to HTTPS links where it can be done safely.

This means that the HTTP-based link gave a 200 response with identical
content to the HTTPS version of the link. For links containing
variables, we checked the interpolated (real) link.

* Bump relevant vcpkg.json versions.

* Use version-date for cello.

* update version

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-01-12 12:13:55 -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
Nick Strupat
c72572f731
[antlr4] update to 4.9.1 (#16383)
* [antlr4] update to 4.9.1

* update version

* [antlr4] fix utfcpp dependency issue

* fix version SHA to account for utfcpp patch

* [antlr4] Minimize patch

Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-01 10:31:47 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00