<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/freeglut, 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>[freeglut] Don't enforce x64 when the compiler is 64 bit (#16911)</title>
<updated>2021-04-09T17:09:10+00:00</updated>
<author>
<name>Davide Beatrici</name>
<email>git@davidebeatrici.dev</email>
</author>
<published>2021-04-09T17:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=c91bcb157c1fc605f310266667e732eb84e0be91'/>
<id>c91bcb157c1fc605f310266667e732eb84e0be91</id>
<content type='text'>
* [freeglut] Don't enforce x64 when the compiler is 64 bit

This fixes compilation for ARM64.

* [freeglut] Update manifest

* Update ports/freeglut/CONTROL

* Update versions/f-/freeglut.json

* Update versions/baseline.json

* Update versions/baseline.json

* Update versions/f-/freeglut.json

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [freeglut] Don't enforce x64 when the compiler is 64 bit

This fixes compilation for ARM64.

* [freeglut] Update manifest

* Update ports/freeglut/CONTROL

* Update versions/f-/freeglut.json

* Update versions/baseline.json

* Update versions/baseline.json

* Update versions/f-/freeglut.json

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018)</title>
<updated>2020-07-03T16:36:40+00:00</updated>
<author>
<name>Jack·Boos·Yu</name>
<email>47264268+JackBoosY@users.noreply.github.com</email>
</author>
<published>2020-07-03T16:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=21b56d99293aa364964b99946847986c5276c3b8'/>
<id>21b56d99293aa364964b99946847986c5276c3b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899)</title>
<updated>2020-06-26T22:06:30+00:00</updated>
<author>
<name>Jack·Boos·Yu</name>
<email>47264268+JackBoosY@users.noreply.github.com</email>
</author>
<published>2020-06-26T22:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=a0e0c57f865937cdda81c21ad9327e606f7dc930'/>
<id>a0e0c57f865937cdda81c21ad9327e606f7dc930</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[freeglut] fix debug macro patch (#11527)</title>
<updated>2020-05-27T05:02:55+00:00</updated>
<author>
<name>Tim Autry</name>
<email>tim.autry@outlook.com</email>
</author>
<published>2020-05-27T05:02:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=7bfd3e4b317e95ae0cf301c051d65b9c027ffdd9'/>
<id>7bfd3e4b317e95ae0cf301c051d65b9c027ffdd9</id>
<content type='text'>
* [freeglut] fix linking release dll to debug lib

This patch:
1. Increments version by -1 in the CONTROL file
2. Adds execution of fix-debug-macro.patch file in portfile.cmake
3. Add the fix-debug-macro.patch to the port directory

* [freeglut] update version to -1 

Update CONTROL file to reflect version 3.2.1-1 adding fix-debug-macro.patch

* [freeglut] update portfile.cmake

Update portfile.cmake to execute new fix-debug-macro.patch
Reference: https://github.com/microsoft/vcpkg/issues/8315
This patch updates:
1.  the ./include/GL/freeglut_std.h
     - line 73 and 91
       - from ifdef NDEBUG
       - to if defined(NDEBUG) || !defined(_DEBUG)
2. the ./src/blackberry/fg_main_blackberry.c
    - line 34
       - from ifdef NDEBUG
       - to if defined(NDEBUG) || !defined(_DEBUG)

* Update portfile.cmake

* Update ports/freeglut/portfile.cmake

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [freeglut] fix linking release dll to debug lib

This patch:
1. Increments version by -1 in the CONTROL file
2. Adds execution of fix-debug-macro.patch file in portfile.cmake
3. Add the fix-debug-macro.patch to the port directory

* [freeglut] update version to -1 

Update CONTROL file to reflect version 3.2.1-1 adding fix-debug-macro.patch

* [freeglut] update portfile.cmake

Update portfile.cmake to execute new fix-debug-macro.patch
Reference: https://github.com/microsoft/vcpkg/issues/8315
This patch updates:
1.  the ./include/GL/freeglut_std.h
     - line 73 and 91
       - from ifdef NDEBUG
       - to if defined(NDEBUG) || !defined(_DEBUG)
2. the ./src/blackberry/fg_main_blackberry.c
    - line 34
       - from ifdef NDEBUG
       - to if defined(NDEBUG) || !defined(_DEBUG)

* Update portfile.cmake

* Update ports/freeglut/portfile.cmake

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[freeglut] updated to 3.2.1 (#11423)</title>
<updated>2020-05-21T18:29:52+00:00</updated>
<author>
<name>Igor Kostenko</name>
<email>isanych@gmail.com</email>
</author>
<published>2020-05-21T18:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=96edc8c4a3f0c3b9e278ce8b38cf87c1c9d668bf'/>
<id>96edc8c4a3f0c3b9e278ce8b38cf87c1c9d668bf</id>
<content type='text'>
* [freeglut] updated to 3.2.1

* [freeglut] address review comments

* [freeglut] add glut forwarding header

* [freeglut] revert incorrect wrapper location

* [freeglut] enable FREEGLUT_REPLACE_GLUT

* [freeglut] static lib renaming is not needed anymore

* [freeglut] revert FREEGLUT_REPLACE_GLUT setting, always use glut.h

* Revert "[freeglut] static lib renaming is not needed anymore"

This reverts commit 550018c1b81d483ef7d36e5e925e60f7cffeb368.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [freeglut] updated to 3.2.1

* [freeglut] address review comments

* [freeglut] add glut forwarding header

* [freeglut] revert incorrect wrapper location

* [freeglut] enable FREEGLUT_REPLACE_GLUT

* [freeglut] static lib renaming is not needed anymore

* [freeglut] revert FREEGLUT_REPLACE_GLUT setting, always use glut.h

* Revert "[freeglut] static lib renaming is not needed anymore"

This reverts commit 550018c1b81d483ef7d36e5e925e60f7cffeb368.</pre>
</div>
</content>
</entry>
<entry>
<title>[freeglut] check whether debug/release is enabled before moving files (#9745)</title>
<updated>2020-01-30T22:40:10+00:00</updated>
<author>
<name>MACHIZAUD Andréa</name>
<email>andrea.machizaud@gmail.com</email>
</author>
<published>2020-01-30T22:40:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=8bb07e21cac10c7f5c5406878adba03b799c0954'/>
<id>8bb07e21cac10c7f5c5406878adba03b799c0954</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[freeglut] Patch header correctly (#9725)</title>
<updated>2020-01-22T20:19:17+00:00</updated>
<author>
<name>myd7349</name>
<email>myd7349@gmail.com</email>
</author>
<published>2020-01-22T20:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=6e99bd4018686495c2d6759f1f749451b745baab'/>
<id>6e99bd4018686495c2d6759f1f749451b745baab</id>
<content type='text'>
This fixes bug introduced by #9155.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes bug introduced by #9155.</pre>
</div>
</content>
</entry>
<entry>
<title>[glui] Add new port (#9155)</title>
<updated>2020-01-16T00:46:35+00:00</updated>
<author>
<name>myd7349</name>
<email>myd7349@gmail.com</email>
</author>
<published>2020-01-16T00:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=b2f7823dd22b5155e55e3006e85187230ce0bb07'/>
<id>b2f7823dd22b5155e55e3006e85187230ce0bb07</id>
<content type='text'>
* [glui] Add new port

* [freeglut] Fix static linking

* [glui] Fix description

* [glui] Update
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [glui] Add new port

* [freeglut] Fix static linking

* [glui] Fix description

* [glui] Update
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] fatal_error when patch fails to apply (#8087)</title>
<updated>2019-10-07T17:35:13+00:00</updated>
<author>
<name>Stefano Sinigardi</name>
<email>stesinigardi@hotmail.com</email>
</author>
<published>2019-10-07T17:35:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=726c11148105a97aef39bec024fdb7c140b1b154'/>
<id>726c11148105a97aef39bec024fdb7c140b1b154</id>
<content type='text'>
vcpkg will now fail on failure to apply patches except when using `--head`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vcpkg will now fail on failure to apply patches except when using `--head`.</pre>
</div>
</content>
</entry>
</feed>
