freeglut: version 3.4.0 -> 3.8.0
PATCH 1/1 freeglut: version 3.4.0 -> 3.8.0
2025-11-16 John Tsiombikas <[email protected]>
freeglut 3.8 changes:
* New experimental Cocoa (native MacOS X) backend.
* Add glutSwapInterval, to control vsync (currently X11 and win32 only).
* glutExtensionSupported now also reports platform extensions (GLX/WGL).
* Fix build issues with new cmake versions while maintaining compatibility with old cmake.
* Fix handling of UTF8 window/icon titles.
* Fix issue with some X11 window managers not properly restoring iconified windows (send _NET_ACTIVE_WINDOW EWMH client message).
* Fix build issues with C23 compilers (empty argument list semantics).
* Fix compatibility with older versions of windows which don't have RAWHID support (before XP), by loading the entry points dynamically.
* Fix glutInitDisplayString parsing of "aux", and add =N parsing support to specify samples and auxbufs.
* Various fixes and improvements in the GameCube/Wii backend.
* Altbuild support for Solaris 2.6/SUN Workshop C.
* Started conversion of documentation from the website to markdown in the source tree: doc/api.md
* Added the original GLUT manpages, with permission from Mark Kilgard.
* New demos: accum, vsync, and windows.
* Cleanup of some old and no longer relevant, or redundant comments in the source code.
* Removed some out of date README files, and updated others.
2024-06-08 John Tsiombikas <[email protected]>
freeglut 3.6 changes:
* New platforms: Nintendo Gamecube and Nintendo Wii.
* Minimum cmake version raised to 3.1.
* Make XInput an optional dependency.
* Fix incorrect modifier bit mapped to GLUT_ACTIVE_SUPER on X11.
* Add support for ARM64 MSVC targets.
* Fix for unicode builds on windows.
* Fix build on some versions of MinGW carrying an incorrect winuser.h.
* Fix menu-related memory leak when an error occurs.
* Various build improvements & fixes.
---
.../freeglut/{freeglut_3.4.0.bb => freeglut_3.8.0.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta-oe/recipes-graphics/freeglut/{freeglut_3.4.0.bb => freeglut_3.8.0.bb} (90%)meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +2 -3
@@ -5,12 +5,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" -SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" +SRC_URI[sha256sum] = "674dcaff25010e09e450aec458b8870d9e98c46f99538db457ab659b321d9989" inherit cmake features_check pkgconfig -EXTRA_OECMAKE = "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" - # depends on virtual/libgl and libxi REQUIRED_DISTRO_FEATURES = "opengl x11"
@@ -19,6 +17,7 @@ PACKAGECONFIG[gles] = "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF," PACKAGECONFIG[wayland] = "-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon" PACKAGECONFIG[demos] = "-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF," PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr libxext" + # Add -Wno-implicit-function-declaration since it might be otherwise treated at # error by clang16+ and this is not really a problem CFLAGS += "-Wno-implicit-function-declaration"
Signature · 1 line
2.47.3
Note: I could not test these changes. The previous recipe did not compile on master in the meta-ros layer, and I’m not sure where it is currently used within meta-ros.
Quoted 80 lines · Jan Vermaete
2025-11-16 John Tsiombikas <[email protected]>
freeglut 3.8 changes:
* New experimental Cocoa (native MacOS X) backend.
* Add glutSwapInterval, to control vsync (currently X11 and win32 only).
* glutExtensionSupported now also reports platform extensions (GLX/WGL).
* Fix build issues with new cmake versions while maintaining compatibility with old cmake.
* Fix handling of UTF8 window/icon titles.
* Fix issue with some X11 window managers not properly restoring iconified windows (send_NET_ACTIVE_WINDOWEWMH client message).
* Fix build issues with C23 compilers (empty argument list semantics).
* Fix compatibility with older versions of windows which don't have RAWHID support (before XP), by loading the entry points dynamically.
* Fix glutInitDisplayString parsing of "aux", and add =N parsing support to specify samples and auxbufs.
* Various fixes and improvements in the GameCube/Wii backend.
* Altbuild support for Solaris 2.6/SUN Workshop C.
* Started conversion of documentation from the website to markdown in the source tree:doc/api.md
* Added the original GLUT manpages, with permission from Mark Kilgard.
* New demos: accum, vsync, and windows.
* Cleanup of some old and no longer relevant, or redundant comments in the source code.
* Removed some out of date README files, and updated others.2024-06-08 John Tsiombikas <[email protected]>
freeglut 3.6 changes:
* New platforms: Nintendo Gamecube and Nintendo Wii.
* Minimum cmake version raised to 3.1.
* Make XInput an optional dependency.
* Fix incorrect modifier bit mapped toGLUT_ACTIVE_SUPERon X11.
* Add support for ARM64 MSVC targets.
* Fix for unicode builds on windows.
* Fix build on some versions of MinGW carrying an incorrectwinuser.h.
* Fix menu-related memory leak when an error occurs.
* Various build improvements & fixes.Signed-off-by Jan Vermaete <[email protected]>--- .../freeglut/{freeglut_3.4.0.bb => freeglut_3.8.0.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-oe/recipes-graphics/freeglut/{freeglut_3.4.0.bb => freeglut_3.8.0.bb} (90%)meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +2
-4@@ -5,12 +5,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" -SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" +SRC_URI[sha256sum] = "674dcaff25010e09e450aec458b8870d9e98c46f99538db457ab659b321d9989" inherit cmake features_check pkgconfig -EXTRA_OECMAKE = "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" - # depends on virtual/libgl and libxi REQUIRED_DISTRO_FEATURES = "opengl x11"@@ -19,6 +17,7 @@ PACKAGECONFIG[gles] = "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF," PACKAGECONFIG[wayland] = "-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon" PACKAGECONFIG[demos] = "-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF," PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr libxext" + # Add -Wno-implicit-function-declaration since it might be otherwise treated at # error by clang16+ and this is not really a problem CFLAGS += "-Wno-implicit-function-declaration" --2.47.3
Signature · 2 lines
Jan Vermaete “Success is a self-correcting phenomenom.” -- Gary Hamel
it fails to build on YP AB -
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/4644384/raw_inline
-- Found OpenGL:/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot/usr/lib/libGL.so
found components: OpenGL
| -- Found PkgConfig:/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/bin/pkg-config
(found version "0.29.2")
| CMake Error at /srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
| Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY) | Call Stack (most recent call first): | /srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE) | /srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freeglut/3.8.0/recipe-sysroot-native/usr/share/cmake-4.2/Modules/FindOpenGL.cmake:698 (find_package_handle_standard_args) | CMakeLists.txt:435 (FIND_PACKAGE) | | | -- Configuring incomplete, errors occurred! | WARNING: exit code 1 from a shell command.
Quoted 125 lines · Jan Vermaete via lists.openembedded.org
Note: I could not test these changes. The previous recipe did not compile on master in the meta-ros layer, and I’m not sure where it is currently used within meta-ros.
Quoted 7 lines · Jan Vermaete
2025-11-16 John Tsiombikas <[email protected]>
freeglut 3.8 changes:
* New experimental Cocoa (native MacOS X) backend.
* Add glutSwapInterval, to control vsync (currently X11 andwin32 only).
Quoted 1 line
* glutExtensionSupported now also reports platform extensions
(GLX/WGL).
Quoted 5 lines
* Fix build issues with new cmake versions while maintaining compatibility with old cmake.
* Fix handling of UTF8 window/icon titles.
* Fix issue with some X11 window managers not properly restoring iconified windows (send_NET_ACTIVE_WINDOWEWMH clientmessage).
Quoted 1 line
* Fix build issues with C23 compilers (empty argument list
semantics).
Quoted 1 line
* Fix compatibility with older versions of windows which don't
have
Quoted 1 line
RAWHID support (before XP), by loading the entry points
dynamically.
Quoted 1 line
* Fix glutInitDisplayString parsing of "aux", and add =N parsing
support
Quoted 4 lines
to specify samples and auxbufs.
* Various fixes and improvements in the GameCube/Wii backend.
* Altbuild support for Solaris 2.6/SUN Workshop C.
* Started conversion of documentation from the website tomarkdown in
Quoted 2 lines
the source tree:
doc/api.md
* Added the original GLUT manpages, with permission from MarkKilgard.
Quoted 2 lines
* New demos: accum, vsync, and windows.
* Cleanup of some old and no longer relevant, or redundantcomments in
Quoted 7 lines
the source code.
* Removed some out of date README files, and updated others.2024-06-08 John Tsiombikas <[email protected]>
freeglut 3.6 changes:
Quoted 7 lines
* New platforms: Nintendo Gamecube and Nintendo Wii.
* Minimum cmake version raised to 3.1.
* Make XInput an optional dependency.
* Fix incorrect modifier bit mapped toGLUT_ACTIVE_SUPERon X11.
* Add support for ARM64 MSVC targets.
* Fix for unicode builds on windows.
* Fix build on some versions of MinGW carrying an incorrect
winuser.h.Quoted 8 lines
* Fix menu-related memory leak when an error occurs.
* Various build improvements & fixes.Signed-off-by Jan Vermaete <[email protected]>--- .../freeglut/{freeglut_3.4.0.bb => freeglut_3.8.0.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-oe/recipes-graphics/freeglut/{freeglut_3.4.0.bb =>freeglut_3.8.0.bb} (90%)
Review
Quoted 2 lines
(quoted diff) +0
-0b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb LICENSE = "MIT" · line 7
Quoted 10 lines
similarity index 90%
rename from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb rename to meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb index13f3d111fe..25ba1e05bb100644meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-0@@ -5,12 +5,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz
"meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb LICENSE = "MIT" · line 8
Quoted 1 line
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-1-SRC_URI[sha256sum] ="
3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec"meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb LICENSE = "MIT" · line 8
Quoted 1 line
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +1
-0+SRC_URI[sha256sum] ="
674dcaff25010e09e450aec458b8870d9e98c46f99538db457ab659b321d9989"meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb PACKAGECONFIG[gles] =
Quoted 9 lines
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-2inherit cmake features_check pkgconfig -EXTRA_OECMAKE = "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" - # depends on virtual/libgl and libxi REQUIRED_DISTRO_FEATURES = "opengl x11"@@ -19,6 +17,7 @@ PACKAGECONFIG[gles] ="-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF,"
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb PACKAGECONFIG[gles] = · line 17
Quoted 1 line
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-0PACKAGECONFIG[wayland] ="-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon"
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb PACKAGECONFIG[gles] = · line 18
Quoted 1 line
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-0PACKAGECONFIG[demos] ="-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF,"
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb PACKAGECONFIG[gles] = · line 19
Quoted 1 line
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-0PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandrlibxext"
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb PACKAGECONFIG[gles] = · line 21
Quoted 2 lines
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +1
-0+ # Add -Wno-implicit-function-declaration since it might be otherwisetreated at
Quoted 5 lines
meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +0
-1# error by clang16+ and this is not really a problem CFLAGS += "-Wno-implicit-function-declaration" --2.47.3
--
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122798):
https://lists.openembedded.org/g/openembedded-devel/message/122798
Mute This Topic: https://lists.openembedded.org/mt/116905850/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-