Kai Pastor
90fdea2c82
[freeglut] Update to 3.2.2, fix X11 dependencies ( #23807 )
...
* Update to 3.2.2
* Extend X11 dependencies patch
* Update the FindGLUT wrapper
* Update versions
* Modernize portfile
* Set policies
* Update versions
* Switch to github
* Update versions
* CI
* Replace GLUT_LIBRARIES with GLUT_LINK_LIBRARIES
* Update versions
2022-04-05 11:14:30 -07:00
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() ( #20953 )
...
* [many ports] call vcpkg_fixup_pkgconfig()
The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files
* Update port-version for armadillo and polyclipping.
* Update version database.
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. ( #19986 )
...
```
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-09-09 01:24:04 -07:00
Davide Beatrici
c91bcb157c
[freeglut] Don't enforce x64 when the compiler is 64 bit ( #16911 )
...
* [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>
2021-04-09 10:09:10 -07:00
Jack·Boos·Yu
21b56d9929
[vcpkg_from_sourceforge] Add retry mirror function (2/2) ( #12018 )
2020-07-03 09:36:40 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) ( #11899 )
2020-06-26 15:06:30 -07:00
Tim Autry
7bfd3e4b31
[freeglut] fix debug macro patch ( #11527 )
...
* [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-26 22:02:55 -07:00
Igor Kostenko
96edc8c4a3
[freeglut] updated to 3.2.1 ( #11423 )
...
* [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 550018c1b8
.
2020-05-21 11:29:52 -07:00
MACHIZAUD Andréa
8bb07e21ca
[freeglut] check whether debug/release is enabled before moving files ( #9745 )
2020-01-30 14:40:10 -08:00
myd7349
6e99bd4018
[freeglut] Patch header correctly ( #9725 )
...
This fixes bug introduced by #9155 .
2020-01-22 12:19:17 -08:00
myd7349
b2f7823dd2
[glui] Add new port ( #9155 )
...
* [glui] Add new port
* [freeglut] Fix static linking
* [glui] Fix description
* [glui] Update
2020-01-15 16:46:35 -08:00
Stefano Sinigardi
726c111481
[vcpkg] fatal_error when patch fails to apply ( #8087 )
...
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Phoebe
bcff929875
Add PREFER_NINJA to many ports ( #7468 )
...
* Add PREFER_NINJA to many ports
2019-07-31 13:01:02 -07:00
pravic
18b029a5e3
[WIP] Add a Homepage URL entry for vcpkg ports ( #2933 )
...
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Stefano Sinigardi
9c33de2d07
[freeimage,freeglut,giflib,libwebp] port patches from #5169 ( #6364 )
...
* [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-09 11:45:23 -07:00
Stefano Sinigardi
6cdb36a4cf
[freeglut] enable building on non-win32 ( #6298 )
2019-05-08 13:47:32 -07:00
Qing-Dong Wang
0619aaec65
[freeglut] fix download URLs ( #6035 )
2019-04-25 23:37:20 -07:00
icedream2linxi
f138ef3747
[freeglut] Fix the internal default link name of freeglut. Fixed #4243 .
2018-09-07 20:24:27 +08:00
Robert Schumacher
827c893b8e
[sfml] Support Linux
2018-04-30 16:00:29 -07:00
Robert Schumacher
1b2f75be94
[vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules.
2017-11-16 23:54:55 -08:00
Stefano Sinigardi
68bfea163a
rename freeglut_static.lib for compatibility with FindGLUT.cmake
2017-11-08 14:55:46 +01:00
Alexander Karatarakis
26516fe485
vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)
2017-09-09 00:12:54 -07:00
Arkady Shapkin
f8ae60976d
[freeglut] Remove debug suffix
2017-07-08 02:45:37 +03:00
Alexander Karatarakis
e6ebc03699
[freeglut] Extract SOURCE_PATH variable
2016-12-07 15:21:30 -08:00
Alexander Karatarakis
628420bf8e
[freeglut] Enable static building. Fix pdb copying issues
2016-11-15 17:39:33 -08:00
Alexander Karatarakis
cadee66ca2
If portfile is not static-enabled yet, warn and then build dynamic
...
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00
Alexander Karatarakis
1808d461b0
triplet is now automatically included before portfiles.
...
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
98b270b8be
[freeglut] Mark as not supporting static building yet
2016-10-26 12:48:57 -07:00
Ebrahim Byagowi
75091823ec
Add freeglut
...
Fixes #105
2016-10-11 12:17:00 +03:30