Skip to contentSkip to conversation

package/supertuxkart: remove obsolete dependencies

PATCH In review Raphaël Gallais-Pou 2 participants 2 messages May 27 – Jun 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/supertuxkart: remove obsolete dependencies

- Xorg / XLIB no more required
- Allow build for other arch than i386/x86_64
- LIBGL also removed since built on top of
SDL2 (which can provide EGL/GLES backend)

---
 package/supertuxkart/Config.in       | 9 ---------
 package/supertuxkart/supertuxkart.mk | 2 --
 2 files changed, 11 deletions(-)
package/supertuxkart/Config.in +0 -9
index 0f6c24405819..84061fd4d7d0 100644
@@ -1,14 +1,10 @@
 config BR2_PACKAGE_SUPERTUXKART
 	bool "supertuxkart"
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP # openal
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
 	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS # openal
-	depends on BR2_PACKAGE_HAS_LIBGL
-	depends on BR2_PACKAGE_XORG7
 	depends on !BR2_TOOLCHAIN_USES_MUSL
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_ENET
@@ -22,7 +18,6 @@ config BR2_PACKAGE_SUPERTUXKART
 	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
 	select BR2_PACKAGE_OPENAL
 	select BR2_PACKAGE_SDL2
-	select BR2_PACKAGE_XLIB_LIBXRANDR
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID if BR2_PACKAGE_BLUEZ5_UTILS && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # runtime
 	help
@@ -34,13 +29,9 @@ config BR2_PACKAGE_SUPERTUXKART
 	  http://supertuxkart.sourceforge.net/Main_Page
 
 comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 9"
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
-	depends on BR2_PACKAGE_XORG7
 	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
 		|| !BR2_INSTALL_LIBSTDCPP \
 		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
-		|| !BR2_PACKAGE_HAS_LIBGL \
 		|| BR2_TOOLCHAIN_USES_MUSL
package/supertuxkart/supertuxkart.mk +0 -2
index 377b9668a1b5..5f122092b322 100644
@@ -23,14 +23,12 @@ SUPERTUXKART_DEPENDENCIES = \
 	harfbuzz \
 	jpeg \
 	libcurl \
-	libgl \
 	libogg \
 	libpng \
 	libsquish \
 	libvorbis \
 	openal \
 	sdl2 \
-	xlib_libXrandr \
 	zlib
 
 # Since supertuxkart is not installing libstkirrlicht.so, and since it is

---
base-commit: 08f3757b0f2133b0ed50e1ef3d7a5a1d9c80de1c
change-id: 20260527-master-59a6fd4555ab

Best regards,

Signature · 6 lines
Raphaël Gallais-Pou <[email protected]>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Raphaël, All,

Le 27/05/2026 à 21:42, Raphaël Gallais-Pou a écrit :

Quoted 16 lines

- Xorg / XLIB no more required
- Allow build for other arch than i386/x86_64
- LIBGL also removed since built on top of
SDL2 (which can provide EGL/GLES backend)

---
 package/supertuxkart/Config.in       | 9 ---------
 package/supertuxkart/supertuxkart.mk | 2 --
 2 files changed, 11 deletions(-)
package/supertuxkart/Config.in +0 -0
index 0f6c24405819..84061fd4d7d0 100644

package/supertuxkart/Config.in line 4

Quoted 4 lines
package/supertuxkart/Config.in +0 -2
@@ -1,14 +1,10 @@
 config BR2_PACKAGE_SUPERTUXKART
 	bool "supertuxkart"
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on BR2_i386 || BR2_x86_64

Buildroot can target some "tiny" cpu target, maybe BR2_PACKAGE_SUPERTUXKART_ARCH_SUPPORTS could be introduced to list all architectures where supertuxkat has been tested?
Or use test-pkg to check if it builds correctly.

Are you testing on a aarch64 cpu?

package/supertuxkart/Config.in line 10

Quoted 6 lines
package/supertuxkart/Config.in +0 -1
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP # openal
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
 	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS # openal
-	depends on BR2_PACKAGE_HAS_LIBGL

Supertuxkart was merged into Buildroot before BR2_PACKAGE_SDL2_OPENGL option. It seems we missed an opportunity to use BR2_PACKAGE_SDL2_OPENGL instead.

Since X11 is removed, are you using Wayland?
Maybe BR2_PACKAGE_SDL2_WAYLAND should be used

package/supertuxkart/Config.in line 11

Quoted 1 line
package/supertuxkart/Config.in +0 -1
-	depends on BR2_PACKAGE_XORG7

This should be done in a another commit.

package/supertuxkart/Config.in config BR2_PACKAGE_SUPERTUXKART · line 25

Quoted 8 lines
package/supertuxkart/Config.in +0 -1
 	depends on !BR2_TOOLCHAIN_USES_MUSL
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_ENET
@@ -22,7 +18,6 @@ config BR2_PACKAGE_SUPERTUXKART
 	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
 	select BR2_PACKAGE_OPENAL
 	select BR2_PACKAGE_SDL2
-	select BR2_PACKAGE_XLIB_LIBXRANDR

Can you add a comment about "Xorg / XLIB no more required"? When I tested supertuxkart last time, I was using X11 w/ openGL running enlightenment on a real PC. X11 dependency seems related to the builtin version of irrlicht.

Can you double check?
I'll mark this patch "changes requested".

Best regards,
Romain

Quoted 41 lines
package/supertuxkart/Config.in +0 -4
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID if BR2_PACKAGE_BLUEZ5_UTILS && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # runtime
 	help
@@ -34,13 +29,9 @@ config BR2_PACKAGE_SUPERTUXKART
 	  http://supertuxkart.sourceforge.net/Main_Page
 
 comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 9"
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
-	depends on BR2_PACKAGE_XORG7
 	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
 		|| !BR2_INSTALL_LIBSTDCPP \
 		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
-		|| !BR2_PACKAGE_HAS_LIBGL \
 		|| BR2_TOOLCHAIN_USES_MUSL
package/supertuxkart/supertuxkart.mk +0 -3
index 377b9668a1b5..5f122092b322 100644
@@ -23,14 +23,12 @@ SUPERTUXKART_DEPENDENCIES = \
 	harfbuzz \
 	jpeg \
 	libcurl \
-	libgl \
 	libogg \
 	libpng \
 	libsquish \
 	libvorbis \
 	openal \
 	sdl2 \
-	xlib_libXrandr \
 	zlib
 
 # Since supertuxkart is not installing libstkirrlicht.so, and since it is
 
---

base-commit: 08f3757b0f2133b0ed50e1ef3d7a5a1d9c80de1c
change-id: 20260527-master-59a6fd4555ab

Quoted 8 lines

Best regards,

Signature · 6 lines
Raphaël Gallais-Pou <[email protected]>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot