Hello community,
here is the log from the commit of package python-atspi for openSUSE:Factory
checked in at Fri Mar 5 02:27:43 CET 2010.
--------
--- python-atspi/python-atspi.changes 2010-02-12 15:17:05.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-atspi/python-atspi.changes 2010-02-21 17:27:46.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Feb 21 17:22:08 CET 2010 - vuntz@opensuse.org
+
+- Update to version 0.1.7:
+ + Change the interface name from org.freedesktop to org.a11y.
+ + Add fix for name error that was causing unit tests to fail.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
pyatspi-0.1.6.tar.bz2
New:
----
pyatspi-0.1.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.07kGgA/_old 2010-03-05 02:27:23.000000000 +0100
+++ /var/tmp/diff_new_pack.07kGgA/_new 2010-03-05 02:27:23.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package python-atspi (Version 0.1.6)
+# spec file for package python-atspi (Version 0.1.7)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,7 +19,7 @@
Name: python-atspi
%define _name pyatspi
-Version: 0.1.6
+Version: 0.1.7
Release: 1
Summary: Assistive Technology Service Provider Interface - Python bindings
License: LGPLv2.0
++++++ pyatspi-0.1.6.tar.bz2 -> pyatspi-0.1.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/configure new/pyatspi-0.1.7/configure
--- old/pyatspi-0.1.6/configure 2010-02-08 17:58:09.000000000 +0100
+++ new/pyatspi-0.1.7/configure 2010-02-12 05:21:33.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for pyatspi 0.1.6.
+# Generated by GNU Autoconf 2.64 for pyatspi 0.1.7.
#
# Report bugs to .
#
@@ -698,8 +698,8 @@
# Identity of this package.
PACKAGE_NAME='pyatspi'
PACKAGE_TARNAME='pyatspi'
-PACKAGE_VERSION='0.1.6'
-PACKAGE_STRING='pyatspi 0.1.6'
+PACKAGE_VERSION='0.1.7'
+PACKAGE_STRING='pyatspi 0.1.7'
PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
PACKAGE_URL=''
@@ -1474,7 +1474,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures pyatspi 0.1.6 to adapt to many kinds of systems.
+\`configure' configures pyatspi 0.1.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1548,7 +1548,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of pyatspi 0.1.6:";;
+ short | recursive ) echo "Configuration of pyatspi 0.1.7:";;
esac
cat <<\_ACEOF
@@ -1676,7 +1676,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-pyatspi configure 0.1.6
+pyatspi configure 0.1.7
generated by GNU Autoconf 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -1954,7 +1954,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by pyatspi $as_me 0.1.6, which was
+It was created by pyatspi $as_me 0.1.7, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ $0 $@
@@ -2774,7 +2774,7 @@
# Define the identity of the package.
PACKAGE='pyatspi'
- VERSION='0.1.6'
+ VERSION='0.1.7'
cat >>confdefs.h <<_ACEOF
@@ -12784,7 +12784,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by pyatspi $as_me 0.1.6, which was
+This file was extended by pyatspi $as_me 0.1.7, which was
generated by GNU Autoconf 2.64. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -12848,7 +12848,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-pyatspi config.status 0.1.6
+pyatspi config.status 0.1.7
configured by $0, generated by GNU Autoconf 2.64,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/configure.ac new/pyatspi-0.1.7/configure.ac
--- old/pyatspi-0.1.6/configure.ac 2010-02-08 17:34:12.000000000 +0100
+++ new/pyatspi-0.1.7/configure.ac 2010-02-12 05:21:05.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([pyatspi], [0.1.6], [accessibility-atspi@lists.linux-foundation.org])
+AC_INIT([pyatspi], [0.1.7], [accessibility-atspi@lists.linux-foundation.org])
AC_CONFIG_AUX_DIR(config)
LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/accessible.py new/pyatspi-0.1.7/pyatspi/accessible.py
--- old/pyatspi-0.1.6/pyatspi/accessible.py 2010-02-08 17:27:59.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/accessible.py 2010-02-12 03:26:54.000000000 +0100
@@ -248,7 +248,7 @@
or raises a NotImplemented error if the given interface
is not supported.
"""
- if interface in self.interfaces or interface == "org.freedesktop.atspi.Collection":
+ if interface in self.interfaces or interface == "org.a11y.atspi.Collection":
return self._acc_factory (self.app_name, self.acc_path, interface,
dbus_object=self._dbus_object)
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/appevent.py new/pyatspi-0.1.7/pyatspi/appevent.py
--- old/pyatspi-0.1.6/pyatspi/appevent.py 2010-02-04 01:59:06.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/appevent.py 2010-02-12 03:26:54.000000000 +0100
@@ -103,23 +103,23 @@
#------------------------------------------------------------------------------
_interface_to_klass = {
- "org.freedesktop.atspi.Event.Object":"object",
- "org.freedesktop.atspi.Event.Window":"window",
- "org.freedesktop.atspi.Event.Mouse":"mouse",
- "org.freedesktop.atspi.Event.Keyboard":"keyboard",
- "org.freedesktop.atspi.Event.Terminal":"terminal",
- "org.freedesktop.atspi.Event.Document":"document",
- "org.freedesktop.atspi.Event.Focus":"focus",
+ "org.a11y.atspi.Event.Object":"object",
+ "org.a11y.atspi.Event.Window":"window",
+ "org.a11y.atspi.Event.Mouse":"mouse",
+ "org.a11y.atspi.Event.Keyboard":"keyboard",
+ "org.a11y.atspi.Event.Terminal":"terminal",
+ "org.a11y.atspi.Event.Document":"document",
+ "org.a11y.atspi.Event.Focus":"focus",
}
_klass_to_interface = {
- "object":"org.freedesktop.atspi.Event.Object",
- "window":"org.freedesktop.atspi.Event.Window",
- "mouse":"org.freedesktop.atspi.Event.Mouse",
- "keyboard":"org.freedesktop.atspi.Event.Keyboard",
- "terminal":"org.freedesktop.atspi.Event.Terminal",
- "document":"org.freedesktop.atspi.Event.Document",
- "focus":"org.freedesktop.atspi.Event.Focus",
+ "object":"org.a11y.atspi.Event.Object",
+ "window":"org.a11y.atspi.Event.Window",
+ "mouse":"org.a11y.atspi.Event.Mouse",
+ "keyboard":"org.a11y.atspi.Event.Keyboard",
+ "terminal":"org.a11y.atspi.Event.Terminal",
+ "document":"org.a11y.atspi.Event.Document",
+ "focus":"org.a11y.atspi.Event.Focus",
}
#------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/cache.py new/pyatspi-0.1.7/pyatspi/cache.py
--- old/pyatspi-0.1.6/pyatspi/cache.py 2010-02-03 10:04:35.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/cache.py 2010-02-12 03:26:54.000000000 +0100
@@ -26,8 +26,8 @@
]
_ATSPI_CACHE_PATH = '/org/at_spi/cache'
-_ATSPI_CACHE_INTERFACE = 'org.freedesktop.atspi.Cache'
-_ATSPI_EVENT_OBJECT_INTERFACE = "org.freedesktop.atspi.Event.Object"
+_ATSPI_CACHE_INTERFACE = 'org.a11y.atspi.Cache'
+_ATSPI_EVENT_OBJECT_INTERFACE = "org.a11y.atspi.Event.Object"
#------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/deviceevent.py new/pyatspi-0.1.7/pyatspi/deviceevent.py
--- old/pyatspi-0.1.6/pyatspi/deviceevent.py 2010-02-02 22:31:50.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/deviceevent.py 2010-02-12 03:26:54.000000000 +0100
@@ -433,7 +433,7 @@
def _get_unique_path (self):
KeyboardDeviceEventListener._next_listener_id += 1
- return "/org/freedesktop/atspi/keyeventlistener/%d" % (KeyboardDeviceEventListener._next_listener_id,)
+ return "/org/a11y/atspi/keyeventlistener/%d" % (KeyboardDeviceEventListener._next_listener_id,)
def __init__(self, registry, synchronous, preemptive, global_):
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/interfaces.py new/pyatspi-0.1.7/pyatspi/interfaces.py
--- old/pyatspi-0.1.6/pyatspi/interfaces.py 2010-01-22 10:13:38.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/interfaces.py 2010-02-12 03:26:54.000000000 +0100
@@ -12,33 +12,33 @@
#along with this program; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-ATSPI_ACCESSIBLE = 'org.freedesktop.atspi.Accessible'
-ATSPI_ACTION = 'org.freedesktop.atspi.Action'
-ATSPI_APPLICATION = 'org.freedesktop.atspi.Application'
-ATSPI_COMPONENT = 'org.freedesktop.atspi.Component'
-ATSPI_COLLECTION = 'org.freedesktop.atspi.Collection'
-ATSPI_DESKTOP = 'org.freedesktop.atspi.Desktop'
-ATSPI_DOCUMENT = 'org.freedesktop.atspi.Document'
-ATSPI_EDITABLE_TEXT = 'org.freedesktop.atspi.EditableText'
-ATSPI_HYPERLINK = 'org.freedesktop.atspi.Hyperlink'
-ATSPI_HYPERTEXT = 'org.freedesktop.atspi.Hypertext'
-ATSPI_IMAGE = 'org.freedesktop.atspi.Image'
-ATSPI_LOGIN_HELPER = 'org.freedesktop.atspi.LoginHelper'
-ATSPI_SELECTION = 'org.freedesktop.atspi.Selection'
-ATSPI_SELECTOR = 'org.freedesktop.atspi.Selector'
-ATSPI_STREAMABLE_CONTENT = 'org.freedesktop.atspi.StreamableContent'
-ATSPI_TABLE = 'org.freedesktop.atspi.Table'
-ATSPI_TEXT = 'org.freedesktop.atspi.Text'
-ATSPI_VALUE = 'org.freedesktop.atspi.Value'
+ATSPI_ACCESSIBLE = 'org.a11y.atspi.Accessible'
+ATSPI_ACTION = 'org.a11y.atspi.Action'
+ATSPI_APPLICATION = 'org.a11y.atspi.Application'
+ATSPI_COMPONENT = 'org.a11y.atspi.Component'
+ATSPI_COLLECTION = 'org.a11y.atspi.Collection'
+ATSPI_DESKTOP = 'org.a11y.atspi.Desktop'
+ATSPI_DOCUMENT = 'org.a11y.atspi.Document'
+ATSPI_EDITABLE_TEXT = 'org.a11y.atspi.EditableText'
+ATSPI_HYPERLINK = 'org.a11y.atspi.Hyperlink'
+ATSPI_HYPERTEXT = 'org.a11y.atspi.Hypertext'
+ATSPI_IMAGE = 'org.a11y.atspi.Image'
+ATSPI_LOGIN_HELPER = 'org.a11y.atspi.LoginHelper'
+ATSPI_SELECTION = 'org.a11y.atspi.Selection'
+ATSPI_SELECTOR = 'org.a11y.atspi.Selector'
+ATSPI_STREAMABLE_CONTENT = 'org.a11y.atspi.StreamableContent'
+ATSPI_TABLE = 'org.a11y.atspi.Table'
+ATSPI_TEXT = 'org.a11y.atspi.Text'
+ATSPI_VALUE = 'org.a11y.atspi.Value'
-ATSPI_REGISTRY_INTERFACE = 'org.freedesktop.atspi.Registry'
-ATSPI_REGISTRY_PATH = '/org/freedesktop/atspi/registry'
-ATSPI_REGISTRY_NAME = 'org.freedesktop.atspi.Registry'
+ATSPI_REGISTRY_INTERFACE = 'org.a11y.atspi.Registry'
+ATSPI_REGISTRY_PATH = '/org/a11y/atspi/registry'
+ATSPI_REGISTRY_NAME = 'org.a11y.atspi.Registry'
-ATSPI_ROOT_PATH = '/org/freedesktop/atspi/accessible/root'
-ATSPI_NULL_PATH = '/org/freedesktop/atspi/null'
+ATSPI_ROOT_PATH = '/org/a11y/atspi/accessible/root'
+ATSPI_NULL_PATH = '/org/a11y/atspi/null'
-ATSPI_DEVICE_EVENT_LISTENER_INTERFACE = 'org.freedesktop.atspi.DeviceEventListener'
-ATSPI_DEVICE_EVENT_CONTROLLER_INTERFACE = 'org.freedesktop.atspi.DeviceEventController'
-ATSPI_DEVICE_EVENT_CONTROLLER_PATH = '/org/freedesktop/atspi/registry/deviceeventcontroller'
-ATSPI_DEVICE_EVENT_CONTROLLER_NAME = 'org.freedesktop.atspi.Registry'
+ATSPI_DEVICE_EVENT_LISTENER_INTERFACE = 'org.a11y.atspi.DeviceEventListener'
+ATSPI_DEVICE_EVENT_CONTROLLER_INTERFACE = 'org.a11y.atspi.DeviceEventController'
+ATSPI_DEVICE_EVENT_CONTROLLER_PATH = '/org/a11y/atspi/registry/deviceeventcontroller'
+ATSPI_DEVICE_EVENT_CONTROLLER_NAME = 'org.a11y.atspi.Registry'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/registry.py new/pyatspi-0.1.7/pyatspi/registry.py
--- old/pyatspi-0.1.6/pyatspi/registry.py 2010-02-02 22:25:58.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/registry.py 2010-02-12 05:22:27.000000000 +0100
@@ -130,7 +130,7 @@
if app_name:
self.device_event_register = _NullDeviceEventRegister()
- seld.app_event_register = _NullApplicationEventRegister()
+ self.app_event_register = _NullApplicationEventRegister()
name = _bus_object.GetNameOwner (app_name)
self.desktop = factory (name, _ATSPI_ROOT_PATH, _ATSPI_DESKTOP)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-0.1.6/pyatspi/utils.py new/pyatspi-0.1.7/pyatspi/utils.py
--- old/pyatspi-0.1.6/pyatspi/utils.py 2010-01-22 09:57:52.000000000 +0100
+++ new/pyatspi-0.1.7/pyatspi/utils.py 2010-02-12 03:26:54.000000000 +0100
@@ -83,7 +83,7 @@
@rtype: string
@raise AttributeError: When the parameter does not provide typecode info
"""
- return obj._dbus_interface.lstrip("org.freedesktop.atspi.")
+ return obj._dbus_interface.lstrip("org.a11y.atspi.")
def listInterfaces(obj):
"""
@@ -99,7 +99,7 @@
@raise AttributeError: If the object provide does not implement
queryInterface
"""
- return [itf.lstrip("org.freedesktop.atspi.") for itf in obj.interfaces]
+ return [itf.lstrip("org.a11y.atspi.") for itf in obj.interfaces]
def stringToConst(prefix, suffix):
"""
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org