Mail archive
alpine-devel

[alpine-devel] Re: [PATCH] build xorg-server without dbus

From: Szabolcs Nagy <nsz_at_port70.net>
Date: Mon, 3 Aug 2015 15:27:13 +0200

* Szabolcs Nagy <nsz_at_port70.net> [2015-05-24 17:41:56 +0200]:
> dbus seems to be an accidental build dependency of
> xorg-server
>
> if systemd-logind support is not explicitly disabled
> and dbus is available then xorg will enable logind
> support and dbus
>
> this causes a useless connection to the dbus system
> bus on xorg startup (only hal and logind would use it)
> and if there is no dbus running on the system then
> the Xorg.log gets filled with
>
> (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)
>
> every 10 seconds..
>
> so i rebuilt my xorg-server package with the attached
> patch

ping

i've seen other ppl running into this.

i think there is no loss of functionality without dbus.

> diff --git a/main/xorg-server/APKBUILD b/main/xorg-server/APKBUILD
> index 9d86472..8cf3198 100644
> --- a/main/xorg-server/APKBUILD
> +++ b/main/xorg-server/APKBUILD
> _at_@ -18,7 +18,6 @@ depends="
> xkeyboard-config
> xkbcomp
> xinit
> - dbus-x11
> "
> depends_dev="
> bigreqsproto
> _at_@ -51,7 +50,6 @@ makedepends="
> $depends_dev
> autoconf
> automake
> - dbus-dev
> libdrm-dev
> libtool
> libx11-dev
> _at_@ -134,6 +132,7 @@ build() {
> --enable-xephyr \
> --disable-config-hal \
> --disable-dmx \
> + --disable-systemd-logind \
> --disable-tslib \
> --enable-config-udev \
> || return 1



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon Aug 03 2015 - 15:27:13 GMT