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 |
|
DailyShana
|
faf2d6ffb6
|
[libevent] update to 2.1.12 (#12277)
* [libevent] update to 2.1.12
* fix path in LibeventConfig.cmake.in
* configure crt runtime
* patch target file
* try to fix evpp build on unix
* try to fix evpp build on unix
* try to fix evpp build on unix
* try to fix evpp build on unix
* fix file patching
* code review
* fix fizz:x64-windows build
|
2020-07-31 11:21:44 -07:00 |
|
Jack·Boos·Yu
|
f8e975d44a
|
[evpp] Fix build error on OSX (#11967)
* [evpp] Fix build error on OSX
* update baseline
|
2020-07-07 14:03:12 -07:00 |
|
NancyLi1013
|
058f6e2a35
|
[libevent] add features (#8349)
* [libevent] add features
* Update version
* Add libevent[openssl] dependent for evpp
* Update CONTROL file
|
2019-11-19 11:42:34 -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 |
|
JackBoosY
|
fa66acbf5a
|
[evpp]Fix linux build. (#8050)
|
2019-09-11 14:24:37 -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 |
|
Robert Schumacher
|
ca2194d0ce
|
[evpp] Upgrade to 0.7.0
|
2018-03-12 00:46:43 -07:00 |
|
Robert Schumacher
|
3421320c83
|
[evpp] Fix build and use external rapidjson
|
2018-03-12 00:46:43 -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
|
03de2e421b
|
[evpp] Simplify port to use vcpkg_from_github()
|
2017-06-21 18:17:52 -07:00 |
|
weizili
|
db92e194c2
|
Update to version 0.6.1
|
2017-06-21 16:42:28 +08:00 |
|
weizili
|
a934d1ff13
|
Add evpp port file
|
2017-05-28 14:11:57 +08:00 |
|