From baf3144ae445b9d74852749d99109e6f330db4bc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Oct 2011 04:00:18 +0200 Subject: [PATCH] udisks: switch to systemd. --- srcpkgs/udisks/files/udisks.service | 12 ++++++++++++ srcpkgs/udisks/template | 8 ++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 4 ++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/udisks/files/udisks.service diff --git a/srcpkgs/udisks/files/udisks.service b/srcpkgs/udisks/files/udisks.service new file mode 100644 index 0000000000..9ff28b8f59 --- /dev/null +++ b/srcpkgs/udisks/files/udisks.service @@ -0,0 +1,12 @@ +[Unit] +Description=Disk Manager +After=syslog.target + +[Service] +Type=dbus +BusName=org.freedesktop.UDisks +ExecStart=/usr/libexec/udisks-daemon +StandardOutput=syslog + +[Install] +WantedBy=graphical.target diff --git a/srcpkgs/udisks/template b/srcpkgs/udisks/template index c0a1c8666e..f1f732a539 100644 --- a/srcpkgs/udisks/template +++ b/srcpkgs/udisks/template @@ -1,6 +1,7 @@ # Template file for 'udisks' pkgname=udisks version=1.0.4 +revision=1 distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--disable-static --localstatedir=/var --enable-lvm2" @@ -19,6 +20,8 @@ long_desc=" The actions that a user can perform using udisks are restricted using PolicyKit." +systemd_services="udisks.service" + Add_dependency run glibc Add_dependency run glib Add_dependency run device-mapper @@ -51,3 +54,8 @@ pre_build() # Fix location for bash completion stuff. sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile } + +post_install() +{ + vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index c6c920d1e6..a7ea6128bf 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -202,7 +202,7 @@ libgnutlsxx.so.26 gnutls gnutls-devel libgnutls-extra.so.26 gnutls gnutls-devel libgnutls-openssl.so.26 gnutls gnutls-devel libwrap.so.0 tcp_wrappers-libs tcp_wrappers-devel -libdevmapper.so.1 device-mapper device-mapper-devel +libdevmapper.so.1.02 device-mapper device-mapper-devel libprop.so.0 proplib proplib-devel libxbps.so.0 xbps xbps-static libxbps.so.0 xbps-devel xbps-devel-static @@ -601,7 +601,7 @@ libboost_wserialization.so.1.44.0 boost boost-devel libexempi.so.3 exempi exempi-devel libatasmart.so.4 libatasmart libatasmart-devel libsgutils2.so.2 libsgutils sg3_utils-devel -liblvm2app.so.2 liblvm2app liblvm2app-devel +liblvm2app.so.2.2 liblvm2app liblvm2app-devel libgdu.so.0 gnome-disk-utility gnome-disk-utility-devel libgdu-gtk.so.0 gnome-disk-utility gnome-disk-utility-devel libcpufreq.so.0 libcpufreq libcpufreq-devel