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
Cédric Tabin
cf03dac5c2
[libzippp] update to 5.0-1.8.0 ( #19433 )
...
Co-authored-by: Cédric Tabin <cedric.tabin@gmail.com>
2021-08-09 09:09:22 -07:00
Cédric Tabin
a0fa6aeb82
[libzippp] Update to 4.1-1.8.0 ( #18553 )
...
Co-authored-by: Cédric Tabin <cedric.tabin@gmail.com>
2021-07-06 14:05:52 -07:00
General Jack O'Neill
31b95c6b4f
[libzippp] fix find lzma ( #15486 )
...
* Adds patch to fix find lzma after changes to use upstream CMakeLists.txt
* Reference Issue: [libzippp] x64-windows build failure after liblzma use upstream CMakeLists.txt + Add pkgconfig. (#14615 ) #14679 https://github.com/microsoft/vcpkg/issues/14679
* Reference Commit: PR [liblzma] use upstream CMakeLists.txt + Add pkgconfig. (#14615 ) eb895b95aa
2021-01-08 12:03:08 -08:00
Giuseppe Massaro
c39b1ae3d2
[LibZippp] add encryption feature ( #14295 )
...
=
2020-10-30 15:06:22 -07:00
NancyLi1013
0901f066c5
[libzippp] Use VCPKG_TARGET_IS_WINDOWS rather than WIN32 and avoid libzip default features ( #14063 )
2020-10-21 16:34:07 -07:00
Cédric Tabin
e040433ae0
Update to libzippp-4.0-1.7.3 ( #13620 )
...
Co-authored-by: Cédric Tabin <cedric.tabin@gmail.com>
2020-10-08 23:27:05 -07:00
Cédric Tabin
54b98494d4
[libzippp] Update to libzippp-v3.1-1.6.1 ( #10893 )
...
Co-authored-by: Cédric Tabin <cedric.tabin@gmail.com>
2020-04-21 13:21:33 -07:00
Philipp Hasper
042f96413f
WIP: [libzippp] New port: C++ wrapper for libzip ( #6801 )
...
* [libzippp] New port: C++ wrapper for libzip
Closes #6600
* [libzippp] Fixed lookup of included libraries
* [libzippp] Build system replacement
* [libzippp] Add find_dependency(LIBZIP) to config file
* [libzippp] Use upstream CMake
2019-07-22 10:40:11 -07:00