autoantwort
|
5a497469d1
|
[ogdf] update (#27502)
|
2022-10-31 13:25:38 -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 |
|
NancyLi1013
|
9ab6b68c83
|
[ogdf] Fix build error on Visual Studio 2019 (#13647)
* [ogdf] Fix build error on Visual Studio 2019
* Update portfile.cmake
Update Format
|
2020-09-27 17:34:12 -07:00 |
|
Lily
|
e4afbff850
|
[ogdf] Update source link (#7846)
|
2019-08-28 12:25:28 -07:00 |
|
Navid Rahimi
|
804c421d64
|
Fixing ogdf and liblemon compile issues on ubuntu (#3847)
* Fixing ogdf and liblemon compile issues on ubuntu
* [ogdf] Avoid patch by passing cmake options
|
2018-07-11 00:17:13 -07:00 |
|
Robert Schumacher
|
90bef5f6ed
|
[odgf] Escape : in URL
|
2018-07-03 05:23:44 -07:00 |
|
Navid Rahimi
|
fae4bd406a
|
Adding OGDF and LEMON library port (#3779)
* Adding OGDF library port
* Adding C++ Graph library - LEMON
* [liblemon][ogdf] Rename lemon -> liblemon. Fix cmake targets.
|
2018-07-03 04:36:18 -07:00 |
|