diff mbox series

[meta-oe] freeglut: version 3.4.0 -> 3.8.0

Message ID 20251222185220.1722980-1-jan.vermaete@gmail.com
State Under Review
Headers show
Series [meta-oe] freeglut: version 3.4.0 -> 3.8.0 | expand

Commit Message

jan vermaete Dec. 22, 2025, 6:52 p.m. UTC
2025-11-16  John Tsiombikas <nuclear@mutantstargoat.com>

	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 <nuclear@member.fsf.org>

	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.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 .../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%)

Comments

jan vermaete Dec. 22, 2025, 6:58 p.m. UTC | #1
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.

On Mon, Dec 22, 2025 at 7:54 PM Jan Vermaete <jan.vermaete@gmail.com> wrote:
>
>     2025-11-16  John Tsiombikas <nuclear@mutantstargoat.com>
>
>         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 <nuclear@member.fsf.org>
>
>         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.
>
> Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> ---
>  .../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%)
>
> diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
> 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
> index 13f3d111fe..25ba1e05bb 100644
> --- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
> +++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
> @@ -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
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
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
index 13f3d111fe..25ba1e05bb 100644
--- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
+++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.8.0.bb
@@ -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"