From: Antonios Christidis <[email protected]>

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 <[email protected]>
---
v3:
- Fix EOF whitespace
- Prefer to use "+=" instead of ":append" for SRC_URI 
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 |  4 +
 ...-message_codec.h-Include-cstdint-lib.patch | 93 +++++++++++++++++++
 5 files changed, 102 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..3814c9cf
--- /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 += " 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..ebcadafc
--- /dev/null
+++ 
b/meta-arago-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
@@ -0,0 +1,4 @@
+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..7a9bff41
--- /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,93 @@
+From dcfcb92c7f42cd6bd92b1048b5e4ea6f01d40e21 Mon Sep 17 00:00:00 2001
+From: Antonios Christidis <[email protected]>
+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 <[email protected]>
+---
+ .../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



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17352): 
https://lists.yoctoproject.org/g/meta-arago/message/17352
Mute This Topic: https://lists.yoctoproject.org/mt/118348261/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


  • [meta-arago][master][PATCH ... Antonios Christidis via lists.yoctoproject.org

Reply via email to