From 59c55b8ce4407dc68f0b6aecb319417794b9a018 Mon Sep 17 00:00:00 2001 From: Simon Persson Date: Thu, 15 Mar 2018 19:03:58 +0100 Subject: [PATCH] Don't enable DBUS by default. --- Cargo.toml | 2 +- README.md | 4 ++-- arm-docker/Dockerfile | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8762edef..7651b242 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,4 +36,4 @@ features = ["with-tremor"] alsa_backend = ["librespot/alsa-backend"] pulseaudio_backend = ["librespot/pulseaudio-backend"] dbus_mpris = ["dbus", "dbus-tokio"] -default = ["alsa_backend", "dbus_mpris"] +default = ["alsa_backend"] diff --git a/README.md b/README.md index 90af2164..348cd5b8 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ as well as some tools specifically designed for use with the official Spotify client such as [sp](https://gist.github.com/wandernauta/6800547) (requires changing the DBus service name to spotifyd instead of spotify). -The D-Bus server is by default and currently requires a nightly rust compiler. -Disable the `dbus_mpris` feature when compiling to disable it. +The D-Bus server is currently experimental and requires a nightly rust compiler. +Enable the `dbus_mpris` feature when compiling to try it out. ## Running as a systemd service diff --git a/arm-docker/Dockerfile b/arm-docker/Dockerfile index ff1e8f7d..d8a988d5 100644 --- a/arm-docker/Dockerfile +++ b/arm-docker/Dockerfile @@ -1,9 +1,7 @@ FROM dlecan/rust-crosscompiler-arm:stable RUN apt-get update -RUN apt-get install -qq -y libasound2-dev:armhf pkg-config libdbus-1-dev:armhf -RUN rustup default nightly -RUN rustup target add arm-unknown-linux-gnueabihf +RUN apt-get install -qq -y libasound2-dev:armhf pkg-config VOLUME ["/source"] WORKDIR /source