summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-14 00:10:06 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-14 00:10:06 +0000
commitaa65682aca64a2750d9b7fa163c707e6bbc910b0 (patch)
treeb6e759fe69e8277bc456a9dbe1351431ac46ac89 /app-accessibility/at-spi2-core
parentVersion bump for gnome-3.4 support. Drop old. (diff)
downloadhistorical-aa65682aca64a2750d9b7fa163c707e6bbc910b0.tar.gz
historical-aa65682aca64a2750d9b7fa163c707e6bbc910b0.tar.bz2
historical-aa65682aca64a2750d9b7fa163c707e6bbc910b0.zip
Version bump for gnome-3.4. Drop old.
Package-Manager: portage-2.2.0_alpha104/cvs/Linux x86_64
Diffstat (limited to 'app-accessibility/at-spi2-core')
-rw-r--r--app-accessibility/at-spi2-core/ChangeLog9
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.4.1.ebuild (renamed from app-accessibility/at-spi2-core/at-spi2-core-2.2.1-r1.ebuild)12
-rw-r--r--app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-abort-if-already-running.patch88
3 files changed, 13 insertions, 96 deletions
diff --git a/app-accessibility/at-spi2-core/ChangeLog b/app-accessibility/at-spi2-core/ChangeLog
index 57f06444e2dd..133dec92ae11 100644
--- a/app-accessibility/at-spi2-core/ChangeLog
+++ b/app-accessibility/at-spi2-core/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-accessibility/at-spi2-core
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/ChangeLog,v 1.6 2012/04/21 12:18:02 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/ChangeLog,v 1.7 2012/05/14 00:08:46 tetromino Exp $
+
+*at-spi2-core-2.4.1 (14 May 2012)
+
+ 14 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -files/at-spi2-core-2.0.2-abort-if-already-running.patch,
+ -at-spi2-core-2.2.1-r1.ebuild, +at-spi2-core-2.4.1.ebuild:
+ Version bump for gnome-3.4. Drop old.
21 Apr 2012; Markus Meier <maekke@gentoo.org> at-spi2-core-2.2.3.ebuild:
add ~arm, bug #411761
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.2.1-r1.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.4.1.ebuild
index e89e705bc5af..83b5ffd545c0 100644
--- a/app-accessibility/at-spi2-core/at-spi2-core-2.2.1-r1.ebuild
+++ b/app-accessibility/at-spi2-core/at-spi2-core-2.4.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.2.1-r1.ebuild,v 1.1 2011/11/05 04:50:26 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.4.1.ebuild,v 1.1 2012/05/14 00:08:46 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@@ -13,11 +13,10 @@ HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2"
SLOT="2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~x86"
IUSE="doc +introspection"
-RDEPEND="
- >=dev-libs/glib-2.28:2
+RDEPEND=">=dev-libs/glib-2.28:2
>=sys-apps/dbus-1
x11-libs/libX11
x11-libs/libXi
@@ -26,6 +25,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
+ virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1.9 )
"
@@ -38,8 +38,6 @@ pkg_setup() {
src_prepare() {
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
epatch "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
- # Upstream patch to fix org.a11y.Bus.IsEnabled, will be in next release
- epatch "${FILESDIR}/${P}-org.a11y.Bus.IsEnabled-property.patch"
gnome2_src_prepare
}
diff --git a/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-abort-if-already-running.patch b/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-abort-if-already-running.patch
deleted file mode 100644
index 0e39dcf3766a..000000000000
--- a/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-abort-if-already-running.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From 72b5b5733841657af00f31370d26bdfd5a0b60b7 Mon Sep 17 00:00:00 2001
-From: Mike Gorse <mgorse@novell.com>
-Date: Thu, 09 Jun 2011 16:50:58 +0000
-Subject: Make the bus launcher abort if an instance is already running
-
-Upon starting up, at-spi-bus-launcher now looks for an X property with
-the bus address and tries to connect to it, aborting if successful.
-This fixes a bug where, if the launcher was run twice (perhaps by both
-an autostart script and a request for the bus address), the second
-instance would start its main loop, eventually abort, and delete the X
-property, which would cause a new X property to be created later,
-overriding the old one, if a different user requested the address,
-leading to a11y breakage.
----
-diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
-index 9300979..dcc35e4 100644
---- a/bus/at-spi-bus-launcher.c
-+++ b/bus/at-spi-bus-launcher.c
-@@ -27,6 +27,7 @@
- #include <signal.h>
- #include <sys/wait.h>
- #include <errno.h>
-+#include <stdio.h>
-
- #include <gio/gio.h>
- #include <X11/Xlib.h>
-@@ -349,6 +350,49 @@ is_a11y_using_corba (void)
- return result;
- }
-
-+static gboolean
-+already_running ()
-+{
-+ Atom AT_SPI_BUS;
-+ Atom actual_type;
-+ Display *bridge_display;
-+ int actual_format;
-+ unsigned char *data = NULL;
-+ unsigned long nitems;
-+ unsigned long leftover;
-+ gboolean result = FALSE;
-+
-+ bridge_display = XOpenDisplay (NULL);
-+ if (!bridge_display)
-+ return FALSE;
-+
-+ AT_SPI_BUS = XInternAtom (bridge_display, "AT_SPI_BUS", False);
-+ XGetWindowProperty (bridge_display,
-+ XDefaultRootWindow (bridge_display),
-+ AT_SPI_BUS, 0L,
-+ (long) BUFSIZ, False,
-+ (Atom) 31, &actual_type, &actual_format,
-+ &nitems, &leftover, &data);
-+
-+ if (data)
-+ {
-+ GDBusConnection *bus;
-+ GError *error = NULL;
-+ const gchar *old_session = g_getenv ("DBUS_SESSION_BUS_ADDRESS");
-+ /* TODO: Is there a better way to connect? This is really hacky */
-+ g_setenv ("DBUS_SESSION_BUS_ADDRESS", data, TRUE);
-+ bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
-+ g_setenv ("DBUS_SESSION_BUS_ADDRESS", old_session, TRUE);
-+ if (bus != NULL)
-+ result = TRUE;
-+ g_object_unref (bus);
-+ }
-+
-+ XCloseDisplay (bridge_display);
-+ return result;
-+}
-+
-+
- int
- main (int argc,
- char **argv)
-@@ -363,6 +407,9 @@ main (int argc,
- if (is_a11y_using_corba ())
- return 0;
-
-+ if (already_running ())
-+ return 0;
-+
- _global_app = g_slice_new0 (A11yBusLauncher);
- _global_app->loop = g_main_loop_new (NULL, FALSE);
- _global_app->launch_immediately = (argc == 2 && strcmp (argv[1], "--launch-immediately") == 0);
---
-cgit v0.9