commit python-atspi for openSUSE:Factory
Hello community, here is the log from the commit of package python-atspi for openSUSE:Factory checked in at Fri Sep 9 11:51:29 CEST 2011. -------- --- python-atspi/python-atspi.changes 2011-07-26 09:33:24.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-atspi/python-atspi.changes 2011-09-02 02:41:13.000000000 +0200 @@ -1,0 +2,31 @@ +Wed Aug 31 13:31:10 CEST 2011 - vuntz@opensuse.org + +- Update to version 2.1.90: + + Fix getTextBeforeOffset. + + Remove legacy pygtk dependency. +- Drop python-atspi-quotes.patch: fixed upstream. +- Add gobject-introspection BuildRequires so that we can have + automatic typelib() Requires. +- Remove libatspi0 Requires: this is replaced by an automatic + typelib() Requires. +- Remove python-gtk Requires: this is not needed anymore. +- Remove python-xlib Requires: the Xlib module is not used at all. +- Replace python-gobject2 Requires with python-gobject as the + module requires the introspection-powered python-gobject. +- Remove gconf2 Recommends: it was only needed to support relocated + pyatspi-corba, and this support is gone since 2.1.5. + +------------------------------------------------------------------- +Thu Aug 18 20:57:34 UTC 2011 - dimstar@opensuse.org + +- Add python-atspi-quotes.patch: Add back an accidentally dropped + closing quote. Patch taken from git, commit 890bd7. + +------------------------------------------------------------------- +Tue Aug 16 04:32:11 CEST 2011 - dimstar@opensuse.org + +- Update to version 2.1.5: + + Remove support for relocated pyatspi-corba. + + Fix getTextBeforeOffset. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- pyatspi-2.1.4.tar.bz2 New: ---- pyatspi-2.1.90.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-atspi.spec ++++++ --- /var/tmp/diff_new_pack.GlLoyp/_old 2011-09-09 11:51:24.000000000 +0200 +++ /var/tmp/diff_new_pack.GlLoyp/_new 2011-09-09 11:51:24.000000000 +0200 @@ -19,7 +19,7 @@ Name: python-atspi %define _name pyatspi -Version: 2.1.4 +Version: 2.1.90 Release: 1 Summary: Assistive Technology Service Provider Interface - Python bindings License: LGPLv2.0 @@ -27,19 +27,14 @@ Url: http://www.gnome.org/ Source0: http://download.gnome.org/sources/pyatspi/2.1/%{_name}-%{version}.tar.bz2 BuildRequires: fdupes +# Needed to have typelib() Requires. +BuildRequires: gobject-introspection BuildRequires: pkgconfig(pygobject-2.0) Requires: dbus-1-python -# This is needed to have working introspection. -Requires: libatspi0 -Requires: python-gobject2 -Requires: python-gtk -Requires: python-xlib +Requires: python-gobject # The bindings are really useful only if the at-spi registry is running. But # it's not a strict runtime dependency. Recommends: at-spi2-core -# gconftool-2 is used to check whether corba-based stack should be used. So we -# prefer to have it installed, but if it's not, we'll use the dbus-based stack. -Recommends: gconf2 # Old versions of at-spi 1.x provided the same files Conflicts: at-spi < 1.29.3 # Virtual package, so that apps can depend on it, without having to know which ++++++ pyatspi-2.1.4.tar.bz2 -> pyatspi-2.1.90.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.1.4/NEWS new/pyatspi-2.1.90/NEWS --- old/pyatspi-2.1.4/NEWS 2011-07-25 23:31:07.000000000 +0200 +++ new/pyatspi-2.1.90/NEWS 2011-08-29 23:53:10.000000000 +0200 @@ -1,3 +1,15 @@ +What's new in pyatspi 2.1.90: + +* Fix getTextBeforeOffset. + +* Remove legacy pygtk dependency. + +What's new in pyatspi 2.1.5: + +* Remove support for relocated pyatspi-corba. + +* Fix getTextBeforeOffset. + What's new in pyatspi 2.1.4: * Update to handle libatspi API changes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.1.4/configure new/pyatspi-2.1.90/configure --- old/pyatspi-2.1.4/configure 2011-07-26 00:29:52.000000000 +0200 +++ new/pyatspi-2.1.90/configure 2011-08-30 00:13:21.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for pyatspi 2.1.4. +# Generated by GNU Autoconf 2.68 for pyatspi 2.1.90. # # Report bugs to <accessibility-atspi@lists.linux-foundation.org>. # @@ -709,8 +709,8 @@ # Identity of this package. PACKAGE_NAME='pyatspi' PACKAGE_TARNAME='pyatspi' -PACKAGE_VERSION='2.1.4' -PACKAGE_STRING='pyatspi 2.1.4' +PACKAGE_VERSION='2.1.90' +PACKAGE_STRING='pyatspi 2.1.90' PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org' PACKAGE_URL='' @@ -1491,7 +1491,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 2.1.4 to adapt to many kinds of systems. +\`configure' configures pyatspi 2.1.90 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1565,7 +1565,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pyatspi 2.1.4:";; + short | recursive ) echo "Configuration of pyatspi 2.1.90:";; esac cat <<\_ACEOF @@ -1699,7 +1699,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pyatspi configure 2.1.4 +pyatspi configure 2.1.90 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1977,7 +1977,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 2.1.4, which was +It was created by pyatspi $as_me 2.1.90, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2804,7 +2804,7 @@ # Define the identity of the package. PACKAGE='pyatspi' - VERSION='2.1.4' + VERSION='2.1.90' cat >>confdefs.h <<_ACEOF @@ -12910,7 +12910,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 2.1.4, which was +This file was extended by pyatspi $as_me 2.1.90, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12976,7 +12976,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pyatspi config.status 2.1.4 +pyatspi config.status 2.1.90 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.1.4/configure.ac new/pyatspi-2.1.90/configure.ac --- old/pyatspi-2.1.4/configure.ac 2011-07-26 00:29:45.000000000 +0200 +++ new/pyatspi-2.1.90/configure.ac 2011-08-30 00:13:15.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([pyatspi], [2.1.4], [accessibility-atspi@lists.linux-foundation.org]) +AC_INIT([pyatspi], [2.1.90], [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-2.1.4/pyatspi/__init__.py new/pyatspi-2.1.90/pyatspi/__init__.py --- old/pyatspi-2.1.4/pyatspi/__init__.py 2011-04-01 01:17:26.000000000 +0200 +++ new/pyatspi-2.1.90/pyatspi/__init__.py 2011-07-28 21:41:22.000000000 +0200 @@ -12,31 +12,14 @@ #along with this program; if not, write to the Free Software #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# Do not replace yourself if you've been imported explicitly by name -# already. -# -import sys -if not sys.modules.has_key('pyatspi_dbus'): - try: - import subprocess - o = subprocess.check_output (("gconftool-2", "--get", "/desktop/gnome/interface/at-spi-corba")) - useCorba = (o == "true\n") - except: - useCorba = False -else: - useCorba = False - -if useCorba: - import pyatspi_corba - sys.modules['pyatspi'] = pyatspi_corba -else: - __version__ = (1, 9, 0) +__version__ = (1, 9, 0) - from gi.repository import Atspi +from gi.repository import Atspi - from Accessibility import * +from Accessibility import * - #This is a re-creation of the namespace pollution implemented - #by PyORBit. - import Accessibility - sys.modules['Accessibility'] = Accessibility +#This is a re-creation of the namespace pollution implemented +#by PyORBit. +import sys +import Accessibility +sys.modules['Accessibility'] = Accessibility diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.1.4/pyatspi/registry.py new/pyatspi-2.1.90/pyatspi/registry.py --- old/pyatspi-2.1.4/pyatspi/registry.py 2011-07-10 05:38:30.000000000 +0200 +++ new/pyatspi-2.1.90/pyatspi/registry.py 2011-08-25 20:15:43.000000000 +0200 @@ -28,7 +28,6 @@ "set_default_registry"] import os as _os -import gobject from gi.repository import Atspi from gi.repository import GObject import time @@ -80,7 +79,7 @@ self.app_event_register = None self.desktop = None - self.main_loop = gobject.MainLoop() + self.main_loop = GObject.MainLoop() def __call__(self): """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.1.4/pyatspi/text.py new/pyatspi-2.1.90/pyatspi/text.py --- old/pyatspi-2.1.4/pyatspi/text.py 2011-04-26 00:37:28.000000000 +0200 +++ new/pyatspi-2.1.90/pyatspi/text.py 2011-08-16 07:10:49.000000000 +0200 @@ -467,7 +467,6 @@ @return a string which is a substring of the text content of the object, delimited by the specified boundary condition. """ - func = self.get_dbus_method("GetTextBeforeOffset", dbus_interface=ATSPI_TEXT) ret = exwrap(Atspi.Text.get_text_before_offset, self.obj, offset, type) return textRangeToList(ret) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de