From 79ffe8b7a100042a7db24459c4218b7d7bfd6f58 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 20:05:40 -0700 Subject: [PATCH] refactor(kde): depend on the layouts, scrolling and themes crates of this repository by path Step 0. KDE depended on komorebi-layouts and komorebi-themes through git revisions (6d862a11 / e8216924) that exist in no komorebi history. It now uses the path crates in the repository root so one copy is built. Cargo.lock is updated. Verified: cargo check --workspace --locked in the KDE tree. --- komorebi-for-kde/Cargo.lock | 3 --- komorebi-for-kde/Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/komorebi-for-kde/Cargo.lock b/komorebi-for-kde/Cargo.lock index 82014303..0e86c79f 100644 --- a/komorebi-for-kde/Cargo.lock +++ b/komorebi-for-kde/Cargo.lock @@ -2544,7 +2544,6 @@ dependencies = [ [[package]] name = "komorebi-layouts" version = "0.1.42" -source = "git+https://github.com/LGUG2Z/komorebi?rev=6d862a11471b819236000a463c575abce2ed13c3#6d862a11471b819236000a463c575abce2ed13c3" dependencies = [ "clap", "color-eyre", @@ -2560,12 +2559,10 @@ dependencies = [ [[package]] name = "komorebi-scrolling" version = "0.1.42" -source = "git+https://github.com/LGUG2Z/komorebi?rev=6d862a11471b819236000a463c575abce2ed13c3#6d862a11471b819236000a463c575abce2ed13c3" [[package]] name = "komorebi-themes" version = "0.1.42" -source = "git+https://github.com/LGUG2Z/komorebi?rev=6d862a11471b819236000a463c575abce2ed13c3#6d862a11471b819236000a463c575abce2ed13c3" dependencies = [ "base16-egui-themes", "catppuccin-egui", diff --git a/komorebi-for-kde/Cargo.toml b/komorebi-for-kde/Cargo.toml index 6605cb3d..b60aa20e 100644 --- a/komorebi-for-kde/Cargo.toml +++ b/komorebi-for-kde/Cargo.toml @@ -16,14 +16,14 @@ version = "0.1.0" # upstream's layouts, at a revision of its `next` branch that has the fix for resizing a tile by # dragging its edge (LGUG2Z/komorebi#1765), the placement helpers komorebi for KDE uses and the # platform-free half of the rework of the Scrolling layout -komorebi-layouts = { git = "https://github.com/LGUG2Z/komorebi", rev = "6d862a11471b819236000a463c575abce2ed13c3", features = [ +komorebi-layouts = { path = "../komorebi-layouts", features = [ "schemars", ] } # the model of a strip of columns that the Scrolling layout is laid out with, from the same # revision, whose layouts re-export it as `komorebi_layouts::scrolling::model` -komorebi-scrolling = { git = "https://github.com/LGUG2Z/komorebi", rev = "6d862a11471b819236000a463c575abce2ed13c3" } +komorebi-scrolling = { path = "../komorebi-scrolling" } # the themes (and the palettes made from pictures), from the same upstream revision -komorebi-themes = { git = "https://github.com/LGUG2Z/komorebi", rev = "6d862a11471b819236000a463c575abce2ed13c3" } +komorebi-themes = { path = "../komorebi-themes" } chrono = "0.4" clap = { version = "4", features = ["derive", "wrap_help"] }