tetromino    15/06/18 04:29:20

  Added:                at-spi2-atk-2.16.0-atk_suite.h
                        at-spi2-atk-2.16.0-null-gobject.patch
                        at-spi2-atk-2.16.0-out-of-source.patch
  Log:
  Fix test suite build (note: test suite itself still doesn't quite run), bug 
#552346, thanks to Patrick Lauer. Reduce logspam at runtime.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x18E5B6F2D8D5EC8D)

Revision  Changes    Path
1.1                  
app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-atk_suite.h

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-atk_suite.h?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-atk_suite.h?rev=1.1&content-type=text/plain

Index: at-spi2-atk-2.16.0-atk_suite.h
===================================================================
/*
 * AT-SPI - Assistive Technology Service Provider Interface
 * (Gnome Accessibility Project; https://wiki.gnome.org/Accessibility)
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef _ATK_SUITE_H
#define _ATK_SUITE_H

#include <atspi/atspi.h>

#define ATK_TEST_PATH_ACCESSIBLE (const char *)"/Accessible"
#define ATK_TEST_PATH_ACTION (const char *)"/Action"
#define ATK_TEST_PATH_COMP (const char *)"/Component"

void atk_test_accessible (void);
void atk_test_action (void);
void atk_test_component (void);

#endif /* _ATK_SUITE_H */



1.1                  
app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-null-gobject.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-null-gobject.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-null-gobject.patch?rev=1.1&content-type=text/plain

Index: at-spi2-atk-2.16.0-null-gobject.patch
===================================================================
>From 72220192a31df6b297312d82f059e9824e8a4dc3 Mon Sep 17 00:00:00 2001
From: Christian Hergert <christ...@hergert.me>
Date: Fri, 15 May 2015 13:07:18 -0700
Subject: [PATCH] atk-adapter: be careful with potential NULL GObjects

I've been seeing warnings in my Gtk application for a while due to this.
---
 atk-adaptor/accessible-stateset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atk-adaptor/accessible-stateset.c 
b/atk-adaptor/accessible-stateset.c
index f82910b..82820de 100644
--- a/atk-adaptor/accessible-stateset.c
+++ b/atk-adaptor/accessible-stateset.c
@@ -185,7 +185,7 @@ spi_atk_state_to_dbus_array (AtkObject * object, 
dbus_uint32_t * array)
 {
   AtkStateSet *set = atk_object_ref_state_set (object);
   spi_atk_state_set_to_dbus_array (set, array);
-  g_object_unref (set);
+  g_clear_object (&set);
 }
 
 void
-- 
2.4.3




1.1                  
app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-out-of-source.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-out-of-source.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.16.0-out-of-source.patch?rev=1.1&content-type=text/plain

Index: at-spi2-atk-2.16.0-out-of-source.patch
===================================================================
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6d388c9..b05b9bd 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -9,15 +9,15 @@ atk_test_CFLAGS = $(DBUS_CFLAGS) \
                   $(ATSPI_CFLAGS) \
                   -I$(top_builddir)\
                   -I$(top_srcdir)/tests/dummyatk/ \
-                  -I$(top_srcdir)/tests/dummyatk/.libs \
-                  -I$(top_srcdir)/tests/dummyatk/.deps \
+                  -I$(top_builddir)/tests/dummyatk/.libs \
+                  -I$(top_builddir)/tests/dummyatk/.deps \
                   -I$(top_srcdir)
 
-atk_test_LDFLAGS  = libxmlloader.la \
-                    libtestutils.la \
-                    $(GLIB_LIBS) \
-                    $(ATSPI_LIBS) \
-                    $(top_srcdir)/tests/dummyatk/libdummyatk.la
+atk_test_LDADD = libxmlloader.la \
+                 libtestutils.la \
+                 $(GLIB_LIBS) \
+                 $(ATSPI_LIBS) \
+                 $(top_builddir)/tests/dummyatk/libdummyatk.la
 
 atk_test_CPPFLAGS = -DTESTS_BUILD_DIR=\"$(top_builddir)/tests\" \
                     -DTESTS_SRC_DIR=\"$(top_srcdir)/tests\" \
@@ -34,12 +34,12 @@ app_test_CFLAGS = -I$(top_builddir) \
                    -I$(top_srcdir)/tests/dummyatk \
                    -I$(top_srcdir)/atk-adaptor
 
-app_test_LDFLAGS = libxmlloader.la \
-                   libtestutils.la \
-                   $(GLIB_LIBS) \
-                   $(ATK_LIBS) \
-                   $(top_srcdir)/tests/dummyatk/libdummyatk.la \
-                   $(top_srcdir)/atk-adaptor/libatk-bridge-2.0.la
+app_test_LDADD = libxmlloader.la \
+                 libtestutils.la \
+                 $(GLIB_LIBS) \
+                 $(ATK_LIBS) \
+                 $(top_builddir)/tests/dummyatk/libdummyatk.la \
+                 $(top_builddir)/atk-adaptor/libatk-bridge-2.0.la
 
 app_test_SOURCES = test-application.c
 
@@ -52,7 +52,7 @@ libxmlloader_la_CFLAGS = $(GLIB_CFLAGS) \
 libxmlloader_la_LIBADD = $(GLIB_LIBS) \
                          $(XML_LIBS) \
                          $(GOBJ_LIBS) \
-                         $(top_srcdir)/tests/dummyatk/libdummyatk.la \
+                         $(top_builddir)/tests/dummyatk/libdummyatk.la \
                          $(ATK_LIBS)
 
 libxmlloader_la_SOURCES = atk-object-xml-loader.c\




Reply via email to