diff --git a/Cargo.lock b/Cargo.lock index 5ed0873a..75f50855 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -376,17 +376,6 @@ dependencies = [ "syn", ] -[[package]] -name = "dbus" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0a745c25b32caa56b82a3950f5fec7893a960f4c10ca3b02060b0c38d8c2ce" -dependencies = [ - "libc", - "libdbus-sys", - "winapi", -] - [[package]] name = "dirs-next" version = "2.0.0" @@ -502,6 +491,27 @@ dependencies = [ "nohash-hasher", ] +[[package]] +name = "errno" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +dependencies = [ + "errno-dragonfly", + "libc", + "winapi", +] + +[[package]] +name = "errno-dragonfly" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "fastrand" version = "1.7.0" @@ -695,15 +705,6 @@ version = "0.2.117" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e74d72e0f9b65b5b4ca49a346af3976df0f9c61d550727f349ecd559f251a26c" -[[package]] -name = "libdbus-sys" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c185b5b7ad900923ef3a8ff594083d4d9b5aea80bb4f32b8342363138c0d456b" -dependencies = [ - "pkg-config", -] - [[package]] name = "libloading" version = "0.7.3" @@ -714,6 +715,24 @@ dependencies = [ "winapi", ] +[[package]] +name = "libseat" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55ad314f75263a2135fb09bf96af96eb573582a4a36f6ef9bfdb5f7cec7686fc" +dependencies = [ + "cc", + "errno", + "libseat-sys", + "slog", +] + +[[package]] +name = "libseat-sys" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b72fcf823d256aa619f93c81bc192e6dfbf051835990e28238cd14ad81136397" + [[package]] name = "libudev-sys" version = "0.1.4" @@ -1240,7 +1259,6 @@ dependencies = [ "bitflags", "calloop", "cgmath", - "dbus", "downcast-rs", "drm", "drm-ffi", @@ -1252,9 +1270,9 @@ dependencies = [ "lazy_static", "libc", "libloading", + "libseat", "nix", "once_cell", - "pkg-config", "rand", "scan_fmt", "slog", diff --git a/Cargo.toml b/Cargo.toml index 507eaca7..2a1051c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ version = "0.3" git = "https://github.com/Smithay/smithay.git" rev = "5da3a629" default-features = false -features = ["backend_drm", "backend_gbm", "backend_egl", "backend_libinput", "backend_session_logind", "backend_udev", "backend_winit", "backend_x11", "desktop", "use_system_lib", "renderer_gl", "wayland_frontend", "slog-stdlog"] +features = ["backend_drm", "backend_gbm", "backend_egl", "backend_libinput", "backend_session_libseat", "backend_udev", "backend_winit", "backend_x11", "desktop", "use_system_lib", "renderer_gl", "wayland_frontend", "slog-stdlog"] [dependencies.smithay-egui] git = "https://github.com/Smithay/smithay-egui.git"