Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/9] package/flutter-engine: never build the GLFW shell
@ 2026-11-24 12:04 Adam Duskett
  2026-11-24 12:04 ` [Buildroot] [PATCH 2/9] support/testing/tests/package/test_flutter: do not enable the service at boot Adam Duskett
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Adam Duskett @ 2026-11-24 12:04 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas Petazzoni

When BR2_PACKAGE_LIBGLFW is enabled, --build-glfw-shell is passed to
flutter/tools/gn. On Linux, the GLFW shell adds the
//flutter/shell/platform/linux/config:x11 config, which is removed by
0002-remove-explicit-x11-dependency.patch. When the desktop embeddings
are also enabled (i.e. with libgtk3), gn then fails:

  ERROR Unresolved dependencies.
  //flutter/shell/platform/glfw:flutter_glfw(//build/toolchain/custom:custom)
    needs //flutter/shell/platform/linux/config:x11(//build/toolchain/custom:custom)

The GLFW shell is just an example desktop embedder which isn't installed
by the flutter package.

Always pass --no-build-glfw-shell and drop the optional libglfw dependency.

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/flutter-engine/flutter-engine.mk | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/package/flutter-engine/flutter-engine.mk b/package/flutter-engine/flutter-engine.mk
index e1c56ee62b..8c0bdad667 100644
--- a/package/flutter-engine/flutter-engine.mk
+++ b/package/flutter-engine/flutter-engine.mk
@@ -75,6 +75,7 @@ FLUTTER_ENGINE_CONF_OPTS = \
 	--embedder-for-target \
 	--linux-cpu $(FLUTTER_ENGINE_TARGET_ARCH) \
 	--no-build-embedder-examples \
+	--no-build-glfw-shell \
 	--no-clang-static-analyzer \
 	--no-enable-unittests \
 	--no-goma \
@@ -130,13 +131,6 @@ FLUTTER_ENGINE_DEPENDENCIES += libgles
 FLUTTER_ENGINE_CONF_OPTS += --enable-impeller-3d
 endif
 
-ifeq ($(BR2_PACKAGE_LIBGLFW),y)
-FLUTTER_ENGINE_DEPENDENCIES += libglfw
-FLUTTER_ENGINE_CONF_OPTS += --build-glfw-shell
-else
-FLUTTER_ENGINE_CONF_OPTS += --no-build-glfw-shell
-endif
-
 ifeq ($(BR2_PACKAGE_LIBGTK3),y)
 FLUTTER_ENGINE_DEPENDENCIES += libgtk3
 FLUTTER_ENGINE_INSTALL_FILES += libflutter_linux_gtk.so
-- 
2.56.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-11-26 22:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 12:04 [Buildroot] [PATCH 1/9] package/flutter-engine: never build the GLFW shell Adam Duskett
2026-11-24 12:04 ` [Buildroot] [PATCH 2/9] support/testing/tests/package/test_flutter: do not enable the service at boot Adam Duskett
2026-11-26 22:08   ` Thomas Petazzoni via buildroot
2026-11-24 12:04 ` [Buildroot] [PATCH 3/9] support/testing/tests/package/test_flutter: bump kernel to 6.18.65 Adam Duskett
2026-11-26 22:08   ` Thomas Petazzoni via buildroot
2026-11-24 12:04 ` [Buildroot] [PATCH 4/9] package/depot-tools: bump to version 25e7767e91a5e7f3209c947b07c52e7a45dda6b5 Adam Duskett
2026-11-26 22:09   ` Thomas Petazzoni via buildroot
2026-11-24 12:04 ` [Buildroot] [PATCH 5/9] package/flutter-{engine, sdk-bin}: bump to version 3.50.1 Adam Duskett
2026-11-24 12:04 ` [Buildroot] [PATCH 6/9] package/flutter-packages: bump to version f455dfa6 Adam Duskett
2026-11-24 12:04 ` [Buildroot] [PATCH 7/9] package/flutter-pi: bump to version edda7f9a Adam Duskett
2026-11-24 12:04 ` [Buildroot] [PATCH 8/9] package/ivi-homescreen: bump to version 950f7a5a Adam Duskett
2026-11-24 12:04 ` [Buildroot] [PATCH 9/9] package/ivi-homescreen-plugins: new package Adam Duskett
2026-11-24 12:37 ` [Buildroot] [PATCH 1/9] package/flutter-engine: never build the GLFW shell Thomas Petazzoni via buildroot
2026-11-24 14:06   ` Adam Duskett
2026-11-26 22:04 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox