[arch-commits] Commit in lightdm/trunk (PKGBUILD lightdm.install)
Maxime Gauduin
alucryd at archlinux.org
Wed Feb 4 10:14:49 UTC 2015
Date: Wednesday, February 4, 2015 @ 11:14:49
Author: alucryd
Revision: 127077
User/Group Management: lightdm 1:1.12.2-2
Modified:
lightdm/trunk/PKGBUILD
lightdm/trunk/lightdm.install
-----------------+
PKGBUILD | 20 +++++++++++++-------
lightdm.install | 11 -----------
2 files changed, 13 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-04 09:52:56 UTC (rev 127076)
+++ PKGBUILD 2015-02-04 10:14:49 UTC (rev 127077)
@@ -5,7 +5,7 @@
pkgbase=lightdm
pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5')
pkgver=1.12.2
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='A lightweight display manager'
arch=('i686' 'x86_64')
@@ -42,11 +42,16 @@
export MOC4='moc-qt4'
export MOC5='moc-qt5'
- ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' \
- --localstatedir='/var' --libexecdir='/usr/lib/lightdm' \
- --with-greeter-user='lightdm' \
- --with-greeter-session='lightdm-gtk-greeter' \
- --disable-{static,tests}
+ ./configure \
+ --prefix='/usr' \
+ --libexecdir='/usr/lib/lightdm' \
+ --localstatedir='/var' \
+ --sbindir='/usr/bin' \
+ --sysconfdir='/etc' \
+ --with-greeter-user='lightdm' \
+ --with-greeter-session='lightdm-gtk-greeter' \
+ --disable-static \
+ --disable-tests
make
}
@@ -81,6 +86,7 @@
install -dm 770 "${pkgdir}"/var/lib/lightdm{,-data}
install -dm 711 "${pkgdir}"/var/log/lightdm
chmod +t "${pkgdir}"/var/{cache/lightdm,lib/lightdm{,-data}}
+ # https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1024482
echo 'GDK_CORE_DEVICE_EVENTS=true' > "${pkgdir}"/var/lib/lightdm/.pam_environment
chmod 644 "${pkgdir}"/var/lib/lightdm/.pam_environment
chown 620:620 -R "${pkgdir}"/var/lib/lightdm{,-data}
@@ -105,7 +111,7 @@
depends=('lightdm' 'qt4')
options=('!emptydirs')
- cd ${pkgbase}-${pkgver}
+ cd lightdm-${pkgver}
make DESTDIR="${pkgdir}" -C liblightdm-gobject install
make DESTDIR="${pkgdir}" -C liblightdm-qt install
Modified: lightdm.install
===================================================================
--- lightdm.install 2015-02-04 09:52:56 UTC (rev 127076)
+++ lightdm.install 2015-02-04 10:14:49 UTC (rev 127077)
@@ -7,17 +7,6 @@
post_upgrade() {
post_install
- if [[ $(vercmp $2 1:1.6.1-1) == -1 ]]; then
- cat << EOF
-The file /etc/lightdm/xsession has been renamed to /etc/lightdm/Xsession.
-Please update your lightdm.conf with the new path.
-EOF
- fi
}
-post_remove() {
- getent passwd lightdm > /dev/null 2>&1 && userdel lightdm
- getent group lightdm > /dev/null 2>&1 && groupdel lightdm
-}
-
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list