12 Commits

Author SHA1 Message Date
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
Alexander Neumann
5ac6f3b37a
[monkeys-audio] msbuild (#33169)
* monkeys-audio msbuild

* v db

* patch out dir

* v db
2023-08-15 16:35:30 -07:00
MonicaLiu
d306e17141
[vcpkg baseline][monkeys-audio] Update to 10.08 (#30657)
* update monkeys-audio

* update version

* restore EOL

* update git-tree

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-04-04 15:48:29 -07:00
Billy O'Neal
9484a57dd5
Update vcpkg-tool to 2023-02-16. (#29664) 2023-02-24 11:57:40 -08:00
Frank
ad415d3500
[monkeys-audio] Fix error hash and remove patches. (#29745)
* [monkeys-audio] Fix error hash

* update version

* revert

* format

* vdb

* Fix x64-windows

* vdb
2023-02-21 09:05:50 -08:00
Frank
a325228200
[monkeys-audio] Add header file and remove the backup URL (#29709)
* [Monkeys-audio] Add header file and remove the backup URL

* update version
2023-02-18 00:25:01 -08:00
Mengna Li
b6dceb5053
[vcpkg baseline][monkeys-audio] Fixing error C2471 and error C1090 (#29667)
* Add patch to fix C1090 error

* update

* update
2023-02-16 13:31:39 -08:00
JonLiu1993
9e73ebfe12
[monkeys-audio] update to 9.04 (#29556)
* [monkeys-audio] update to 9.04

* update version

* revert patch

* update version

* remove useless baseline
2023-02-10 11:11:51 -08:00
Cheney Wang
dd71e22fd2
[vcpkg baseline][monkeys-audio] Fixing error C2471 and error C1090 (#28633)
* [vcpkg baseline][monkeys-audio] Fixing error C2471 and error C1090

* x-add-version

* Update

* x-add-version
2023-01-04 12:09:10 -08:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00