From d5e84a6e66fe03d9b87a48845a2fe090a8e87ea6 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Mon, 13 Jan 2025 18:17:41 +0100 Subject: [PATCH] chore(wallpapers): replace freedesktop-icons crate --- Cargo.lock | 73 +------------------------------------ pages/wallpapers/Cargo.toml | 6 ++- 2 files changed, 5 insertions(+), 74 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 621ad823..f12e9acd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1337,26 +1337,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "const-random" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" -dependencies = [ - "const-random-macro", -] - -[[package]] -name = "const-random-macro" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" -dependencies = [ - "getrandom", - "once_cell", - "tiny-keccak", -] - [[package]] name = "const_format" version = "0.2.34" @@ -1765,11 +1745,11 @@ version = "0.1.0" dependencies = [ "cosmic-bg-config", "cosmic-config", + "cosmic-freedesktop-icons", "cosmic-randr-shell", "dirs", "eyre", "fast_image_resize", - "freedesktop-icons", "futures-lite 2.5.0", "futures-util", "image 0.25.5", @@ -2161,15 +2141,6 @@ dependencies = [ "libloading", ] -[[package]] -name = "dlv-list" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" -dependencies = [ - "const-random", -] - [[package]] name = "dnd" version = "0.1.0" @@ -2623,19 +2594,6 @@ dependencies = [ "xdg", ] -[[package]] -name = "freedesktop-icons" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8ef34245e0540c9a3ce7a28340b98d2c12b75da0d446da4e8224923fcaa0c16" -dependencies = [ - "dirs", - "once_cell", - "rust-ini", - "thiserror 1.0.69", - "xdg", -] - [[package]] name = "fs-err" version = "3.0.0" @@ -5345,16 +5303,6 @@ dependencies = [ "libredox", ] -[[package]] -name = "ordered-multimap" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79" -dependencies = [ - "dlv-list", - "hashbrown 0.14.5", -] - [[package]] name = "ordered-stream" version = "0.2.0" @@ -6234,16 +6182,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "rust-ini" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e0698206bcb8882bf2a9ecb4c1e7785db57ff052297085a6efd4fe42302068a" -dependencies = [ - "cfg-if", - "ordered-multimap", -] - [[package]] name = "rust_decimal" version = "1.36.0" @@ -7088,15 +7026,6 @@ dependencies = [ "zbus 4.4.0", ] -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - [[package]] name = "tiny-skia" version = "0.11.4" diff --git a/pages/wallpapers/Cargo.toml b/pages/wallpapers/Cargo.toml index a3022a15..62c5d7cb 100644 --- a/pages/wallpapers/Cargo.toml +++ b/pages/wallpapers/Cargo.toml @@ -12,8 +12,10 @@ cosmic-randr-shell = { workspace = true } dirs = "5.0.1" eyre = "0.6.12" # Upstream version 5.0.0 has compilation error on Redox's toolchain -fast_image_resize = { git = "https://github.com/jackpot51/fast_image_resize.git", features = ["image"] } -freedesktop-icons = "0.2.6" +fast_image_resize = { git = "https://github.com/jackpot51/fast_image_resize.git", features = [ + "image", +] } +freedesktop-icons = { package = "cosmic-freedesktop-icons", git = "https://github.com/pop-os/freedesktop-icons" } futures-lite = "2.3.0" futures-util = "0.3.30" image = "0.25.2"