Commit 239d24d64f494d47c4f818c2d9a2df26678df4a8

Authored by samuel thibault
2 parents 3363d5b3 71bbf1d9

Merge tag 'upstream/2.14.0'

Upstream version 2.14.0
Makefile.in
... ... @@ -83,8 +83,9 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 83 $(top_srcdir)/configure $(am__configure_deps) \
84 84 $(srcdir)/config.h.in $(srcdir)/atk-bridge-2.0.pc.in AUTHORS \
85 85 COPYING INSTALL NEWS README config/config.guess \
86   - config/config.sub config/install-sh config/missing \
87   - config/ltmain.sh $(top_srcdir)/config/config.guess \
  86 + config/config.sub config/depcomp config/install-sh \
  87 + config/missing config/ltmain.sh \
  88 + $(top_srcdir)/config/config.guess \
88 89 $(top_srcdir)/config/config.sub \
89 90 $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
90 91 $(top_srcdir)/config/missing
... ...
NEWS
1   -What's new in at-spi2-atk 2.12.1:
  1 +What's new in at-spi2-atk 2.13.4:
  2 +
  3 +* Fix typo in .pc file (bgo#721719).
  4 +
  5 +* Fix retrieving text attributes (bgo#731980).
  6 +
  7 +* Correctly remove the socket on exit (bgo#684076).
  8 +
  9 +What's new in at-spi2-atk 2.13.1:
  10 +
  11 +* Add an atexit handler to remove the D-Bus socket (bgo#684076).
  12 +
  13 +* Only send cache-related events for transients when explicitly requested.
  14 + Hopefully this will improve performance when we are flooded with them.
  15 + (bgo#728319).
2 16  
3   -* Clean up socket files and directories on exit (BGO#684076).
4   -
5 17 What's new in at-spi2-atk 2.11.92:
6 18  
7 19 * Bump minimum libdbus version needed, since we use a function
... ...
aclocal.m4
... ... @@ -20,221 +20,6 @@ You have another version of autoconf. It may work, but is not guaranteed to.
20 20 If you have problems, you may need to regenerate the build system entirely.
21 21 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 22  
23   -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
24   -# serial 1 (pkg-config-0.24)
25   -#
26   -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
27   -#
28   -# This program is free software; you can redistribute it and/or modify
29   -# it under the terms of the GNU General Public License as published by
30   -# the Free Software Foundation; either version 2 of the License, or
31   -# (at your option) any later version.
32   -#
33   -# This program is distributed in the hope that it will be useful, but
34   -# WITHOUT ANY WARRANTY; without even the implied warranty of
35   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36   -# General Public License for more details.
37   -#
38   -# You should have received a copy of the GNU General Public License
39   -# along with this program; if not, write to the Free Software
40   -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
41   -#
42   -# As a special exception to the GNU General Public License, if you
43   -# distribute this file as part of a program that contains a
44   -# configuration script generated by Autoconf, you may include it under
45   -# the same distribution terms that you use for the rest of that program.
46   -
47   -# PKG_PROG_PKG_CONFIG([MIN-VERSION])
48   -# ----------------------------------
49   -AC_DEFUN([PKG_PROG_PKG_CONFIG],
50   -[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
51   -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
52   -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
53   -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
54   -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
55   -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
56   -
57   -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
58   - AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
59   -fi
60   -if test -n "$PKG_CONFIG"; then
61   - _pkg_min_version=m4_default([$1], [0.9.0])
62   - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
63   - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
64   - AC_MSG_RESULT([yes])
65   - else
66   - AC_MSG_RESULT([no])
67   - PKG_CONFIG=""
68   - fi
69   -fi[]dnl
70   -])# PKG_PROG_PKG_CONFIG
71   -
72   -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
73   -#
74   -# Check to see whether a particular set of modules exists. Similar
75   -# to PKG_CHECK_MODULES(), but does not set variables or print errors.
76   -#
77   -# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
78   -# only at the first occurence in configure.ac, so if the first place
79   -# it's called might be skipped (such as if it is within an "if", you
80   -# have to call PKG_CHECK_EXISTS manually
81   -# --------------------------------------------------------------
82   -AC_DEFUN([PKG_CHECK_EXISTS],
83   -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
84   -if test -n "$PKG_CONFIG" && \
85   - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
86   - m4_default([$2], [:])
87   -m4_ifvaln([$3], [else
88   - $3])dnl
89   -fi])
90   -
91   -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
92   -# ---------------------------------------------
93   -m4_define([_PKG_CONFIG],
94   -[if test -n "$$1"; then
95   - pkg_cv_[]$1="$$1"
96   - elif test -n "$PKG_CONFIG"; then
97   - PKG_CHECK_EXISTS([$3],
98   - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
99   - test "x$?" != "x0" && pkg_failed=yes ],
100   - [pkg_failed=yes])
101   - else
102   - pkg_failed=untried
103   -fi[]dnl
104   -])# _PKG_CONFIG
105   -
106   -# _PKG_SHORT_ERRORS_SUPPORTED
107   -# -----------------------------
108   -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
109   -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
110   -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
111   - _pkg_short_errors_supported=yes
112   -else
113   - _pkg_short_errors_supported=no
114   -fi[]dnl
115   -])# _PKG_SHORT_ERRORS_SUPPORTED
116   -
117   -
118   -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
119   -# [ACTION-IF-NOT-FOUND])
120   -#
121   -#
122   -# Note that if there is a possibility the first call to
123   -# PKG_CHECK_MODULES might not happen, you should be sure to include an
124   -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
125   -#
126   -#
127   -# --------------------------------------------------------------
128   -AC_DEFUN([PKG_CHECK_MODULES],
129   -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
130   -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
131   -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
132   -
133   -pkg_failed=no
134   -AC_MSG_CHECKING([for $1])
135   -
136   -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
137   -_PKG_CONFIG([$1][_LIBS], [libs], [$2])
138   -
139   -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
140   -and $1[]_LIBS to avoid the need to call pkg-config.
141   -See the pkg-config man page for more details.])
142   -
143   -if test $pkg_failed = yes; then
144   - AC_MSG_RESULT([no])
145   - _PKG_SHORT_ERRORS_SUPPORTED
146   - if test $_pkg_short_errors_supported = yes; then
147   - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
148   - else
149   - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
150   - fi
151   - # Put the nasty error message in config.log where it belongs
152   - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
153   -
154   - m4_default([$4], [AC_MSG_ERROR(
155   -[Package requirements ($2) were not met:
156   -
157   -$$1_PKG_ERRORS
158   -
159   -Consider adjusting the PKG_CONFIG_PATH environment variable if you
160   -installed software in a non-standard prefix.
161   -
162   -_PKG_TEXT])[]dnl
163   - ])
164   -elif test $pkg_failed = untried; then
165   - AC_MSG_RESULT([no])
166   - m4_default([$4], [AC_MSG_FAILURE(
167   -[The pkg-config script could not be found or is too old. Make sure it
168   -is in your PATH or set the PKG_CONFIG environment variable to the full
169   -path to pkg-config.
170   -
171   -_PKG_TEXT
172   -
173   -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
174   - ])
175   -else
176   - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
177   - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
178   - AC_MSG_RESULT([yes])
179   - $3
180   -fi[]dnl
181   -])# PKG_CHECK_MODULES
182   -
183   -
184   -# PKG_INSTALLDIR(DIRECTORY)
185   -# -------------------------
186   -# Substitutes the variable pkgconfigdir as the location where a module
187   -# should install pkg-config .pc files. By default the directory is
188   -# $libdir/pkgconfig, but the default can be changed by passing
189   -# DIRECTORY. The user can override through the --with-pkgconfigdir
190   -# parameter.
191   -AC_DEFUN([PKG_INSTALLDIR],
192   -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
193   -m4_pushdef([pkg_description],
194   - [pkg-config installation directory @<:@]pkg_default[@:>@])
195   -AC_ARG_WITH([pkgconfigdir],
196   - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
197   - [with_pkgconfigdir=]pkg_default)
198   -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
199   -m4_popdef([pkg_default])
200   -m4_popdef([pkg_description])
201   -]) dnl PKG_INSTALLDIR
202   -
203   -
204   -# PKG_NOARCH_INSTALLDIR(DIRECTORY)
205   -# -------------------------
206   -# Substitutes the variable noarch_pkgconfigdir as the location where a
207   -# module should install arch-independent pkg-config .pc files. By
208   -# default the directory is $datadir/pkgconfig, but the default can be
209   -# changed by passing DIRECTORY. The user can override through the
210   -# --with-noarch-pkgconfigdir parameter.
211   -AC_DEFUN([PKG_NOARCH_INSTALLDIR],
212   -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
213   -m4_pushdef([pkg_description],
214   - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
215   -AC_ARG_WITH([noarch-pkgconfigdir],
216   - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
217   - [with_noarch_pkgconfigdir=]pkg_default)
218   -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
219   -m4_popdef([pkg_default])
220   -m4_popdef([pkg_description])
221   -]) dnl PKG_NOARCH_INSTALLDIR
222   -
223   -
224   -# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
225   -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
226   -# -------------------------------------------
227   -# Retrieves the value of the pkg-config variable for the given module.
228   -AC_DEFUN([PKG_CHECK_VAR],
229   -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
230   -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
231   -
232   -_PKG_CONFIG([$1], [variable="][$3]["], [$2])
233   -AS_VAR_COPY([$1], [pkg_cv_][$1])
234   -
235   -AS_VAR_IF([$1], [""], [$5], [$4])dnl
236   -])# PKG_CHECK_VAR
237   -
238 23 dnl GLIB_GSETTINGS
239 24 dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
240 25 dnl the schema should be compiled
... ... @@ -274,7 +59,7 @@ mostlyclean-am: clean-gsettings-schemas
274 59 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
275 60  
276 61 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
277   - $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
  62 + $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@
278 63  
279 64 all-am: $(gsettings_SCHEMAS:.xml=.valid)
280 65 uninstall-am: uninstall-gsettings-schemas
... ... @@ -8913,6 +8698,221 @@ m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
8913 8698 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
8914 8699 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
8915 8700  
  8701 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
  8702 +# serial 1 (pkg-config-0.24)
  8703 +#
  8704 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
  8705 +#
  8706 +# This program is free software; you can redistribute it and/or modify
  8707 +# it under the terms of the GNU General Public License as published by
  8708 +# the Free Software Foundation; either version 2 of the License, or
  8709 +# (at your option) any later version.
  8710 +#
  8711 +# This program is distributed in the hope that it will be useful, but
  8712 +# WITHOUT ANY WARRANTY; without even the implied warranty of
  8713 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  8714 +# General Public License for more details.
  8715 +#
  8716 +# You should have received a copy of the GNU General Public License
  8717 +# along with this program; if not, write to the Free Software
  8718 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  8719 +#
  8720 +# As a special exception to the GNU General Public License, if you
  8721 +# distribute this file as part of a program that contains a
  8722 +# configuration script generated by Autoconf, you may include it under
  8723 +# the same distribution terms that you use for the rest of that program.
  8724 +
  8725 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
  8726 +# ----------------------------------
  8727 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
  8728 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  8729 +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  8730 +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  8731 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
  8732 +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
  8733 +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
  8734 +
  8735 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  8736 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
  8737 +fi
  8738 +if test -n "$PKG_CONFIG"; then
  8739 + _pkg_min_version=m4_default([$1], [0.9.0])
  8740 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
  8741 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  8742 + AC_MSG_RESULT([yes])
  8743 + else
  8744 + AC_MSG_RESULT([no])
  8745 + PKG_CONFIG=""
  8746 + fi
  8747 +fi[]dnl
  8748 +])# PKG_PROG_PKG_CONFIG
  8749 +
  8750 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  8751 +#
  8752 +# Check to see whether a particular set of modules exists. Similar
  8753 +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
  8754 +#
  8755 +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  8756 +# only at the first occurence in configure.ac, so if the first place
  8757 +# it's called might be skipped (such as if it is within an "if", you
  8758 +# have to call PKG_CHECK_EXISTS manually
  8759 +# --------------------------------------------------------------
  8760 +AC_DEFUN([PKG_CHECK_EXISTS],
  8761 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  8762 +if test -n "$PKG_CONFIG" && \
  8763 + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  8764 + m4_default([$2], [:])
  8765 +m4_ifvaln([$3], [else
  8766 + $3])dnl
  8767 +fi])
  8768 +
  8769 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
  8770 +# ---------------------------------------------
  8771 +m4_define([_PKG_CONFIG],
  8772 +[if test -n "$$1"; then
  8773 + pkg_cv_[]$1="$$1"
  8774 + elif test -n "$PKG_CONFIG"; then
  8775 + PKG_CHECK_EXISTS([$3],
  8776 + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
  8777 + test "x$?" != "x0" && pkg_failed=yes ],
  8778 + [pkg_failed=yes])
  8779 + else
  8780 + pkg_failed=untried
  8781 +fi[]dnl
  8782 +])# _PKG_CONFIG
  8783 +
  8784 +# _PKG_SHORT_ERRORS_SUPPORTED
  8785 +# -----------------------------
  8786 +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
  8787 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  8788 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8789 + _pkg_short_errors_supported=yes
  8790 +else
  8791 + _pkg_short_errors_supported=no
  8792 +fi[]dnl
  8793 +])# _PKG_SHORT_ERRORS_SUPPORTED
  8794 +
  8795 +
  8796 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
  8797 +# [ACTION-IF-NOT-FOUND])
  8798 +#
  8799 +#
  8800 +# Note that if there is a possibility the first call to
  8801 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
  8802 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
  8803 +#
  8804 +#
  8805 +# --------------------------------------------------------------
  8806 +AC_DEFUN([PKG_CHECK_MODULES],
  8807 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  8808 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  8809 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  8810 +
  8811 +pkg_failed=no
  8812 +AC_MSG_CHECKING([for $1])
  8813 +
  8814 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  8815 +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
  8816 +
  8817 +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
  8818 +and $1[]_LIBS to avoid the need to call pkg-config.
  8819 +See the pkg-config man page for more details.])
  8820 +
  8821 +if test $pkg_failed = yes; then
  8822 + AC_MSG_RESULT([no])
  8823 + _PKG_SHORT_ERRORS_SUPPORTED
  8824 + if test $_pkg_short_errors_supported = yes; then
  8825 + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
  8826 + else
  8827 + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
  8828 + fi
  8829 + # Put the nasty error message in config.log where it belongs
  8830 + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
  8831 +
  8832 + m4_default([$4], [AC_MSG_ERROR(
  8833 +[Package requirements ($2) were not met:
  8834 +
  8835 +$$1_PKG_ERRORS
  8836 +
  8837 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8838 +installed software in a non-standard prefix.
  8839 +
  8840 +_PKG_TEXT])[]dnl
  8841 + ])
  8842 +elif test $pkg_failed = untried; then
  8843 + AC_MSG_RESULT([no])
  8844 + m4_default([$4], [AC_MSG_FAILURE(
  8845 +[The pkg-config script could not be found or is too old. Make sure it
  8846 +is in your PATH or set the PKG_CONFIG environment variable to the full
  8847 +path to pkg-config.
  8848 +
  8849 +_PKG_TEXT
  8850 +
  8851 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
  8852 + ])
  8853 +else
  8854 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
  8855 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
  8856 + AC_MSG_RESULT([yes])
  8857 + $3
  8858 +fi[]dnl
  8859 +])# PKG_CHECK_MODULES
  8860 +
  8861 +
  8862 +# PKG_INSTALLDIR(DIRECTORY)
  8863 +# -------------------------
  8864 +# Substitutes the variable pkgconfigdir as the location where a module
  8865 +# should install pkg-config .pc files. By default the directory is
  8866 +# $libdir/pkgconfig, but the default can be changed by passing
  8867 +# DIRECTORY. The user can override through the --with-pkgconfigdir
  8868 +# parameter.
  8869 +AC_DEFUN([PKG_INSTALLDIR],
  8870 +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
  8871 +m4_pushdef([pkg_description],
  8872 + [pkg-config installation directory @<:@]pkg_default[@:>@])
  8873 +AC_ARG_WITH([pkgconfigdir],
  8874 + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
  8875 + [with_pkgconfigdir=]pkg_default)
  8876 +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
  8877 +m4_popdef([pkg_default])
  8878 +m4_popdef([pkg_description])
  8879 +]) dnl PKG_INSTALLDIR
  8880 +
  8881 +
  8882 +# PKG_NOARCH_INSTALLDIR(DIRECTORY)
  8883 +# -------------------------
  8884 +# Substitutes the variable noarch_pkgconfigdir as the location where a
  8885 +# module should install arch-independent pkg-config .pc files. By
  8886 +# default the directory is $datadir/pkgconfig, but the default can be
  8887 +# changed by passing DIRECTORY. The user can override through the
  8888 +# --with-noarch-pkgconfigdir parameter.
  8889 +AC_DEFUN([PKG_NOARCH_INSTALLDIR],
  8890 +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
  8891 +m4_pushdef([pkg_description],
  8892 + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
  8893 +AC_ARG_WITH([noarch-pkgconfigdir],
  8894 + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
  8895 + [with_noarch_pkgconfigdir=]pkg_default)
  8896 +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
  8897 +m4_popdef([pkg_default])
  8898 +m4_popdef([pkg_description])
  8899 +]) dnl PKG_NOARCH_INSTALLDIR
  8900 +
  8901 +
  8902 +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
  8903 +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  8904 +# -------------------------------------------
  8905 +# Retrieves the value of the pkg-config variable for the given module.
  8906 +AC_DEFUN([PKG_CHECK_VAR],
  8907 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  8908 +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
  8909 +
  8910 +_PKG_CONFIG([$1], [variable="][$3]["], [$2])
  8911 +AS_VAR_COPY([$1], [pkg_cv_][$1])
  8912 +
  8913 +AS_VAR_IF([$1], [""], [$5], [$4])dnl
  8914 +])# PKG_CHECK_VAR
  8915 +
8916 8916 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
8917 8917 #
8918 8918 # This file is free software; the Free Software Foundation
... ...
atk-adaptor/adaptors/text-adaptor.c
... ... @@ -799,16 +799,17 @@ impl_GetAttributeRun (DBusConnection * bus, DBusMessage * message,
799 799 return droute_invalid_arguments_error (message);
800 800 }
801 801  
802   - attributes =
803   - atk_text_get_run_attributes (text, offset, &intstart_offset,
804   - &intend_offset);
805   -
806 802 if (includeDefaults)
807 803 {
808 804 attributes = g_slist_concat (attributes,
809 805 atk_text_get_default_attributes (text));
810 806 }
811 807  
  808 + attributes = g_slist_concat (attributes,
  809 + atk_text_get_run_attributes (text, offset,
  810 + &intstart_offset,
  811 + &intend_offset));
  812 +
812 813 reply = dbus_message_new_method_return (message);
813 814 if (!reply)
814 815 return NULL;
... ...
atk-adaptor/bridge.c
... ... @@ -452,9 +452,10 @@ remove_socket ()
452 452 if (!spi_global_app_data)
453 453 return;
454 454  
455   - if (spi_global_app_data->app_bus_addr)
  455 + if (spi_global_app_data->app_bus_addr &&
  456 + !strncmp (spi_global_app_data->app_bus_addr, "unix:path=", 10))
456 457 {
457   - unlink (spi_global_app_data->app_bus_addr);
  458 + unlink (spi_global_app_data->app_bus_addr + 10);
458 459 g_free (spi_global_app_data->app_bus_addr);
459 460 spi_global_app_data->app_bus_addr = NULL;
460 461 }
... ...
atk-adaptor/event.c
... ... @@ -376,8 +376,8 @@ append_properties (GArray *properties, event_data *evdata)
376 376 }
377 377  
378 378 static gboolean
379   -signal_is_needed (const gchar *klass, const gchar *major, const gchar *minor,
380   - GArray **properties)
  379 +signal_is_needed (AtkObject *obj, const gchar *klass, const gchar *major,
  380 + const gchar *minor, GArray **properties)
381 381 {
382 382 gchar *data [4];
383 383 event_data *evdata;
... ... @@ -403,7 +403,18 @@ signal_is_needed (const gchar *klass, const gchar *major, const gchar *minor,
403 403 !g_strcmp0 (data [2], "accessible-parent") ||
404 404 !g_strcmp0 (data [2], "accessible-role"))) ||
405 405 !g_strcmp0 (data [1], "StateChanged"))
406   - ret = TRUE;
  406 + {
  407 + if (minor && !g_strcmp0 (minor, "defunct"))
  408 + ret = TRUE;
  409 + else
  410 + {
  411 + AtkStateSet *set = atk_object_ref_state_set (obj);
  412 + AtkState state = ((!g_strcmp0 (data[1], "ChildrenChanged")) ?
  413 + ATK_STATE_MANAGES_DESCENDANTS : ATK_STATE_TRANSIENT);
  414 + ret = !atk_state_set_contains_state (set, state);
  415 + g_object_unref (set);
  416 + }
  417 + }
407 418  
408 419 /* Hack: events such as "object::text-changed::insert:system" as
409 420 generated by Gecko */
... ... @@ -483,7 +494,7 @@ emit_event (AtkObject *obj,
483 494 if (!minor) minor = "";
484 495 if (!type) type = "u";
485 496  
486   - if (!signal_is_needed (klass, major, minor, &properties))
  497 + if (!signal_is_needed (obj, klass, major, minor, &properties))
487 498 return;
488 499  
489 500 path = spi_register_object_to_path (spi_global_register, G_OBJECT (obj));
... ...
atk-bridge-2.0.pc.in
... ... @@ -6,6 +6,6 @@ includedir=@includedir@
6 6 Name: atk-bridge-2.0
7 7 Description: ATK/D-Bus Bridge
8 8 Version: @VERSION@
9   -Requires.Private: gobject-2.0 atspi-2
  9 +Requires.private: gobject-2.0 atspi-2
10 10 Libs: -L${libdir} -latk-bridge-2.0
11 11 Cflags: -I${includedir}/at-spi2-atk/2.0
... ...
configure
1 1 #! /bin/sh
2 2 # Guess values for system-dependent variables and create Makefiles.
3   -# Generated by GNU Autoconf 2.69 for at-spi2-atk 2.12.1.
  3 +# Generated by GNU Autoconf 2.69 for at-spi2-atk 2.14.0.
4 4 #
5 5 # Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
6 6 #
... ... @@ -590,8 +590,8 @@ MAKEFLAGS=
590 590 # Identity of this package.
591 591 PACKAGE_NAME='at-spi2-atk'
592 592 PACKAGE_TARNAME='at-spi2-atk'
593   -PACKAGE_VERSION='2.12.1'
594   -PACKAGE_STRING='at-spi2-atk 2.12.1'
  593 +PACKAGE_VERSION='2.14.0'
  594 +PACKAGE_STRING='at-spi2-atk 2.14.0'
595 595 PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
596 596 PACKAGE_URL=''
597 597  
... ... @@ -1355,7 +1355,7 @@ if test &quot;$ac_init_help&quot; = &quot;long&quot;; then
1355 1355 # Omit some internal or obsolete options to make the list less imposing.
1356 1356 # This message is too long to be a string in the A/UX 3.1 sh.
1357 1357 cat <<_ACEOF
1358   -\`configure' configures at-spi2-atk 2.12.1 to adapt to many kinds of systems.
  1358 +\`configure' configures at-spi2-atk 2.14.0 to adapt to many kinds of systems.
1359 1359  
1360 1360 Usage: $0 [OPTION]... [VAR=VALUE]...
1361 1361  
... ... @@ -1425,7 +1425,7 @@ fi
1425 1425  
1426 1426 if test -n "$ac_init_help"; then
1427 1427 case $ac_init_help in
1428   - short | recursive ) echo "Configuration of at-spi2-atk 2.12.1:";;
  1428 + short | recursive ) echo "Configuration of at-spi2-atk 2.14.0:";;
1429 1429 esac
1430 1430 cat <<\_ACEOF
1431 1431  
... ... @@ -1553,7 +1553,7 @@ fi
1553 1553 test -n "$ac_init_help" && exit $ac_status
1554 1554 if $ac_init_version; then
1555 1555 cat <<\_ACEOF
1556   -at-spi2-atk configure 2.12.1
  1556 +at-spi2-atk configure 2.14.0
1557 1557 generated by GNU Autoconf 2.69
1558 1558  
1559 1559 Copyright (C) 2012 Free Software Foundation, Inc.
... ... @@ -1831,7 +1831,7 @@ cat &gt;config.log &lt;&lt;_ACEOF
1831 1831 This file contains any messages produced by compilers while
1832 1832 running configure, to aid debugging if configure makes a mistake.
1833 1833  
1834   -It was created by at-spi2-atk $as_me 2.12.1, which was
  1834 +It was created by at-spi2-atk $as_me 2.14.0, which was
1835 1835 generated by GNU Autoconf 2.69. Invocation command line was
1836 1836  
1837 1837 $ $0 $@
... ... @@ -2714,7 +2714,7 @@ fi
2714 2714  
2715 2715 # Define the identity of the package.
2716 2716 PACKAGE='at-spi2-atk'
2717   - VERSION='2.12.1'
  2717 + VERSION='2.14.0'
2718 2718  
2719 2719  
2720 2720 cat >>confdefs.h <<_ACEOF
... ... @@ -12349,7 +12349,7 @@ mostlyclean-am: clean-gsettings-schemas
12349 12349 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12350 12350  
12351 12351 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12352   - $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
  12352 + $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12353 12353  
12354 12354 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12355 12355 uninstall-am: uninstall-gsettings-schemas
... ... @@ -12958,7 +12958,7 @@ cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF || ac_write_fail=1
12958 12958 # report actual input values of CONFIG_FILES etc. instead of their
12959 12959 # values after options handling.
12960 12960 ac_log="
12961   -This file was extended by at-spi2-atk $as_me 2.12.1, which was
  12961 +This file was extended by at-spi2-atk $as_me 2.14.0, which was
12962 12962 generated by GNU Autoconf 2.69. Invocation command line was
12963 12963  
12964 12964 CONFIG_FILES = $CONFIG_FILES
... ... @@ -13024,7 +13024,7 @@ _ACEOF
13024 13024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13025 13025 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13026 13026 ac_cs_version="\\
13027   -at-spi2-atk config.status 2.12.1
  13027 +at-spi2-atk config.status 2.14.0
13028 13028 configured by $0, generated by GNU Autoconf 2.69,
13029 13029 with options \\"\$ac_cs_config\\"
13030 13030  
... ...
configure.ac
1   -AC_INIT([at-spi2-atk], [2.12.1], [accessibility-atspi@lists.linux-foundation.org])
  1 +AC_INIT([at-spi2-atk], [2.14.0], [accessibility-atspi@lists.linux-foundation.org])
2 2 AC_CONFIG_AUX_DIR(config)
3 3  
4 4 AT_SPI_ATK_MAJOR_VERSION=0
... ...