summaryrefslogtreecommitdiff
path: root/graphics/rabbit
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-06-30 02:07:14 +0000
committerobache <obache@pkgsrc.org>2010-06-30 02:07:14 +0000
commit02d207e54e009abd7c8ae14e21c63c8cbb273382 (patch)
tree325e31415da5074b77b771cb90c11ff0003cd348 /graphics/rabbit
parentaa507239dbd74f3ebeb3e13a5cac65b3ea4f4b1e (diff)
downloadpkgsrc-02d207e54e009abd7c8ae14e21c63c8cbb273382.tar.gz
enable keybord interface on Clutter render.
taken form upstream r1380. Bump PKGREVISION.
Diffstat (limited to 'graphics/rabbit')
-rw-r--r--graphics/rabbit/Makefile4
-rw-r--r--graphics/rabbit/distinfo3
-rw-r--r--graphics/rabbit/patches/patch-af19
3 files changed, 23 insertions, 3 deletions
diff --git a/graphics/rabbit/Makefile b/graphics/rabbit/Makefile
index 1732a294dbf..6c1a7277888 100644
--- a/graphics/rabbit/Makefile
+++ b/graphics/rabbit/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2010/06/18 09:16:08 obache Exp $
+# $NetBSD: Makefile,v 1.21 2010/06/30 02:07:14 obache Exp $
#
DISTNAME= rabbit-0.6.4
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics ruby
MASTER_SITES= http://www.cozmixng.org/~kou/download/
diff --git a/graphics/rabbit/distinfo b/graphics/rabbit/distinfo
index 4260b85dace..d13dca4623f 100644
--- a/graphics/rabbit/distinfo
+++ b/graphics/rabbit/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2010/06/18 09:16:08 obache Exp $
+$NetBSD: distinfo,v 1.17 2010/06/30 02:07:14 obache Exp $
SHA1 (rabbit-0.6.4.tar.gz) = 77b9850a2a616b45790735ec544d039503fd2327
RMD160 (rabbit-0.6.4.tar.gz) = 0243187185641923232c71fffd16d4ce22cf73bb
Size (rabbit-0.6.4.tar.gz) = 5895707 bytes
SHA1 (patch-ae) = 301505f066dfe2a7911a6bbbd07a4ee224e6d040
+SHA1 (patch-af) = a71f3d7f52ad3d3dd901de10b55adbc13f324f4e
diff --git a/graphics/rabbit/patches/patch-af b/graphics/rabbit/patches/patch-af
new file mode 100644
index 00000000000..6f385dbdf56
--- /dev/null
+++ b/graphics/rabbit/patches/patch-af
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1 2010/06/30 02:07:14 obache Exp $
+
+enable keybord interface on Clutter render.
+http://www.cozmixng.org/retro/projects/rabbit/changesets/1380
+
+--- lib/rabbit/renderer/display/clutter-embed.rb.orig 2010-01-29 14:09:05.000000000 +0000
++++ lib/rabbit/renderer/display/clutter-embed.rb
+@@ -195,9 +195,11 @@ module Rabbit
+ add_widget_to_window(@window)
+ widget.show
+ attach_menu(@window)
++ attach_key(@window)
+ end
+
+ def detach
++ detach_key(@window)
+ detach_menu(@window)
+ widget.hide
+ unless @window.destroyed?