Re: [meta-arago][master][PATCH] flutter-wayland-client: patch build to include cstdint header file

Ryan Eatmon <[email protected]> Fri, 13 Mar 2026 13:32:03 -0500
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>

This is failing to build.  Should this be in a dynamic layer?



On 3/12/2026 8:35 PM, [email protected] wrote:
> 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]>
> ---
>   .../flutter/flutter-wayland-client-arago.inc  |  3 +
>   .../flutter/flutter-wayland-client_%.bbappend |  5 +
>   ...-message_codec.h-Include-cstdint-lib.patch | 94 +++++++++++++++++++
>   3 files changed, 102 insertions(+)
>   create mode 100644 meta-arago-test/recipes-graphics/flutter/flutter-wayland-client-arago.inc
>   create mode 100644 meta-arago-test/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
>   create mode 100644 meta-arago-test/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
> 
> diff --git a/meta-arago-test/recipes-graphics/flutter/flutter-wayland-client-arago.inc b/meta-arago-test/recipes-graphics/flutter/flutter-wayland-client-arago.inc
> new file mode 100644
> index 00000000..ed7bd5df
> --- /dev/null
> +++ b/meta-arago-test/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/recipes-graphics/flutter/flutter-wayland-client_%.bbappend b/meta-arago-test/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
> new file mode 100644
> index 00000000..58fb5497
> --- /dev/null
> +++ b/meta-arago-test/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/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch b/meta-arago-test/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/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 <[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
> +

-- 
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS