Hello community, here is the log from the commit of package python-atspi for openSUSE:Factory checked in at 2013-06-28 18:56:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-atspi (Old) and /work/SRC/openSUSE:Factory/.python-atspi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-atspi" Changes: -------- --- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes 2013-04-22 14:16:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-atspi.new/python-atspi.changes 2013-06-28 18:56:08.000000000 +0200 @@ -1,0 +2,14 @@ +Fri Jun 21 19:21:27 UTC 2013 - [email protected] + +- Update to version 2.9.3: + + Add some examples (bgo#701063). + + Removed setting of AT_SPI_CLIENT, as it is no longer used as of + at-spi2-core 2.9.3. + +------------------------------------------------------------------- +Tue May 28 19:55:10 UTC 2013 - [email protected] + +- Update to version 2.9.2: + + Update for libatspi API changes (bgo#700243). + +------------------------------------------------------------------- python3-atspi.changes: same change Old: ---- pyatspi-2.8.0.tar.xz New: ---- pyatspi-2.9.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-atspi.spec ++++++ --- /var/tmp/diff_new_pack.PJzjR5/_old 2013-06-28 18:56:09.000000000 +0200 +++ /var/tmp/diff_new_pack.PJzjR5/_new 2013-06-28 18:56:09.000000000 +0200 @@ -36,13 +36,13 @@ Name: python-atspi %define _name pyatspi -Version: 2.8.0 +Version: 2.9.3 Release: 0 Summary: Assistive Technology Service Provider Interface - Python bindings License: LGPL-2.0 Group: Development/Libraries/Python Url: http://www.gnome.org/ -Source0: http://download.gnome.org/sources/pyatspi/2.8/%{_name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/pyatspi/2.9/%{_name}-%{version}.tar.xz BuildRequires: fdupes # Needed to have typelib() Requires. BuildRequires: gobject-introspection python3-atspi.spec: same change ++++++ pyatspi-2.8.0.tar.xz -> pyatspi-2.9.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/NEWS new/pyatspi-2.9.3/NEWS --- old/pyatspi-2.8.0/NEWS 2013-03-04 22:58:57.000000000 +0100 +++ new/pyatspi-2.9.3/NEWS 2013-06-17 23:04:19.000000000 +0200 @@ -1,3 +1,14 @@ +What's new in pyatspi 2.9.3: + +* Add some examples (Magdalen Berns, BGO#701063). + +* Removed setting of AT_SPI_CLIENT, as it is no longer used as of + at-spi2-core 2.9.3. + +What's new in pyatspi 2.9.2: + +* Update for libatspi API changes (BGO#700243). + What's new in pyatspi 2.7.91: * Add objectLocale property (BGO#694368). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/aclocal.m4 new/pyatspi-2.9.3/aclocal.m4 --- old/pyatspi-2.8.0/aclocal.m4 2013-03-25 23:24:42.000000000 +0100 +++ new/pyatspi-2.9.3/aclocal.m4 2013-06-17 23:32:43.000000000 +0200 @@ -8634,7 +8634,8 @@ # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) @@ -8680,7 +8681,8 @@ pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried @@ -8728,9 +8730,9 @@ AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -8764,6 +8766,46 @@ fi[]dnl ])# PKG_CHECK_MODULES + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + # Copyright (C) 2002-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/configure new/pyatspi-2.9.3/configure --- old/pyatspi-2.8.0/configure 2013-03-25 23:24:44.000000000 +0100 +++ new/pyatspi-2.9.3/configure 2013-06-17 23:32:44.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pyatspi 2.8.0. +# Generated by GNU Autoconf 2.69 for pyatspi 2.9.3. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='pyatspi' PACKAGE_TARNAME='pyatspi' -PACKAGE_VERSION='2.8.0' -PACKAGE_STRING='pyatspi 2.8.0' +PACKAGE_VERSION='2.9.3' +PACKAGE_STRING='pyatspi 2.9.3' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1376,7 +1376,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.8.0 to adapt to many kinds of systems. +\`configure' configures pyatspi 2.9.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1450,7 +1450,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pyatspi 2.8.0:";; + short | recursive ) echo "Configuration of pyatspi 2.9.3:";; esac cat <<\_ACEOF @@ -1592,7 +1592,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pyatspi configure 2.8.0 +pyatspi configure 2.9.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1870,7 +1870,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.8.0, which was +It was created by pyatspi $as_me 2.9.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2717,7 +2717,7 @@ # Define the identity of the package. PACKAGE='pyatspi' - VERSION='2.8.0' + VERSION='2.9.3' cat >>confdefs.h <<_ACEOF @@ -11569,6 +11569,7 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. @@ -11759,6 +11760,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -11775,6 +11777,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -11794,9 +11797,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1` + DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1` else - DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1` + DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_PKG_ERRORS" >&5 @@ -11851,6 +11854,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -11867,6 +11871,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -11886,9 +11891,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1` else - GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 @@ -11943,6 +11948,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -11959,6 +11965,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -11978,9 +11985,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= 0.7.0" 2>&1` + DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 >= 0.7.0" 2>&1` else - DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= 0.7.0" 2>&1` + DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 >= 0.7.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_GLIB_PKG_ERRORS" >&5 @@ -12035,6 +12042,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12051,6 +12059,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12070,9 +12079,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.0.0" 2>&1` + GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1` else - GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.0.0" 2>&1` + GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GOBJ_PKG_ERRORS" >&5 @@ -12127,6 +12136,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12143,6 +12153,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12162,9 +12173,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0 >= 2.0.0" 2>&1` + GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= 2.0.0" 2>&1` else - GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0 >= 2.0.0" 2>&1` + GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= 2.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GMODULE_PKG_ERRORS" >&5 @@ -12219,6 +12230,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIB_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12235,6 +12247,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIB_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12254,9 +12267,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - LIB_XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.0.0" 2>&1` + LIB_XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.0.0" 2>&1` else - LIB_XML_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.0.0" 2>&1` + LIB_XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIB_XML_PKG_ERRORS" >&5 @@ -12311,6 +12324,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 2.1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12327,6 +12341,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 2.1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12346,9 +12361,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atk >= 2.1.0" 2>&1` + ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atk >= 2.1.0" 2>&1` else - ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors "atk >= 2.1.0" 2>&1` + ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atk >= 2.1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$ATK_PKG_ERRORS" >&5 @@ -12403,6 +12418,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.10.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12419,6 +12435,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.10.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12438,9 +12455,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.10.0" 2>&1` + GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.10.0" 2>&1` else - GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.10.0" 2>&1` + GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.10.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 @@ -12496,6 +12513,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PYGOBJ_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= 2.90.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12512,6 +12530,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PYGOBJ_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= 2.90.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12531,9 +12550,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - PYGOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pygobject-3.0 >= 2.90.1" 2>&1` + PYGOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= 2.90.1" 2>&1` else - PYGOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors "pygobject-3.0 >= 2.90.1" 2>&1` + PYGOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= 2.90.1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PYGOBJ_PKG_ERRORS" >&5 @@ -13809,7 +13828,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.8.0, which was +This file was extended by pyatspi $as_me 2.9.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13875,7 +13894,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.8.0 +pyatspi config.status 2.9.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/configure.ac new/pyatspi-2.9.3/configure.ac --- old/pyatspi-2.8.0/configure.ac 2013-03-25 23:24:13.000000000 +0100 +++ new/pyatspi-2.9.3/configure.ac 2013-06-17 23:32:39.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([pyatspi], [2.8.0], [[email protected]]) +AC_INIT([pyatspi], [2.9.3], [[email protected]]) AC_CONFIG_AUX_DIR(config) # The version of python used is determined by the executable pointed to by the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/examples/Makefile.am new/pyatspi-2.9.3/examples/Makefile.am --- old/pyatspi-2.8.0/examples/Makefile.am 2013-02-26 01:45:36.000000000 +0100 +++ new/pyatspi-2.9.3/examples/Makefile.am 2013-06-10 16:38:36.000000000 +0200 @@ -1,5 +1,8 @@ noinst_SCRIPTS = magFocusTracker.py -EXTRA_DIST = magFocusTracker.py +EXTRA_DIST = magFocusTracker.py \ + caret.py \ + runningappcheck.py \ + keypress.py pyatspidir=$(bindir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/examples/Makefile.in new/pyatspi-2.9.3/examples/Makefile.in --- old/pyatspi-2.8.0/examples/Makefile.in 2013-03-25 23:24:43.000000000 +0100 +++ new/pyatspi-2.9.3/examples/Makefile.in 2013-06-17 23:32:44.000000000 +0200 @@ -225,7 +225,11 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = magFocusTracker.py -EXTRA_DIST = magFocusTracker.py +EXTRA_DIST = magFocusTracker.py \ + caret.py \ + runningappcheck.py \ + keypress.py + pyatspidir = $(bindir) all: all-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/examples/caret.py new/pyatspi-2.9.3/examples/caret.py --- old/pyatspi-2.8.0/examples/caret.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pyatspi-2.9.3/examples/caret.py 2013-06-03 18:50:01.000000000 +0200 @@ -0,0 +1,43 @@ +#!/usr/bin/python +# +# caret.py +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., Franklin Street, Fifth Floor, +# Boston MA 02110-1301 USA. +# +# This example demonstrates how the pyatspi2 text interface can be used. + +import pyatspi + +def on_caret_move(event): + if event.source and event.source.getRole() == pyatspi.ROLE_TERMINAL: + return + + print_text_at_offset(event.source, event.detail1) + +def print_text_at_offset(obj, offset): + try: + text = obj.queryText() + except: + return + else: + char, char_start_offset, char_end_offset = text.getTextAtOffset(offset, pyatspi.TEXT_BOUNDARY_CHAR) + word, word_start_offset, word_end_offset = text.getTextAtOffset(offset, pyatspi.TEXT_BOUNDARY_WORD_START) + sentence, sentence_start_offset, sentence_end_offset = text.getTextAtOffset(offset, pyatspi.TEXT_BOUNDARY_SENTENCE_START) + line, line_start_offset, line_end_offset = text.getTextAtOffset(offset,pyatspi.TEXT_BOUNDARY_LINE_START) + print("\n\nChar:%s \nWord:%s \nSentence:%s Line:%s " % (char, word, sentence, line)) + +pyatspi.Registry.registerEventListener(on_caret_move, "object:text-caret-moved") +pyatspi.Registry.start() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/examples/keypress.py new/pyatspi-2.9.3/examples/keypress.py --- old/pyatspi-2.8.0/examples/keypress.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pyatspi-2.9.3/examples/keypress.py 2013-06-10 16:38:09.000000000 +0200 @@ -0,0 +1,56 @@ +#!/usr/bin/python +# +# keypress.py +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., Franklin Street, Fifth Floor, +# Boston MA 02110-1301 USA. +# +# An pyatspi2 example to demonstate a client listener for +# Keypresses and releases in pyatspi2 + +import pyatspi + +# Callback to print the active window on key press amd filter out the key release +def on_key_input(event): + + if event.type == pyatspi.KEY_RELEASED_EVENT: + return False + if event.event_string=='F4': + pyatspi.Registry.stop() + return True + if event.event_string =='F3': + print_tree(0, active_window()) + return True + help_message() + +def active_window(): + desktop = pyatspi.Registry.getDesktop(0) + for app in desktop: + for window in app: + if window.getState().contains(pyatspi.STATE_ACTIVE): + return window + +# Print hierarchy tree. +def print_tree(level,root): + print ('%s-> %s' % (' ' * level, root)) + for tree in root: + print_tree(level+1, tree) + +def help_message(): + print('Press F3 to print the accessible hierarchy for the active window.\nPress F4 to exit.') + +help_message() +pyatspi.Registry.registerKeystrokeListener(on_key_input, kind=(pyatspi.KEY_PRESSED_EVENT, pyatspi.KEY_RELEASED_EVENT)) +pyatspi.Registry.start() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/examples/runningappcheck.py new/pyatspi-2.9.3/examples/runningappcheck.py --- old/pyatspi-2.8.0/examples/runningappcheck.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pyatspi-2.9.3/examples/runningappcheck.py 2013-06-05 18:33:31.000000000 +0200 @@ -0,0 +1,47 @@ +#!/usr/bin/python +# +# runningappcheck.py +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., Franklin Street, Fifth Floor, +# Boston MA 02110-1301 USA. +# +# A pyatspi2 example to demonstrate how to find the number of accessible +# applications currently running on the desktop. + +import pyatspi + +def on_key_input(event): + if event.type == pyatspi.KEY_RELEASED_EVENT: + return False + if event.event_string=='F4': + pyatspi.Registry.stop() + return True + if event.event_string =='F5': + name_apps() + return True + help_message() + +def name_apps(): + desktop = pyatspi.Registry.getDesktop(0) + print ('there are %s running applications' % (desktop.childCount)) + for app in desktop: + print app.name + +def help_message(): + print('Press F5 to print the running apps.\nPress F4 to exit.') + +help_message() +pyatspi.Registry.registerKeystrokeListener(on_key_input, kind=(pyatspi.KEY_PRESSED_EVENT, pyatspi.KEY_RELEASED_EVENT)) +pyatspi.Registry.start() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/pyatspi/Accessibility.py new/pyatspi-2.9.3/pyatspi/Accessibility.py --- old/pyatspi-2.8.0/pyatspi/Accessibility.py 2013-02-28 16:24:03.000000000 +0100 +++ new/pyatspi-2.9.3/pyatspi/Accessibility.py 2013-05-14 18:29:48.000000000 +0200 @@ -138,18 +138,18 @@ Atspi.Accessible.toolkitVersion = property(fget=Atspi.Accessible.get_toolkit_version) Atspi.Accessible.atspiVersion = property(fget=Atspi.Accessible.get_atspi_version) -Atspi.Accessible.queryAction = lambda x: Action(getInterface(Atspi.Accessible.get_action, x)) -Atspi.Accessible.queryCollection = lambda x: Collection(getInterface(Atspi.Accessible.get_collection, x)) -Atspi.Accessible.queryComponent = lambda x: Component(getInterface(Atspi.Accessible.get_component, x)) -Atspi.Accessible.queryDocument = lambda x: Document(getInterface(Atspi.Accessible.get_document, x)) -Atspi.Accessible.queryEditableText = lambda x: EditableText(getInterface(Atspi.Accessible.get_editable_text, x)) +Atspi.Accessible.queryAction = lambda x: Action(getInterface(Atspi.Accessible.get_action_iface, x)) +Atspi.Accessible.queryCollection = lambda x: Collection(getInterface(Atspi.Accessible.get_collection_iface, x)) +Atspi.Accessible.queryComponent = lambda x: Component(getInterface(Atspi.Accessible.get_component_iface, x)) +Atspi.Accessible.queryDocument = lambda x: Document(getInterface(Atspi.Accessible.get_document_iface, x)) +Atspi.Accessible.queryEditableText = lambda x: EditableText(getInterface(Atspi.Accessible.get_editable_text_iface, x)) Atspi.Accessible.queryHyperlink = lambda x: getInterface(Atspi.Accessible.get_hyperlink, x) -Atspi.Accessible.queryHypertext = lambda x: Hypertext(getInterface(Atspi.Accessible.get_hypertext, x)) -Atspi.Accessible.queryImage = lambda x: Image(getInterface(Atspi.Accessible.get_image, x)) -Atspi.Accessible.querySelection = lambda x: Selection(getInterface(Atspi.Accessible.get_selection, x)) -Atspi.Accessible.queryTable = lambda x: Table(getInterface(Atspi.Accessible.get_table, x)) -Atspi.Accessible.queryText = lambda x: Text(getInterface(Atspi.Accessible.get_text, x)) -Atspi.Accessible.queryValue = lambda x: Value(getInterface(Atspi.Accessible.get_value, x)) +Atspi.Accessible.queryHypertext = lambda x: Hypertext(getInterface(Atspi.Accessible.get_hypertext_iface, x)) +Atspi.Accessible.queryImage = lambda x: Image(getInterface(Atspi.Accessible.get_image_iface, x)) +Atspi.Accessible.querySelection = lambda x: Selection(getInterface(Atspi.Accessible.get_selection_iface, x)) +Atspi.Accessible.queryTable = lambda x: Table(getInterface(Atspi.Accessible.get_table_iface, x)) +Atspi.Accessible.queryText = lambda x: Text(getInterface(Atspi.Accessible.get_text_iface, x)) +Atspi.Accessible.queryValue = lambda x: Value(getInterface(Atspi.Accessible.get_value_iface, x)) # Doing this here since otherwise we'd have import recursion interface.queryAction = lambda x: Action(getInterface(Atspi.Accessible.get_action, x.obj)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/pyatspi/action.py new/pyatspi-2.9.3/pyatspi/action.py --- old/pyatspi-2.8.0/pyatspi/action.py 2013-01-07 23:57:16.000000000 +0100 +++ new/pyatspi-2.9.3/pyatspi/action.py 2013-05-22 23:26:40.000000000 +0200 @@ -66,7 +66,7 @@ @return : a string containing the description of the specified action. """ - return Atspi.Action.get_description(self.obj, index) + return Atspi.Action.get_action_description(self.obj, index) def getKeyBinding(self, index): """ @@ -89,7 +89,7 @@ rather than the result of invoking the action. @return : a string containing the name of the specified action. """ - return Atspi.Action.get_name(self.obj, index) + return Atspi.Action.get_action_name(self.obj, index) def getLocalizedName(self, index): """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/pyatspi/document.py new/pyatspi-2.9.3/pyatspi/document.py --- old/pyatspi-2.8.0/pyatspi/document.py 2013-01-07 23:57:16.000000000 +0100 +++ new/pyatspi-2.9.3/pyatspi/document.py 2013-05-22 23:26:40.000000000 +0200 @@ -45,7 +45,7 @@ attribute, or an empty string if the attribute is unspecified for the object. """ - return Atspi.Document.get_attribute_value(self.obj, key) + return Atspi.Document.get_document_attribute_value(self.obj, key) def getAttributes(self): """ @@ -55,7 +55,7 @@ @return an AttributeSet containing the attributes of the document, as name-value pairs. """ - ret = Atspi.Document.get_attributes(self.obj) + ret = Atspi.Document.get_document_attributes(self.obj) return [key + ':' + value for key, value in ret.items()] def getLocale(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/pyatspi/registry.py new/pyatspi-2.9.3/pyatspi/registry.py --- old/pyatspi-2.8.0/pyatspi/registry.py 2013-02-28 18:03:50.000000000 +0100 +++ new/pyatspi-2.9.3/pyatspi/registry.py 2013-06-17 22:32:07.000000000 +0200 @@ -111,9 +111,6 @@ self.has_implementations = True - # TODO: Move to libatspi - _os.environ["AT_SPI_CLIENT"] = "1" - self.async = False # not fully supported yet self.started = False self.event_listeners = dict() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.8.0/pyatspi/text.py new/pyatspi-2.9.3/pyatspi/text.py --- old/pyatspi-2.8.0/pyatspi/text.py 2013-01-07 23:57:16.000000000 +0100 +++ new/pyatspi-2.9.3/pyatspi/text.py 2013-05-22 23:26:40.000000000 +0200 @@ -190,7 +190,7 @@ @return the value of attribute (name-value pair) corresponding to "name", if defined. """ - return Atspi.Text.get_attribute_value(self.obj, offset, attributeName) + return Atspi.Text.get_text_attribute_value(self.obj, offset, attributeName) def getAttributes(self, offset): """ @@ -198,7 +198,7 @@ @return the attributes at offset, as a semicolon-delimited set of colon-delimited name-value pairs. """ - [attrs, startOffset, endOffset] = Atspi.Text.get_attributes(self.obj, offset) + [attrs, startOffset, endOffset] = Atspi.Text.get_text_attributes(self.obj, offset) arr = [key + ':' + value for key, value in attrs.items()] str = ';'.join (arr) return [str, startOffset, endOffset] -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
