Commit Graph

31 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
Francisco Facioni
5eae23f558
[azure-kinect-sensor-sdk] not working on Linux (#14750)
* [azure-kinect-sensor-sdk] fix linux build and other issues
  - linux: warnings stopping the build
  - linux: set correct casing for dependecies
  - linux: depthengine
  - upgrade to 1.4.1

* Update ports/azure-kinect-sensor-sdk/CONTROL

* Update ports/azure-kinect-sensor-sdk/portfile.cmake

* Force to re-download archive, revert 9cd44db8e3

* update version record

* Update ports/azure-kinect-sensor-sdk/CONTROL

* Update versions/a-/azure-kinect-sensor-sdk.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:17:50 -07:00
ewertons
3de5895272
Azure-IoT-Sdk for C release 2020-12-09 (#15109) 2020-12-15 15:19:17 -08:00
ewertons
ffa41582f7
[Azure-IoT-Sdk*] Update to 2020-07-19 (#12493)
* Azure-IoT-Sdk for C release 2020-07-19

* Update ports/azure-c-shared-utility/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-iot-sdk-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-uamqp-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-macro-utils-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-umqtt-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-uhttp-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/umock-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Do not update azure-macro-utils-c and umock-c for release 2020-07-19

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-27 17:53:34 -07:00
Tye Tinsley
05c7e2c7de
Update C port files (#12013) 2020-06-18 15:23:54 -07:00
Ewerton Scaboro da Silva
f6023255d1 Azure-IoT-Sdk for C LTS release 2020-02-04 (lts_02_2020) 2020-02-04 15:03:19 -08:00
Jack·Boos·Yu
070f37693c
[azure-c-shared-utility] Fix patch when selected feature public-preview (#9871) 2020-02-02 20:26:38 -08:00
ewertons
7aebb48108
Azure-IoT-Sdk for C release 2020-01-22 (#9805)
* Azure-IoT-Sdk for C release 2020-01-22

* [azure-c-shared-utility] Patch conditionals in azure_c_shared_utilityFunctions.cmake

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-01-31 11:42:32 -08:00
ewertons
837fcab0ef [azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations (#9117)
* [azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations

* [azure-c-shared-utility]Terminate the build process when building uwp.
2019-12-10 11:11:46 -08:00
ewertons
c258d0947d Revert "[azure] Update azure-iot-sdk-c for 07/2019 LTS refresh (#8686)" (#8731)
This reverts commit bc11674db1.

The LTS release broke the regular port of azure-iot-sdk-c.
This will be fixed and re-published.
2019-10-24 15:47:53 -07:00
ewertons
bc11674db1 [azure] Update azure-iot-sdk-c for 07/2019 LTS refresh (#8686) 2019-10-21 15:18:33 -07:00
Ewerton Scaboro da Silva
3a619c1af8 [azure] Update azure-iot-sdk-c for release of 2019-10-07 2019-10-09 09:01:16 -07: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
ewertons
bad7798afe [azure-iot] vcpkg update for master/public-preview release (#7791) 2019-08-20 14:54:36 -07:00
ewertons
3e1b8afb18 [azure] Update azure-iot-sdk-c for public-preview release of 2019-05-16 (#6804) 2019-06-06 23:01:40 -07:00
ewertons
4f6d1278c5 [azure] Update azure-iot-sdk-c for master release of 2019-05-16 (#6615) 2019-05-24 15:16:28 -07:00
ewertons
e290fc43fa [azure] Update vcpkgs (add new port dependencies) (#6511)
* [azure] Update vcpkgs (add new port dependencies)

* [azure-iot-sdk-c] Bump CONTROL versions and normalize tabs/spaces

* [azure] ACR of Update vcpkgs (add new port dependencies)
2019-05-20 10:27:45 -07:00
ewertons
195e4aa18a [azure-iot] vcpkg update for master/public-preview release (#5789)
* [azure-iot] vcpkg update for master/public-preview release

* [azure] Fix download hash strings

* [azure] Bump CONTROL versions
2019-03-26 23:21:51 -07:00
Rajeev Massand
969299ddbf [azure] vcpkg update for master release 1.2.14 (#5405) 2019-02-21 16:46:24 -08:00
Rajeev Massand
78dd5184dc [azure-iot-sdk-c] public-preview 2019_01_31 changes (#5283) 2019-02-01 12:06:23 -08:00
ewertons
7d2f73d36b Add public-preview version of azure-iot-sdk-c (#5155)
* Add public-preview feature to azure-iot-sdk-c suite of packages

* [azure-c-shared-utility][azure-iot-sdk-c] Remove unneeded repeat dependencies in feature
2019-01-17 13:37:44 -08:00
Jelani Brandon
751db7b568 Update Azure IoTHub packages for new release (#5000)
* Update Azure IoTHub packages for new release

* [azure-c-shared-utility] Avoid double expanding variables
2019-01-08 15:26:06 -08:00
Jelani Brandon
593d3af5b9 Update Azure Iot C SDK repo's SHA for the latest release (#4833)
* Update Azure Iot C SDK repo's SHA for the latest release

* [azure-uhttp-c] Fix hash
2018-11-28 22:53:39 -08:00
Rajeev Massand
13e7f60bca [azure-iot-sdk-c] Update sdk to 1.2.10 and update dependencies (#4717)
* new versions for azure-iot-sdk-c, azure-c-shared-utility, azure-uamqp-c, azure-umqtt-c, azure-uhttp-c

* [azure-iot-sdk-c] Modernize & Cleanup

* fix for x64-windows
2018-11-16 15:45:32 -08:00
Robert Schumacher
0c2d34331c [azure-c-shared-utility] Add missing dependencies on linux 2018-07-04 07:10:57 -07:00
Robert Schumacher
b08e78b07d [cmark][gl3w][libpopt][libraw][libssh][live555] Fixes, mostly around changing download locations. 2018-07-02 22:16:47 -07:00
Robert Schumacher
2a0bf9c488 Upgrades for 2018.06.12 2018-06-12 21:14:14 -07:00
Robert Schumacher
90a50a9502 [azure-iot-sdk] Upgrades 2018-04-19 16:42:48 -07:00
Robert Schumacher
89201f4aec [abseil][aws-sdk-cpp][azure-c-shared-utility][azure-iot-sdk-c][azure-uamqp-c][azure-umqtt-c][breakpad][exiv2][gdcm2][grpc][nuklear][rocksdb][rs-core-lib][thrift][zeromq] Upgrades 2018-04-05 22:02:37 -07:00
Robert Schumacher
608456b325 Upgrades 2018-03-24 09:16:10 -07:00
Robert Schumacher
0778f2ef8e [parson][azure-uamqp-c][azure-umqtt-c][azure-c-shared-utility][azure-iot-sdk-c] Initial commits 2018-03-24 09:16:10 -07:00