Skip to content

Commit

Permalink
Update gettext patch to apply without fuzz for git builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Oct 4, 2023
1 parent 4e342e1 commit 79c1f2d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 0c3f95a28ed813e4a1d577a7ea9b77dc2500e48d Mon Sep 17 00:00:00 2001
From: Simon Hausmann <[email protected]>
Date: Sun, 18 Jun 2023 11:35:07 +0200
Subject: [PATCH] WIP: Use a patched gettext to avoid cross-compiling gettext
when building with Ycoto

---
Cargo.toml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 0b9d284dc..c19a739cd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -128,6 +128,9 @@ send_wrapper = { version = "0.6.0" }
cbindgen = { version = "0.26", default-features = false }
toml_edit = "0.20"

+[patch.crates-io]
+gettext-sys = { git = "https://github.com/slint-ui/gettext-rs", branch = "simon/fix-linux-detection" }
+
[profile.release]
lto = true
panic = "abort"
2 changes: 1 addition & 1 deletion recipes-slint/slint/slint-cpp_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require recipes-slint/slint/slint-cpp-v2.inc

# Either REMOVE or REPLACE this patch, but never change it, as it's also referenced
# from 1.1.0 release
SRC_URI += "file://0001-WIP-v1-2-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch"
SRC_URI += "file://0001-WIP-v-1-3-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch"

LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c12ffea0eacb376c3ba8c0601fe78d5d"
SLINT_REV = "master"
Expand Down

0 comments on commit 79c1f2d

Please sign in to comment.