Comment out logind integration for now

This commit is contained in:
Drakulix 2017-11-25 13:56:38 +01:00
parent 24f2d499f3
commit b4be5a5786
3 changed files with 11 additions and 3 deletions

View File

@ -26,6 +26,7 @@ wayland-protocols = { version = "0.12.0", features = ["unstable_protocols", "ser
image = "0.17.0" image = "0.17.0"
error-chain = "0.11.0" error-chain = "0.11.0"
dbus = { version = "0.5.4", optional = true } dbus = { version = "0.5.4", optional = true }
systemd = { version = "0.1.0", optional = true }
[build-dependencies] [build-dependencies]
gl_generator = "0.5" gl_generator = "0.5"
@ -43,6 +44,6 @@ backend_drm = ["drm", "gbm"]
backend_libinput = ["input"] backend_libinput = ["input"]
backend_session = [] backend_session = []
backend_session_udev = ["libudev", "backend_session"] backend_session_udev = ["libudev", "backend_session"]
backend_session_logind = ["backend_session", "dbus"] backend_session_logind = ["backend_session", "dbus", "systemd"]
backend_udev = ["libudev", "backend_drm", "backend_session_udev"] backend_udev = ["libudev", "backend_drm", "backend_session_udev"]
renderer_glium = ["glium"] renderer_glium = ["glium"]

View File

@ -102,5 +102,6 @@ impl AsErrno for () {
} }
pub mod direct; pub mod direct;
#[cfg(feature = "backend_session_logind")]
pub mod logind; //#[cfg(feature = "backend_session_logind")]
//pub mod logind;

View File

@ -25,6 +25,12 @@ extern crate gbm;
extern crate input; extern crate input;
#[cfg(feature = "backend_udev")] #[cfg(feature = "backend_udev")]
extern crate libudev; extern crate libudev;
/*
#[cfg(feature = "backend_session_logind")]
extern crate dbus;
#[cfg(feature = "backend_session_logind")]
extern crate systemd;
*/
#[cfg(feature = "backend_winit")] #[cfg(feature = "backend_winit")]
extern crate wayland_client; extern crate wayland_client;
#[cfg(feature = "backend_winit")] #[cfg(feature = "backend_winit")]