[arch-commits] Commit in polkit-gnome/trunk (2 files)

Balló György bgyorgy at archlinux.org
Sat May 1 12:19:29 UTC 2021


    Date: Saturday, May 1, 2021 @ 12:19:28
  Author: bgyorgy
Revision: 925668

upgpkg: polkit-gnome 0.105-7: Keep Wayland supported (FS#70670)

Modified:
  polkit-gnome/trunk/0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch
  polkit-gnome/trunk/PKGBUILD

-----------------------------------------------------------------+
 0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch |   13 +---------
 PKGBUILD                                                        |    4 +--
 2 files changed, 4 insertions(+), 13 deletions(-)

Modified: 0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch
===================================================================
--- 0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch	2021-05-01 12:16:47 UTC (rev 925667)
+++ 0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch	2021-05-01 12:19:28 UTC (rev 925668)
@@ -15,21 +15,12 @@
 index 23163b4..e57d76e 100644
 --- a/src/polkitgnomeauthenticator.c
 +++ b/src/polkitgnomeauthenticator.c
-@@ -26,6 +26,7 @@
- #include <sys/types.h>
- #include <pwd.h>
- #include <glib/gi18n.h>
-+#include <gdk/gdkx.h>
- 
- #include <polkit/polkit.h>
- #include <polkitagent/polkitagent.h>
-@@ -306,7 +307,8 @@ session_request (PolkitAgentSession *session,
+@@ -306,7 +307,7 @@ session_request (PolkitAgentSession *session,
      }
  
    gtk_widget_show_all (GTK_WIDGET (authenticator->dialog));
 -  gtk_window_present (GTK_WINDOW (authenticator->dialog));
-+  gtk_window_present_with_time (GTK_WINDOW (authenticator->dialog),
-+                                gdk_x11_get_server_time (gtk_widget_get_window (GTK_WIDGET (authenticator->dialog))));
++  gtk_window_present_with_time (GTK_WINDOW (authenticator->dialog), gtk_get_current_event_time ());
    password = polkit_gnome_authentication_dialog_run_until_response_for_prompt (POLKIT_GNOME_AUTHENTICATION_DIALOG (authenticator->dialog),
                                                                                 modified_request,
                                                                                 echo_on,

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-01 12:16:47 UTC (rev 925667)
+++ PKGBUILD	2021-05-01 12:19:28 UTC (rev 925668)
@@ -4,7 +4,7 @@
 
 pkgname=polkit-gnome
 pkgver=0.105
-pkgrel=6
+pkgrel=7
 pkgdesc='Legacy polkit authentication agent for GNOME'
 arch=('x86_64')
 url='https://gitlab.gnome.org/Archive/policykit-gnome'
@@ -22,7 +22,7 @@
             'b989f1c7e30f2f9f9ef03f1a06db708d83c4945ee242ca573e7d66b64bf7037f'
             '41afbd11bdf4633dc619675862078c23e4b200c888da1569d030c502999b25d8'
             '4ee38d2dae6e592040c41ba07caa284135dc232feef5a30acb42c0e28340adce'
-            'a6888623ce218543e1abd4cfe36653860ec7c3b443d00d4204e7de9b97d1eadf')
+            '9760750a6a6187c6440c3f8d8f9066f55f9e4923020c5d84697ee44bb682e990')
 
 prepare() {
   cd $pkgname-$pkgver



More information about the arch-commits mailing list