pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/mate-session-manager
Module Name: pkgsrc
Committed By: gutteridge
Date: Wed Mar 6 07:37:52 UTC 2019
Modified Files:
pkgsrc/x11/mate-session-manager: PLIST distinfo
Added Files:
pkgsrc/x11/mate-session-manager/patches:
patch-mate-session_gsm-systemd.c
Log Message:
mate-session-manager: update to 1.22
### mate-session-manager 1.22.0
* Translations update
* initial travis-CI support
* manager: restart user bus if last graphical session
* systemd: add api for detecting if this is the last session for a user
* gsm: Disconnect all dbus clients when dbus is disconnected
* manager: don't wait for all clients to exit before exiting
* [gsm-autostart-app] Migrate from dbus-glib to gdbus
* gsm-app-dialog: make the seconds translatables in the spinbutton
* disable deprecation warnings for distcheck
* change app startup dalay where it in system path
* Remove X-GNOME-Autostart-Delay support
* Add a delay setting to Startup Manager
* gsm-properties-dialog: avoid 'gtk_dialog_add_buttons' with stock ids
* avoid 'gtk_dialog_add_button' with stock ids
* mate-session-save: show icon in error dialog
* Migrate from dbus-glib to gdbus
* gsm-inhibit-dialog.ui: avoid deprecated GtkVBox
* session-properties.ui: avoid deprecations
* gsm-manager: avoid deprecated 'g_settings_list_schemas'
* Avoid compile warning for g_type_class_add_private
* Only show application name when run with --version
* Strip outer single quotes from string value returned by gsettings in mate-wm script.
* replace deprecated gdk_error_trap functions
* Fixed typo in --logout-dialog option
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/x11/mate-session-manager/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/x11/mate-session-manager/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/mate-session-manager/PLIST
diff -u pkgsrc/x11/mate-session-manager/PLIST:1.3 pkgsrc/x11/mate-session-manager/PLIST:1.4
--- pkgsrc/x11/mate-session-manager/PLIST:1.3 Wed Jan 16 18:13:41 2019
+++ pkgsrc/x11/mate-session-manager/PLIST Wed Mar 6 07:37:51 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/01/16 18:13:41 youri Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/03/06 07:37:51 gutteridge Exp $
bin/mate-session
bin/mate-session-inhibit
bin/mate-session-properties
@@ -71,6 +71,7 @@ share/locale/frp/LC_MESSAGES/mate-sessio
share/locale/fur/LC_MESSAGES/mate-session-manager.mo
share/locale/fy/LC_MESSAGES/mate-session-manager.mo
share/locale/ga/LC_MESSAGES/mate-session-manager.mo
+share/locale/gd/LC_MESSAGES/mate-session-manager.mo
share/locale/gl/LC_MESSAGES/mate-session-manager.mo
share/locale/gu/LC_MESSAGES/mate-session-manager.mo
share/locale/ha/LC_MESSAGES/mate-session-manager.mo
@@ -87,6 +88,7 @@ share/locale/it/LC_MESSAGES/mate-session
share/locale/ja/LC_MESSAGES/mate-session-manager.mo
share/locale/jv/LC_MESSAGES/mate-session-manager.mo
share/locale/ka/LC_MESSAGES/mate-session-manager.mo
+share/locale/kab/LC_MESSAGES/mate-session-manager.mo
share/locale/kk/LC_MESSAGES/mate-session-manager.mo
share/locale/kn/LC_MESSAGES/mate-session-manager.mo
share/locale/ko/LC_MESSAGES/mate-session-manager.mo
@@ -140,6 +142,7 @@ share/locale/tt/LC_MESSAGES/mate-session
share/locale/ug/LC_MESSAGES/mate-session-manager.mo
share/locale/uk/LC_MESSAGES/mate-session-manager.mo
share/locale/ur/LC_MESSAGES/mate-session-manager.mo
+share/locale/ur_PK/LC_MESSAGES/mate-session-manager.mo
share/locale/uz/LC_MESSAGES/mate-session-manager.mo
share/locale/vi/LC_MESSAGES/mate-session-manager.mo
share/locale/wa/LC_MESSAGES/mate-session-manager.mo
Index: pkgsrc/x11/mate-session-manager/distinfo
diff -u pkgsrc/x11/mate-session-manager/distinfo:1.4 pkgsrc/x11/mate-session-manager/distinfo:1.5
--- pkgsrc/x11/mate-session-manager/distinfo:1.4 Wed Jan 16 18:13:41 2019
+++ pkgsrc/x11/mate-session-manager/distinfo Wed Mar 6 07:37:51 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2019/01/16 18:13:41 youri Exp $
+$NetBSD: distinfo,v 1.5 2019/03/06 07:37:51 gutteridge Exp $
-SHA1 (mate-session-manager-1.21.0.tar.xz) = 5ee50a47c6b977d5da59e45441b6d6f5ef2b4c60
-RMD160 (mate-session-manager-1.21.0.tar.xz) = 5343a5f0af2648ebb48eb7e3b0e31677baf8a4e2
-SHA512 (mate-session-manager-1.21.0.tar.xz) = fefe9566b0bcc682c093101f892e546dfc01c5ce0ea492a5fb6654bdc8178675e746c6b1c6b2ae519b5767615f32a7e58c9b296f86da7b26c789df3b1c6a794f
-Size (mate-session-manager-1.21.0.tar.xz) = 587168 bytes
+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) = 9c93c4074c51cfc19bd50f797815256fc6685e71
Added files:
Index: pkgsrc/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c
diff -u /dev/null pkgsrc/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c:1.1
--- /dev/null Wed Mar 6 07:37:52 2019
+++ pkgsrc/x11/mate-session-manager/patches/patch-mate-session_gsm-systemd.c Wed Mar 6 07:37:51 2019
@@ -0,0 +1,53 @@
+$NetBSD: patch-mate-session_gsm-systemd.c,v 1.1 2019/03/06 07:37:51 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,25 @@ gsm_systemd_is_last_session_for_user (Gs
+ char **sessions = NULL;
+ char *session = NULL;
+ gboolean is_last_session;
+- int ret, i;
++ int ret = 0, i;
+
++#ifdef HAVE_SYSTEMD
+ ret = sd_pid_get_session (getpid (), &session);
++#endif
++
++ if (session == NULL)
++ return;
+
+ if (ret != 0) {
+ return FALSE;
+ }
+
++#ifdef HAVE_SYSTEMD
+ ret = sd_uid_get_sessions (getuid (), FALSE, &sessions);
++#endif
++
++ if (sessions == NULL)
++ return;
+
+ if (ret <= 0) {
+ free (session);
+@@ -450,7 +460,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 +473,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