Skip to contentSkip to conversation

package/cage: properly propagate wlroots dependencies

PATCH Applied Thomas Petazzoni via buildroot 3 participants 8 messages Dec 15, 2025 – Jan 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/cage: properly propagate wlroots dependencies

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/cage.

Fixes:

https://autobuild.buildroot.net/results/dc185c3d4886e9cfd9e6f46b50b864e5b2f28605/

---
 package/cage/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/cage/Config.in +3 -1
index 4f823c768c..95c68732ed 100644
@@ -1,6 +1,7 @@
-comment "cage needs udev, EGL and OpenGL ES support"
+comment "cage needs udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_HAS_LIBEGL || \
 		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM || \
 		!BR2_PACKAGE_HAS_UDEV
 
 comment "cage needs a toolchain w/ threads, dynamic library"
@@ -13,6 +14,7 @@ config BR2_PACKAGE_CAGE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # wlroots
 	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
 	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
 	depends on BR2_PACKAGE_HAS_UDEV # wlroots
 	select BR2_PACKAGE_WLROOTS
 	help
Signature · 6 lines
2.52.0

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

PATCH 2/2 package/sway: properly propagate wlroots dependencies

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/sway.

---
 package/sway/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/sway/Config.in +4 -2
index 1f4b497af3..1e4c8bfd3e 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_SWAY
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots
 	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
 	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
 	depends on BR2_PACKAGE_HAS_UDEV # wlroots
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango
 	depends on BR2_USE_WCHAR # pango
@@ -53,11 +54,12 @@ config BR2_PACKAGE_SWAY_SWAYNAG
 
 endif # BR2_PACKAGE_SWAY
 
-comment "sway needs systemd, udev, EGL and OpenGL ES support"
+comment "sway needs systemd, udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_SYSTEMD || \
 		!BR2_PACKAGE_HAS_UDEV || \
 		!BR2_PACKAGE_HAS_LIBEGL || \
-		!BR2_PACKAGE_HAS_LIBGLES
+		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM
 
 comment "sway needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
 	depends on BR2_USE_MMU
Signature · 6 lines
2.52.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 2/2
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/sway: properly propagate wlroots dependencies

Quoted 5 lines · On Mon, 15 Dec 2025 23:58:36 +0100 Thomas Petazzoni via buildroot…

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/sway.

Quoted 39 lines
---
 package/sway/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/sway/Config.in +4 -2
index 1f4b497af3..1e4c8bfd3e 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_SWAY
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots
 	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
 	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
 	depends on BR2_PACKAGE_HAS_UDEV # wlroots
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango
 	depends on BR2_USE_WCHAR # pango
@@ -53,11 +54,12 @@ config BR2_PACKAGE_SWAY_SWAYNAG
 
 endif # BR2_PACKAGE_SWAY
 
-comment "sway needs systemd, udev, EGL and OpenGL ES support"
+comment "sway needs systemd, udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_SYSTEMD || \
 		!BR2_PACKAGE_HAS_UDEV || \
 		!BR2_PACKAGE_HAS_LIBEGL || \
-		!BR2_PACKAGE_HAS_LIBGLES
+		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM
 
 comment "sway needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
 	depends on BR2_USE_MMU
Signature · 6 lines
2.52.0

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

Cheers,
—Adrián

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

#3 lore raw

Re: [Buildroot] [PATCH 2/2] package/sway: properly propagate wlroots dependencies

In reply to Thomas Petazzoni via buildroot

Hi all,
I do not know you to respond correctly, but I reviewed it and tested it, and it looks good to me.

Quoted 26 lines · Thomas Petazzoni

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/sway.

---
  package/sway/Config.in | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
package/sway/Config.in +1 -1
index 1f4b497af3..1e4c8bfd3e 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_SWAY
  	depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots
  	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
  	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
  	depends on BR2_PACKAGE_HAS_UDEV # wlroots
  	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango
  	depends on BR2_USE_WCHAR # pango
@@ -53,11 +54,12 @@ config BR2_PACKAGE_SWAY_SWAYNAG
 
  endif # BR2_PACKAGE_SWAY
 
-comment "sway needs systemd, udev, EGL and OpenGL ES support"

package/sway/Config.in config BR2_PACKAGE_SWAY_SWAYNAG · line 65

Quoted 10 lines
package/sway/Config.in +3 -1
+comment "sway needs systemd, udev, EGL, OpenGL ES and GBM support"
  	depends on !BR2_PACKAGE_SYSTEMD || \
  		!BR2_PACKAGE_HAS_UDEV || \
  		!BR2_PACKAGE_HAS_LIBEGL || \
-		!BR2_PACKAGE_HAS_LIBGLES
+		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM
 
  comment "sway needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
  	depends on BR2_USE_MMU

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

#4 lore raw

Re: [Buildroot] [PATCH 2/2] package/sway: properly propagate wlroots dependencies

In reply to Thomas Petazzoni via buildroot

In reply of:

Quoted 5 lines

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/sway.

Applied to 2025.02.x and 2025.11.x. Thanks

Quoted 38 lines
---
 package/sway/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/sway/Config.in +4 -2
index 1f4b497af3..1e4c8bfd3e 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_SWAY
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots
 	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
 	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
 	depends on BR2_PACKAGE_HAS_UDEV # wlroots
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango
 	depends on BR2_USE_WCHAR # pango
@@ -53,11 +54,12 @@ config BR2_PACKAGE_SWAY_SWAYNAG
 
 endif # BR2_PACKAGE_SWAY
 
-comment "sway needs systemd, udev, EGL and OpenGL ES support"
+comment "sway needs systemd, udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_SYSTEMD || \
 		!BR2_PACKAGE_HAS_UDEV || \
 		!BR2_PACKAGE_HAS_LIBEGL || \
-		!BR2_PACKAGE_HAS_LIBGLES
+		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM
 
 comment "sway needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
 	depends on BR2_USE_MMU
Signature · 6 lines
2.52.0

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

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

Reviewed-by on v1 1/2
#5 lore raw
In reply to Thomas Petazzoni via buildroot
Quoted 9 lines · On Mon, 15 Dec 2025 23:58:35 +0100 Thomas Petazzoni via buildroot…

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/cage.

Fixes:

https://autobuild.buildroot.net/results/dc185c3d4886e9cfd9e6f46b50b864e5b2f28605/

Quoted 33 lines
---
 package/cage/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/cage/Config.in +3 -1
index 4f823c768c..95c68732ed 100644
@@ -1,6 +1,7 @@
-comment "cage needs udev, EGL and OpenGL ES support"
+comment "cage needs udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_HAS_LIBEGL || \
 		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM || \
 		!BR2_PACKAGE_HAS_UDEV
 
 comment "cage needs a toolchain w/ threads, dynamic library"
@@ -13,6 +14,7 @@ config BR2_PACKAGE_CAGE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # wlroots
 	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
 	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
 	depends on BR2_PACKAGE_HAS_UDEV # wlroots
 	select BR2_PACKAGE_WLROOTS
 	help
Signature · 6 lines
2.52.0

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

Cheers,
—Adrián

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

#6 lore raw
In reply to Thomas Petazzoni via buildroot
Quoted 10 lines · Thomas Petazzoni via buildroot

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/cage.

Fixes:

https://autobuild.buildroot.net/results/dc185c3d4886e9cfd9e6f46b50b864e5b2f28605/

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw
In reply to Thomas Petazzoni via buildroot

In reply of:

Quoted 9 lines

Commit 00fb3a57cbaedb8df43f75f0e891423c1ef7d8c6 added a wlroots -> libgbm dependency, but forgot to propagate it to package/cage.

Fixes:

https://autobuild.buildroot.net/results/dc185c3d4886e9cfd9e6f46b50b864e5b2f28605/

Applied to 2025.02.x and 2025.11.x. Thanks

Quoted 32 lines
---
 package/cage/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/cage/Config.in +3 -1
index 4f823c768c..95c68732ed 100644
@@ -1,6 +1,7 @@
-comment "cage needs udev, EGL and OpenGL ES support"
+comment "cage needs udev, EGL, OpenGL ES and GBM support"
 	depends on !BR2_PACKAGE_HAS_LIBEGL || \
 		!BR2_PACKAGE_HAS_LIBGLES || \
+		!BR2_PACKAGE_HAS_LIBGBM || \
 		!BR2_PACKAGE_HAS_UDEV
 
 comment "cage needs a toolchain w/ threads, dynamic library"
@@ -13,6 +14,7 @@ config BR2_PACKAGE_CAGE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # wlroots
 	depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
 	depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
+	depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
 	depends on BR2_PACKAGE_HAS_UDEV # wlroots
 	select BR2_PACKAGE_WLROOTS
 	help
Signature · 6 lines
2.52.0

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

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