From 5ccb8161d7e78a1b84422203aed655936d57e687 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 22 Jan 2014 10:28:38 +0100 Subject: [PATCH] lightdm: fix polkit rules owner/group. --- srcpkgs/lightdm/INSTALL | 3 +++ srcpkgs/lightdm/template | 13 +++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/srcpkgs/lightdm/INSTALL b/srcpkgs/lightdm/INSTALL index 5680ddf187c..0fc905273b7 100644 --- a/srcpkgs/lightdm/INSTALL +++ b/srcpkgs/lightdm/INSTALL @@ -1,5 +1,8 @@ case ${ACTION} in post) + # polkit rules must be owned by the polkit user + chown -R polkitd:polkitd usr/share/polkit-1/rules.d + cat <<_EOF ========================================================================== To make lightdm work a greeter package must be installed: diff --git a/srcpkgs/lightdm/template b/srcpkgs/lightdm/template index 311e18a6f3b..9eaf3d9b32a 100644 --- a/srcpkgs/lightdm/template +++ b/srcpkgs/lightdm/template @@ -1,7 +1,7 @@ # Template file for 'lightdm' pkgname=lightdm version=1.8.5 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-greeter-session=lightdm-gtk-greeter --with-greeter-user=lightdm --disable-static --disable-tests" @@ -11,13 +11,6 @@ license="GPL-3, LGPL-3" homepage="https://launchpad.net/lightdm" distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz" checksum=c1a55800628c7a683a529e32646eae4be32295a09af049c9b15387acff0232a2 -long_desc=" - An X display manager that: - * Has a lightweight codebase - * Is standards compliant (PAM, ConsoleKit, etc) - * Has a well defined interface between the server and user interface - * Fully themeable (easiest with the webkit interface) - * Cross-desktop (greeters can be written in any toolkit)" hostmakedepends="pkg-config intltool itstool gobject-introspection which" makedepends="dbus-glib-devel libxklavier-devel libxml2-devel @@ -63,8 +56,8 @@ liblightdm-qt_package() { } lightdm-devel_package() { - depends="libglib-devel liblightdm-gobject-${version}_${revision} - liblightdm-qt-${version}_${revision}" + depends="libglib-devel liblightdm-gobject>=${version}_${revision} + liblightdm-qt>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include