aboutsummaryrefslogtreecommitdiff
path: root/ports/freeglut
AgeCommit message (Collapse)Author
2021-09-09Bulk convert control files. (#19986)Billy O'Neal
``` 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-04-09[freeglut] Don't enforce x64 when the compiler is 64 bit (#16911)Davide Beatrici
* [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>
2020-07-03[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018)Jack·Boos·Yu
2020-06-26[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899)Jack·Boos·Yu
2020-05-26[freeglut] fix debug macro patch (#11527)Tim Autry
* [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>
2020-05-21[freeglut] updated to 3.2.1 (#11423)Igor Kostenko
* [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.
2020-01-30[freeglut] check whether debug/release is enabled before moving files (#9745)MACHIZAUD Andréa
2020-01-22[freeglut] Patch header correctly (#9725)myd7349
This fixes bug introduced by #9155.
2020-01-15[glui] Add new port (#9155)myd7349
* [glui] Add new port * [freeglut] Fix static linking * [glui] Fix description * [glui] Update
2019-10-07[vcpkg] fatal_error when patch fails to apply (#8087)Stefano Sinigardi
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-07-31Add PREFER_NINJA to many ports (#7468)Phoebe
* Add PREFER_NINJA to many ports
2019-06-15[WIP] Add a Homepage URL entry for vcpkg ports (#2933)pravic
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-05-09[freeimage,freeglut,giflib,libwebp] port patches from #5169 (#6364)Stefano Sinigardi
* [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
2019-05-08[freeglut] enable building on non-win32 (#6298)Stefano Sinigardi
2019-04-25[freeglut] fix download URLs (#6035)Qing-Dong Wang
2018-09-07[freeglut] Fix the internal default link name of freeglut. Fixed #4243.icedream2linxi
2018-04-30[sfml] Support LinuxRobert Schumacher
2017-11-16[vcpkg] Support \share\<port>\usage to handle libraries which are found ↵Robert Schumacher
through built-in Find Modules.
2017-11-08rename freeglut_static.lib for compatibility with FindGLUT.cmakeStefano Sinigardi
2017-09-09vcpkg_configure_cmake (and _meson) now embed debug symbols within static ↵Alexander Karatarakis
libs (/Z7)
2017-07-08[freeglut] Remove debug suffixArkady Shapkin
2016-12-07[freeglut] Extract SOURCE_PATH variableAlexander Karatarakis
2016-11-15[freeglut] Enable static building. Fix pdb copying issuesAlexander Karatarakis
2016-11-08If portfile is not static-enabled yet, warn and then build dynamicAlexander Karatarakis
The opposite if portfile is not dynamic enabled
2016-11-08triplet is now automatically included before portfiles.Alexander Karatarakis
Also remove trailing whitespaces from portfiles
2016-10-26[freeglut] Mark as not supporting static building yetAlexander Karatarakis
2016-10-11Add freeglutEbrahim Byagowi
Fixes #105