<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/libgta/CONTROL, branch master</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>[WIP] Add a Homepage URL entry for vcpkg ports (#2933)</title>
<updated>2019-06-15T23:54:47+00:00</updated>
<author>
<name>pravic</name>
<email>ehysta@gmail.com</email>
</author>
<published>2019-06-15T23:54:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=18b029a5e3997fa4fdc7d3d06d56568a1d6f74ad'/>
<id>18b029a5e3997fa4fdc7d3d06d56568a1d6f74ad</id>
<content type='text'>
* [vcpkg] Add "Homepage" field to the CONTROL files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [vcpkg] Add "Homepage" field to the CONTROL files.</pre>
</div>
</content>
</entry>
<entry>
<title>[BZip2] Fix Unix Dynamic Builds (#5184)</title>
<updated>2019-01-29T21:43:39+00:00</updated>
<author>
<name>LRFLEW</name>
<email>LRFLEW@aol.com</email>
</author>
<published>2019-01-29T21:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=e6552f118071a9798a2ffada7ae4707f3b29ed14'/>
<id>e6552f118071a9798a2ffada7ae4707f3b29ed14</id>
<content type='text'>
* [BZip2] Fix Unix Dynamic Builds

* [bzip2] Bump control version

* [libgta] Only build one flavor

* [vcpkg_configure_cmake] Resolve #2375 since we now use CMake &gt;= 3.11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [BZip2] Fix Unix Dynamic Builds

* [bzip2] Bump control version

* [libgta] Only build one flavor

* [vcpkg_configure_cmake] Resolve #2375 since we now use CMake &gt;= 3.11
</pre>
</div>
</content>
</entry>
<entry>
<title>[libgta] update CONTROL</title>
<updated>2018-02-05T06:39:50+00:00</updated>
<author>
<name>Hiroshi Miura</name>
<email>miurahr@linux.com</email>
</author>
<published>2018-02-05T06:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=669b8e0ffdc2d96729da774faa1bb1cc0baac596'/>
<id>669b8e0ffdc2d96729da774faa1bb1cc0baac596</id>
<content type='text'>
add lf at end of file.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add lf at end of file.</pre>
</div>
</content>
</entry>
<entry>
<title>[libgta] add build-dependency</title>
<updated>2018-02-05T03:49:54+00:00</updated>
<author>
<name>Hiroshi Miura</name>
<email>miurahr@linux.com</email>
</author>
<published>2018-02-05T03:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=1721d868562f8384c764404b86235508f8a498df'/>
<id>1721d868562f8384c764404b86235508f8a498df</id>
<content type='text'>
- bzip2, zlib and liblzma

Signed-off-by: Hiroshi Miura &lt;miurahr@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- bzip2, zlib and liblzma

Signed-off-by: Hiroshi Miura &lt;miurahr@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add libgta</title>
<updated>2018-02-05T03:21:48+00:00</updated>
<author>
<name>Hiroshi Miura</name>
<email>miurahr@linux.com</email>
</author>
<published>2018-02-05T03:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=7edd3c70164e7b0c841a2eca2e3a37203c911db5'/>
<id>7edd3c70164e7b0c841a2eca2e3a37203c911db5</id>
<content type='text'>
Libgta is a portable library that implements the Generic Tagged Array (GTA)
file format.

Signed-off-by: Hiroshi Miura &lt;miurahr@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Libgta is a portable library that implements the Generic Tagged Array (GTA)
file format.

Signed-off-by: Hiroshi Miura &lt;miurahr@linux.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
