<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/sdl2pp, branch aws-lambda-cpp</title>
<subtitle>Forked from https://github.com/microsoft/vcpkg</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/'/>
<entry>
<title>Bulk convert control files. (#19986)</title>
<updated>2021-09-09T08:24:04+00:00</updated>
<author>
<name>Billy O'Neal</name>
<email>bion@microsoft.com</email>
</author>
<published>2021-09-09T08:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=b295670e4bab14debe88d92cd5364b21ce26232c'/>
<id>b295670e4bab14debe88d92cd5364b21ce26232c</id>
<content type='text'>
```
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
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
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
```</pre>
</div>
</content>
</entry>
<entry>
<title>[sdl2pp] Update to 0.16.1 and fix find_package error (#13300)</title>
<updated>2020-11-09T22:57:39+00:00</updated>
<author>
<name>Lily</name>
<email>47812810+LilyWangL@users.noreply.github.com</email>
</author>
<published>2020-11-09T22:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=4ebf188da4847a3fa70bd82dac7fd51eac5a3d31'/>
<id>4ebf188da4847a3fa70bd82dac7fd51eac5a3d31</id>
<content type='text'>
* [sdl2pp] Fix find_package error

* [sdl2pp] Update to version 0.16.1</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [sdl2pp] Fix find_package error

* [sdl2pp] Update to version 0.16.1</pre>
</div>
</content>
</entry>
<entry>
<title>[sdl2pp] Fix find dependencies (#9428)</title>
<updated>2020-01-06T19:48:42+00:00</updated>
<author>
<name>Jack·Boos·Yu</name>
<email>47264268+JackBoosY@users.noreply.github.com</email>
</author>
<published>2020-01-06T19:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=5d251aaf54c9f93416034c94ff6fc263e5e76e98'/>
<id>5d251aaf54c9f93416034c94ff6fc263e5e76e98</id>
<content type='text'>
* [sdl2pp] Fix find dependencies

* [sdl2pp] Re-fix dependencies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [sdl2pp] Fix find dependencies

* [sdl2pp] Re-fix dependencies
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Add optional 'Homepage' field to CONTROL (#6844)</title>
<updated>2019-06-10T23:35:22+00:00</updated>
<author>
<name>Phil Christensen</name>
<email>philc@microsoft.com</email>
</author>
<published>2019-06-10T23:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=d962dc7d651b563bed089f4bf9056003ebb7fe1c'/>
<id>d962dc7d651b563bed089f4bf9056003ebb7fe1c</id>
<content type='text'>
* [control file] Add optional 'Homepage' tag

This allows a 'Homepage' tag to be added to a port in order to support
changes such as PR #2933.  It currently does not do anything with it.

* [docs]

Add Homepage to the control file documentation

* move urls from descriptions to homepage field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [control file] Add optional 'Homepage' tag

This allows a 'Homepage' tag to be added to a port in order to support
changes such as PR #2933.  It currently does not do anything with it.

* [docs]

Add Homepage to the control file documentation

* move urls from descriptions to homepage field.
</pre>
</div>
</content>
</entry>
<entry>
<title>Package sdl2pp (#3430)</title>
<updated>2018-05-18T15:15:52+00:00</updated>
<author>
<name>Ryan Cheung</name>
<email>ryancheung.go@gmail.com</email>
</author>
<published>2018-05-18T15:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=7ad1fcc376024b442baa67db6c1f2d10932a657b'/>
<id>7ad1fcc376024b442baa67db6c1f2d10932a657b</id>
<content type='text'>
* Fix mpg123 build in macOS and Linux, fix sdl2-mixer find mpg123 libarry

* Add package sdl2pp

* [mpg123] Use Windows logic in Windows Desktop

* [sdl2-mixer] Bump package version

* [sdl2pp] Use patch instead of replacing CMakeLists.txt. Use vcpkg_from_github()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix mpg123 build in macOS and Linux, fix sdl2-mixer find mpg123 libarry

* Add package sdl2pp

* [mpg123] Use Windows logic in Windows Desktop

* [sdl2-mixer] Bump package version

* [sdl2pp] Use patch instead of replacing CMakeLists.txt. Use vcpkg_from_github()
</pre>
</div>
</content>
</entry>
</feed>
