yoda: switch window_clipboard patch to public Forgejo fork

Replace the path-local [patch] redirect with a git redirect to
https://forge.aditua.com/leyoda/window_clipboard.git (branch
yoda-x11-optional). Removes the absolute path dependency on
/home/lionel/Devels/window_clipboard so any clone can build.

The patch is still needed to consolidate the upstream pop-os/libcosmic
chain (pulled by cosmic-settings-daemon) onto the same fork iced uses,
otherwise cargo would compile two versions of window_clipboard.

Leyoda 2026 – GPLv3
This commit is contained in:
Votre Nom 2026-05-05 13:47:17 +02:00
parent d080bc85af
commit 69c35ab80f
2 changed files with 29 additions and 20 deletions

View file

@ -149,12 +149,15 @@ tokio = { version = "1", features = ["rt", "macros"] }
# no [patch] block needed anymore. Keeping the block below would be a no-op
# since nothing in the dep graph still asks for pop-os/libcosmic.git.
# Yoda wayland cut v5: redirect window_clipboard + cosmic-text to our local
# forks (x11 gated behind opt-in feature + EAW/PR#503 respectively).
# Yoda wayland cut: redirect window_clipboard to our public Forgejo fork
# (x11 gated behind opt-in feature) and cosmic-text to a local fork
# (EAW/PR#503). The window_clipboard patch is needed to consolidate the
# upstream pop-os/libcosmic chain (pulled by cosmic-settings-daemon) onto
# the same fork iced uses, otherwise cargo compiles two versions.
[patch.'https://github.com/pop-os/window_clipboard.git']
window_clipboard = { path = "/home/lionel/Devels/window_clipboard" }
dnd = { path = "/home/lionel/Devels/window_clipboard/dnd" }
mime = { path = "/home/lionel/Devels/window_clipboard/mime" }
window_clipboard = { git = "https://forge.aditua.com/leyoda/window_clipboard.git", branch = "yoda-x11-optional" }
dnd = { git = "https://forge.aditua.com/leyoda/window_clipboard.git", branch = "yoda-x11-optional" }
mime = { git = "https://forge.aditua.com/leyoda/window_clipboard.git", branch = "yoda-x11-optional" }
[patch.'https://github.com/pop-os/cosmic-text.git']
cosmic-text = { path = "/home/lionel/Devels/cosmic-text" }