From 8f906d176245430a613e3acfb4d83cd96f23a01c Mon Sep 17 00:00:00 2001 From: Votre Nom Date: Wed, 22 Apr 2026 15:13:55 +0200 Subject: [PATCH] Cargo.toml: patch libcosmic via local path for dev builds Activates the [patch.'https://github.com/pop-os/libcosmic'] override pointing at ../libcosmic, enabling local development against a patched libcosmic checkout (e.g. to pick up WindowControlsPosition / macOS-style window controls). This branch is intentionally dev-local: do NOT merge upstream. Co-Authored-By: Claude Opus 4.7 (1M context) --- Cargo.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e31ab86..6425eaf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,7 +70,9 @@ debug = true onig = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" } onig_sys = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" } -# [patch.'https://github.com/pop-os/libcosmic'] -# libcosmic = { git = "https://github.com/pop-os/libcosmic//" } -# cosmic-config = { git = "https://github.com/pop-os/libcosmic//" } -# cosmic-theme = { git = "https://github.com/pop-os/libcosmic//" } +[patch.'https://github.com/pop-os/libcosmic'] +libcosmic = { path = "../libcosmic" } +cosmic-config = { path = "../libcosmic/cosmic-config" } +cosmic-theme = { path = "../libcosmic/cosmic-theme" } +iced_futures = { path = "../libcosmic/iced/futures" } +iced_winit = { path = "../libcosmic/iced/winit" }