Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Stephen Eckels
2499107f40
[Polyhook2]Update to the latest version (#17754)
* update_polyhook2

* update polyhook2

* [Polyhook2]Update to the latest version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-05-18 15:36:40 -07:00
Stephen Eckels
d1038faab1
update_polyhook2 (#15537) 2021-01-11 00:07:19 -08:00
NancyLi1013
62fe6ffbbb
[ebml/gppanel/matroska/polyhook2/unrar] Fix typos in CONTROL files (#14794) 2020-11-26 15:05:51 -08:00
Stephen Eckels
84c22a78b4
[polyhook2] Update to new version (#13645)
* Update polyhook2

* [polyhook2] Update CONTROL

* Update portfile.cmake

Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-09-27 17:36:46 -07:00
Stephen Eckels
19b706c9d4
[polyhook2] Update to latest (#13221) 2020-08-31 09:26:58 -07:00
ζeh Matt
15141fbc95
[asmjit] Update to the latest commit (#12524)
* [asmjit] Update to the latest commit

* Use the correct date for version

* Update ci.baseline.txt

* [polyhook2] Update to the latest commit

* Update portfile.cmake

* Remove polyhook2 from ci.baseline.txt

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-07 12:17:10 -07:00
Stephen Eckels
e5e521a0d1
[polyhook2] Update to latest (#12189)
* bump polyhook2 version

* update polyhook2
2020-07-06 13:15:26 -07:00
Stephen Eckels
2c35ce16bb
[polyhook2] Update polyhook to latest (#11729)
* update polyhook to latest

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* push polyhook2 fix

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version

* fix build

* bump polyhook2 version

* bump polyhook2 version

* bump polyhook2 version
2020-06-11 01:42:34 -07:00
Matthias C. M. Troffaes
e7041e1ef6
[polyhook2] Update to 2020-05-25 (#11561)
* [polyhook2] Update to 2020-05-25

- Update to latest PolyHook_2 revision.

- Add support for zydis and inlinentd as features (enabled by default, as per upstream default).

- Support for capstone, exception, detours, and pe is now configurable via features (all enabled by default, as per upstream default).

- Remove cmake build patch. Relevant parts have been upstreamed.

- For now, remove tool feature for building tests, as upstream does not support building tests along with building the library.

- Add support for cmake config so library can be used simply with "find_package(PolyHook_2 CONFIG REQUIRE)".

* [polyhook2] package does not support arm, uwp, linux, and osx

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-06-01 18:57:11 -07:00
xeropresence
83da216ce5
[polyhook2] Update port (#10104)
* Update portfile.cmake

* Update CONTROL

* remove eof newlines
2020-03-10 17:18:38 -07:00
xeropresence
3f75ce5786 Update polyhook2 port 2020-02-05 17:44:26 -05:00
NancyLi1013
a5b97e367b [polyhook2] Add new port (#8719)
* [polyhook2] Add new port

* Add feature and update
2019-10-28 11:26:06 -07:00