Skip to content

Commit b4185d5

Browse files
committed
chore: build against libcosmic fork
1 parent f4bf2a7 commit b4185d5

File tree

2 files changed

+46
-17
lines changed

2 files changed

+46
-17
lines changed

Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ default-features = false
6868
features = ["fs", "io", "macros", "polling", "runtime"]
6969

7070
[dependencies.libcosmic]
71-
git = "https://github.com/pop-os/libcosmic.git"
71+
git = "https://github.com/playtron-os/libcosmic.git"
7272
default-features = false
7373
#TODO: a11y feature crashes
7474
features = [
@@ -138,10 +138,39 @@ tokio = { version = "1", features = ["rt", "macros"] }
138138
# [patch.'https://github.com/pop-os/cosmic-text']
139139
# cosmic-text = { path = "../cosmic-text" }
140140

141-
# [patch.'https://github.com/pop-os/libcosmic']
141+
# Redirect pop-os/libcosmic to playtron-os fork
142+
[patch.'https://github.com/pop-os/libcosmic']
143+
libcosmic = { git = "https://github.com/playtron-os/libcosmic" }
144+
cosmic-config = { git = "https://github.com/playtron-os/libcosmic" }
145+
cosmic-theme = { git = "https://github.com/playtron-os/libcosmic" }
146+
iced = { git = "https://github.com/playtron-os/libcosmic" }
147+
iced_core = { git = "https://github.com/playtron-os/libcosmic" }
148+
iced_runtime = { git = "https://github.com/playtron-os/libcosmic" }
149+
iced_renderer = { git = "https://github.com/playtron-os/libcosmic" }
150+
iced_widget = { git = "https://github.com/playtron-os/libcosmic" }
151+
iced_futures = { git = "https://github.com/playtron-os/libcosmic" }
152+
iced_accessibility = { git = "https://github.com/playtron-os/libcosmic" }
153+
iced_tiny_skia = { git = "https://github.com/playtron-os/libcosmic" }
154+
iced_winit = { git = "https://github.com/playtron-os/libcosmic" }
155+
iced_wgpu = { git = "https://github.com/playtron-os/libcosmic" }
156+
iced_graphics = { git = "https://github.com/playtron-os/libcosmic" }
157+
158+
# For local development (uncomment to use ../libcosmic instead of git)
159+
# [patch.'https://github.com/playtron-os/libcosmic']
142160
# libcosmic = { path = "../libcosmic" }
143161
# cosmic-config = { path = "../libcosmic/cosmic-config" }
144162
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
163+
# iced = { path = "../libcosmic/iced" }
164+
# iced_core = { path = "../libcosmic/iced/core" }
165+
# iced_runtime = { path = "../libcosmic/iced/runtime" }
166+
# iced_renderer = { path = "../libcosmic/iced/renderer" }
167+
# iced_widget = { path = "../libcosmic/iced/widget" }
168+
# iced_futures = { path = "../libcosmic/iced/futures" }
169+
# iced_accessibility = { path = "../libcosmic/iced/accessibility" }
170+
# iced_tiny_skia = { path = "../libcosmic/iced/tiny_skia" }
171+
# iced_winit = { path = "../libcosmic/iced/winit" }
172+
# iced_wgpu = { path = "../libcosmic/iced/wgpu" }
173+
# iced_graphics = { path = "../libcosmic/iced/graphics" }
145174

146175
# [patch.'https://github.com/pop-os/smithay-clipboard']
147176
# smithay-clipboard = { path = "../smithay-clipboard" }

0 commit comments

Comments
 (0)