Commit Graph

13 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
Chocobo1
8c092e5cb6
[zlib] Download source over https instead of http (#19842)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-03 00:03:38 -07:00
JonLiu1993
dd3d6df500
[zstd] update to 1.5.0 (#18915) 2021-08-25 21:08:51 -07:00
eli
322e3e152a
[zug] Add port (#19539)
* add zug port

* run `vcpkg x-add-version --all`

* add missing docs feature to zug

* run `vcpkg x-add-version --all --overwrite-version`

* Apply suggestions from code review

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* format vcpkg.json

* update version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-08-18 17:14:24 -07:00
Kai Pastor
7dbc05515b
[zlib] Add cmake wrapper (#18914)
* Format manifest

* Add cmake wrapper

* x-add-version

* Always use vcpkg zlib for sentry native

* x-add-version

* Fix and simplify wrapper

* Update git-tree
2021-07-26 16:54:30 -07:00
Jack·Boos·Yu
358225a917
[zeromq] Fix arm build, fix feature websockets-sha1 (#19074)
* [zeromq] Fix arm build, fix feature websockets-sha1

* update baseline

* version stuff

* Fix rename

* Update versions/z-/zeromq.json
2021-07-26 11:07:10 -07:00
Park DongHa
96bc28ea59
[zlib-ng] create a new port (#18223)
* [zlib-ng] create a new port

* [zlib-ng] update baseline

* [zlib-ng] remove zlib-compat

* [zlib-ng] remove unused dependency
2021-06-10 16:13:36 -07:00
Jack·Boos·Yu
e4e4ee9c9f
[z3] Update to 4.8.10 to support arm triplet (#18104)
* [z3] Update to 4.8.10 to support arm triplet

* update version record
2021-06-01 12:14:39 -07:00
Peter Keresztes Schmidt
c8c95c50c1
[zeromq] Update to 4.3.4 (#17554)
* [zeromq] Update to 4.3.4

Use newly introduced WITH_LIBSODIUM_STATIC build option when linking libsodium statically.

* Update versions
2021-04-30 10:57:53 -07:00
Ahmed Yarub Hani Al Nuaimi
fe25e8ede8
[aws-cpp-sdk] [zlib] [openssl] [curl] Fix zlib, OpenSSL, curl and AWS SDK for Android (#15725)
* Fix Android build

* Add versioning support

* Disable building tests for cURL

* Fix patch file

* Fix patch file

* Fix patch file

* Fix versioning

* Fix patch file

* [aws-sdk-cpp] Update patch

* update baseline

* Fix dependencies

* Simplify Android configuration

* Simplify Android configuration

* Simplify Android configuration
Add alternative Git CMake script

* Bump port version

* Bump version files

* Remove redundant file

* Bump port version

* Fix version files

* Do not build curl, zlib and OpenSSL

* Typo de pkgconfig script

* Fix cURL build for Android

* Add required flags

* Revert macro change

* Fix curl build for other platforms

* Fix curl build for other platforms

* [vcpkg baseline][gsoap] Update to 2.8.111

* Update versions

* [ktx/otl] Update download hash

* update version record

* Fix curl build for other platforms

* Update ports/aws-sdk-cpp/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update ports/aws-sdk-cpp/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Remove FingGit

* Fix configuration step

* Bump cURL port version

* Bump cURL port version

* Bump AWS SDK C++ version

* Bump AWS SDK C++ version

* Bump AWS SDK C++ version

* Bump AWS SDK C++ version

* Update ports/curl/CONTROL

* Update ports/curl/portfile.cmake

* update baseline record

* Fix Git

* update version record

* Typo

* Fix cross-platform builds of OpenSSL on MinGW/Windows

* Update version

* Fix version

* update doc

* Update ports/aws-sdk-cpp/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/aws-sdk-cpp/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Add debug libraries to curl for Android
Simplify OpenSSL patch for curl
Update OpenSSL's port version

* Update aws-sdk-cpp, curl, and OpenSSL versions

* Fix libssh after latest update

* Update libssh version

* Update libssh version

* Update ports/libssh/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/curl/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/libssh/portfile.cmake

* Apply suggestions from code review

* Use correct variables for OpenSSL libraries when building curl for Android
Fix zlib building for Android
Remove redundant patch comments

* Bump zlib's port version

* Update zlib, libssh, and curl versions

* [vcpkg baseline][popsift] Fix vcpkg_find_cuda.cmake path

* update version record

* Update versions/o-/openssl.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-19 17:08:51 -07:00
JonLiu1993
407ca92259
[zxing-cpp] Update zxing-cpp and fix iconv dependency (#14918)
* Update zxing-cpp and fix iconv dependency

* Convert PATCH file format

* update patch

* update version

* update patch

* update version

* revert the line end

* update version

* delete c++ 11

* update version
2021-04-12 10:10:51 -07:00
Matthieu Penant
13640c5671
[zstd] update to 1.4.9 (#16865)
* [zstd] update to 1.4.9

Fixes #16642

Update zstd to the latest version 1.4.9: https://github.com/facebook/zstd/releases/tag/v1.4.9

* update baseline / version

* Update vcpkg.json

* Update vcpkg.json

apply suggested diff file

* attempt to fix build errors (missing file libzstd?)

* Update zstd.json

* Update portfile.cmake

* fix version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-03-31 14:29:14 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00