From f34e74f488246df74b1dd5e56d4748c763ede774 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 14 Mar 2024 12:50:03 +0100 Subject: [PATCH] Update slint demos patch --- ...-a-patched-gettext-to-avoid-cross-compiling-g.patch | 10 +++++----- recipes-example/slint-demos/slint-demos_git.bb | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/recipes-example/slint-demos/slint-demos/0001-WIP-v1-2-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch b/recipes-example/slint-demos/slint-demos/0001-WIP-v1-2-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch index 7afe64e..b1060ec 100644 --- a/recipes-example/slint-demos/slint-demos/0001-WIP-v1-2-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch +++ b/recipes-example/slint-demos/slint-demos/0001-WIP-v1-2-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch @@ -1,4 +1,4 @@ -From 06b7ebe03492db3260be5f3e91dfec852d6a17b7 Mon Sep 17 00:00:00 2001 +From 17131a242fe1b6859dfbac9e2676a16790dee496 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 18 Jun 2023 11:35:07 +0200 Subject: [PATCH] WIP: Use a patched gettext to avoid cross-compiling gettext @@ -9,12 +9,12 @@ Subject: [PATCH] WIP: Use a patched gettext to avoid cross-compiling gettext 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml -index 95d4ce22c..392b2f2f7 100644 +index ab192d05e..2506a23b6 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -101,6 +101,9 @@ fontdb = { version = "0.14.1", default-features = false } - send_wrapper = { version = "0.6.0" } - cbindgen = { version = "0.24", default-features = false } +@@ -140,6 +140,9 @@ strum = { version = "0.26.1", default-features = false, features = ["derive"] } + toml_edit = { version = "0.22.7" } + cfg_aliases = { version = "0.2.0" } +[patch.crates-io] +gettext-sys = { git = "https://github.com/slint-ui/gettext-rs", branch = "simon/fix-linux-detection" } diff --git a/recipes-example/slint-demos/slint-demos_git.bb b/recipes-example/slint-demos/slint-demos_git.bb index 0d74515..9faba9a 100644 --- a/recipes-example/slint-demos/slint-demos_git.bb +++ b/recipes-example/slint-demos/slint-demos_git.bb @@ -14,6 +14,8 @@ LICENSE = "GPLv3 | Slint-Commercial" inherit slint_common +PV = "git-${SRCPV}" + REQUIRED_DISTRO_FEATURES:append:class-target = "opengl" DEPENDS:append:class-target = " fontconfig libxkbcommon virtual/libgl"