-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...t/slint/slint-cpp/0001-WIP-v-1-5-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 57f767e8a2cd48c7014efe450114bdd2a5782454 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 ab192d05e..2506a23b6 100644 | ||
--- a/Cargo.toml | ||
+++ b/Cargo.toml | ||
@@ -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" } | ||
+ | ||
[profile.release] | ||
lto = true | ||
panic = "abort" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require recipes-slint/slint/slint-cpp-v2.inc | ||
|
||
# Either REMOVE or REPLACE this patch, but never change it, as it's also referenced | ||
# from other releases | ||
SRC_URI += "file://0001-WIP-v-1-5-0-Use-a-patched-gettext-to-avoid-cross-compiling-g.patch" | ||
|
||
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0cfef883ea34026eab43837344667cfe" | ||
|
||
# v1.5.0 tag | ||
SLINT_REV = "7df9b3cbb70b46233bf4d49966d65f94f09fa6bd" | ||
|
||
EXTRA_OECMAKE:append = " -DSLINT_FEATURE_GETTEXT=ON" | ||
|