| Age | Commit message (Collapse) | Author |
|
```
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
```
|
|
* [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 <47264268+JackBoosY@users.noreply.github.com>
|
|
|
|
|
|
* [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 <47264268+JackBoosY@users.noreply.github.com>
|
|
* [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.
|
|
|
|
This fixes bug introduced by #9155.
|
|
* [glui] Add new port
* [freeglut] Fix static linking
* [glui] Fix description
* [glui] Update
|
|
vcpkg will now fail on failure to apply patches except when using `--head`.
|
|
* Add PREFER_NINJA to many ports
|
|
* [vcpkg] Add "Homepage" field to the CONTROL files.
|
|
* [freeimage] improve compatibility with other ports, using typedefs identical to other headers to avoid errors
* [libwebp] fixes for non-win32 systems
* [giflib] revert again #5578
* [freeglut] add missing wrapper for linux
|
|
|
|
|
|
|
|
|
|
through built-in Find Modules.
|
|
|
|
libs (/Z7)
|
|
|
|
|
|
|
|
The opposite if portfile is not dynamic enabled
|
|
Also remove trailing whitespaces from portfiles
|
|
|
|
Fixes #105
|