From 8a4728d29e65e4abbb6d3b31bef929e7f9a5e6b3 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 2 Feb 2013 00:49:39 -0600 Subject: New formula: at-spi2-atk 2.6.2 --- Library/Formula/at-spi2-atk.rb | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Library/Formula/at-spi2-atk.rb (limited to 'Library') diff --git a/Library/Formula/at-spi2-atk.rb b/Library/Formula/at-spi2-atk.rb new file mode 100644 index 000000000..af39f704c --- /dev/null +++ b/Library/Formula/at-spi2-atk.rb @@ -0,0 +1,37 @@ +require 'formula' + +class AtSpi2Atk < Formula + homepage 'http://a11y.org' + url 'http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.6/at-spi2-atk-2.6.2.tar.xz' + sha256 '496c8432e8ab82735145f9af5d45209e9b708bf3c94e527ee091d08641a9bcfa' + + depends_on 'pkg-config' => :build + depends_on 'xz' => :build + depends_on 'at-spi2-core' + depends_on 'atk' + + # https://bugs.freedesktop.org/show_bug.cgi?id=60209 + def patches; DATA end + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end +end + +__END__ +diff --git a/atk-adaptor/accessible-cache.c b/atk-adaptor/accessible-cache.c +index be247e4..62566b8 100644 +--- a/atk-adaptor/accessible-cache.c ++++ b/atk-adaptor/accessible-cache.c +@@ -362,7 +362,7 @@ child_added_listener (GSignalInvocationHint * signal_hint, + if (!child) + { + g_static_rec_mutex_unlock (&cache_mutex); +- return; ++ return FALSE; + } + + g_object_ref (child); + -- cgit v1.2.3