redox/recipes/tools/cosmic-term/redox.patch
2026-04-10 12:53:41 +07:00

132 lines
4.1 KiB
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 255a7db..06d2aba 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1453,7 +1453,7 @@ dependencies = [
"cosmic-settings-daemon",
"dirs 6.0.0",
"futures-util",
- "iced_futures",
+ "iced_futures 0.14.0-dev (git+https://github.com/pop-os/libcosmic.git)",
"known-folders",
"notify",
"ron 0.12.0",
@@ -3119,7 +3119,7 @@ dependencies = [
"dnd",
"iced_accessibility",
"iced_core",
- "iced_futures",
+ "iced_futures 0.14.0-dev (git+https://github.com/pop-os/libcosmic.git)",
"iced_renderer",
"iced_widget",
"iced_winit",
@@ -3141,7 +3141,7 @@ dependencies = [
[[package]]
name = "iced_core"
version = "0.14.0-dev"
-source = "git+https://github.com/pop-os/libcosmic.git#384e8f6e219bb458720eafa5bb971b832c057f23"
+source = "git+https://github.com/willnode/iced?branch=cosmic-orbital#82cbe7c45dabefe2d07db8af9e00c029dc2b7e30"
dependencies = [
"bitflags 2.11.0",
"bytes",
@@ -3162,6 +3162,19 @@ dependencies = [
"window_clipboard",
]
+[[package]]
+name = "iced_futures"
+version = "0.14.0-dev"
+source = "git+https://github.com/willnode/iced?branch=cosmic-orbital#82cbe7c45dabefe2d07db8af9e00c029dc2b7e30"
+dependencies = [
+ "futures",
+ "iced_core",
+ "log",
+ "rustc-hash 2.1.1",
+ "wasm-bindgen-futures",
+ "wasm-timer",
+]
+
[[package]]
name = "iced_futures"
version = "0.14.0-dev"
@@ -3191,14 +3204,14 @@ dependencies = [
[[package]]
name = "iced_graphics"
version = "0.14.0-dev"
-source = "git+https://github.com/pop-os/libcosmic.git#384e8f6e219bb458720eafa5bb971b832c057f23"
+source = "git+https://github.com/willnode/iced?branch=cosmic-orbital#82cbe7c45dabefe2d07db8af9e00c029dc2b7e30"
dependencies = [
"bitflags 2.11.0",
"bytemuck",
"cosmic-text",
"half",
"iced_core",
- "iced_futures",
+ "iced_futures 0.14.0-dev (git+https://github.com/willnode/iced?branch=cosmic-orbital)",
"image",
"kamadak-exif",
"log",
@@ -3231,7 +3244,7 @@ dependencies = [
"cosmic-client-toolkit",
"dnd",
"iced_core",
- "iced_futures",
+ "iced_futures 0.14.0-dev (git+https://github.com/pop-os/libcosmic.git)",
"raw-window-handle",
"thiserror 1.0.69",
"window_clipboard",
@@ -3240,7 +3253,7 @@ dependencies = [
[[package]]
name = "iced_tiny_skia"
version = "0.14.0-dev"
-source = "git+https://github.com/pop-os/libcosmic.git#384e8f6e219bb458720eafa5bb971b832c057f23"
+source = "git+https://github.com/willnode/iced?branch=cosmic-orbital#82cbe7c45dabefe2d07db8af9e00c029dc2b7e30"
dependencies = [
"bytemuck",
"cosmic-text",
@@ -3310,7 +3323,7 @@ source = "git+https://github.com/pop-os/libcosmic.git#384e8f6e219bb458720eafa5bb
dependencies = [
"cosmic-client-toolkit",
"dnd",
- "iced_futures",
+ "iced_futures 0.14.0-dev (git+https://github.com/pop-os/libcosmic.git)",
"iced_graphics",
"iced_runtime",
"log",
@@ -4386,7 +4399,7 @@ dependencies = [
"i18n-embed-fl",
"iced",
"iced_core",
- "iced_futures",
+ "iced_futures 0.14.0-dev (git+https://github.com/pop-os/libcosmic.git)",
"iced_renderer",
"iced_runtime",
"iced_tiny_skia",
@@ -6863,7 +6876,7 @@ dependencies = [
[[package]]
name = "softbuffer"
version = "0.4.1"
-source = "git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0#a3f77e251e7422803f693df6e3fc313c010c4dcb"
+source = "git+https://github.com/willnode/softbuffer?branch=cosmic-orbital#acd19a58e96e6e729a2ce6c334cbb4cdef84f1dd"
dependencies = [
"as-raw-xcb-connection",
"bytemuck",
diff --git a/Cargo.toml b/Cargo.toml
index f0a89be..bd2d241 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -66,6 +66,13 @@ password_manager = ["secret-service", "thiserror", "secstr"]
inherits = "release"
debug = true
+[patch.'https://github.com/pop-os/softbuffer']
+softbuffer = { git = "https://github.com/willnode/softbuffer", branch = "cosmic-orbital" }
+
+[patch.'https://github.com/pop-os/libcosmic']
+iced_tiny_skia = { git = "https://github.com/willnode/iced", branch = "cosmic-orbital" }
+iced_graphics = { git = "https://github.com/willnode/iced", branch = "cosmic-orbital" }
+iced_core = { git = "https://github.com/willnode/iced", branch = "cosmic-orbital" }
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }