diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2019-05-08 01:29:50 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2019-05-08 01:29:50 +0000 |
commit | b832215dde72f7994fc3539c4a796078d7df4b8a (patch) | |
tree | 34ca4bd7285dbf1c511a055e36e2fb44a1b6c493 /x11 | |
parent | 0788fdf6f0655ad07fbc9f8990a36f733c486f5a (diff) | |
download | pkgsrc-b832215dde72f7994fc3539c4a796078d7df4b8a.tar.gz |
mate-session-manager: update to 1.22.1
### mate-session-manager 1.22.1
tx: sync with transifex
add installation instructions and update URL
Remove duplicate check for libelogind
Add ELOGIND support
Guard against missing systemd
Diffstat (limited to 'x11')
-rw-r--r-- | x11/mate-session-manager/Makefile | 5 | ||||
-rw-r--r-- | x11/mate-session-manager/distinfo | 11 | ||||
-rw-r--r-- | x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c | 47 |
3 files changed, 7 insertions, 56 deletions
diff --git a/x11/mate-session-manager/Makefile b/x11/mate-session-manager/Makefile index ad9b6a540e2..64d0f4fade6 100644 --- a/x11/mate-session-manager/Makefile +++ b/x11/mate-session-manager/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2019/04/25 07:33:31 maya Exp $ +# $NetBSD: Makefile,v 1.15 2019/05/08 01:29:50 gutteridge Exp $ -PKGREVISION= 1 .include "../../meta-pkgs/mate/Makefile.common" -DISTNAME= mate-session-manager-${VERSION} +DISTNAME= mate-session-manager-${VERSION:R}.1 CATEGORIES= x11 COMMENT= MATE session manager diff --git a/x11/mate-session-manager/distinfo b/x11/mate-session-manager/distinfo index e68d0b78c0f..bbac5f8c018 100644 --- a/x11/mate-session-manager/distinfo +++ b/x11/mate-session-manager/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.7 2019/03/07 01:26:46 gutteridge Exp $ +$NetBSD: distinfo,v 1.8 2019/05/08 01:29:50 gutteridge Exp $ -SHA1 (mate-session-manager-1.22.0.tar.xz) = f23b6cd78b5aa81052e10dde3e9504089a34278f -RMD160 (mate-session-manager-1.22.0.tar.xz) = 1fbd9219b1da23f0117c80d1e483b64274ec5c00 -SHA512 (mate-session-manager-1.22.0.tar.xz) = 7e5e21e37c7ac55ca7d71302edef9aabeccf39233aec9edfe93a2fdcd4150d039e8121adecebb3d0a4a707eccef0c7afa1b54c5b52b57853242964c7506eeb9a -Size (mate-session-manager-1.22.0.tar.xz) = 603016 bytes -SHA1 (patch-mate-session_gsm-systemd.c) = 9399fff5f15d883c60d4f9fef433f7d435883db2 +SHA1 (mate-session-manager-1.22.1.tar.xz) = 187300b99c2685a0bf422c84b3a7e912a821e84a +RMD160 (mate-session-manager-1.22.1.tar.xz) = 177b1c6978d1f42e79b0c9d3fc91a9f2282b82a5 +SHA512 (mate-session-manager-1.22.1.tar.xz) = 1c47134813d24abef7b2f5df098120a2cd138f822ea3d687a1a2566224bbde21482bf40ac47ba08a39ed0899ff35eeac3c3690c83c006774c47f22189688990b +Size (mate-session-manager-1.22.1.tar.xz) = 580992 bytes diff --git a/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c b/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c deleted file mode 100644 index 082386f5f84..00000000000 --- a/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-mate-session_gsm-systemd.c,v 1.3 2019/03/07 01:26:46 gutteridge Exp $ - -Deal with systemd-only function calls. - ---- mate-session/gsm-systemd.c.orig 2019-02-10 13:54:15.000000000 +0000 -+++ mate-session/gsm-systemd.c -@@ -427,15 +427,19 @@ gsm_systemd_is_last_session_for_user (Gs - char **sessions = NULL; - char *session = NULL; - gboolean is_last_session; -- int ret, i; -+ int ret = 1, i; - -+#ifdef HAVE_SYSTEMD - ret = sd_pid_get_session (getpid (), &session); -+#endif - - if (ret != 0) { - return FALSE; - } - -+#ifdef HAVE_SYSTEMD - ret = sd_uid_get_sessions (getuid (), FALSE, &sessions); -+#endif - - if (ret <= 0) { - free (session); -@@ -450,7 +454,9 @@ gsm_systemd_is_last_session_for_user (Gs - if (g_strcmp0 (sessions[i], session) == 0) - continue; - -+#ifdef HAVE_SYSTEMD - ret = sd_session_get_state (sessions[i], &state); -+#endif - - if (ret != 0) - continue; -@@ -461,7 +467,9 @@ gsm_systemd_is_last_session_for_user (Gs - } - free (state); - -+#ifdef HAVE_SYSTEMD - ret = sd_session_get_type (sessions[i], &type); -+#endif - - if (ret != 0) - continue; |