From 6b2c31a96685fa6db3ba59a58011bb07004959e0 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 1 Sep 2024 21:07:33 +0300 Subject: Remove libpanel dependency --- Cargo.lock | 32 -------------------------------- Cargo.toml | 2 +- default.nix | 2 +- 3 files changed, 2 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b09e3a3..b5d907a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -996,37 +996,6 @@ version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" -[[package]] -name = "libpanel" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7b5907dc844dc9cd243d810881e081d7e56088f28c08ac37fdc49d86e390238" -dependencies = [ - "futures-core", - "gdk4", - "gio 0.20.1", - "glib 0.20.1", - "gtk4", - "libadwaita", - "libc", - "libpanel-sys", -] - -[[package]] -name = "libpanel-sys" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ddf5ff571cfd22c5cc9451a7897d6356905f3c37cb653360ac47b70e18faebb" -dependencies = [ - "gio-sys 0.20.1", - "glib-sys 0.20.1", - "gobject-sys 0.20.1", - "gtk4-sys", - "libadwaita-sys", - "libc", - "system-deps 7.0.2", -] - [[package]] name = "libsecret" version = "0.5.0" @@ -1487,7 +1456,6 @@ dependencies = [ "futures", "gtk4", "libadwaita", - "libpanel", "once_cell", "relm4-css", "relm4-macros", diff --git a/Cargo.toml b/Cargo.toml index 70802d0..5e7f526 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ kittybox-util = { git = "https://git.vikanezrimaya.xyz/kittybox", version = "0.2 libsecret = { version = "0.5.0", features = ["v0_21_2"] } log = { version = "0.4.22", features = ["std"] } microformats = "0.9.1" -relm4 = { version = "0.9.0", features = ["all", "gnome_46", "libpanel"] } +relm4 = { version = "0.9.0", features = ["gnome_46", "adw", "css", "macros", "libadwaita"] } relm4-icons = { version = "0.9.0", features = ["icon-development-kit"] } serde_json = "1.0.125" serde_urlencoded = "0.7.1" diff --git a/default.nix b/default.nix index fa7a9b7..8d09590 100644 --- a/default.nix +++ b/default.nix @@ -32,7 +32,7 @@ let # cargoExtraArgs can be used to inject features buildInputs = [ - gtk4 libadwaita libpanel libsoup_3 libsecret + gtk4 libadwaita libsoup_3 libsecret librsvg glib-networking gettext ]; -- cgit 1.4.1