Commit Graph

7 Commits

Author SHA1 Message Date
Kai Pastor
3e93bb69a1
[coolprop,if97,msgpack,refprop-headers] Cleanup (#31694)
* [coolprop] Cleanup

* Fix uwp

* [refprop-headers] Update

* [if97] Avoid encoding warnings

* [msgpack] More boost dependencies

Cf. https://github.com/msgpack/msgpack-c/wiki/install_boost

* [coolprop] Use msgpack endianess

---------

Co-authored-by: Cheney-Wang <850426846@qq.com>
2023-05-31 12:27:10 -07:00
Frank
b619a233fb
[msgpack] update version to 6.0.0 and switch to the C++ branch (#30401)
* [msgpack] update version to 6.0.0 and switch to the C++ branch

* update version

* update

* version

* fix cmake config name

* vdb

* fix coolprop

* v db

* add dependencies

* format

* v db
2023-04-03 09:53:46 -07:00
Frank
b09cf765d3
[msgpack] update version to 4.1.3 (#28117)
* [msgpack] update version to 4.1.3

* update version

* version

* clean and fix license

* clean and fix license

* version

* revert

* revert

* version

* fix ci

* version

* fix coolprop and update version

* update version

* format patch

* version

* hash

* revert patch

* version

* update patch

* version

* add new function

* vdb

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-03-20 11:33:03 -07:00
Jack·Boos·Yu
43c6e295a0
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 4 (#29884)
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4

* version

* typo

* version

* typo

* version

* Remove PREFER_NINJA

* version

* deprecated vcpkg_extract_source_archive_ex

* version

* fix argument

* version

* More rename

* version

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-01 10:39:14 -08:00
JulZimmermann
57d7c7d87b
[msgpack] set license (#28256)
* set license in msgpack

* run x-add-version

Co-authored-by: Julian Zimmermann <julian.zimmermann@gti.de>
2022-12-13 19:35:06 -08: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