diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/at-spi2-atk.rb | 37 |
1 files changed, 37 insertions, 0 deletions
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); + |
