Hello community, here is the log from the commit of package python-atspi for openSUSE:Factory checked in at 2020-11-19 11:57:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-atspi (Old) and /work/SRC/openSUSE:Factory/.python-atspi.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-atspi" Thu Nov 19 11:57:11 2020 rev:63 rq:847258 version:2.38.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes 2020-04-23 18:28:36.967878652 +0200 +++ /work/SRC/openSUSE:Factory/.python-atspi.new.5913/python-atspi.changes 2020-11-23 10:41:27.950062204 +0100 @@ -1,0 +2,17 @@ +Mon Sep 14 12:53:33 UTC 2020 - dims...@opensuse.org + +- Update to version 2.38.0: + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 4 16:00:06 UTC 2020 - dims...@opensuse.org + +- Update to version 2.37.90: + + Tests: use libatspi's dbus-gmain implementation, eliminating + dependency on dbus-glib. + + Migrate to gtk 3. + + Add support for the mode-changed signal. +- Add pkgconfig(gtk+-3.0) BuildRequires: align with what configure + is looking for. + +------------------------------------------------------------------- Old: ---- pyatspi-2.36.0.tar.xz New: ---- pyatspi-2.38.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-atspi.spec ++++++ --- /var/tmp/diff_new_pack.ELy9C8/_old 2020-11-23 10:41:28.358062609 +0100 +++ /var/tmp/diff_new_pack.ELy9C8/_new 2020-11-23 10:41:28.362062614 +0100 @@ -19,13 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define _name pyatspi Name: python-atspi -Version: 2.36.0 +Version: 2.38.0 Release: 0 Summary: Python bindings for the Assistive Technology Service Provider Interface License: LGPL-2.0-only Group: Development/Libraries/Python URL: http://www.gnome.org/ -Source0: https://download.gnome.org/sources/pyatspi/2.36/%{_name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/pyatspi/2.38/%{_name}-%{version}.tar.xz BuildRequires: %{python_module devel} BuildRequires: %{python_module gobject >= 2.90.1} @@ -36,6 +36,7 @@ BuildRequires: gobject-introspection BuildRequires: python-rpm-macros BuildRequires: python3-2to3 +BuildRequires: pkgconfig(gtk+-3.0) Requires: python-gobject >= 2.90.1 # The bindings are really useful only if the at-spi registry is running. But # it's not a strict runtime dependency. ++++++ pyatspi-2.36.0.tar.xz -> pyatspi-2.38.0.tar.xz ++++++ ++++ 5046 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/NEWS new/pyatspi-2.38.0/NEWS --- old/pyatspi-2.36.0/NEWS 2020-03-08 00:23:36.000000000 +0100 +++ new/pyatspi-2.38.0/NEWS 2020-08-09 00:29:15.000000000 +0200 @@ -1,3 +1,12 @@ +What's new in pyatspi 2.37.90: + +* Tests: use libatspi's dbus-gmain implementation, eliminating + dependency on dbus-glib (!4). + +* Migrate to gtk 3 (!23). + +* Add support for the mode-changed signal (!24). + What's new in pyatspi 2.35.1: * Fix dead link in README. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/README new/pyatspi-2.38.0/README --- old/pyatspi-2.36.0/README 2019-11-20 23:57:08.000000000 +0100 +++ new/pyatspi-2.38.0/README 2020-08-09 00:27:15.000000000 +0200 @@ -12,22 +12,20 @@ The mailing list used for general questions is: - accessibility-at...@lists.linux-foundation.org + https://lists.linuxfoundation.org/mailman/listinfo/accessibility-atspi -For bug reports, feature requests, patches or enhancements please use -the AT-SPI project on bugzilla.gnome.org. Use the pyatspi2 component for -bugs specific to this module. +For bug reports, feature requests, patches or enhancements please use: - http://bugzilla.gnome.org + https://gitlab.gnome.org/GNOME/pyatspi2/issues/ A git repository with the latest development code is available at: - git://git.gnome.org/pyatspi2 + https://gitlab.gnome.org/GNOME/pyatspi2 Code in this repository depends on at-spi2-core resources. The at-spi2-core repository can be found at: - git://git.gnome.org/at-spi2-core + https://gitlab.gnome.org/GNOME/at-spi2-core More information ---------------- @@ -37,15 +35,13 @@ mind that the D-Bus AT-SPI design documents on this page have not been kept up to date. - http://live.gnome.org/GAP/AtSpiDbusInvestigation/ + https://wiki.gnome.org/Accessibility/Documentation/GNOME2/ATSPI2-Investigation Other sources of relevant information about AT-SPI and Accessibility include: - http://live.gnome.org/Accessibility - http://www.sun.com/software/star/gnome/accessibility/architecture.xml - http://accessibility.kde.org/developer/atk.php - http://www.gnome.org/~billh/at-spi-idl/html/ + https://wiki.gnome.org/Accessibility + https://people.gnome.org/~billh/at-spi-idl/html/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/config/compile new/pyatspi-2.38.0/config/compile --- old/pyatspi-2.36.0/config/compile 2020-01-19 00:29:28.000000000 +0100 +++ new/pyatspi-2.38.0/config/compile 2020-09-12 21:25:55.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <tro...@cygnus.com>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/config/missing new/pyatspi-2.38.0/config/missing --- old/pyatspi-2.36.0/config/missing 2020-01-19 00:29:28.000000000 +0100 +++ new/pyatspi-2.38.0/config/missing 2020-09-12 21:25:55.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/config/py-compile new/pyatspi-2.38.0/config/py-compile --- old/pyatspi-2.36.0/config/py-compile 2020-01-19 00:29:28.000000000 +0100 +++ new/pyatspi-2.38.0/config/py-compile 2020-09-12 21:25:55.000000000 +0200 @@ -1,9 +1,9 @@ #!/bin/sh # py-compile - Compile a Python program -scriptversion=2018-03-07.03; # UTC +scriptversion=2020-02-19.23; # UTC -# Copyright (C) 2000-2018 Free Software Foundation, Inc. +# Copyright (C) 2000-2020 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -115,8 +115,27 @@ filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi +python_major=$($PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q') +if test -z "$python_major"; then + echo "$me: could not determine $PYTHON major version, guessing 3" >&2 + python_major=3 +fi + +# The old way to import libraries was deprecated. +if test "$python_major" -le 2; then + import_lib=imp + import_test="hasattr(imp, 'get_tag')" + import_call=imp.cache_from_source + import_arg2=', False' # needed in one call and not the other +else + import_lib=importlib + import_test="hasattr(sys.implementation, 'cache_tag')" + import_call=importlib.util.cache_from_source + import_arg2= +fi + $PYTHON -c " -import sys, os, py_compile, imp +import sys, os, py_compile, $import_lib files = '''$files''' @@ -129,15 +148,15 @@ continue sys.stdout.write(file) sys.stdout.flush() - if hasattr(imp, 'get_tag'): - py_compile.compile(filepath, imp.cache_from_source(filepath), path) + if $import_test: + py_compile.compile(filepath, $import_call(filepath), path) else: py_compile.compile(filepath, filepath + 'c', path) sys.stdout.write('\n')" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " -import sys, os, py_compile, imp +import sys, os, py_compile, $import_lib # pypy does not use .pyo optimization if hasattr(sys, 'pypy_translation_info'): @@ -153,8 +172,8 @@ continue sys.stdout.write(file) sys.stdout.flush() - if hasattr(imp, 'get_tag'): - py_compile.compile(filepath, imp.cache_from_source(filepath, False), path) + if $import_test: + py_compile.compile(filepath, $import_call(filepath$import_arg2), path) else: py_compile.compile(filepath, filepath + 'o', path) sys.stdout.write('\n')" 2>/dev/null || : diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/config/test-driver new/pyatspi-2.38.0/config/test-driver --- old/pyatspi-2.36.0/config/test-driver 2020-01-19 00:29:28.000000000 +0100 +++ new/pyatspi-2.38.0/config/test-driver 2020-09-12 21:25:56.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 2011-2018 Free Software Foundation, Inc. +# Copyright (C) 2011-2020 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/configure.ac new/pyatspi-2.38.0/configure.ac --- old/pyatspi-2.36.0/configure.ac 2020-03-08 00:22:48.000000000 +0100 +++ new/pyatspi-2.38.0/configure.ac 2020-09-12 21:25:40.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([pyatspi], [2.36.0], [accessibility-at...@lists.linux-foundation.org]) +AC_INIT([pyatspi], [2.38.0], [accessibility-at...@lists.linux-foundation.org]) AC_CONFIG_AUX_DIR(config) # The version of python used is determined by the executable pointed to by the @@ -66,9 +66,9 @@ AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) - PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.7.0]) - AC_SUBST(DBUS_GLIB_LIBS) - AC_SUBST(DBUS_GLIB_CFLAGS) + PKG_CHECK_MODULES(AT_SPI, [atspi-2]) + AC_SUBST(AT_SPI_LIBS) + AC_SUBST(AT_SPI_CFLAGS) PKG_CHECK_MODULES(GOBJ, [gobject-2.0 >= 2.0.0]) AC_SUBST(GOBJ_LIBS) @@ -86,7 +86,7 @@ AC_SUBST(ATK_LIBS) AC_SUBST(ATK_CFLAGS) - PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0]) + PKG_CHECK_MODULES(GTK, [gtk+-3.0]) AC_SUBST(GTK_LIBS) AC_SUBST(GTK_CFLAGS) fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/pyatspi/constants.py new/pyatspi-2.38.0/pyatspi/constants.py --- old/pyatspi-2.36.0/pyatspi/constants.py 2019-07-19 02:00:08.000000000 +0200 +++ new/pyatspi-2.38.0/pyatspi/constants.py 2020-08-09 00:27:15.000000000 +0200 @@ -123,7 +123,8 @@ 'mouse:button:3p', 'mouse:button:3r'], 'screen-reader' : - ['screen-reader:region-changed'], + ['screen-reader:region-changed', + 'screen-reader:mode-changed'], 'window' : ['window:minimize', 'window:maximize', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/tests/apps/Makefile.am new/pyatspi-2.38.0/tests/apps/Makefile.am --- old/pyatspi-2.36.0/tests/apps/Makefile.am 2018-08-09 17:07:43.000000000 +0200 +++ new/pyatspi-2.38.0/tests/apps/Makefile.am 2020-04-11 23:06:48.000000000 +0200 @@ -5,12 +5,14 @@ libactionapp.la \ librelationapp.la -test_application_CFLAGS = $(DBUS_GLIB_CFLAGS) \ +test_application_CFLAGS = $(AT_SPI_CFLAGS) \ $(ATK_CFLAGS) \ + $(GOBJ_CFLAGS) \ $(GMODULE_CFLAGS) \ -I$(top_srcdir) -test_application_LDADD = $(DBUS_GLIB_LIBS) \ +test_application_LDADD = $(AT_SPI_LIBS) \ + $(GOBJ_LIBS) \ $(GMODULE_LIBS) \ $(ATK_LIBS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pyatspi-2.36.0/tests/apps/test-application.c new/pyatspi-2.38.0/tests/apps/test-application.c --- old/pyatspi-2.36.0/tests/apps/test-application.c 2019-08-27 16:56:19.000000000 +0200 +++ new/pyatspi-2.38.0/tests/apps/test-application.c 2020-04-11 23:08:01.000000000 +0200 @@ -35,6 +35,7 @@ #include <gmodule.h> #include <atk/atk.h> #include <dbus/dbus.h> +#include <atspi/atspi-gmain.h> /* The test module, GModule containing interface for an atk-test */ static GModule *test_module; @@ -222,7 +223,7 @@ &test_vtable, NULL)); - dbus_connection_setup_with_g_main(dbus_bus, g_main_context_default()); + atspi_dbus_connection_setup_with_g_main(dbus_bus, g_main_context_default()); } static void _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org