dbus: move dbus-launch into dbus-x11.

This commit is contained in:
Juan RP 2011-10-11 07:04:12 +02:00
parent 2fefc0864b
commit 386255396d
3 changed files with 23 additions and 11 deletions

1
srcpkgs/dbus-x11 Symbolic link
View file

@ -0,0 +1 @@
dbus

View file

@ -0,0 +1,20 @@
# Template file for 'dbus-x11'.
#
short_desc="${short_desc} (X11 support)"
long_desc="${long_desc}
This package contains the dbus-launch utility which is necessary for
packages using a D-Bus session bus."
replaces="dbus<1.4.16_2"
Add_dependency run glibc
Add_dependency run dbus-libs
Add_dependency run libX11
do_install()
{
vmove usr/bin/dbus-launch usr/bin
vmove usr/share/man/man1/dbus-launch.1 usr/share/man/man1
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
}

View file

@ -1,7 +1,7 @@
# Template file for 'dbus'
pkgname=dbus
version=1.4.16
revision=1
revision=2
homepage="http://dbus.freedesktop.org/"
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu_configure
@ -25,24 +25,15 @@ long_desc="
this makes using the system quite simple."
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
subpackages="$pkgname-devel $pkgname-libs"
subpackages="dbus-devel dbus-libs dbus-x11"
systemd_services="dbus.service"
system_accounts="dbus"
Add_dependency run glibc
Add_dependency run expat
Add_dependency run dbus-libs
Add_dependency run libX11
Add_dependency build coreutils
Add_dependency build pkg-config
Add_dependency build expat-devel
Add_dependency build libX11-devel
post_install()
{
# install dbus-launch.
vinstall tools/dbus-launch 755 usr/bin
vinstall doc/dbus-launch.1 644 usr/share/man/man1
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
}