Commit Graph

9 Commits

Author SHA1 Message Date
NancyLi1013
41d944f701
[getdns/flint/arb] Update to the latest version (#20050)
* [getdns/flint] Update to the latest version

* [getdns/flint] Update to the latest version

* [flint] Add unsupported on uwp

* Update version files

* [flint] Handle dllimport macro in header files

* [arb] Update to 2.21.0

* [arb] Update to 2.2.1 and use upstream CMakeLists.txt

* [arb] App patch

* Update versions/a-/arb.json
2021-11-05 16:09:43 -07:00
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
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -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
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
Stefano Sinigardi
ec46f02181 [pthread] update to v3 (#6473)
* [pthread] update to v3

* [flint, mosquitto, usbmuxd] bump CONTROL files and add final touches for PThreads4W v3

* [arb] add compatibility with PThreads4W
2019-05-16 13:49:25 -07:00
JackBoosY
fd2330af7a [pthreads]Modify library name "pthreadsVC2" to correct name "pthreadVC2" (#5532)
* [Pthreads]Modify library name "pthreadsVC2" to correct name "pthreadVC2".

* [pthreads]update Version

* [flint]fix dependence port pthreads library name to "pthreadVC2".

* [usbmuxd]fix dependence port pthreads library name to "pthreadVC2".

* [mosquitto]fix dependence port pthreads library name to "pthreadVC2".
2019-03-05 10:51:50 -08:00
xoviat
805fabe58a Flint: enable DLL builds (#2271)
* [flint] enable dynamic building

* [flint] increment version
2017-12-03 20:37:01 -08:00
xoviat
244d6e894f Add the flint2 library (#1988)
* Add the "flint2" library.

* FIX: update library name

* FIX: only set MSVC version to VC14

* FIX: use static linkage

* DOC: display notification to the user

* [flint/CONTROL] add gettimeofday dependency

* [flint/portfile] move up linkage

* [flint/portfile] attempt to override the CRT linkage
2017-11-03 16:54:44 -07:00