Commit Graph

12 Commits

Author SHA1 Message Date
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
Tom Tan
32b6c3a134
[msgpack] Update ports version from 3.2.0 to 3.3.0 (#13441) 2020-09-09 20:38:04 -07:00
Jack·Boos·Yu
f4a2dce829
[vcpkg baseline][rest-rpc] Skip check in baseline (#13295) 2020-09-02 09:12:41 -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
Ehsan
feeaa65cdc Update some ports version (#7494)
* [ade] Update library to 0.1.1e

* [libpmemobj-cpp] Update library to 1.7

* [msgpack] Update library to 3.2.0

* [protobuf] Update library to 3.9.0

* [string-theory] Update library to 2.2

* [harfbuzz] Update library to 2.5.3
2019-08-01 17:40:29 -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
Evgeni Zharkov
78e0c6c425 Update msgpack to 3.1.1 (#5945) 2019-04-04 21:12:11 -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
codicodi
54ac84f3f3 [msgpack] update to 2.1.5, disable static libs in dynamic build 2017-08-04 19:29:34 +02:00
Mikhail Paulyshka
c598aa8fd8 [msgpack] add version 2.1.1. Resolves #744 2017-03-11 19:38:49 +03:00