aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-28 11:41:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-28 11:42:06 +0000
commit90947fb7882800e1ebb3df8232214c39234c8547 (patch)
tree56d81d1e1ca42e499e4a93b5e251902ae3110a1c
parent0e0edbd5e19bc64403854504b78ffc41ccdd3d41 (diff)
downloadaports-90947fb7882800e1ebb3df8232214c39234c8547.tar.gz
aports-90947fb7882800e1ebb3df8232214c39234c8547.tar.bz2
aports-90947fb7882800e1ebb3df8232214c39234c8547.tar.xz
community/xfce4-session: add support for xfce4-screensaver
-rw-r--r--community/xfce4-session/APKBUILD9
-rw-r--r--community/xfce4-session/xfce4-screensaver.patch12
2 files changed, 18 insertions, 3 deletions
diff --git a/community/xfce4-session/APKBUILD b/community/xfce4-session/APKBUILD
index 3a886cbaeb..69dcc77a90 100644
--- a/community/xfce4-session/APKBUILD
+++ b/community/xfce4-session/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-session
pkgver=4.13.1
-pkgrel=0
+pkgrel=1
pkgdesc="A session manager for Xfce"
url="https://xfce.org/"
arch="all"
@@ -12,7 +12,9 @@ depends="hicolor-icon-theme iceauth dbus-x11"
makedepends="libxfce4ui-dev xfconf-dev libwnck-dev libice-dev xfce4-panel-dev libwnck3-dev dbus-glib-dev"
install=
source="https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
- busybox-shutdown.patch"
+ busybox-shutdown.patch
+ xfce4-screensaver.patch
+ "
build() {
cd "$builddir"
@@ -44,4 +46,5 @@ package() {
}
sha512sums="5845e3591919e23ca176199e81075a097ef9d65cbcf23b34d84afc649a307bfa8c6492e3a01855cacff9328da809725213ec1fa9d76024c0a0c25cce3c51da1b xfce4-session-4.13.1.tar.bz2
-745aea2738980b0e8960701af40246b9c3e17ad0c0eb55d1c4629feb7cde472218573c2b27de492c774ae0a5eb503c73088a65df76bde65c9f923edcce03920f busybox-shutdown.patch"
+745aea2738980b0e8960701af40246b9c3e17ad0c0eb55d1c4629feb7cde472218573c2b27de492c774ae0a5eb503c73088a65df76bde65c9f923edcce03920f busybox-shutdown.patch
+75d9840a3eb3ea1c7891496a5e81164b65e8061c9843f1c4eaeddeca935f56f95c3e12bab9b3cbfc03b15800a31b1a77ec5e4d16e044d8e84138189e390493a1 xfce4-screensaver.patch"
diff --git a/community/xfce4-session/xfce4-screensaver.patch b/community/xfce4-session/xfce4-screensaver.patch
new file mode 100644
index 0000000000..2cb31b04be
--- /dev/null
+++ b/community/xfce4-session/xfce4-screensaver.patch
@@ -0,0 +1,12 @@
+diff --git a/scripts/xflock4 b/scripts/xflock4
+index 32770b4..525e6e2 100644
+--- a/scripts/xflock4
++++ b/scripts/xflock4
+@@ -30,6 +30,7 @@ LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
+ # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
+ for lock_cmd in \
+ "$LOCK_CMD" \
++ "xfce4-screensaver-command --lock" \
+ "xscreensaver-command -lock" \
+ "gnome-screensaver-command --lock"
+ do