~alpine/devel

2 2

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

Szabolcs Nagy <nsz@port70.net>
Details
Message ID
<20150524154156.GB26188@port70.net>
Sender timestamp
1432482116
DKIM signature
missing
Download raw message
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

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

Szabolcs Nagy <nsz@port70.net>
Details
Message ID
<20150803132713.GB4406@port70.net>
In-Reply-To
<20150524154156.GB26188@port70.net> (view parent)
Sender timestamp
1438608433
DKIM signature
missing
Download raw message
* Szabolcs Nagy <nsz@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
> @@ -18,7 +18,6 @@ depends="
>  	xkeyboard-config
>  	xkbcomp
>  	xinit
> -	dbus-x11
>  	"
>  depends_dev="
>  	bigreqsproto
> @@ -51,7 +50,6 @@ makedepends="
>  	$depends_dev
>  	autoconf
>  	automake
> -	dbus-dev
>  	libdrm-dev
>  	libtool
>  	libx11-dev
> @@ -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@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---

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

Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20150803160948.198dae9c@ncopa-desktop.alpinelinux.org>
In-Reply-To
<20150803132713.GB4406@port70.net> (view parent)
Sender timestamp
1438610988
DKIM signature
missing
Download raw message
On Mon, 3 Aug 2015 15:27:13 +0200
Szabolcs Nagy <nsz@port70.net> wrote:

> * Szabolcs Nagy <nsz@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

Sorry. I thought this was applied already.

> i've seen other ppl running into this.
> 
> i think there is no loss of functionality without dbus.

commit e407b99757d2de626285db2da8692c7c883d6436 (Sun May 24 17:58:47
2015 -0400, main/xorg-xserver: disable systemd features) should disable
systemd already.

I have applied the removal of dbus-dev and dbus-x11 deps now. Thanks

-nc

> 
> > 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
> > @@ -18,7 +18,6 @@ depends="
> >  	xkeyboard-config
> >  	xkbcomp
> >  	xinit
> > -	dbus-x11
> >  	"
> >  depends_dev="
> >  	bigreqsproto
> > @@ -51,7 +50,6 @@ makedepends="
> >  	$depends_dev
> >  	autoconf
> >  	automake
> > -	dbus-dev
> >  	libdrm-dev
> >  	libtool
> >  	libx11-dev
> > @@ -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@lists.alpinelinux.org
> Help:         alpine-devel+help@lists.alpinelinux.org
> ---
> 



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)