All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-arago][master][PATCH v2] flutter-wayland-client: patch build to include cstdint header file
@ 2026-03-13 20:31 a-christidis
  2026-03-13 20:54 ` PRC Automation
  2026-03-13 21:10 ` Denys Dmytriyenko
  0 siblings, 2 replies; 3+ messages in thread
From: a-christidis @ 2026-03-13 20:31 UTC (permalink / raw)
  To: denys, reatmon; +Cc: meta-arago

From: Antonios Christidis <a-christidis@ti.com>

Add a patch as part of the SRC. Patch includes the missing header
file cstdint.

The patch is labeled as Inactive-Upstream, as Sony has stopped
support for the embedded client. On the meta-flutter github,
there are discussions on creating and maintaining a fork.
Nothing is concrete yet.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---

v2: 
- Setup dynamic layer support

 check_yocto_rules.json                        |  1 +
 meta-arago-test/conf/layer.conf               |  1 +
 .../flutter/flutter-wayland-client-arago.inc  |  3 +
 .../flutter/flutter-wayland-client_%.bbappend |  5 +
 ...-message_codec.h-Include-cstdint-lib.patch | 94 +++++++++++++++++++
 5 files changed, 104 insertions(+)
 create mode 100644 meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-arago.inc
 create mode 100644 meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
 create mode 100644 meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch

diff --git a/check_yocto_rules.json b/check_yocto_rules.json
index 93a784b0..25c8c952 100644
--- a/check_yocto_rules.json
+++ b/check_yocto_rules.json
@@ -22,6 +22,7 @@
             "meta-arago-distro/dynamic-layers/selinux/recipes-kernel/linux/linux-ti-staging_%.bbappend",
             "meta-arago-extras/recipes-extended/sysrepo/libyang_%.bbappend",
             "meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend",
+            "meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend",
             "meta-arago-test/recipes-benchmark/stream/stream_%.bbappend",
             "meta-arago-test/recipes-extended/bc/bc_%.bbappend"
         ]
diff --git a/meta-arago-test/conf/layer.conf b/meta-arago-test/conf/layer.conf
index 7e8bf1ab..3a5ed925 100644
--- a/meta-arago-test/conf/layer.conf
+++ b/meta-arago-test/conf/layer.conf
@@ -25,6 +25,7 @@ LAYERDEPENDS_meta-arago-test = " \
 
 BBFILES_DYNAMIC += " \
     qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \
+    flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*.bbappend \
 "
 
 # Codecs in ffmpeg with questionable patent status are not included by
diff --git a/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-arago.inc b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-arago.inc
new file mode 100644
index 00000000..ed7bd5df
--- /dev/null
+++ b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-arago.inc
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/flutter:"
+
+SRC_URI:append = " file://0001-message_codec.h-Include-cstdint-lib.patch"
diff --git a/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
new file mode 100644
index 00000000..58fb5497
--- /dev/null
+++ b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
@@ -0,0 +1,5 @@
+FLUTTER_ARAGO = ""
+FLUTTER_ARAGO:arago = "flutter-wayland-client-arago.inc"
+
+require ${FLUTTER_ARAGO}
+
diff --git a/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
new file mode 100644
index 00000000..33edda42
--- /dev/null
+++ b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
@@ -0,0 +1,94 @@
+From dcfcb92c7f42cd6bd92b1048b5e4ea6f01d40e21 Mon Sep 17 00:00:00 2001
+From: Antonios Christidis <a-christidis@ti.com>
+Date: Tue, 10 Mar 2026 11:01:28 -0500
+Subject: [PATCH] message_codec.h: Include cstdint lib
+
+Include cstdint lib within message_codec.h.
+
+Upstream-Status: Inactive-Upstream
+
+Signed-off-by: Antonios Christidis <a-christidis@ti.com>
+---
+ .../client_wrapper/include/flutter/basic_message_channel.h       | 1 +
+ .../common/client_wrapper/include/flutter/binary_messenger.h     | 1 +
+ .../common/client_wrapper/include/flutter/engine_method_result.h | 1 +
+ .../common/client_wrapper/include/flutter/message_codec.h        | 1 +
+ .../common/client_wrapper/include/flutter/method_channel.h       | 1 +
+ .../common/client_wrapper/include/flutter/method_codec.h         | 1 +
+ 6 files changed, 6 insertions(+)
+
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h
+index c081946..fcc6b23 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h
+@@ -7,6 +7,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdint>
+
+ #include "binary_messenger.h"
+ #include "message_codec.h"
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
+index d552b49..82e47da 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
+@@ -7,6 +7,7 @@
+
+ #include <functional>
+ #include <string>
++#include <cstdint>
+
+ namespace flutter {
+
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h
+index 3cc8b6a..9634ead 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h
+@@ -8,6 +8,7 @@
+ #include <memory>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ #include "binary_messenger.h"
+ #include "method_codec.h"
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h
+index c84d25f..c007b1e 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h
+@@ -8,6 +8,7 @@
+ #include <memory>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ namespace flutter {
+
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h
+index 6e39a64..34687a6 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h
+@@ -7,6 +7,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdint>
+
+ #include "binary_messenger.h"
+ #include "engine_method_result.h"
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h
+index b40fa64..edd14d6 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h
+@@ -8,6 +8,7 @@
+ #include <memory>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ #include "method_call.h"
+ #include "method_result.h"
+-- 
+2.34.1
+
-- 
2.34.1



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

end of thread, other threads:[~2026-03-13 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13 20:31 [meta-arago][master][PATCH v2] flutter-wayland-client: patch build to include cstdint header file a-christidis
2026-03-13 20:54 ` PRC Automation
2026-03-13 21:10 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.