From 992480fc9f553d0e0c67c780bb124d4d675db3fa Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 8 Aug 2025 11:54:53 -0400 Subject: [PATCH] fix: patch cosmic-protocols --- Cargo.lock | 35 ++++------------------------------- Cargo.toml | 3 +++ 2 files changed, 7 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0df483b..9a39f4f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1080,7 +1080,7 @@ name = "cosmic-client-toolkit" version = "0.1.0" source = "git+https://github.com/pop-os/cosmic-protocols?rev=178eb0b#178eb0b14a0e5c192f64f6dee6c40341a8e5ee51" dependencies = [ - "cosmic-protocols 0.1.0 (git+https://github.com/pop-os/cosmic-protocols?rev=178eb0b)", + "cosmic-protocols", "libc", "smithay-client-toolkit", "wayland-client", @@ -1181,7 +1181,7 @@ dependencies = [ "cosmic-dbus-networkmanager", "cosmic-greeter-config", "cosmic-greeter-daemon", - "cosmic-protocols 0.1.0 (git+https://github.com/pop-os/cosmic-protocols?rev=1425bd4)", + "cosmic-protocols", "cosmic-settings-daemon-config", "cosmic-settings-subscriptions", "dirs 6.0.0", @@ -1243,34 +1243,7 @@ dependencies = [ [[package]] name = "cosmic-protocols" version = "0.1.0" -source = "git+https://github.com/pop-os/cosmic-protocols?rev=1425bd4#1425bd44ed2b318a552201cc752ae11f2f483ef5" -dependencies = [ - "bitflags 2.9.1", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-protocols-wlr", - "wayland-scanner", -] - -[[package]] -name = "cosmic-protocols" -version = "0.1.0" -source = "git+https://github.com/pop-os/cosmic-protocols?rev=178eb0b#178eb0b14a0e5c192f64f6dee6c40341a8e5ee51" -dependencies = [ - "bitflags 2.9.1", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-protocols-wlr", - "wayland-scanner", - "wayland-server", -] - -[[package]] -name = "cosmic-protocols" -version = "0.1.0" -source = "git+https://github.com/pop-os/cosmic-protocols#5035f8c810bf734401e21e0a9625c7b7e0c73325" +source = "git+https://github.com/pop-os/cosmic-protocols//?rev=5035f8c#5035f8c810bf734401e21e0a9625c7b7e0c73325" dependencies = [ "bitflags 2.9.1", "wayland-backend", @@ -1321,7 +1294,7 @@ source = "git+https://github.com/pop-os/cosmic-settings-subscriptions#deafa8c6f9 dependencies = [ "async-fn-stream", "cosmic-dbus-a11y", - "cosmic-protocols 0.1.0 (git+https://github.com/pop-os/cosmic-protocols)", + "cosmic-protocols", "futures", "iced_futures", "itertools 0.14.0", diff --git a/Cargo.toml b/Cargo.toml index d080027..47ce304 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -146,6 +146,9 @@ default-features = false [patch."https://github.com/smithay/client-toolkit.git"] sctk = { package = "smithay-client-toolkit", version = "=0.19.2" } +[patch."https://github.com/pop-os/cosmic-protocols"] +cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "5035f8c" } + # libcosmic = { path = "../libcosmic" } # cosmic-config = { path = "../libcosmic/cosmic-config" } # cosmic-theme = { path = "../libcosmic/cosmic-theme" }