From eec980c7a12198a2b90928fdbe031e7d467cc058 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 17 Oct 2019 20:04:07 +0200 Subject: [PATCH] main/postmarketos-ui-xfce4: fix lightdm, cosmetics (!690) Fix missing lightdm dependency, replace post-upgrade script with symlink, set drebrez as maintainer. --- main/postmarketos-ui-xfce4/APKBUILD | 8 +++++--- .../postmarketos-ui-xfce4.post-upgrade | 6 +----- 2 files changed, 6 insertions(+), 8 deletions(-) mode change 100644 => 120000 main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade diff --git a/main/postmarketos-ui-xfce4/APKBUILD b/main/postmarketos-ui-xfce4/APKBUILD index aea17ffef..d0f848caa 100644 --- a/main/postmarketos-ui-xfce4/APKBUILD +++ b/main/postmarketos-ui-xfce4/APKBUILD @@ -1,11 +1,13 @@ +# Contributor: Bart Ribbers +# Maintainer: Daniele Debernardi pkgname=postmarketos-ui-xfce4 pkgver=0.2 -pkgrel=8 +pkgrel=9 pkgdesc="(X11) Lightweight GTK+2 desktop (stylus recommended)" url="https://gitlab.com/postmarketOS/xfce4-phone" arch="noarch" -license="GPL-3.0+" -depends="xfce4 xorg-server mesa-egl postmarketos-artwork-wallpapers faenza-icon-theme xfce4-battery-plugin network-manager-applet gnome-keyring lxpolkit gtk+2.0 lightdm-openrc" +license="GPL-3.0-or-later" +depends="xfce4 xorg-server mesa-egl postmarketos-artwork-wallpapers faenza-icon-theme xfce4-battery-plugin network-manager-applet gnome-keyring lxpolkit gtk+2.0 lightdm lightdm-openrc" install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz 60-lightdm-autologin.conf" diff --git a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade deleted file mode 100644 index a7791b1e4..000000000 --- a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf - -rc-update add lightdm default diff --git a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade new file mode 120000 index 000000000..a52dea4b9 --- /dev/null +++ b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-xfce4.post-install \ No newline at end of file