Commit Graph

27 Commits

Author SHA1 Message Date
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
Billy O'Neal
b12f78c3ed
[antlr4,python3] Resolve cross port conflicts (#15378)
* [python3] Add vcpkg's include directories to the end rather than to the beginning.

This is safe because vcpkg never hydrates python3's $(PySrcDir)\externals directory, so it wasn't using vendored dependencies at all.

* [antlr4] Install antlr headers in antlr4-runtime rather than the root to avoid stomping on common name token.h.

This is consistent with the ubuntu packages.
2020-12-29 16:34:43 -08:00
Akihisa Yagi
9f2bb70914
[antlr4] update to 4.8 (#14036)
* [antlr4] update to 4.8

* [antlr4] Add supports

* [antlr4] Regenerate patch files

* [antlr4] Remove spaces from patch files

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-10-17 02:01:36 -07:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -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
Victor Romero
a14e462ef9
[antlr4] Support build on Linux and MacOS (#5606)
* Patch VS project file with CRT linkage

* [antlr4] Support build on Linux and MacOS
2019-03-08 22:09:33 -08:00
Phil Christensen
6e3bd45c67 [antlr4] fix copyright download name 2018-12-19 23:45:38 -08:00
Phil Christensen
8b79329303 [antlr4] change portfile to trigger testing 2018-12-19 15:52:22 -08:00
Phil Christensen
9a72b227cd [antlr4] move to vcpkg_extract_source_archive_ex 2018-12-18 16:12:19 -08:00
Phil Christensen
02c27dd55e [antlr4] bump dash version in control file
Done to force test to run
2018-12-13 15:53:32 -08:00
Albert Fong
666cc9cee2 [antlr4] Upgrade to antlr 4.7.1 2018-12-12 02:59:01 -08:00
Robert Schumacher
7938006022 [ports] Mark several ports as unbuildable on UWP 2017-11-26 10:28:16 -08:00
sdcb
7af697e6e8 [antlr4] bump version to 4.7 2017-11-03 16:13:07 -07:00
sdcb
bd91824bca [antlr] upgrade to antlr4.7 2017-11-03 16:13:07 -07:00
Robert Schumacher
d2c728e0bc [several ports] Remove CMake double expansions inside if() directives 2017-10-12 07:52:48 -07:00
Martin Müller
1c70d26ad1 Force LF line endings for patch files 2017-05-05 11:45:04 +02:00
Alexander Karatarakis
5f35979272 [antlr4] Fix building with Visual Studio 2017. Resolves #804 2017-03-21 20:53:26 -07:00
Alexander Karatarakis
9dac4b073a [antlr4] Make identation consistent 2017-02-14 18:35:40 -08:00
Alexander Karatarakis
3e0e9e3449 [antlr4] Fix downloading of LICENSE file 2017-02-14 18:34:59 -08:00
flysha
91f51a084f [antlr4] initial commit 2016-12-25 18:44:20 +08:00