Commit Graph

9 Commits

Author SHA1 Message Date
Alberto Garcia Illera
180c6bc92f
[libproxy] Update to 0.4.18. Enable static builds (#28282)
* update to new version of vcpkg

* format-manifest

* run x-add-version

* add support for x64-windows-static-md triplet

* run x-add-version

* remove BUILD_SHARED_LIBS

* run x-add-version

* remove WITH_KDE option

* run x-add-version

* restore -DWITH_KDE and test remiving fix-arm-build.patch

* run x-add-version

* remove arm patch and final fixes to pass CI

* run x-add-version
2022-12-12 12:18:37 -08:00
Cheney Wang
6d66b8fbbb
[libproxy] Add vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) (#25733)
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-07-13 13:54:44 -07:00
Cheney Wang
881c1b04a4
[libproxy] Add support !static (#25498)
* [libproxy] Add support !static

* x-add-version

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-06-30 14:02:53 -07:00
Thomas1664
9eff776b7d
[libproxy, nspr] Fix cmake warnings (#24809)
* [libproxy]

* [nspr]

* version

* [libproxy] Fix unused variables

* version
2022-05-20 14:35:06 -07:00
Billy O'Neal
ecbe0b18e5
[libproxy] Remove vcpkg_fail_port_install. (#22748)
There was no previous supports expression; I'm assuming given that the only block was for UWP that a dependency already did that.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 02:18:35 -08:00
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07:00
Phoebe
69d5556d0d
[ffnvcodec/libproxy] Update to latest release version (#20169)
* [ffnvcodec/libproxy] Update to latest release version

* Small changes

* [ffnvcodec] Use version instead of version-string.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-16 18:31:30 -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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00