Commit Graph

24 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
Alvin
c77c1cd861 [live555] Fix live555:x86-windows-static build failure (#9303) 2019-12-20 12:00:56 -08:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime

* [folly] Use ras0219's fix for link paths

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

* [bde,duktape,qpid-proton] Build packages with python2 installed

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
LarryIII
1e0b106d15 [Live555]Update version to 'latest' (#6267) 2019-05-01 11:54:01 -07:00
Phil Christensen
3e6a41dbc9 [live555] update download URL (#6176) 2019-04-23 12:44:41 -07:00
Cheney Wang
c8844f5e40 [live555] Update the download path (#5919) 2019-04-03 10:18:04 -07:00
Erwan BERNARD
9e0a9c4347 [live555] fix linux build : invalid conversion socklen_t (#4403) 2018-10-09 00:44:45 -07:00
Alexander Karatarakis
a6cff2bd57 [live555] Improve error message 2018-08-29 16:43:10 -07:00
Cheney-Wang
cfbd6d93d4 [live555] update live555 2018-08-29 16:27:24 -07:00
Cheney-Wang
66f09a0b60 [Live555] Update to latest 2018-08-29 16:27:24 -07:00
Cheney Wang
85c2fa9f0a [live555] Update to 2018.08.05 (#4087) 2018-08-15 11:24:36 -07:00
Marcus Asteborg
7ed58da3ae [Live555] Add missing symbols due to missing C files and copy paste bug (#4002)
* Add missing symbols due to missing C files and copy paste bug

* [live555] Bump control version to include package change
2018-08-03 00:17:36 -07:00
pravic
d7f41c9070 [live555] Update to 2018.07.07 (#3895)
* [live555] Update to 2018.07.07

* [live555] Update SHA512 hash too.
2018-07-13 14:26:55 -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
Alisayyy-Yang
87c45c0b53 upgrade the version of live555 (#2915) 2018-03-01 08:30:47 -08:00
Robert Schumacher
2f25ab678a [live555] Update and simplify 2018-02-23 23:00:39 -08:00
Alisayyy-Yang
39e3fa9360 update live555 2018-01-31 02:29:44 -08:00
Alexander Karatarakis
7efd70488c [live555] Set version instead of latest and update CONTROL file 2017-12-07 13:20:05 -08:00
hwq@peergine.com
af8e296db5 updata live555 live555-latest 2017-12-07 12:12:35 +08:00
Alexander Karatarakis
adea63389a [live555] Update to 2017.09.12. Resolves #2066 2017-10-27 15:27:21 -07:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
atkawa7
b20acde02c removed testing cmake list 2017-06-13 17:16:51 -07:00
atkawa7
9a409006cf added Live555 #19 2017-06-13 17:11:23 -07:00