Commit Graph

12 Commits

Author SHA1 Message Date
JonLiu1993
125fa27528
[hyperscan] update to 5.4.0 (#24545)
* [hyperscan] update to 5.4.0

* update version
2022-05-05 13:35:09 -07:00
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07: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
Adam Johnson
81b67c3878
[hyperscan] Remove erroneous python3 dependency. (#15080) 2020-12-12 15:38:14 -08:00
JonLiu1993
eb8094d4f3
[Hyperscan] Update to 5.3.0 (#13700)
* [Hyperscan] Update to 5.3.0

* [Hyperscan] update to 5.3.0
2020-10-30 12:16:27 -07:00
nicole mazzuca
4cbbcbddfd
[vcpkg macos ci] Switch to using our own base boxes, to fix bringing up mac machines (#13619)
* [vcpkg ci:osx] Remove brew install

* add instructions for creating a new vagrant box

* fix the vagrant scripts for the new box

* finish fixing the setup

* [mecab jxrlib] fix ports for CI

mecab needed to use an actual ref that wasn't master,
and jxrlib needed a patch for xcode 12 CLTs.

Additionally, this fixes the mecab version to be a date, the date of the last commit,
since `1.0` is not the correct version (mecab doesn't have released versions)

* [many ports] fix compile with Xcode 12 CLTs

This mostly means fixing errors on implicit-function-declaration,
and removing some Werrors
* alac-decoder
* apr
* argtable2
* arrow
* hyperscan
* mcpp
* minizip
* mosquitto
* stormlib

* [many ports] even more Xcode 12 CLT fixes

* [jxrlib darknet] fix the last ports! (hopefully)

* CRs, plus minor wip changes to osx scripts
2020-09-24 15:15:06 -07:00
Adam Johnson
e1783c68c4
[python3] Update to Python 3.8 (#11708)
* [python3] Update to Python 3.8.3.

[vtk] Update to Python 3.8 and fix improper Python3 artifact
specification.

* [python3] Fix static linking, broken in 121faf2.

* [hyperscan] Add missing build dependency (fixes CI on macOS).
2020-06-11 22:23:26 -07:00
nicole mazzuca
98ff680762
[hyperscan] Update to version 5.2.1 (#10276) 2020-03-04 10:57:54 -08:00
Tobias Brückner
f71aa3077e
[hyperscan] Add missing dependency boost-crc (#10148)
* Add boost-crc to hyperscan dependencies

* Add homepage to CONTROL file

* Increase port version to 5.1.0-4
2020-02-28 22:24:36 -08:00
Yue
141522e6ed [hyperscan] Update the portfile to remove debug/share file to pass post-validation check. (#9618) 2020-01-27 13:48:45 -08: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
Bobby Martin
aa09555991 [hyperscan] New port (#5285)
* add support for building hyperscan

* patch hyperscan to work with latest boost

* correct hyperscan source dir name

* speed the build by depending on only the parts of boost we actually need

* make python3 support release-only builds

* upgrade to hyperscan 5.1.0

* remove redundant disambiguate patch

* Add comments about how to build

* restore original x64-windows-static.cmake

* [hyperscan] Check linkage

* [python3] Allow DLLs without LIBs

* [hyperscan] Only static library

* [python3] Revert changes that cause regression in boost-python

* [python3] Revert changes that cause regression in boost-python
2019-02-06 17:21:23 -08:00