From 6f514db1b4c90bfc0cee6cea4635ef992cedb896 Mon Sep 17 00:00:00 2001 From: Lionel DARNIS Date: Mon, 25 May 2026 11:34:55 +0200 Subject: [PATCH] chore: use local cosmic-text checkout --- Cargo.lock | 4 ++-- Cargo.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4a9e4d..cb40e12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1792,8 +1792,7 @@ dependencies = [ [[package]] name = "cosmic-text" -version = "0.18.2" -source = "git+https://github.com/pop-os/cosmic-text.git#4d74f795cc771fdcc7ea0f9cacba63fcf036fad6" +version = "0.19.0" dependencies = [ "bitflags 2.11.1", "fontdb", @@ -1811,6 +1810,7 @@ dependencies = [ "unicode-linebreak", "unicode-script", "unicode-segmentation", + "unicode-width 0.2.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 01250d4..b05903c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,6 +81,9 @@ cosmic-theme = { path = "/home/lionel/Projets/COSMIC/libcosmic/cosmic-theme" } iced_futures = { path = "/home/lionel/Projets/COSMIC/libcosmic/iced/futures" } iced_winit = { path = "/home/lionel/Projets/COSMIC/libcosmic/iced/winit" } +[patch.'https://github.com/pop-os/cosmic-text.git'] +cosmic-text = { path = "../cosmic-text" } + # Yoda wayland cut v5: redirect window_clipboard to the local fork # (x11 gated behind opt-in feature). [patch.'https://forge.aditua.com/leyoda/window_clipboard.git']