pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/mate-session-manager mate-session-manager: update ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/376ba11d1949
branches: trunk
changeset: 395497:376ba11d1949
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Wed May 08 01:29:50 2019 +0000
description:
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:
x11/mate-session-manager/Makefile | 5 +-
x11/mate-session-manager/distinfo | 11 +-
x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c | 47 ----------
3 files changed, 7 insertions(+), 56 deletions(-)
diffs (82 lines):
diff -r 5b5f765eac53 -r 376ba11d1949 x11/mate-session-manager/Makefile
--- a/x11/mate-session-manager/Makefile Wed May 08 01:26:00 2019 +0000
+++ b/x11/mate-session-manager/Makefile Wed May 08 01:29:50 2019 +0000
@@ -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 -r 5b5f765eac53 -r 376ba11d1949 x11/mate-session-manager/distinfo
--- a/x11/mate-session-manager/distinfo Wed May 08 01:26:00 2019 +0000
+++ b/x11/mate-session-manager/distinfo Wed May 08 01:29:50 2019 +0000
@@ -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 -r 5b5f765eac53 -r 376ba11d1949 x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c
--- a/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c Wed May 08 01:26:00 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index