Commit Graph

11 Commits

Author SHA1 Message Date
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
Alexander Neumann
b518035a33
[ZSTD] Update to 1.4.5 (#14395)
* [ZSTD] Update to 1.4.5

* [zstd] fix wrong assert to fix uwp regressions

* always install *.pc file. Correct -l flag in pc file

* fix orc regression

* fix arrow regressions

* fix orc zstd linkage

* fix find_package(ZSTD)

* install zstd dlls.

* fix the patch due to a replacement error

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-12 14:28:59 -08:00
NancyLi1013
2a9225b422
[orc] Update to the latest version (#13705)
* [orc] Update to the latest version

* Update patch format
2020-09-24 11:38:35 -07:00
Robert Schumacher
08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00
JackBoosY
3cc74d1280 [orc]Upgrade to 1.5.7, disable tzdata test. (#8980) 2019-11-19 10:59:07 -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
Dmitry Marakasov
9609b2a615 Add homepage for orc (#7908)
* Add homepage for orc

* [orc] Fix build by updating tzdata url

The build fails as is tries to fetch tzdata-2018c-1.tar.xz which is gone
from FTPs. Fix it by updating to tzdata-2019b-1.

This is the same as upstream commit 51a26ab85fc33a7d765dc1f500d43e6ae4ceb0d1
2019-08-27 10:45:31 -07:00
Robert Schumacher
1550b9e71b
[many ports] Updates 2019.07.09 (#7217)
* [many ports] Upgrades 2019.07.11

* Re-generate patches and fix build errors.

* [manyport]Fix build errors.

* Fix avro-c and console-bridge failures, revert curl and tesseract

* fix botan failure

* Fix build errors and undo some ports upgrades.

* [aws-c-common,chipmunk,cxxopts,grpc]Fix build errors

* Fix build errors.

* [angle]Undo upgrade changes.

* [directxtk]Fix UWP build error (#7233)

* Revert leptonica since it cause tesseract failed

* Revert jsonnet

* [google-cloud-cpp] Disable parallel configure due to source directory writes

* [many ports] Undo undesired changes

* [bitsery] Fix indentation

* [avro-c][aws-c-common][graphite2] Convert line endings to minimize PR diff

* fix console-bridge and remove usockets unused patch

* update ogre patch

* [many ports] Revert unneeded changes w.r.t. master. Add missing write to console-bridge.

* [console-bridge] Fix export macro

* [avro-c] Revert upgrade; split to #7875

* [avro-c] Complete previous revert
2019-08-24 13:43:57 -07:00
myd7349
1a63672f8f [protobuf] Update to 3.8.0 (#6739)
* [protobuf] Update to 3.8.0

* [nlopt] set options off

* [shogun] should not use CMAKE_SYSTEM_PROCESSOR in port file

* [protobuf] Add Homepage

* [protobuf] turn warning flag off

* [protobuf] Fix orc build error on macOS

* bump shogun, fix nlopt
2019-06-18 13:34:43 -07:00
Erwan BERNARD
2fc5b2815e [orc] update to 1.5.5 (#4786)
* [orc] update to 1.5.3

* [orc] update usage with zstd

* [orc] update to 1.5.4

* [orc] update to orc 1.5.5rc1

* [orc] fix static build

* [orc] bump to 1.5.5
2019-03-18 12:26:29 -07:00
Erwan BERNARD
03266cc498 [orc] add apache orc library (#4496)
* [orc] add apache orc library

* [orc] Simplify patch. Note in usage that no targets are available. Don't build tools on windows because they are not supported.

* [orc] Move tools to tools/orc/ to fix Linux build.

* [orc] fix tools ouput folder
2018-10-22 04:25:37 -07:00