[arch-commits] Commit in xfce4-screensaver/trunk (2 files)
Christian Hesse
eworm at archlinux.org
Sun Nov 8 19:55:02 UTC 2020
Date: Sunday, November 8, 2020 @ 19:55:02
Author: eworm
Revision: 399642
upgpkg: xfce4-screensaver 0.1.11-1: new upstream release
Modified:
xfce4-screensaver/trunk/PKGBUILD
Deleted:
xfce4-screensaver/trunk/0001-Send-empty-DBus-responses.patch
--------------------------------------+
0001-Send-empty-DBus-responses.patch | 70 ---------------------------------
PKGBUILD | 4 -
2 files changed, 2 insertions(+), 72 deletions(-)
Deleted: 0001-Send-empty-DBus-responses.patch
===================================================================
--- 0001-Send-empty-DBus-responses.patch 2020-11-08 19:44:35 UTC (rev 399641)
+++ 0001-Send-empty-DBus-responses.patch 2020-11-08 19:55:02 UTC (rev 399642)
@@ -1,70 +0,0 @@
-From cc33cea3df2ab361cdbddecfa901fbc048ce278b Mon Sep 17 00:00:00 2001
-From: Sean Davis <smd.seandavis at gmail.com>
-Date: Sat, 28 Mar 2020 08:23:00 -0400
-Subject: Send empty DBus responses (bug #16522)
-
----
- src/gs-listener-dbus.c | 27 +++++++++++++++++++++++----
- 1 file changed, 23 insertions(+), 4 deletions(-)
-
-diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
-index 3463ef9..6307324 100644
---- a/src/gs-listener-dbus.c
-+++ b/src/gs-listener-dbus.c
-@@ -832,6 +832,25 @@ listener_remove_ck_ref_entry (GSListener *listener,
- }
- #endif
-
-+static DBusHandlerResult
-+listener_dbus_confirm (DBusConnection *connection,
-+ DBusMessage *message) {
-+ DBusMessage *reply;
-+
-+ reply = dbus_message_new_method_return (message);
-+ if (reply == NULL) {
-+ g_error ("No memory");
-+ }
-+
-+ if (!dbus_connection_send (connection, reply, NULL)) {
-+ g_error ("No memory");
-+ }
-+
-+ dbus_message_unref (reply);
-+
-+ return DBUS_HANDLER_RESULT_HANDLED;
-+}
-+
- static DBusHandlerResult
- listener_dbus_add_ref_entry (GSListener *listener,
- int entry_type,
-@@ -1306,15 +1325,15 @@ listener_dbus_handle_session_message (DBusConnection *connection,
-
- if (dbus_message_is_method_call (message, GS_LISTENER_SERVICE, "Lock")) {
- g_signal_emit (listener, signals[LOCK], 0);
-- return DBUS_HANDLER_RESULT_HANDLED;
-+ return listener_dbus_confirm (connection, message);
- }
- if (dbus_message_is_method_call (message, GS_LISTENER_SERVICE, "Quit")) {
- g_signal_emit (listener, signals[QUIT], 0);
-- return DBUS_HANDLER_RESULT_HANDLED;
-+ return listener_dbus_confirm (connection, message);
- }
- if (dbus_message_is_method_call (message, GS_LISTENER_SERVICE, "Cycle")) {
- g_signal_emit (listener, signals[CYCLE], 0);
-- return DBUS_HANDLER_RESULT_HANDLED;
-+ return listener_dbus_confirm (connection, message);
- }
- if (dbus_message_is_method_call (message, GS_LISTENER_SERVICE, "Inhibit")) {
- return listener_dbus_add_ref_entry (listener, REF_ENTRY_TYPE_INHIBIT, connection, message);
-@@ -1345,7 +1364,7 @@ listener_dbus_handle_session_message (DBusConnection *connection,
- }
- if (dbus_message_is_method_call (message, GS_LISTENER_SERVICE, "SimulateUserActivity")) {
- g_signal_emit (listener, signals[SIMULATE_USER_ACTIVITY], 0);
-- return DBUS_HANDLER_RESULT_HANDLED;
-+ return listener_dbus_confirm (connection, message);
- }
- if (dbus_message_is_method_call (message, "org.freedesktop.DBus.Introspectable", "Introspect")) {
- return do_introspect (connection, message, local_interface);
---
-cgit v1.2.3
-
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-08 19:44:35 UTC (rev 399641)
+++ PKGBUILD 2020-11-08 19:55:02 UTC (rev 399642)
@@ -1,7 +1,7 @@
# Maintainer: Christian Hesse <mail at eworm.de>
pkgname=xfce4-screensaver
-pkgver=0.1.10
+pkgver=0.1.11
pkgrel=1
pkgdesc='Xfce Screensaver'
arch=('x86_64')
@@ -12,7 +12,7 @@
makedepends=('intltool')
backup=('etc/pam.d/xfce4-screensaver')
source=("https://archive.xfce.org/src/apps/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
-sha256sums=('586f1c78dd6745a20e9ce9f12d0117189d597ba7ad0c8ffcfcd25c9bb05f1d57')
+sha256sums=('814020da160ac4f9bcd79ae098ca6dd17643144214613dcb687821c8d8deac77')
build() {
cd "$srcdir/$pkgname-$pkgver"
More information about the arch-commits
mailing list