Hello community,

here is the log from the commit of package at-spi2-atk for openSUSE:Factory 
checked in at 2020-03-05 23:17:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/at-spi2-atk (Old)
 and      /work/SRC/openSUSE:Factory/.at-spi2-atk.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "at-spi2-atk"

Thu Mar  5 23:17:15 2020 rev:81 rq:781009 version:2.34.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/at-spi2-atk/at-spi2-atk.changes  2019-10-17 
12:55:53.189822472 +0200
+++ /work/SRC/openSUSE:Factory/.at-spi2-atk.new.26092/at-spi2-atk.changes       
2020-03-05 23:17:28.517149865 +0100
@@ -1,0 +2,9 @@
+Sat Feb 29 23:56:16 UTC 2020 - mgo...@suse.com
+
+- Update to version 2.34.2:
+  + Meson: don't hard-code shared_library.
+  + Mitigate missing window events at startup.
+  + Set C standard to gnu99.
+  + Tests: include sys/time.h.
+
+-------------------------------------------------------------------

Old:
----
  at-spi2-atk-2.34.1.tar.xz

New:
----
  at-spi2-atk-2.34.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ at-spi2-atk.spec ++++++
--- /var/tmp/diff_new_pack.A4V6MG/_old  2020-03-05 23:17:29.457150398 +0100
+++ /var/tmp/diff_new_pack.A4V6MG/_new  2020-03-05 23:17:29.461150399 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package at-spi2-atk
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           at-spi2-atk
-Version:        2.34.1
+Version:        2.34.2
 Release:        0
 Summary:        GTK+ module for the Assistive Technology Service Provider 
Interface
 License:        LGPL-2.1-or-later

++++++ at-spi2-atk-2.34.1.tar.xz -> at-spi2-atk-2.34.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/NEWS new/at-spi2-atk-2.34.2/NEWS
--- old/at-spi2-atk-2.34.1/NEWS 2019-10-07 20:25:50.000000000 +0200
+++ new/at-spi2-atk-2.34.2/NEWS 2020-02-29 23:37:19.000000000 +0100
@@ -1,3 +1,13 @@
+What's new in at-spi2-atk 2.34.2:
+
+* Meson: don't hard-code shared_library (!19).
+
+* Mitigate missing window events at startup.
+
+* Set C standard to gnu99 (#10).
+
+* Tests: include sys/time.h (#14).
+
 What's new in at-spi2-atk 2.34.1:
 
 * socket_embed_hook: Make plug_id parameter const.
@@ -8,7 +18,7 @@
 
 What's new in at-spi2-atk 2.33.92:
 
-* License is now lGPL-2.1+.
+* License is now LGPL-2.1+.
 * Several test fixes (thanks to Samuel THibault).
 * Initialize desktop name/path early; needed since we now defer
   registration.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/atk-adaptor/bridge.c 
new/at-spi2-atk-2.34.2/atk-adaptor/bridge.c
--- old/at-spi2-atk-2.34.1/atk-adaptor/bridge.c 2019-10-07 20:25:50.000000000 
+0200
+++ new/at-spi2-atk-2.34.2/atk-adaptor/bridge.c 2020-02-29 23:37:19.000000000 
+0100
@@ -403,8 +403,8 @@
     get_registered_event_listeners (spi_global_app_data);
 }
 
-gboolean
-_atk_bridge_register_application (gpointer data)
+static gboolean
+register_application (gpointer data)
 {
   SpiBridge * app = data;
   DBusMessage *message;
@@ -439,6 +439,31 @@
   return FALSE;
 }
 
+void
+_atk_bridge_schedule_application_registration (SpiBridge *app)
+{
+  /* We need the callback to be called first thing, before any other of ours
+   * (and possibly of client apps), so use a high priority and a short timeout
+   * to try and be called first by the main loop. */
+  if (!app->registration_pending)
+    app->registration_pending = spi_timeout_add_full (G_PRIORITY_HIGH, 0,
+                                                      register_application,
+                                                      app, NULL);
+}
+
+gboolean
+_atk_bridge_remove_pending_application_registration (SpiBridge *app)
+{
+  if (app->registration_pending)
+  {
+    g_source_remove (app->registration_pending);
+    app->registration_pending = 0;
+    return TRUE;
+  }
+
+  return FALSE;
+}
+
 /*---------------------------------------------------------------------------*/
 
 static void
@@ -470,12 +495,8 @@
   DBusMessageIter iter;
   const char *uname;
 
-  if (spi_global_app_data->registration_pending)
-  {
-    g_source_remove (spi_global_app_data->registration_pending);
-    spi_global_app_data->registration_pending = 0;
+  if (_atk_bridge_remove_pending_application_registration 
(spi_global_app_data))
     return;
-  }
 
   message = dbus_message_new_method_call (SPI_DBUS_NAME_REGISTRY,
                                           ATSPI_DBUS_PATH_REGISTRY,
@@ -850,7 +871,7 @@
             {
               if (registry_lost && !old[0])
                 {
-                  _atk_bridge_register_application (spi_global_app_data);
+                  register_application (spi_global_app_data);
                   registry_lost = FALSE;
                 }
               else if (!new[0])
@@ -1105,9 +1126,8 @@
                               NULL);
 
   /* Register this app by sending a signal out to AT-SPI registry daemon */
-  if (!atspi_no_register && (!root || !ATK_IS_PLUG (root)) &&
-      !spi_global_app_data->registration_pending)
-    spi_global_app_data->registration_pending = spi_idle_add 
(_atk_bridge_register_application, spi_global_app_data);
+  if (!atspi_no_register && (!root || !ATK_IS_PLUG (root)))
+    _atk_bridge_schedule_application_registration (spi_global_app_data);
   else
     get_registered_event_listeners (spi_global_app_data);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/atk-adaptor/bridge.h 
new/at-spi2-atk-2.34.2/atk-adaptor/bridge.h
--- old/at-spi2-atk-2.34.1/atk-adaptor/bridge.h 2019-10-07 20:25:50.000000000 
+0200
+++ new/at-spi2-atk-2.34.2/atk-adaptor/bridge.h 2020-02-29 23:37:19.000000000 
+0100
@@ -94,7 +94,8 @@
 
 GType _atk_bridge_type_from_iface (const char *iface);
 
-gboolean _atk_bridge_register_application (gpointer data);
+void _atk_bridge_schedule_application_registration (SpiBridge *app);
+gboolean _atk_bridge_remove_pending_application_registration (SpiBridge *app);
 G_END_DECLS
 
 #endif /* BRIDGE_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/atk-adaptor/event.c 
new/at-spi2-atk-2.34.2/atk-adaptor/event.c
--- old/at-spi2-atk-2.34.1/atk-adaptor/event.c  2019-10-07 20:25:50.000000000 
+0200
+++ new/at-spi2-atk-2.34.2/atk-adaptor/event.c  2020-02-29 23:37:19.000000000 
+0100
@@ -73,11 +73,8 @@
   for (list = spi_global_app_data->direct_connections; list; list = list->next)
     atspi_dbus_connection_setup_with_g_main (list->data, cnx);
 
-  if (spi_global_app_data->registration_pending)
-  {
-    g_source_remove (spi_global_app_data->registration_pending);
-    spi_global_app_data->registration_pending = spi_idle_add 
(_atk_bridge_register_application, spi_global_app_data);
-  }
+  if (_atk_bridge_remove_pending_application_registration 
(spi_global_app_data))
+    _atk_bridge_schedule_application_registration (spi_global_app_data);
 }
 
 guint
@@ -105,6 +102,22 @@
   id = g_source_attach (source, spi_context);
   g_source_unref (source);
 
+  return id;
+}
+
+guint
+spi_timeout_add_full (gint priority, guint interval, GSourceFunc function,
+                      gpointer data, GDestroyNotify notify)
+{
+  GSource *source;
+  guint id;
+
+  source = g_timeout_source_new (interval);
+  g_source_set_priority (source, priority);
+  g_source_set_callback (source, function, data, notify);
+  id = g_source_attach (source, spi_context);
+  g_source_unref (source);
+
   return id;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/atk-adaptor/event.h 
new/at-spi2-atk-2.34.2/atk-adaptor/event.h
--- old/at-spi2-atk-2.34.1/atk-adaptor/event.h  2019-10-07 20:25:50.000000000 
+0200
+++ new/at-spi2-atk-2.34.2/atk-adaptor/event.h  2020-02-29 23:37:19.000000000 
+0100
@@ -34,4 +34,6 @@
 extern GMainContext *spi_context;
 guint spi_idle_add(GSourceFunc    function, gpointer       data);
 guint spi_timeout_add_seconds (gint interval, GSourceFunc function, gpointer   
 data);
+guint spi_timeout_add_full (gint priority, guint interval, GSourceFunc 
function,
+                            gpointer data, GDestroyNotify notify);
 #endif /* EVENT_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/atk-adaptor/meson.build 
new/at-spi2-atk-2.34.2/atk-adaptor/meson.build
--- old/at-spi2-atk-2.34.1/atk-adaptor/meson.build      2019-10-07 
20:25:50.000000000 +0200
+++ new/at-spi2-atk-2.34.2/atk-adaptor/meson.build      2020-02-29 
23:37:19.000000000 +0100
@@ -14,21 +14,21 @@
 
 install_headers([ 'atk-bridge.h' ], subdir: join_paths(meson.project_name(), 
'2.0'))
 
-libatk_bridge = shared_library('atk-bridge-2.0', atk_bridge_sources,
-                               include_directories: root_inc,
-                               dependencies: [
-                                 libatk_bridge_adaptors_dep,
-                                 libdroute_dep,
-                                 libdbus_dep,
-                                 gmodule_dep,
-                                 gobject_dep,
-                                 atk_dep,
-                                 atspi_dep,
-                               ],
-                               c_args: p2p_cflags,
-                               version: atk_bridge_libversion,
-                               soversion: atk_bridge_soversion,
-                               install: true)
+libatk_bridge = library('atk-bridge-2.0', atk_bridge_sources,
+                        include_directories: root_inc,
+                        dependencies: [
+                          libatk_bridge_adaptors_dep,
+                          libdroute_dep,
+                          libdbus_dep,
+                          gmodule_dep,
+                          gobject_dep,
+                          atk_dep,
+                          atspi_dep,
+                        ],
+                        c_args: p2p_cflags,
+                        version: atk_bridge_libversion,
+                        soversion: atk_bridge_soversion,
+                        install: true)
 
 libatk_bridge_dep = declare_dependency(link_with: libatk_bridge,
                                        include_directories: [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/meson.build 
new/at-spi2-atk-2.34.2/meson.build
--- old/at-spi2-atk-2.34.1/meson.build  2019-10-07 20:25:50.000000000 +0200
+++ new/at-spi2-atk-2.34.2/meson.build  2020-02-29 23:37:19.000000000 +0100
@@ -1,10 +1,10 @@
 project('at-spi2-atk', 'c',
-        version: '2.34.1',
+        version: '2.34.2',
         license: 'LGPLv2.1+',
         default_options: [
           'buildtype=debugoptimized',
           'warning_level=1',
-          'c_std=c99',
+          'c_std=gnu99',
         ],
         meson_version : '>= 0.40.1')
 
@@ -46,8 +46,8 @@
 glib_dep = dependency('glib-2.0', version: glib_req_version)
 gobject_dep = dependency('gobject-2.0', version: gobject_req_version)
 gmodule_dep = dependency('gmodule-2.0', version: gmodule_req_version)
-atk_dep = dependency('atk', version: atk_req_version)
-atspi_dep = dependency('atspi-2', version: atspi_req_version)
+atk_dep = dependency('atk', version: atk_req_version, fallback : ['atk', 
'libatk_dep'])
+atspi_dep = dependency('atspi-2', version: atspi_req_version, fallback : 
['at-spi2-core', 'atspi_dep'])
 libxml_dep = dependency('libxml-2.0', version: libxml_req_version, required: 
false)
 
 if get_option('disable_p2p')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/subprojects/at-spi2-core.wrap 
new/at-spi2-atk-2.34.2/subprojects/at-spi2-core.wrap
--- old/at-spi2-atk-2.34.1/subprojects/at-spi2-core.wrap        1970-01-01 
01:00:00.000000000 +0100
+++ new/at-spi2-atk-2.34.2/subprojects/at-spi2-core.wrap        2020-02-29 
23:37:19.000000000 +0100
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=at-spi2-core
+url=https://gitlab.gnome.org/GNOME/at-spi2-core.git
+push-url=g...@gitlab.gnome.org:GNOME/at-spi2-core.git
+revision=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/subprojects/atk.wrap 
new/at-spi2-atk-2.34.2/subprojects/atk.wrap
--- old/at-spi2-atk-2.34.1/subprojects/atk.wrap 1970-01-01 01:00:00.000000000 
+0100
+++ new/at-spi2-atk-2.34.2/subprojects/atk.wrap 2020-02-29 23:37:19.000000000 
+0100
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=atk
+url=https://gitlab.gnome.org/GNOME/atk.git
+push-url=g...@gitlab.gnome.org:GNOME/atk.git
+revision=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-atk-2.34.1/tests/atk_test_util.h 
new/at-spi2-atk-2.34.2/tests/atk_test_util.h
--- old/at-spi2-atk-2.34.1/tests/atk_test_util.h        2019-10-07 
20:25:50.000000000 +0200
+++ new/at-spi2-atk-2.34.2/tests/atk_test_util.h        2020-02-29 
23:37:19.000000000 +0100
@@ -26,6 +26,7 @@
 
 #include <stdio.h>
 #include <unistd.h>
+#include <sys/time.h>
 #include <glib.h>
 #include <stdio.h>
 #include <stdlib.h>


Reply via email to