This commit is contained in:
Ashley Wulber 2024-07-17 08:54:34 -04:00 committed by Ashley Wulber
parent 9a63b6afd2
commit 8870851f81
3 changed files with 38 additions and 34 deletions

46
Cargo.lock generated
View file

@ -1069,7 +1069,6 @@ dependencies = [
"once_cell", "once_cell",
"rust-embed 8.5.0", "rust-embed 8.5.0",
"rustix 0.38.34", "rustix 0.38.34",
"tokio",
"tracing", "tracing",
"tracing-log", "tracing-log",
"tracing-subscriber", "tracing-subscriber",
@ -1177,7 +1176,7 @@ source = "git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c#c8d3a1c3d40
dependencies = [ dependencies = [
"cosmic-protocols", "cosmic-protocols",
"libc", "libc",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"wayland-client", "wayland-client",
] ]
@ -1280,7 +1279,7 @@ dependencies = [
"cosmic-config", "cosmic-config",
"ron", "ron",
"serde", "serde",
"smithay-client-toolkit", "smithay-client-toolkit 0.18.0",
"tracing", "tracing",
"wayland-protocols-wlr 0.2.0", "wayland-protocols-wlr 0.2.0",
"xdg-shell-wrapper-config", "xdg-shell-wrapper-config",
@ -1781,7 +1780,7 @@ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"mime 0.1.0", "mime 0.1.0",
"raw-window-handle", "raw-window-handle",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"smithay-clipboard", "smithay-clipboard",
] ]
@ -2814,7 +2813,7 @@ dependencies = [
"palette", "palette",
"raw-window-handle", "raw-window-handle",
"serde", "serde",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"smol_str", "smol_str",
"thiserror", "thiserror",
"web-time", "web-time",
@ -2880,7 +2879,7 @@ dependencies = [
"iced_accessibility", "iced_accessibility",
"iced_core", "iced_core",
"iced_futures", "iced_futures",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"thiserror", "thiserror",
"window_clipboard", "window_clipboard",
] ]
@ -2900,7 +2899,7 @@ dependencies = [
"itertools 0.12.1", "itertools 0.12.1",
"lazy_static", "lazy_static",
"raw-window-handle", "raw-window-handle",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"thiserror", "thiserror",
"tracing", "tracing",
"wayland-backend", "wayland-backend",
@ -2957,7 +2956,7 @@ dependencies = [
"raw-window-handle", "raw-window-handle",
"resvg", "resvg",
"rustix 0.38.34", "rustix 0.38.34",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"tiny-xlib", "tiny-xlib",
"wayland-backend", "wayland-backend",
"wayland-client", "wayland-client",
@ -2978,7 +2977,7 @@ dependencies = [
"iced_style", "iced_style",
"num-traits", "num-traits",
"ouroboros", "ouroboros",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"thiserror", "thiserror",
"unicode-segmentation", "unicode-segmentation",
"window_clipboard", "window_clipboard",
@ -5328,6 +5327,33 @@ version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "smithay-client-toolkit"
version = "0.18.0"
source = "git+https://github.com/smithay/client-toolkit?rev=3bed072#3bed072b966022f5f929d12f3aff089b1ace980b"
dependencies = [
"bitflags 2.6.0",
"bytemuck",
"calloop",
"calloop-wayland-source",
"cursor-icon",
"libc",
"log",
"memmap2 0.9.4",
"pkg-config",
"rustix 0.38.34",
"thiserror",
"wayland-backend",
"wayland-client",
"wayland-csd-frame",
"wayland-cursor",
"wayland-protocols 0.31.2",
"wayland-protocols-wlr 0.2.0",
"wayland-scanner",
"xkbcommon",
"xkeysym",
]
[[package]] [[package]]
name = "smithay-client-toolkit" name = "smithay-client-toolkit"
version = "0.19.2" version = "0.19.2"
@ -5363,7 +5389,7 @@ source = "git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5#d099e82a
dependencies = [ dependencies = [
"libc", "libc",
"raw-window-handle", "raw-window-handle",
"smithay-client-toolkit", "smithay-client-toolkit 0.19.2",
"wayland-backend", "wayland-backend",
] ]

View file

@ -40,7 +40,7 @@ i18n-embed = { version = "0.14.1", features = [
"desktop-requester", "desktop-requester",
] } ] }
i18n-embed-fl = "0.8" i18n-embed-fl = "0.8"
libcosmic = { git = "https://github.com/pop-os/libcosmic", features = [ libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false, features = [
"applet", "applet",
"applet-token", "applet-token",
"tokio", "tokio",
@ -60,31 +60,10 @@ serde = { version = "1.0.152", features = ["derive"] }
freedesktop-desktop-entry = "0.6.1" freedesktop-desktop-entry = "0.6.1"
[profile.release] [profile.release]
# lto = "fat" lto = "fat"
opt-level = 1
[workspace.metadata.cargo-machete] [workspace.metadata.cargo-machete]
ignored = ["libcosmic"] ignored = ["libcosmic"]
# [patch."https://github.com/pop-os/libcosmic"] # [patch."https://github.com/pop-os/libcosmic"]
# cosmic-config = { git = "https://github.com/pop-os/libcosmic//" } # cosmic-config = { git = "https://github.com/pop-os/libcosmic//" }
# libcosmic = { git = "https://github.com/pop-os/libcosmic//" } # libcosmic = { git = "https://github.com/pop-os/libcosmic//" }
[patch."https://github.com/Smithay/client-toolkit"]
sctk = { package = "smithay-client-toolkit", version = "0.19.2" }
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { git = "https://github.com/pop-os/libcosmic//" }
# cosmic-config = { git = "https://github.com/pop-os/libcosmic//" }
# cosmic-theme = { git = "https://github.com/pop-os/libcosmic//" }
# cosmic-time = { git = "https://github.com/pop-os/cosmic-time", default-features = false, features = [
# "libcosmic",
# "once_cell",
# ] }
# iced_futures = { git = "https://github.com/pop-os/libcosmic//" }
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
# iced = { path = "../libcosmic/iced" }
# cosmic-time = { path = "../cosmic-time", default-features = false, features = [
# "libcosmic",
# "once_cell",
# ] }

View file

@ -16,4 +16,3 @@ tracing-log.workspace = true
tracing-subscriber.workspace = true tracing-subscriber.workspace = true
tracing.workspace = true tracing.workspace = true
zbus.workspace = true zbus.workspace = true
tokio = { version = "1.36.0", features = ["sync", "macros"] }