0002-remove-explicit-x11-dependency.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From b1a5db9318ca33a03f2700758d5debad907d21b6 Mon Sep 17 00:00:00 2001
  2. From: Joel Winarske <joel.winarsk@gmail.com>
  3. Date: Wed, 19 Jul 2023 15:26:40 -0700
  4. Subject: [PATCH] remove explicit x11 dependency
  5. This is superfluous and may conflict with the actual rendering system used in
  6. gtk3 (e.g. wayland.)
  7. Upstream: https://github.com/flutter/flutter/issues/123073
  8. Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
  9. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
  10. ---
  11. engine/src/flutter/shell/platform/linux/config/BUILD.gn | 4 ----
  12. 1 file changed, 4 deletions(-)
  13. diff --git a/engine/src/flutter/shell/platform/linux/config/BUILD.gn b/engine/src/flutter/shell/platform/linux/config/BUILD.gn
  14. index da0ac056b..70c7a0ea1 100644
  15. --- a/engine/src/flutter/shell/platform/linux/config/BUILD.gn
  16. +++ b/engine/src/flutter/shell/platform/linux/config/BUILD.gn
  17. @@ -5,10 +5,6 @@
  18. import("//build/config/linux/pkg_config.gni")
  19. import("//flutter/shell/platform/glfw/config.gni")
  20. -pkg_config("x11") {
  21. - packages = [ "x11" ]
  22. -}
  23. -
  24. pkg_config("gtk") {
  25. packages = [ "gtk+-3.0" ]
  26. }
  27. --
  28. 2.41.0