Commit Graph

7 Commits

Author SHA1 Message Date
Long Huan
a175d0a7d8
[openmvs, vcglib] Update openmvs 2.0.1, vcglib 2022.02 (#25135)
* update version

* Update vcpkg.json

* fix

* fix

* fix some

* x-add-version

* license info

* x-add-version

* Update vcpkg.json

* Update openmvs.json
2022-06-15 11:43:38 -07:00
autoantwort
9feca681ef
[openmvs] no absolute paths (#24848) 2022-05-31 15:12:09 -07:00
Stefano Sinigardi
f09258f4b2
[openmvs] fix sha512 (#21059)
* [openmvs] fix hash

* [openmvs] fix references
2021-11-03 00:40:17 -07:00
Stefano Sinigardi
b1e54e881b
[OpenMVS] restore deprecated cmake scripts for configure, build & fixup targets (#20422)
* [OpenMVS] restore deprecated cmake scripts

* [OpenMVS] fix references

* switch back to vcpkg_cmake_*

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-10-06 20:57:42 -07:00
chausner
bc503ddb8b
[openmvs] Update to 1.1.1 (#20373)
* Update openmvs to 1.1.1

* Update CI baseline

* Update patch

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-28 11:50:35 -07:00
Yury Bura
cc471dc0f5
[boost] update to 1.77.0 (#19556) 2021-09-27 17:12:39 -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