Accepting request 937327 from GNOME:Next
- Update to version 2.38.2:
+ Fix a missing return value in the testsuite.
+ Make Selection#clearSelection work.
+ Fix attributeListToHash() in case there’s a colon in an attr
value.
- Drop pyatspi-test-fixes.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/937327
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-atspi?expand=0&rev=131
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e49f27e9e29c24ac3ccb837a7f221952532940da0344e7e8c0899924aeb98151
|
||||
size 316724
|
||||
3
pyatspi-2.38.2.tar.xz
Normal file
3
pyatspi-2.38.2.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0e7089c0b6309614b53620836b3462d7f91284e436fe4929ba1619a841cf1185
|
||||
size 318596
|
||||
@@ -1,48 +0,0 @@
|
||||
From f2e40852cf29a781ef5682fd675cd3e15d69f277 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gorse <mgorse@suse.com>
|
||||
Date: Mon, 27 Sep 2021 16:41:40 -0500
|
||||
Subject: [PATCH] Testsuite fixes
|
||||
|
||||
---
|
||||
tests/dummyatk/my-atk-hyperlink.h | 2 ++
|
||||
tests/dummyatk/my-atk-object.c | 5 ++++-
|
||||
2 files changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/dummyatk/my-atk-hyperlink.h b/tests/dummyatk/my-atk-hyperlink.h
|
||||
index 35af13e..c07bc34 100644
|
||||
--- a/tests/dummyatk/my-atk-hyperlink.h
|
||||
+++ b/tests/dummyatk/my-atk-hyperlink.h
|
||||
@@ -50,5 +50,7 @@ struct _MyAtkHyperlinkClass
|
||||
AtkHyperlinkClass parent;
|
||||
};
|
||||
|
||||
+MyAtkHyperlink* my_atk_hyperlink_new(gint start_index, gint end_index,const gchar* uri);
|
||||
+
|
||||
GType my_atk_hyperlink_get_type();
|
||||
#endif /*MY_ATK_HYPERLINK_H*/
|
||||
diff --git a/tests/dummyatk/my-atk-object.c b/tests/dummyatk/my-atk-object.c
|
||||
index 2b69583..218cc9e 100644
|
||||
--- a/tests/dummyatk/my-atk-object.c
|
||||
+++ b/tests/dummyatk/my-atk-object.c
|
||||
@@ -116,7 +116,8 @@ static AtkStateSet *my_atk_object_ref_state_set(AtkObject *accessible)
|
||||
|
||||
if (obj->state_set == NULL)
|
||||
obj->state_set = atk_state_set_new();
|
||||
- return g_object_ref(G_OBJECT(obj->state_set));
|
||||
+ g_object_ref(obj->state_set);
|
||||
+ return obj->state_set;
|
||||
}
|
||||
|
||||
static AtkAttributeSet *my_atk_object_get_attributes (AtkObject *accessible)
|
||||
@@ -139,6 +140,8 @@ static AtkAttributeSet *my_atk_object_get_attributes (AtkObject *accessible)
|
||||
rs = g_slist_append(rs, (gpointer) a);
|
||||
rs = g_slist_append(rs, (gpointer) b);
|
||||
rs = g_slist_append(rs, (gpointer) c);
|
||||
+
|
||||
+ return rs;
|
||||
}
|
||||
|
||||
//function, needed in instance_finalize()
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 21:53:30 UTC 2021 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
- Update to version 2.38.2:
|
||||
+ Fix a missing return value in the testsuite.
|
||||
+ Make Selection#clearSelection work.
|
||||
+ Fix attributeListToHash() in case there’s a colon in an attr
|
||||
value.
|
||||
- Drop pyatspi-test-fixes.patch: fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 27 21:45:41 UTC 2021 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
|
||||
@@ -34,15 +34,13 @@ BuildArch: noarch
|
||||
%define skip_python2 1
|
||||
%define _name pyatspi
|
||||
Name: python-atspi%{psuffix}
|
||||
Version: 2.38.1
|
||||
Version: 2.38.2
|
||||
Release: 0
|
||||
Summary: Python bindings for the Assistive Technology Service Provider Interface
|
||||
License: LGPL-2.0-only
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://gitlab.gnome.org/GNOME/pyatspi2
|
||||
Source0: https://download.gnome.org/sources/pyatspi/2.38/%{_name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM pyatspi-test-fixes.patch bsc#1190051 mgorse@suse.com -- testsuite fixes.
|
||||
Patch0: pyatspi-test-fixes.patch
|
||||
BuildRequires: %{python_module dbus-python}
|
||||
BuildRequires: %{python_module gobject >= 2.90.1}
|
||||
BuildRequires: %{python_module gobject-devel >= 2.90.1}
|
||||
|
||||
Reference in New Issue
Block a user