diff options
author | Jan Vermaete <jan.vermaete@gmail.com> | 2025-05-30 19:11:39 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-05-30 13:58:18 -0700 |
commit | ef8160b559a89585f811e17f15ccf334b2424c07 (patch) | |
tree | 5fc1289ea673037b8e9c4958c4b4a9399fef9b17 | |
parent | 81958300f23edfd2cd78eb43ee27cbd3f339f979 (diff) | |
download | meta-openembedded-ef8160b559a89585f811e17f15ccf334b2424c07.tar.gz |
freeglut: version bump (3.4.0 -> 3.6.0)
- apply upstream patch to compile at master
- added HOMEPAGE
- downloads are not from github
"Stable releases are available on our releases page on github, where you can find more information about each release. All releases are also mirrored on the old downloads page on sourceforge."
@see: https://freeglut.sourceforge.net/
- fixed 'devtool check-upgrade-status'
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-graphics/freeglut/freeglut/0001-egl-fix-fgPlatformDestroyContext-prototype-for-C23.patch | 30 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/freeglut/freeglut_3.6.0.bb (renamed from meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb) | 14 |
2 files changed, 41 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/freeglut/freeglut/0001-egl-fix-fgPlatformDestroyContext-prototype-for-C23.patch b/meta-oe/recipes-graphics/freeglut/freeglut/0001-egl-fix-fgPlatformDestroyContext-prototype-for-C23.patch new file mode 100644 index 0000000000..13ba2316f3 --- /dev/null +++ b/meta-oe/recipes-graphics/freeglut/freeglut/0001-egl-fix-fgPlatformDestroyContext-prototype-for-C23.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 800772e993a3ceffa01ccf3fca449d3279cde338 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sam James <sam@gentoo.org> | ||
3 | Date: Sun, 17 Nov 2024 01:14:26 +0000 | ||
4 | Subject: [PATCH 1/1] egl: fix fgPlatformDestroyContext prototype for C23 | ||
5 | |||
6 | C23 removes unprototyped functions, so this conflicted with the definition | ||
7 | in fg_init_x11.c. | ||
8 | |||
9 | Bug: https://github.com/freeglut/freeglut/issues/186 | ||
10 | |||
11 | Upstream-Status: Backport [https://github.com/freeglut/freeglut/commit/800772e993a3ceffa01ccf3fca449d3279cde338] | ||
12 | --- | ||
13 | src/egl/fg_init_egl.h | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/egl/fg_init_egl.h b/src/egl/fg_init_egl.h | ||
17 | index 592c5221..8753dc0b 100644 | ||
18 | --- a/src/egl/fg_init_egl.h | ||
19 | +++ b/src/egl/fg_init_egl.h | ||
20 | @@ -28,6 +28,6 @@ | ||
21 | |||
22 | extern void fghPlatformInitializeEGL(); | ||
23 | extern void fghPlatformCloseDisplayEGL(); | ||
24 | -extern void fgPlatformDestroyContext(); | ||
25 | +extern void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext ); | ||
26 | |||
27 | #endif | ||
28 | -- | ||
29 | 2.39.5 | ||
30 | |||
diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.6.0.bb index 2cd00b0349..ebd5fbcbce 100644 --- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.6.0.bb | |||
@@ -1,10 +1,15 @@ | |||
1 | DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ | 1 | DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ |
2 | Utility Toolkit (GLUT) library" | 2 | Utility Toolkit (GLUT) library" |
3 | HOMEPAGE = "https://freeglut.sourceforge.net" | ||
3 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" |
5 | 6 | ||
6 | SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" | 7 | SRC_URI = "\ |
7 | SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" | 8 | https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ |
9 | file://0001-egl-fix-fgPlatformDestroyContext-prototype-for-C23.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[sha256sum] = "9c3d4d6516fbfa0280edc93c77698fb7303e443c1aaaf37d269e3288a6c3ea52" | ||
8 | 13 | ||
9 | inherit cmake features_check pkgconfig | 14 | inherit cmake features_check pkgconfig |
10 | 15 | ||
@@ -22,7 +27,10 @@ CFLAGS += "-Wno-implicit-function-declaration" | |||
22 | 27 | ||
23 | PROVIDES += "mesa-glut" | 28 | PROVIDES += "mesa-glut" |
24 | 29 | ||
25 | DEPENDS = "virtual/libgl libxi" | 30 | DEPENDS += "virtual/libgl libxi" |
31 | |||
32 | UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" | ||
33 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | ||
26 | 34 | ||
27 | do_install:append() { | 35 | do_install:append() { |
28 | # Remove buildpaths | 36 | # Remove buildpaths |