JonLiu1993
4a938d4240
[libxdiff] fix the imported target error ( #35905 )
...
Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
2024-01-03 17:32:13 -08:00
Jack·Boos·Yu
8ead9c2674
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 3 ( #29883 )
...
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 3
* version
* typo
* version
* typo
* version
* Fix params
* version
* deprecated vcpkg_extract_source_archive_ex
* version
* fix arguments
* version
* Rename argument
* version
* Deprecate vcpkg_extract_source_archive_ex
* version
---------
Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-07 14:14:52 -08:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. ( #22770 )
...
* Bulk remove vcpkg_fail_port_install calls.
Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",
In support of https://github.com/microsoft/vcpkg/pull/21502
* Update version database.
* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728
* Repair version database.
2022-01-25 10:31:15 -08: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
Bruno Carvalho
8bec12ed59
[LibXDiff] Add port ( #12017 )
...
* [LIBXDIFF] New port
* Remove not necessary installations
* Add Fail message to UWP
* Add UWP fail on baseline
* Revision fixes
* Update ports/libxdiff/portfile.cmake
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 13:09:21 -07:00