Commit Graph

19 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 Smyslov
b8d922991f
[librdkafka] Upgrade up to 1.7 (#17937)
* Add files via upload

* [new port] avro-cpp

* add boost-format

* remove comments

* remove comments

* Upgrade librdkafka17

* Upgrade librdkafka17

* Fix remarks

* Fix remarks

Co-authored-by: Alexander Smyslov <aleksandr.smyslov@libertexgroup.com>
Co-authored-by: Smyslov Alexander Nikolayevich <aleksandr.smyslov@fxclub.com>
2021-05-18 00:45:48 -07:00
JonLiu1993
eb3baf49af
[librdkafka] Update to 1.5.0 (#12731)
* [librdkafka] Update to 1.5.0

* Update portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-05 13:01:53 -07:00
alexander-smyslov
5cdb92f010
[librdkafka] Upgrade to 1.4.4 (#12095)
* Add files via upload

* [new port] avro-cpp

* add boost-format

* remove comments

* remove comments

* upgrade librdkafka to 1.4.4

* Delete CONTROL

* Delete install.patch

* Delete portfile.cmake

* upgrade librdkafka to 1.4.4

Co-authored-by: Alexander Smyslov <aleksandr.smyslov@libertexgroup.com>
Co-authored-by: Smyslov Alexander Nikolayevich <aleksandr.smyslov@fxclub.com>
2020-07-30 22:36:09 -07:00
Phoebe
adfa6fd359 [librdkafka] Add vcpkg-cmake-wrapper.cmake (#8355)
* [librdkafka] Add vcpkg-cmake-wrapper.cmake

* Update changes
2019-09-27 09:46:49 -07:00
Ehsan
ef1e925305 [librdkafka] Update library to 1.2.0 (#8307) 2019-09-23 13:47:22 -07:00
Victor Romero
a3a6530631
[vcpkg_check_features] Set output variable explicitly and allow reverse-logic check (#7558)
* [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly

* [vcpkg_check_features] Allow reverse logic for features

* [vcpkg_check_features] Document new parameters

* [vcpkg_check_features] Remove unnecessary logging

* Do not create variables for each feature only set OUT_FEATURE_OPTIONS

* Improve documentation

* Update ports that use vcpkg_check_features()

* Missing documentation updates

* [pcl] Fix tools feature

* [opencv,opencv4] Fix usage of vcpkg_check_features()

* [opencv4] Fix typo
2019-08-13 20:13:55 -07:00
Rodrigo Trida
73fa03965b Librdkafka snappy (#7469)
* Adding snappy support.

* Building without win 32 config.

* Restoring original state.

* Changing version and replacing tab with spaces.

* Remove snappy as a build-depends

The snappy feature does not require any external sources.
2019-08-08 12:02:10 -04:00
myd7349
11708d2139 [librdkafka] Update to 1.1.0
[librdkafka] Use vcpkg_check_features

[librdkafka] Remove default feature
2019-07-02 18:30:56 +08:00
myd7349
3efdcef0e6 [librdkafka] Update to 2019-06-13 2019-06-14 08:04:44 +08:00
myd7349
7cd3552973 [librdkafka] Update to 2019-05-27 2019-05-28 08:43:34 +08:00
myd7349
8b64e981fb [librdkafka] Turn on tests temporarily 2019-05-27 19:52:26 +08:00
myd7349
a7ac12c90a [librdkafka] Fix patch file name 2019-05-24 18:58:15 +08:00
myd7349
2bf491b426 [librdkafka] Fix ARM build error 2019-05-11 16:09:10 +08:00
myd7349
6f691d7a9b [librdkafka] Update 2019-05-07 19:21:44 +08:00
myd7349
6b2423eced [librdkafka] Update to 2019-05-07 2019-05-07 19:21:44 +08:00
myd7349
c89d08d1ba [librdkafka] Update to 2019-04-30 2019-05-07 19:21:44 +08:00
myd7349
f6ae18f51a [librdkafka] Update to 2019-04-16 2019-05-07 19:21:44 +08:00
myd7349
d1b1ae1a10 [librdkafka] Rename package to librdkafka (#5927) 2019-05-07 19:21:43 +08:00