Commit Graph

9 Commits

Author SHA1 Message Date
MonicaLiu
540529ce2d
[elfutils] Update to 0.192 (#41865)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-11-05 13:05:17 -08:00
Kai Pastor
9fcfb7b480
[elfutils] Update to 0.191, cleanup, fix (#39228) 2024-06-12 14:32:20 -07:00
autoantwort
af650ee001
[elfutils] remove debug scripts (#24915) 2022-05-26 13:11:21 -07:00
autoantwort
f5ec9f3d65
[elfutils] no absolute paths (#24846) 2022-05-23 13:59:11 -07:00
Kai Pastor
0707a17ecf
[liblzma] No debug postfix. Rewrite wrapper. (#22856)
* Restore upstream's DLL name

* Don't add debug postfix

* Decouple wrapper from config

* Don't inject Find module stuff into config

* Cleanup

* [skip actions] Trim lzmad and LibLZMA patching

* [skip actions] Fix CMAKE_DISABLE_FIND_PACKAGE_LibLZMA

* [skip actions] CI

* Update manifests

* Update versions

* Backfill LibLZMA::LibLZMA to CMake < 3.14

* Update versions

* Update versions
2022-02-28 10:25:31 -08:00
Kai Pastor
d8783052cb
[zstd] No debug postfix. No renaming of CMake config files. (#22822)
* Use upstream's standard filenames

* Update license info

* CMake style

* Revise downstream zstd patching

* Update versions

* Don't use '_static' lib name suffix

* Revise downstream zstd patching

* Add usage

* Update versions

* Update versions

* [zstd] Simplify consumers via fixed .pc and linkage alias

* [zstd] Fix missing IMPORTED

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-02-15 17:20:21 -08:00
BigRedEye
8ed2f79983
[elfutils] Update to 0.186 (#22956)
* [elfutils] Update to 0.186

* fix(cmake): Fix quotes

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-02-07 19:04:39 -08:00
Clayton Wheeler
36e3205c67
[elfutils] provide static or shared libraries correctly (#22055)
The logic for keeping the static or shared libraries according to
VCPKG_LIBRARY_LINKAGE was backwards, and it was providing shared
libraries when they should have been static, and vice versa.
2021-12-16 22:56:56 -08: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