Commit Graph

16 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
Brennan
84d892a732
[signalrclient]Update homepage URL (#19256)
* Fix incorrect homepage URL

https://github.com/aspnet/SignalR-Client-Cpp is for the newer microsoft-signalr package.

* update version

* add Port-Version

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-08-05 16:25:07 -07:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Phoebe
2ac2b5f3da
[Baseline] Fix boost-*:arm-uwp failure and resolve conflicts in CI (#11496)
* [baseline] Fix boost-*:arm-uwp failure and resolve conflicts in CI

* Remove itk:x64-osx=fail in CI

* Resolve conflicts

* Rebase the changes
2020-05-23 12:39:26 -07:00
Billy O'Neal
056e9517ec
[cpprestsdk] Disable websockets by default. (#10478)
* [cpprestsdk] Disable websockets by default.

The websockets backend cpprestsdk uses is websocketpp, which was last
committed to in late 2018 and appears defunct. Additionally, the
websockets feature brings an otherwise unnecessary Boost dependency on
Windows which takes a relatively long time to build.

Customers who still want the websockets bits can turn on the optional feature.

* Add dependency to signalr.
2020-03-20 16:03:16 -07:00
Phoebe
bcff929875 Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
2019-07-31 13:01:02 -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
Alexander Neumann
070a41de03 [signalrclient] fix cpprestsdk linkage (#6606) 2019-05-24 12:09:17 -07:00
JackBoosY
9e8db15b96 [signalrclient]Fix build error (#5868)
* [signalrclient]Fix build error: LNK2019 with openssl
2019-03-29 22:21:40 -07:00
Qi-rui Chen
98e8c22eaf Fix glfw3:x64-linux producing incorrect target (#3803)
* Fix glfw3 creating incorrect target

glfw3Target.cmake uses a semicolon seperated list which needs to be
escaped with quotes on write

* Fix semicolon stripping

* Fix typo

* [dlib][glfw3][libodb][signalrclient] Bump versions
2018-07-03 04:41:53 -07:00
Alexander Karatarakis
efc0255f80 [signalrclient] Use vcpkg_from_github 2018-03-19 21:09:29 -07:00
Robert Schumacher
7c3f469568 [signalrclient] Update to handle cpprestsdk 2.10 2017-10-28 08:50:58 -07:00
Alexander Karatarakis
fe92af4ddd Fix more port hashes due to github tar.gz change
Related: cb239b92

It looks like github changed the version (or the generally the way)
they do tars, causing some hash mismatches. This fixes the affected
ports.
2017-09-25 15:10:21 -07:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Robert Schumacher
4f0b17e316 [signalrclient] Enable static builds 2016-11-15 17:03:38 -08:00
sdcb
13645a66b8 Add signalrclient. 2016-11-15 14:10:11 +08:00