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

133 lines
4.1 KiB
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 8db9972..c115180 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1428,7 +1428,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",
@@ -3139,7 +3139,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",
@@ -3161,7 +3161,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",
@@ -3182,6 +3182,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"
@@ -3211,14 +3224,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",
@@ -3251,7 +3264,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",
@@ -3260,7 +3273,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",
@@ -3330,7 +3343,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",
@@ -4427,7 +4440,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",
@@ -6898,7 +6911,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 3786a9c..a83fe85 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -138,6 +138,14 @@ fastrand = "2"
test-log = "0.2"
tokio = { version = "1", features = ["rt", "macros"] }
+[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/cosmic-text']
# cosmic-text = { path = "../cosmic-text" }