summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile6
-rw-r--r--devel/ruby-gnome2-atk/Makefile4
-rw-r--r--devel/ruby-gnome2-bonobo/DESCR5
-rw-r--r--devel/ruby-gnome2-bonobo/Makefile20
-rw-r--r--devel/ruby-gnome2-bonobo/PLIST3
-rw-r--r--devel/ruby-gnome2-bonoboui/DESCR5
-rw-r--r--devel/ruby-gnome2-bonoboui/Makefile21
-rw-r--r--devel/ruby-gnome2-bonoboui/PLIST3
-rw-r--r--devel/ruby-gnome2-gconf/DESCR5
-rw-r--r--devel/ruby-gnome2-gconf/Makefile19
-rw-r--r--devel/ruby-gnome2-gconf/PLIST3
-rw-r--r--devel/ruby-gnome2-glib/Makefile13
-rw-r--r--devel/ruby-gnome2-glib/PLIST3
-rw-r--r--devel/ruby-gnome2-glib/buildlink3.mk21
-rw-r--r--devel/ruby-gnome2-libglade/DESCR5
-rw-r--r--devel/ruby-gnome2-libglade/Makefile22
-rw-r--r--devel/ruby-gnome2-libglade/PLIST4
-rw-r--r--devel/ruby-gnome2-pango/Makefile7
-rw-r--r--graphics/Makefile3
-rw-r--r--graphics/ruby-gnome2-gdkpixbuf/Makefile4
-rw-r--r--graphics/ruby-gnome2-gnomecanvas/Makefile8
-rw-r--r--graphics/ruby-gnome2-gtkglext/DESCR5
-rw-r--r--graphics/ruby-gnome2-gtkglext/Makefile19
-rw-r--r--graphics/ruby-gnome2-gtkglext/PLIST3
-rw-r--r--graphics/ruby-gnome2-libart/Makefile6
-rw-r--r--graphics/ruby-gnome2-rsvg/Makefile4
-rw-r--r--meta-pkgs/ruby-gnome2/Makefile22
-rw-r--r--meta-pkgs/ruby-gnome2/Makefile.common6
-rw-r--r--meta-pkgs/ruby-gnome2/distinfo31
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-aa8
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ab12
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ac53
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ad6
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ae4
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-af6
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ag8
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ah24
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ai23
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-aj22
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ak23
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-al22
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-am23
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-an16
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ao17
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-ap17
-rw-r--r--multimedia/Makefile3
-rw-r--r--multimedia/ruby-gnome2-gstreamer/DESCR5
-rw-r--r--multimedia/ruby-gnome2-gstreamer/Makefile20
-rw-r--r--multimedia/ruby-gnome2-gstreamer/PLIST3
-rw-r--r--print/Makefile3
-rw-r--r--print/ruby-gnome2-gnomeprint/Makefile13
-rw-r--r--print/ruby-gnome2-gnomeprint/PLIST3
-rw-r--r--print/ruby-gnome2-gnomeprint/buildlink3.mk19
-rw-r--r--print/ruby-gnome2-gnomeprintui/DESCR5
-rw-r--r--print/ruby-gnome2-gnomeprintui/Makefile21
-rw-r--r--print/ruby-gnome2-gnomeprintui/PLIST3
-rw-r--r--print/ruby-gnome2-poppler/Makefile7
-rw-r--r--sysutils/Makefile3
-rw-r--r--sysutils/ruby-gnome2-gnomevfs/DESCR5
-rw-r--r--sysutils/ruby-gnome2-gnomevfs/Makefile22
-rw-r--r--sysutils/ruby-gnome2-gnomevfs/PLIST3
-rw-r--r--www/Makefile4
-rw-r--r--www/ruby-gnome2-gtkhtml2/DESCR5
-rw-r--r--www/ruby-gnome2-gtkhtml2/Makefile18
-rw-r--r--www/ruby-gnome2-gtkhtml2/PLIST3
-rw-r--r--www/ruby-gnome2-gtkmozembed/DESCR6
-rw-r--r--www/ruby-gnome2-gtkmozembed/Makefile24
-rw-r--r--www/ruby-gnome2-gtkmozembed/PLIST3
-rw-r--r--x11/Makefile4
-rw-r--r--x11/ruby-gnome2-gnome/Makefile8
-rw-r--r--x11/ruby-gnome2-gtk/Makefile11
-rw-r--r--x11/ruby-gnome2-gtksourceview/DESCR5
-rw-r--r--x11/ruby-gnome2-gtksourceview/Makefile18
-rw-r--r--x11/ruby-gnome2-gtksourceview/PLIST3
-rw-r--r--x11/ruby-gnome2-panelapplet/Makefile9
-rw-r--r--x11/ruby-gnome2-vte/DESCR5
-rw-r--r--x11/ruby-gnome2-vte/Makefile19
-rw-r--r--x11/ruby-gnome2-vte/PLIST3
78 files changed, 776 insertions, 74 deletions
diff --git a/devel/Makefile b/devel/Makefile
index aae1f1f2180..d2f0faea973 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1032 2008/09/15 15:15:25 he Exp $
+# $NetBSD: Makefile,v 1.1033 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Development utilities
@@ -881,7 +881,11 @@ SUBDIR+= ruby-eventmachine
SUBDIR+= ruby-flexmock
SUBDIR+= ruby-gettext
SUBDIR+= ruby-gnome2-atk
+SUBDIR+= ruby-gnome2-bonobo
+SUBDIR+= ruby-gnome2-bonoboui
+SUBDIR+= ruby-gnome2-gconf
SUBDIR+= ruby-gnome2-glib
+SUBDIR+= ruby-gnome2-libglade
SUBDIR+= ruby-gnome2-pango
SUBDIR+= ruby-heckle
SUBDIR+= ruby-highline
diff --git a/devel/ruby-gnome2-atk/Makefile b/devel/ruby-gnome2-atk/Makefile
index 2d26cf8915b..ffaf4176c85 100644
--- a/devel/ruby-gnome2-atk/Makefile
+++ b/devel/ruby-gnome2-atk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/01/29 06:42:33 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2008/09/17 00:21:48 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-atk-${VERSION}
@@ -7,6 +7,8 @@ CATEGORIES= devel
CONFLICTS+= ruby-gnome2-atk-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= atk
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
diff --git a/devel/ruby-gnome2-bonobo/DESCR b/devel/ruby-gnome2-bonobo/DESCR
new file mode 100644
index 00000000000..13ce785b66e
--- /dev/null
+++ b/devel/ruby-gnome2-bonobo/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/Bonobo2 is a Ruby binding of libbonobo-2.x or later.
diff --git a/devel/ruby-gnome2-bonobo/Makefile b/devel/ruby-gnome2-bonobo/Makefile
new file mode 100644
index 00000000000..f51d2733e05
--- /dev/null
+++ b/devel/ruby-gnome2-bonobo/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:48 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-bonobo-${VERSION}
+COMMENT= Ruby binding of libbonobo-2.x or later
+CATEGORIES= devel
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= bonobo
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+.include "../../x11/gtk2/buildlink3.mk"
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../devel/libbonobo/buildlink3.mk"
+.include "../../devel/libbonoboui/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/devel/ruby-gnome2-bonobo/PLIST b/devel/ruby-gnome2-bonobo/PLIST
new file mode 100644
index 00000000000..5935cae1486
--- /dev/null
+++ b/devel/ruby-gnome2-bonobo/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:48 obache Exp $
+${RUBY_VENDORLIB}/bonobo2.rb
+${RUBY_VENDORARCHLIB}/bonobo2.${RUBY_DLEXT}
diff --git a/devel/ruby-gnome2-bonoboui/DESCR b/devel/ruby-gnome2-bonoboui/DESCR
new file mode 100644
index 00000000000..c7397fde09b
--- /dev/null
+++ b/devel/ruby-gnome2-bonoboui/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/BonoboUI2 is a Ruby binding of libbonoboui-2.x or later.
diff --git a/devel/ruby-gnome2-bonoboui/Makefile b/devel/ruby-gnome2-bonoboui/Makefile
new file mode 100644
index 00000000000..7cfb034b9e6
--- /dev/null
+++ b/devel/ruby-gnome2-bonoboui/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-bonoboui-${VERSION}
+COMMENT= Ruby binding of libbonoboui-2.x or later
+CATEGORIES= devel
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= bonoboui
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnome>=${VERSION}:../../x11/ruby-gnome2-gnome
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+.include "../../x11/gtk2/buildlink3.mk"
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../devel/libbonoboui/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/devel/ruby-gnome2-bonoboui/PLIST b/devel/ruby-gnome2-bonoboui/PLIST
new file mode 100644
index 00000000000..56d2715bce4
--- /dev/null
+++ b/devel/ruby-gnome2-bonoboui/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+${RUBY_VENDORLIB}/bonoboui2.rb
+${RUBY_VENDORARCHLIB}/bonoboui2.${RUBY_DLEXT}
diff --git a/devel/ruby-gnome2-gconf/DESCR b/devel/ruby-gnome2-gconf/DESCR
new file mode 100644
index 00000000000..b1102e151c5
--- /dev/null
+++ b/devel/ruby-gnome2-gconf/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GConf2 is a Ruby binding of libgconf-1.2.x or later.
diff --git a/devel/ruby-gnome2-gconf/Makefile b/devel/ruby-gnome2-gconf/Makefile
new file mode 100644
index 00000000000..03f0a11ff67
--- /dev/null
+++ b/devel/ruby-gnome2-gconf/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gconf-${VERSION}
+COMMENT= Ruby binding of GConf-1.2.x or later
+CATEGORIES= devel
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gconf
+
+USE_TOOLS+= pkg-config
+
+do-test:
+ ${RUN} cd ${WRKSRC}/gconf/tests; \
+ ${SETENV} ${TEST_ENV} ${RUBY} -I ${WRKSRC}/gconf/src unittest.rb
+
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/devel/ruby-gnome2-gconf/PLIST b/devel/ruby-gnome2-gconf/PLIST
new file mode 100644
index 00000000000..c961da5d2d5
--- /dev/null
+++ b/devel/ruby-gnome2-gconf/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+${RUBY_VENDORLIB}/gconf2.rb
+${RUBY_VENDORARCHLIB}/gconf2.${RUBY_DLEXT}
diff --git a/devel/ruby-gnome2-glib/Makefile b/devel/ruby-gnome2-glib/Makefile
index 8157f8ae9e7..ad9f0545b93 100644
--- a/devel/ruby-gnome2-glib/Makefile
+++ b/devel/ruby-gnome2-glib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/06/19 15:11:24 taca Exp $
+# $NetBSD: Makefile,v 1.7 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-glib-${VERSION}
@@ -7,9 +7,20 @@ CATEGORIES= devel
CONFLICTS+= ruby-gnome2-glib-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= glib
USE_TOOLS+= pkg-config
+# Need glib-enum-types.h for build ruby-gnome2-{gtk,gnomecanvas}.
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/glib/src/glib-enum-types.h \
+ ${DESTDIR}${RUBY_VENDORARCHLIBDIR}
+
+do-test:
+ ${RUN} cd ${WRKSRC}/glib/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/devel/ruby-gnome2-glib/PLIST b/devel/ruby-gnome2-glib/PLIST
index f624c4b6778..358d98aaf3d 100644
--- a/devel/ruby-gnome2-glib/PLIST
+++ b/devel/ruby-gnome2-glib/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2008/06/19 15:11:24 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/09/17 00:21:49 obache Exp $
${RUBY_VENDORLIB}/glib-mkenums.rb
${RUBY_VENDORLIB}/glib2.rb
${RUBY_VENDORARCHLIB}/glib2.${RUBY_DLEXT}
+${RUBY_VENDORARCHLIB}/glib-enum-types.h
${RUBY_VENDORLIB}/mkmf-gnome2.rb
${RUBY_VENDORLIB}/pkg-config.rb
diff --git a/devel/ruby-gnome2-glib/buildlink3.mk b/devel/ruby-gnome2-glib/buildlink3.mk
new file mode 100644
index 00000000000..135e115dbad
--- /dev/null
+++ b/devel/ruby-gnome2-glib/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/09/17 00:21:49 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RUBY_GNOME2_GLIB_BUILDLINK3_MK:= ${RUBY_GNOME2_GLIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= ruby-gnome2-glib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby-gnome2-glib}
+BUILDLINK_PACKAGES+= ruby-gnome2-glib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ruby-gnome2-glib
+
+.if ${RUBY_GNOME2_GLIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.ruby-gnome2-glib+= ${RUBY_PKGPREFIX}-gnome2-glib>=0.17.0
+BUILDLINK_PKGSRCDIR.ruby-gnome2-glib?= ../../devel/ruby-gnome2-glib
+.endif # RUBY_GNOME2_GLIB_BUILDLINK3_MK
+
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/ruby-gnome2-libglade/DESCR b/devel/ruby-gnome2-libglade/DESCR
new file mode 100644
index 00000000000..97c2be6841b
--- /dev/null
+++ b/devel/ruby-gnome2-libglade/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/Libglade2 is a Ruby binding of Libglade2.
diff --git a/devel/ruby-gnome2-libglade/Makefile b/devel/ruby-gnome2-libglade/Makefile
new file mode 100644
index 00000000000..5e331a849e5
--- /dev/null
+++ b/devel/ruby-gnome2-libglade/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-libglade-${VERSION}
+COMMENT= Ruby binding of libglade
+CATEGORIES= devel
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= libglade
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+INSTALL_TARGET= install
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libglade/buildlink3.mk"
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/devel/ruby-gnome2-libglade/PLIST b/devel/ruby-gnome2-libglade/PLIST
new file mode 100644
index 00000000000..a2f64a486b3
--- /dev/null
+++ b/devel/ruby-gnome2-libglade/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+bin/ruby-glade-create-template
+${RUBY_VENDORLIB}/libglade2.rb
+${RUBY_VENDORARCHLIB}/libglade2.${RUBY_DLEXT}
diff --git a/devel/ruby-gnome2-pango/Makefile b/devel/ruby-gnome2-pango/Makefile
index a15aa456920..35d54bbe2ea 100644
--- a/devel/ruby-gnome2-pango/Makefile
+++ b/devel/ruby-gnome2-pango/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/06/19 15:11:45 taca Exp $
+# $NetBSD: Makefile,v 1.10 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-pango-${VERSION}
@@ -7,6 +7,8 @@ CATEGORIES= devel fonts
CONFLICTS+= ruby-gnome2-pango-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= pango
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
@@ -15,6 +17,9 @@ USE_TOOLS+= pkg-config
INSTALL_TARGET= install
+do-test:
+ ${RUN} cd ${WRKSRC}/pango/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/ruby-rcairo/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/graphics/Makefile b/graphics/Makefile
index ada1386fa85..e48463d094f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.491 2008/09/14 13:20:04 drochner Exp $
+# $NetBSD: Makefile,v 1.492 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Graphics tools and libraries
@@ -297,6 +297,7 @@ SUBDIR+= ruby-color
SUBDIR+= ruby-gd
SUBDIR+= ruby-gnome2-gdkpixbuf
SUBDIR+= ruby-gnome2-gnomecanvas
+SUBDIR+= ruby-gnome2-gtkglext
SUBDIR+= ruby-gnome2-libart
SUBDIR+= ruby-gnome2-rsvg
SUBDIR+= ruby-gnuplot
diff --git a/graphics/ruby-gnome2-gdkpixbuf/Makefile b/graphics/ruby-gnome2-gdkpixbuf/Makefile
index 0a2eb110592..68db4955a31 100644
--- a/graphics/ruby-gnome2-gdkpixbuf/Makefile
+++ b/graphics/ruby-gnome2-gdkpixbuf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/06/19 15:12:10 taca Exp $
+# $NetBSD: Makefile,v 1.9 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf-${VERSION}
@@ -7,6 +7,8 @@ CATEGORIES= graphics devel
CONFLICTS+= ruby-gnome2-gdkpixbuf-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= gdkpixbuf
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
diff --git a/graphics/ruby-gnome2-gnomecanvas/Makefile b/graphics/ruby-gnome2-gnomecanvas/Makefile
index d9098b0ea14..6bbe3308574 100644
--- a/graphics/ruby-gnome2-gnomecanvas/Makefile
+++ b/graphics/ruby-gnome2-gnomecanvas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/06/19 15:12:35 taca Exp $
+# $NetBSD: Makefile,v 1.10 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnomecanvas-${VERSION}
@@ -7,12 +7,16 @@ CATEGORIES= graphics gnome
CONFLICTS+= ruby-gnome2-gnomecanvas-[0-9]*
-RUBY_EXTCONF_SUBDIRS= glib gnomecanvas
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gnomecanvas
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-libart>=${VERSION}:../../graphics/ruby-gnome2-libart
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
USE_TOOLS+= pkg-config
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
.include "../../graphics/libgnomecanvas/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/graphics/ruby-gnome2-gtkglext/DESCR b/graphics/ruby-gnome2-gtkglext/DESCR
new file mode 100644
index 00000000000..ca9da3a0246
--- /dev/null
+++ b/graphics/ruby-gnome2-gtkglext/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GtkGLExt is a Ruby binding of GtkGLExt.
diff --git a/graphics/ruby-gnome2-gtkglext/Makefile b/graphics/ruby-gnome2-gtkglext/Makefile
new file mode 100644
index 00000000000..893d3219c5d
--- /dev/null
+++ b/graphics/ruby-gnome2-gtkglext/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gtkglext-${VERSION}
+COMMENT= Ruby binding of gtkglext
+CATEGORIES= graphics
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gtkglext
+
+DEPENDS+= ${RUBY_PKGPREFIX}-opengl-[0-9]*:../../graphics/ruby-opengl
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../graphics/gtkglext/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/graphics/ruby-gnome2-gtkglext/PLIST b/graphics/ruby-gnome2-gtkglext/PLIST
new file mode 100644
index 00000000000..f198316ebd9
--- /dev/null
+++ b/graphics/ruby-gnome2-gtkglext/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+${RUBY_VENDORLIB}/gtkglext.rb
+${RUBY_VENDORARCHLIB}/gtkglext.${RUBY_DLEXT}
diff --git a/graphics/ruby-gnome2-libart/Makefile b/graphics/ruby-gnome2-libart/Makefile
index e98bc052142..d9d1789d014 100644
--- a/graphics/ruby-gnome2-libart/Makefile
+++ b/graphics/ruby-gnome2-libart/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/06/19 15:13:03 taca Exp $
+# $NetBSD: Makefile,v 1.8 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-libart-${VERSION}
@@ -7,9 +7,11 @@ CATEGORIES= graphics
CONFLICTS+= ruby-gnome2-libart-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= libart
-DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
+BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
USE_TOOLS+= pkg-config
.include "../../graphics/jpeg/buildlink3.mk"
diff --git a/graphics/ruby-gnome2-rsvg/Makefile b/graphics/ruby-gnome2-rsvg/Makefile
index ad83a7fac13..8c79b837e81 100644
--- a/graphics/ruby-gnome2-rsvg/Makefile
+++ b/graphics/ruby-gnome2-rsvg/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.9 2008/06/19 15:13:26 taca Exp $
+# $NetBSD: Makefile,v 1.10 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-rsvg-${VERSION}
COMMENT= Ruby binding of librsvg
CATEGORIES= graphics
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= rsvg
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf>=${VERSION}:../../graphics/ruby-gnome2-gdkpixbuf
diff --git a/meta-pkgs/ruby-gnome2/Makefile b/meta-pkgs/ruby-gnome2/Makefile
index 85ceccba54e..d6182743910 100644
--- a/meta-pkgs/ruby-gnome2/Makefile
+++ b/meta-pkgs/ruby-gnome2/Makefile
@@ -1,22 +1,34 @@
-# $NetBSD: Makefile,v 1.10 2008/06/19 15:10:28 taca Exp $
+# $NetBSD: Makefile,v 1.11 2008/09/17 00:21:48 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-${VERSION}
COMMENT= Set of Ruby language bindings for GNOME2
CATEGORIES= meta-pkgs gnome
-DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-atk>=${VERSION}:../../devel/ruby-gnome2-atk
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-bonobo>=${VERSION}:../../devel/ruby-gnome2-bonobo
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-bonoboui>=${VERSION}:../../devel/ruby-gnome2-bonoboui
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gconf>=${VERSION}:../../devel/ruby-gnome2-gconf
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-libglade>=${VERSION}:../../devel/ruby-gnome2-libglade
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-pango>=${VERSION}:../../devel/ruby-gnome2-pango
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf>=${VERSION}:../../graphics/ruby-gnome2-gdkpixbuf
-DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-libart>=${VERSION}:../../graphics/ruby-gnome2-libart
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomecanvas>=${VERSION}:../../graphics/ruby-gnome2-gnomecanvas
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtkglext>=${VERSION}:../../graphics/ruby-gnome2-gtkglext
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-libart>=${VERSION}:../../graphics/ruby-gnome2-libart
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-rsvg>=${VERSION}:../../graphics/ruby-gnome2-rsvg
-DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-poppler>=${VERSION}:../../print/ruby-gnome2-poppler
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gstreamer>=${VERSION}:../../multimedia/ruby-gnome2-gstreamer
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomeprint>=${VERSION}:../../print/ruby-gnome2-gnomeprint
-DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomeprintui>=${VERSION}:../../print/ruby-gnome2-gnomeprintui
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-poppler>=${VERSION}:../../print/ruby-gnome2-poppler
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomevfs>=${VERSION}:../../sysutils/ruby-gnome2-gnomevfs
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtkhtml2>=${VERSION}:../../www/ruby-gnome2-gtkhtml2
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtkmozembed>=${VERSION}:../../www/ruby-gnome2-gtkmozembed
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnome>=${VERSION}:../../x11/ruby-gnome2-gnome
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtksourceview>=${VERSION}:../../x11/ruby-gnome2-gtksourceview
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-panelapplet>=${VERSION}:../../x11/ruby-gnome2-panelapplet
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-vte>=${VERSION}:../../x11/ruby-gnome2-vte
META_PACKAGE= yes
diff --git a/meta-pkgs/ruby-gnome2/Makefile.common b/meta-pkgs/ruby-gnome2/Makefile.common
index b8ba7a2ea33..edf81c6c76f 100644
--- a/meta-pkgs/ruby-gnome2/Makefile.common
+++ b/meta-pkgs/ruby-gnome2/Makefile.common
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.5 2008/06/19 15:10:28 taca Exp $
+# $NetBSD: Makefile.common,v 1.6 2008/09/17 00:21:48 obache Exp $
#
-DISTNAME= ruby-gnome2-0.17.0-rc1
+DISTNAME= ruby-gnome2-all-0.17.0
CATEGORIES+= ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gnome2/}
@@ -11,7 +11,7 @@ PATCHDIR= ${.CURDIR}/../../meta-pkgs/ruby-gnome2/patches
MAINTAINER= dieter.NetBSD@pandora.be
HOMEPAGE= http://ruby-gnome2.sourceforge.jp/
-VERSION= 0.17.0rc1
+VERSION= 0.17.0
RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
diff --git a/meta-pkgs/ruby-gnome2/distinfo b/meta-pkgs/ruby-gnome2/distinfo
index 52647bfbacf..e0e8155b30b 100644
--- a/meta-pkgs/ruby-gnome2/distinfo
+++ b/meta-pkgs/ruby-gnome2/distinfo
@@ -1,12 +1,21 @@
-$NetBSD: distinfo,v 1.4 2008/06/19 15:10:28 taca Exp $
+$NetBSD: distinfo,v 1.5 2008/09/17 00:21:48 obache Exp $
-SHA1 (ruby-gnome2-0.17.0-rc1.tar.gz) = 372fb444dc1b05d236176895755a5ac87dcbd1a6
-RMD160 (ruby-gnome2-0.17.0-rc1.tar.gz) = 6cc815e2750f34de6f4104101e6f3a7cfb2a037e
-Size (ruby-gnome2-0.17.0-rc1.tar.gz) = 1444553 bytes
-SHA1 (patch-aa) = 316bf9d583e069e029717c7593b1693ce4bccd3e
-SHA1 (patch-ab) = e0d590165bd7ac8442904824d52f6a372c881697
-SHA1 (patch-ac) = 2ab0a3c86950ffd094bdac4abbde1e4cec2133b0
-SHA1 (patch-ad) = 3744e3a173d17d0a96a2f4209c40d34355fe9054
-SHA1 (patch-ae) = 48006ffe136d4471f074793e2d0f030052615bed
-SHA1 (patch-af) = acc1c071ffbe49b64abf4f4f938b1f96d2b4337d
-SHA1 (patch-ag) = 09d87a68006fbe56773e4b12350fa8a5fc133663
+SHA1 (ruby-gnome2-all-0.17.0.tar.gz) = 8afcaedaa3fc5c4b2e86152a4122c28ad4693c07
+RMD160 (ruby-gnome2-all-0.17.0.tar.gz) = 11bd9fa5b54a822c58851b9e69b3837a0e0a5926
+Size (ruby-gnome2-all-0.17.0.tar.gz) = 1483244 bytes
+SHA1 (patch-aa) = e3a71325c58d780ed8f8f0d9f9c11b870a832353
+SHA1 (patch-ab) = ec484594620e8d9528417a24c7fca030708d6d36
+SHA1 (patch-ac) = 924a34bdc09a42bd79e3a3cd859c3421f7e9e711
+SHA1 (patch-ad) = c522d34c269778c328def9494dfe4c4ce9f41161
+SHA1 (patch-ae) = fa5bb916ec56cc4ba96a52bdca82f6995b829843
+SHA1 (patch-af) = bcf18b0e95af531fa17cbea64ae5d5e518538901
+SHA1 (patch-ag) = 167120424cc2a8ed2b8c5ae6ba913e0cb3332e99
+SHA1 (patch-ah) = 0f79c15df24226737efee47959ec7f9a33220912
+SHA1 (patch-ai) = 064fd9cb49440e34f52653df4aeea49cdea0dff6
+SHA1 (patch-aj) = 14359983b816ab91dbd9bc02edccdac5a187c7f5
+SHA1 (patch-ak) = da565ace6ac102dd52c738ecc04a25045136d923
+SHA1 (patch-al) = 0b9ba29ba9ed7fd01d957eea38ee7b8ff7bdf0f8
+SHA1 (patch-am) = 6c6b5a7535a0a08526f264cc32bd8d832271025f
+SHA1 (patch-an) = 7b09fe1f6fd8586bc092857f383a29e63861117c
+SHA1 (patch-ao) = 7563b329b86e96e24c05d6570ab6ef7962b031e6
+SHA1 (patch-ap) = d533557159cc0559b1f057099d123db55c744600
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-aa b/meta-pkgs/ruby-gnome2/patches/patch-aa
index e9c652cf86a..6d50ecce253 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-aa
+++ b/meta-pkgs/ruby-gnome2/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-aa,v 1.2 2008/09/17 00:21:48 obache Exp $
---- atk/src/depend.orig 2008-06-06 23:03:37.000000000 +0900
+--- atk/src/depend.orig 2008-01-03 03:01:59.000000000 +0000
+++ atk/src/depend
@@ -1,3 +1,3 @@
install:
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbatk.h $(sitearchdir)$(target_prefix)
- @$(RUBY) -run -e install -- -m 0644 -v rbatkversion.h $(sitearchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbatk.h $(vendorarchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v rbatkversion.h $(vendorarchdir)$(target_prefix)
++ $(INSTALL_DATA) $(srcdir)/rbatk.h $(RUBYARCHDIR)
++ $(INSTALL_DATA) rbatkversion.h $(RUBYARCHDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ab b/meta-pkgs/ruby-gnome2/patches/patch-ab
index 6620a9ad981..3a525714f9a 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-ab
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-ab,v 1.2 2008/09/17 00:21:48 obache Exp $
---- glib/src/depend.orig 2008-06-06 23:03:39.000000000 +0900
+--- glib/src/depend.orig 2008-01-03 03:01:59.000000000 +0000
+++ glib/src/depend
@@ -1,5 +1,5 @@
install:
@@ -8,7 +8,7 @@ $NetBSD: patch-ab,v 1.1 2008/06/19 15:10:28 taca Exp $
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgutil.h $(sitearchdir)$(target_prefix)
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgobject.h $(sitearchdir)$(target_prefix)
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgcompat.h $(sitearchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbglib.h $(vendorarchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgutil.h $(vendorarchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgobject.h $(vendorarchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgcompat.h $(vendorarchdir)$(target_prefix)
++ $(INSTALL_DATA) $(srcdir)/rbglib.h $(RUBYARCHDIR)
++ $(INSTALL_DATA) $(srcdir)/rbgutil.h $(RUBYARCHDIR)
++ $(INSTALL_DATA) $(srcdir)/rbgobject.h $(RUBYARCHDIR)
++ $(INSTALL_DATA) $(srcdir)/rbgcompat.h $(RUBYARCHDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ac b/meta-pkgs/ruby-gnome2/patches/patch-ac
index c67fb3f10e2..2a59542f304 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-ac
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ac
@@ -1,12 +1,55 @@
-$NetBSD: patch-ac,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-ac,v 1.2 2008/09/17 00:21:48 obache Exp $
---- glib/src/lib/mkmf-gnome2.rb.orig 2008-06-06 23:03:39.000000000 +0900
+--- glib/src/lib/mkmf-gnome2.rb.orig 2008-06-23 10:00:00.000000000 +0000
+++ glib/src/lib/mkmf-gnome2.rb
-@@ -241,6 +241,7 @@ end
+@@ -257,7 +257,7 @@ def make_version_header(app_name, pkgnam
+ end
def check_ruby_func
- $CPPFLAGS << " -I$(sitearchdir) "
+- $CPPFLAGS << " -I$(sitearchdir) "
+ $CPPFLAGS << " -I$(vendorarchdir) "
#Other options
- have_func("rb_define_alloc_func") # for ruby-1.8
+ ruby_header = "ruby.h"
+@@ -296,6 +296,41 @@ def glib_mkenums(prefix, files, g_type_p
+ GLib::MkEnums.create(prefix, files, g_type_prefix, include_files)
+ end
+
++def check_cairo
++ return false unless PKGConfig.have_package('cairo')
++
++ have_rb_cairo_h = have_header('rb_cairo.h')
++ unless have_rb_cairo_h
++ begin
++ require 'rubygems'
++ gem 'cairo'
++ require 'cairo'
++ rcairo_src_gem_path_re =
++ /\A#{Regexp.escape(Gem.dir)}\/gems\/cairo-[\d.]+\/src\z/
++ $:.each do |path|
++ if rcairo_src_gem_path_re =~ path
++ $CFLAGS += " -I#{path} "
++ have_rb_cairo_h = have_header('rb_cairo.h')
++ break
++ end
++ end
++ rescue LoadError
++ end
++ end
++
++ if have_rb_cairo_h
++ if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
++ unless ENV["CAIRO_PATH"]
++ puts "Error! Set CAIRO_PATH."
++ exit 1
++ end
++ add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
++ $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
++ end
++ end
++ have_rb_cairo_h
++end
++
+ check_ruby_func
+
+ if /mingw/ =~ RUBY_PLATFORM
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ad b/meta-pkgs/ruby-gnome2/patches/patch-ad
index 42e74581f2c..130ba745636 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-ad
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-ad,v 1.2 2008/09/17 00:21:48 obache Exp $
---- gtk/src/depend.orig 2008-06-06 23:03:41.000000000 +0900
+--- gtk/src/depend.orig 2008-01-03 03:01:59.000000000 +0000
+++ gtk/src/depend
@@ -1,2 +1,2 @@
install:
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgtk.h $(sitearchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbgtk.h $(vendorarchdir)$(target_prefix)
++ $(INSTALL_DATA) $(srcdir)/rbgtk.h $(RUBYARCHDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ae b/meta-pkgs/ruby-gnome2/patches/patch-ae
index 88918aa6779..feb840ee237 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-ae
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-ae,v 1.2 2008/09/17 00:21:48 obache Exp $
---- gtk/src/rbgtk.h.orig 2008-06-06 14:03:41.000000000 +0000
+--- gtk/src/rbgtk.h.orig 2008-04-14 11:00:40.000000000 +0000
+++ gtk/src/rbgtk.h
@@ -18,6 +18,7 @@
#include "ruby.h"
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-af b/meta-pkgs/ruby-gnome2/patches/patch-af
index a40c78408d2..1ad6d89b38e 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-af
+++ b/meta-pkgs/ruby-gnome2/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-af,v 1.2 2008/09/17 00:21:48 obache Exp $
---- libart/src/depend.orig 2008-06-06 23:03:45.000000000 +0900
+--- libart/src/depend.orig 2008-01-03 03:01:59.000000000 +0000
+++ libart/src/depend
@@ -1,2 +1,2 @@
install:
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbart.h $(sitearchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbart.h $(vendorarchdir)$(target_prefix)
++ $(INSTALL_DATA) $(srcdir)/rbart.h $(RUBYARCHDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ag b/meta-pkgs/ruby-gnome2/patches/patch-ag
index 1968c9566c4..f1175c22f2a 100644
--- a/meta-pkgs/ruby-gnome2/patches/patch-ag
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ag
@@ -1,10 +1,10 @@
-$NetBSD: patch-ag,v 1.1 2008/06/19 15:10:28 taca Exp $
+$NetBSD: patch-ag,v 1.2 2008/09/17 00:21:48 obache Exp $
---- pango/src/depend.orig 2008-06-06 23:03:45.000000000 +0900
+--- pango/src/depend.orig 2008-01-03 03:01:59.000000000 +0000
+++ pango/src/depend
@@ -1,3 +1,3 @@
install:
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbpango.h $(sitearchdir)$(target_prefix)
- @$(RUBY) -run -e install -- -m 0644 -v rbpangoversion.h $(sitearchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbpango.h $(vendorarchdir)$(target_prefix)
-+ @$(RUBY) -run -e install -- -m 0644 -v rbpangoversion.h $(vendorarchdir)$(target_prefix)
++ $(INSTALL_DATA) $(srcdir)/rbpango.h $(RUBYARCHDIR)
++ $(INSTALL_DATA) rbpangoversion.h $(RUBYARCHDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ah b/meta-pkgs/ruby-gnome2/patches/patch-ah
new file mode 100644
index 00000000000..7e55872aece
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ah
@@ -0,0 +1,24 @@
+$NetBSD: patch-ah,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- gdkpixbuf/extconf.rb.orig 2008-06-11 00:11:07.000000000 +0000
++++ gdkpixbuf/extconf.rb
+@@ -21,17 +21,8 @@ have_func("gdk_pixbuf_set_option", "gdk-
+ end
+ have_header("gdk-pixbuf/gdk-pixbuf-io.h")
+
+-if PKGConfig.have_package('cairo') and
+- PKGConfig.have_package('gdk-2.0') and
+- have_header('rb_cairo.h')
+- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
+- unless ENV["CAIRO_PATH"]
+- puts "Error! Set CAIRO_PATH."
+- exit 1
+- end
+- add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
+- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
+- end
++if PKGConfig.have_package('gdk-2.0')
++ check_cairo
+ end
+
+ add_depend_package("glib2", "glib/src", TOPDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ai b/meta-pkgs/ruby-gnome2/patches/patch-ai
new file mode 100644
index 00000000000..3de92049a6e
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ai
@@ -0,0 +1,23 @@
+$NetBSD: patch-ai,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- gtk/extconf.rb.orig 2008-07-23 23:51:22.000000000 +0000
++++ gtk/extconf.rb
+@@ -65,17 +65,7 @@ end
+
+ have_func("rb_errinfo")
+
+-PKGConfig.have_package('cairo')
+-if have_header('rb_cairo.h')
+- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
+- unless ENV["CAIRO_PATH"]
+- puts "Error! Set CAIRO_PATH."
+- exit 1
+- end
+- add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
+- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
+- end
+-end
++check_cairo
+
+ add_depend_package("glib2", "glib/src", TOPDIR)
+ add_depend_package("pango", "pango/src", TOPDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-aj b/meta-pkgs/ruby-gnome2/patches/patch-aj
new file mode 100644
index 00000000000..ee1426ffa7e
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-aj
@@ -0,0 +1,22 @@
+$NetBSD: patch-aj,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- poppler/extconf.rb.orig 2008-06-11 00:27:07.000000000 +0000
++++ poppler/extconf.rb
+@@ -20,16 +20,7 @@ poppler_header = "poppler.h"
+ have_func("poppler_page_render_selection_to_pixbuf", poppler_header)
+ have_struct_member("PopplerImageMapping", "image_id", poppler_header)
+
+-if PKGConfig.have_package('cairo') and have_header('rb_cairo.h')
+- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
+- unless ENV["CAIRO_PATH"]
+- puts "Error! Set CAIRO_PATH."
+- exit 1
+- end
+- add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
+- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
+- end
+-end
++check_cairo
+
+ add_depend_package("glib2", "glib/src", TOPDIR)
+ add_depend_package("gtk2", "gtk/src", TOPDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ak b/meta-pkgs/ruby-gnome2/patches/patch-ak
new file mode 100644
index 00000000000..4c9d1e74720
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ak
@@ -0,0 +1,23 @@
+$NetBSD: patch-ak,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- rsvg/extconf.rb.orig 2008-06-11 00:00:42.000000000 +0000
++++ rsvg/extconf.rb
+@@ -26,17 +26,7 @@ have_func("rsvg_handle_get_pixbuf_sub",
+ have_header("librsvg/rsvg-gz.h")
+ have_type("RsvgDimensionData", "librsvg/rsvg.h")
+
+-if PKGConfig.have_package('cairo') and have_header('rb_cairo.h')
+- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
+- unless ENV["CAIRO_PATH"]
+- puts "Error! Set CAIRO_PATH."
+- exit 1
+- end
+- add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
+- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
+- end
+- have_header("librsvg/rsvg-cairo.h")
+-end
++check_cairo
+
+ add_depend_package("glib2", "glib/src", TOPDIR)
+
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-al b/meta-pkgs/ruby-gnome2/patches/patch-al
new file mode 100644
index 00000000000..931002689f2
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-al
@@ -0,0 +1,22 @@
+$NetBSD: patch-al,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- vte/extconf.rb.orig 2008-04-13 05:55:27.000000000 +0000
++++ vte/extconf.rb
+@@ -16,16 +16,7 @@ require 'mkmf-gnome2'
+ PKGConfig.have_package(PACKAGE_ID, 0, 12, 1) or exit 1
+ setup_win32(PACKAGE_NAME)
+
+-if PKGConfig.have_package('cairo') and have_header('rb_cairo.h')
+- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
+- unless ENV["CAIRO_PATH"]
+- puts "Error! Set CAIRO_PATH."
+- exit 1
+- end
+- add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
+- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
+- end
+-end
++check_cairo
+
+ add_depend_package("glib2", "glib/src", TOPDIR)
+ add_depend_package("gtk2", "gtk/src", TOPDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-am b/meta-pkgs/ruby-gnome2/patches/patch-am
new file mode 100644
index 00000000000..2b3a359b949
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-am
@@ -0,0 +1,23 @@
+$NetBSD: patch-am,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- pango/extconf.rb.orig 2008-06-10 23:46:00.000000000 +0000
++++ pango/extconf.rb
+@@ -29,16 +29,8 @@ have_func("pango_attr_iterator_get_attrs
+ have_func("pango_itemize_with_base_dir", pango_header)
+ have_func("pango_font_family_is_monospace", pango_header)
+
+-PKGConfig.have_package('pangocairo')
+-if have_header('rb_cairo.h')
+- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
+- unless ENV["CAIRO_PATH"]
+- puts "Error! Set CAIRO_PATH."
+- exit 1
+- end
+- add_depend_package("cairo", "src", ENV["CAIRO_PATH"])
+- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
+- end
++if PKGConfig.have_package('pangocairo')
++ check_cairo
+ end
+
+ add_depend_package("glib2", "glib/src", TOPDIR)
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-an b/meta-pkgs/ruby-gnome2/patches/patch-an
new file mode 100644
index 00000000000..d61755fca4f
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-an
@@ -0,0 +1,16 @@
+$NetBSD: patch-an,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- gdkpixbuf/lib/gdk_pixbuf2.rb.orig 2006-12-17 08:30:40.000000000 +0000
++++ gdkpixbuf/lib/gdk_pixbuf2.rb
+@@ -1,6 +1,11 @@
+ require 'glib2'
+ begin
++ begin
+ require 'cairo'
++ rescue LoadError
++ require 'rubygems'
++ require 'cairo'
++ end
+ rescue LoadError
+ end
+ require 'gdk_pixbuf2.so'
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ao b/meta-pkgs/ruby-gnome2/patches/patch-ao
new file mode 100644
index 00000000000..e489f496ff5
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ao
@@ -0,0 +1,17 @@
+$NetBSD: patch-ao,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- gtk/src/lib/gtk2/base.rb.orig 2008-04-10 14:18:40.000000000 +0000
++++ gtk/src/lib/gtk2/base.rb
+@@ -13,7 +13,12 @@ require 'glib2'
+ require 'atk'
+ require 'pango'
+ begin
++ begin
+ require 'cairo'
++ rescue LoadError
++ require 'rubygems'
++ require 'cairo'
++ end
+ rescue LoadError
+ end
+ require 'gtk2.so'
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-ap b/meta-pkgs/ruby-gnome2/patches/patch-ap
new file mode 100644
index 00000000000..9451215a5d9
--- /dev/null
+++ b/meta-pkgs/ruby-gnome2/patches/patch-ap
@@ -0,0 +1,17 @@
+$NetBSD: patch-ap,v 1.1 2008/09/17 00:21:48 obache Exp $
+
+--- pango/src/lib/pango.rb.orig 2007-12-28 09:04:22.000000000 +0000
++++ pango/src/lib/pango.rb
+@@ -8,7 +8,12 @@
+
+ require 'glib2'
+ begin
++ begin
+ require 'cairo'
++ rescue LoadError
++ require 'rubygems'
++ require 'cairo'
++ end
+ rescue LoadError
+ end
+ require 'pango.so'
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 00adc69df17..b1ad21da43a 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.122 2008/09/15 13:16:59 jmcneill Exp $
+# $NetBSD: Makefile,v 1.123 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Multimedia utilities
@@ -100,6 +100,7 @@ SUBDIR+= py-ming
SUBDIR+= realplayer-codecs
SUBDIR+= regionset
SUBDIR+= replex
+SUBDIR+= ruby-gnome2-gstreamer
SUBDIR+= ruby-ming
SUBDIR+= smpeg
SUBDIR+= smpeg-xmms
diff --git a/multimedia/ruby-gnome2-gstreamer/DESCR b/multimedia/ruby-gnome2-gstreamer/DESCR
new file mode 100644
index 00000000000..13ce785b66e
--- /dev/null
+++ b/multimedia/ruby-gnome2-gstreamer/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/Bonobo2 is a Ruby binding of libbonobo-2.x or later.
diff --git a/multimedia/ruby-gnome2-gstreamer/Makefile b/multimedia/ruby-gnome2-gstreamer/Makefile
new file mode 100644
index 00000000000..c17a9ddd1e9
--- /dev/null
+++ b/multimedia/ruby-gnome2-gstreamer/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gstreamer-${VERSION}
+COMMENT= Ruby binding of GStreamer 0.10.x or later
+CATEGORIES= multimedia
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gstreamer
+
+USE_TOOLS+= pkg-config
+
+do-test:
+ ${RUN} cd ${WRKSRC}/gstreamer/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/multimedia/ruby-gnome2-gstreamer/PLIST b/multimedia/ruby-gnome2-gstreamer/PLIST
new file mode 100644
index 00000000000..8a1fc2ab26c
--- /dev/null
+++ b/multimedia/ruby-gnome2-gstreamer/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+${RUBY_VENDORLIB}/gst.rb
+${RUBY_VENDORARCHLIB}/gst.${RUBY_DLEXT}
diff --git a/print/Makefile b/print/Makefile
index b9e5fbfb9b7..87cca85ee90 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.186 2008/09/03 21:39:00 markd Exp $
+# $NetBSD: Makefile,v 1.187 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Desktop publishing
@@ -106,6 +106,7 @@ SUBDIR+= rlpr
SUBDIR+= rtf2latex
SUBDIR+= rtf2latex2e
SUBDIR+= ruby-gnome2-gnomeprint
+SUBDIR+= ruby-gnome2-gnomeprintui
SUBDIR+= ruby-gnome2-poppler
SUBDIR+= ruby-pdf-writer
SUBDIR+= scribus
diff --git a/print/ruby-gnome2-gnomeprint/Makefile b/print/ruby-gnome2-gnomeprint/Makefile
index b8466853ec7..eb67d3f0570 100644
--- a/print/ruby-gnome2-gnomeprint/Makefile
+++ b/print/ruby-gnome2-gnomeprint/Makefile
@@ -1,15 +1,26 @@
-# $NetBSD: Makefile,v 1.5 2008/06/19 15:13:54 taca Exp $
+# $NetBSD: Makefile,v 1.6 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnomeprint-${VERSION}
COMMENT= Ruby binding of libgnomeprint
CATEGORIES= print
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= gnomeprint
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-pango>=${VERSION}:../../devel/ruby-gnome2-pango
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-libart>=${VERSION}:../../graphics/ruby-gnome2-libart
USE_TOOLS+= pkg-config
+# Need rblibgnomeprintversion.h for build ruby-gnome2-gnomeprintui.
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gnomeprint/src/rblibgnomeprintversion.h \
+ ${DESTDIR}${RUBY_VENDORARCHLIBDIR}
+
+do-test:
+ ${RUN} cd ${WRKSRC}/gnomeprint/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
.include "../../print/libgnomeprint/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/print/ruby-gnome2-gnomeprint/PLIST b/print/ruby-gnome2-gnomeprint/PLIST
index 2b0c930c6f1..b77c2122ab2 100644
--- a/print/ruby-gnome2-gnomeprint/PLIST
+++ b/print/ruby-gnome2-gnomeprint/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/06/19 15:13:54 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/09/17 00:21:49 obache Exp $
${RUBY_VENDORLIB}/gnomeprint2.rb
${RUBY_VENDORARCHLIB}/gnomeprint2.${RUBY_DLEXT}
+${RUBY_VENDORARCHLIB}/rblibgnomeprintversion.h
diff --git a/print/ruby-gnome2-gnomeprint/buildlink3.mk b/print/ruby-gnome2-gnomeprint/buildlink3.mk
new file mode 100644
index 00000000000..982783392cd
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprint/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/09/17 00:21:49 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK:= ${RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= ruby-gnome2-gnomeprint
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby-gnome2-gnomeprint}
+BUILDLINK_PACKAGES+= ruby-gnome2-gnomeprint
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ruby-gnome2-gnomeprint
+
+.if ${RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.ruby-gnome2-gnomeprint+= ${RUBY_PKGPREFIX}-gnome2-gnomeprint>=0.17.0
+BUILDLINK_PKGSRCDIR.ruby-gnome2-gnomeprint?= ../../print/ruby-gnome2-gnomeprint
+.endif # RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/print/ruby-gnome2-gnomeprintui/DESCR b/print/ruby-gnome2-gnomeprintui/DESCR
new file mode 100644
index 00000000000..0b2033aa6e0
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprintui/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GnomePrintUI is a Ruby binding of libgnomeprintui.
diff --git a/print/ruby-gnome2-gnomeprintui/Makefile b/print/ruby-gnome2-gnomeprintui/Makefile
new file mode 100644
index 00000000000..9847d24796c
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprintui/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnomeprintui-${VERSION}
+COMMENT= Ruby binding of libgnomeprintui
+CATEGORIES= print
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gnomeprintui
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomeprint>=${VERSION}:../../print/ruby-gnome2-gnomeprint
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../print/libgnomeprintui/buildlink3.mk"
+BUILDLINK_DEPMETHOD.ruby-gnome2-gnomeprint= build
+.include "../../print/ruby-gnome2-gnomeprint/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/print/ruby-gnome2-gnomeprintui/PLIST b/print/ruby-gnome2-gnomeprintui/PLIST
new file mode 100644
index 00000000000..0e2f1d9e036
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprintui/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+${RUBY_VENDORLIB}/gnomeprintui2.rb
+${RUBY_VENDORARCHLIB}/gnomeprintui2.${RUBY_DLEXT}
diff --git a/print/ruby-gnome2-poppler/Makefile b/print/ruby-gnome2-poppler/Makefile
index e4add9ca194..46f6203425f 100644
--- a/print/ruby-gnome2-poppler/Makefile
+++ b/print/ruby-gnome2-poppler/Makefile
@@ -1,15 +1,20 @@
-# $NetBSD: Makefile,v 1.3 2008/06/19 15:14:15 taca Exp $
+# $NetBSD: Makefile,v 1.4 2008/09/17 00:21:50 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-poppler-${VERSION}
COMMENT= Ruby binding of poppler-glib
CATEGORIES= print
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= poppler
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf>=${VERSION}:../../graphics/ruby-gnome2-gdkpixbuf
USE_TOOLS+= pkg-config
+do-test:
+ ${RUN} cd ${WRKSRC}/poppler/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
BUILDLINK_API_DEPENDS.poppler-glib+= poppler-glib>=0.6.0
.include "../../graphics/ruby-rcairo/buildlink3.mk"
diff --git a/sysutils/Makefile b/sysutils/Makefile
index b79ab70091d..14849e1e858 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.439 2008/09/07 14:39:44 rhaen Exp $
+# $NetBSD: Makefile,v 1.440 2008/09/17 00:21:48 obache Exp $
#
COMMENT= System utilities
@@ -232,6 +232,7 @@ SUBDIR+= rtty
SUBDIR+= ruby-activesambaldap
SUBDIR+= ruby-directory-watcher
SUBDIR+= ruby-facter
+SUBDIR+= ruby-gnome2-gnomevfs
SUBDIR+= ruby-quota
SUBDIR+= safetynet
SUBDIR+= same
diff --git a/sysutils/ruby-gnome2-gnomevfs/DESCR b/sysutils/ruby-gnome2-gnomevfs/DESCR
new file mode 100644
index 00000000000..0b400f7153f
--- /dev/null
+++ b/sysutils/ruby-gnome2-gnomevfs/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GnomeVFS is a Ruby binding of GnomeVFS-2.0.x.
diff --git a/sysutils/ruby-gnome2-gnomevfs/Makefile b/sysutils/ruby-gnome2-gnomevfs/Makefile
new file mode 100644
index 00000000000..7ae6aa21f4f
--- /dev/null
+++ b/sysutils/ruby-gnome2-gnomevfs/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:50 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnomevfs-${VERSION}
+COMMENT= Ruby binding of gnomevfs
+CATEGORIES= sysutils
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gnomevfs
+
+USE_TOOLS+= pkg-config
+
+do-test:
+ ${RUN} cd ${WRKSRC}/gnomevfs/tests; \
+ for t in test*.rb; do \
+ ${SETENV} ${TEST_ENV} ${RUBY} -I ${WRKSRC}/gnomevfs/src/lib -I ${WRKSRC}/gnomevfs/src $$t; \
+ done
+
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/sysutils/ruby-gnome2-gnomevfs/PLIST b/sysutils/ruby-gnome2-gnomevfs/PLIST
new file mode 100644
index 00000000000..a08f32f2941
--- /dev/null
+++ b/sysutils/ruby-gnome2-gnomevfs/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:50 obache Exp $
+${RUBY_VENDORLIB}/gnomevfs.rb
+${RUBY_VENDORARCHLIB}/gnomevfs.${RUBY_DLEXT}
diff --git a/www/Makefile b/www/Makefile
index 97a5b5e24a2..1f64d5d60c1 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.583 2008/09/16 15:32:24 seb Exp $
+# $NetBSD: Makefile,v 1.584 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -416,6 +416,8 @@ SUBDIR+= ruby-borges
SUBDIR+= ruby-clearsilver
SUBDIR+= ruby-cssmin
SUBDIR+= ruby-fcgi
+SUBDIR+= ruby-gnome2-gtkhtml2
+SUBDIR+= ruby-gnome2-gtkmozembed
SUBDIR+= ruby-htmlsplit
SUBDIR+= ruby-jsmin
SUBDIR+= ruby-mechanize
diff --git a/www/ruby-gnome2-gtkhtml2/DESCR b/www/ruby-gnome2-gtkhtml2/DESCR
new file mode 100644
index 00000000000..fc4812ca61c
--- /dev/null
+++ b/www/ruby-gnome2-gtkhtml2/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GtkHtml2 is a Ruby binding of GtkHtml2.
diff --git a/www/ruby-gnome2-gtkhtml2/Makefile b/www/ruby-gnome2-gtkhtml2/Makefile
new file mode 100644
index 00000000000..9fc8ed519ed
--- /dev/null
+++ b/www/ruby-gnome2-gtkhtml2/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:50 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gtkhtml2-${VERSION}
+COMMENT= Ruby binding of gtkhtml2
+CATEGORIES= www
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gtkhtml2
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../www/libgtkhtml/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/www/ruby-gnome2-gtkhtml2/PLIST b/www/ruby-gnome2-gtkhtml2/PLIST
new file mode 100644
index 00000000000..906b0bb10a2
--- /dev/null
+++ b/www/ruby-gnome2-gtkhtml2/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:50 obache Exp $
+${RUBY_VENDORLIB}/gtkhtml2.rb
+${RUBY_VENDORARCHLIB}/gtkhtml2.${RUBY_DLEXT}
diff --git a/www/ruby-gnome2-gtkmozembed/DESCR b/www/ruby-gnome2-gtkmozembed/DESCR
new file mode 100644
index 00000000000..a8f5f3056fb
--- /dev/null
+++ b/www/ruby-gnome2-gtkmozembed/DESCR
@@ -0,0 +1,6 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GtkHtml2 is a Ruby binding of GtkMozEmbeded a widget embedding a
+Mozilla Gecko renderer.
diff --git a/www/ruby-gnome2-gtkmozembed/Makefile b/www/ruby-gnome2-gtkmozembed/Makefile
new file mode 100644
index 00000000000..8666746202e
--- /dev/null
+++ b/www/ruby-gnome2-gtkmozembed/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:50 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gtkmozembed-${VERSION}
+COMMENT= Ruby binding of gtkmozembed
+CATEGORIES= www
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gtkmozembed
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ruby-gnome2-gtkmozembed
+.include "../../www/seamonkey/gecko-options.mk"
+.include "../../mk/bsd.options.mk"
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../devel/ruby-gnome2-pango/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../www/seamonkey/gecko-depends.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/www/ruby-gnome2-gtkmozembed/PLIST b/www/ruby-gnome2-gtkmozembed/PLIST
new file mode 100644
index 00000000000..3a0dcebd5fa
--- /dev/null
+++ b/www/ruby-gnome2-gtkmozembed/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:50 obache Exp $
+${RUBY_VENDORLIB}/gtkmozembed.rb
+${RUBY_VENDORARCHLIB}/gtkmozembed.${RUBY_DLEXT}
diff --git a/x11/Makefile b/x11/Makefile
index d6a82e18e8b..47c5efc7beb 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.563 2008/09/16 16:07:31 wiz Exp $
+# $NetBSD: Makefile,v 1.564 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Packages to support the X window system
@@ -291,7 +291,9 @@ SUBDIR+= rox-session
SUBDIR+= rox-wallpaper
SUBDIR+= ruby-gnome2-gnome
SUBDIR+= ruby-gnome2-gtk
+SUBDIR+= ruby-gnome2-gtksourceview
SUBDIR+= ruby-gnome2-panelapplet
+SUBDIR+= ruby-gnome2-vte
SUBDIR+= ruby-gtk
SUBDIR+= ruby-tk
SUBDIR+= rxvt
diff --git a/x11/ruby-gnome2-gnome/Makefile b/x11/ruby-gnome2-gnome/Makefile
index 88cfbc5099d..a216fb7ac11 100644
--- a/x11/ruby-gnome2-gnome/Makefile
+++ b/x11/ruby-gnome2-gnome/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/06/19 15:14:44 taca Exp $
+# $NetBSD: Makefile,v 1.15 2008/09/17 00:21:50 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnome-${VERSION}
@@ -7,12 +7,16 @@ COMMENT= Ruby binding of libgnome/libgnomeui-2.x
CONFLICTS+= ruby-gnome2-gnome-[0-9]*
-RUBY_EXTCONF_SUBDIRS= glib gnome
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gnome
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomecanvas>=${VERSION}:../../graphics/ruby-gnome2-gnomecanvas
USE_TOOLS+= pkg-config
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/x11/ruby-gnome2-gtk/Makefile b/x11/ruby-gnome2-gtk/Makefile
index 8d2eedc9403..dce32b88a14 100644
--- a/x11/ruby-gnome2-gtk/Makefile
+++ b/x11/ruby-gnome2-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/06/19 15:15:06 taca Exp $
+# $NetBSD: Makefile,v 1.12 2008/09/17 00:21:50 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gtk-${VERSION}
@@ -7,14 +7,19 @@ COMMENT= Ruby binding of GTK+-2.x
CONFLICTS+= ruby-gnome2-gtk-[0-9]*
-RUBY_EXTCONF_SUBDIRS= glib gtk
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gtk
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-atk>=${VERSION}:../../devel/ruby-gnome2-atk
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf>=${VERSION}:../../graphics/ruby-gnome2-gdkpixbuf
USE_TOOLS+= pkg-config
-.include "../../devel/glib2/buildlink3.mk"
+do-test:
+ ${RUN} cd ${WRKSRC}/gtk/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
.include "../../devel/ruby-gnome2-pango/buildlink3.mk"
.include "../../graphics/ruby-rcairo/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
diff --git a/x11/ruby-gnome2-gtksourceview/DESCR b/x11/ruby-gnome2-gtksourceview/DESCR
new file mode 100644
index 00000000000..b2c6d2dc984
--- /dev/null
+++ b/x11/ruby-gnome2-gtksourceview/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GtkSourceView is a Ruby binding of gtksourceview-1.0.x.
diff --git a/x11/ruby-gnome2-gtksourceview/Makefile b/x11/ruby-gnome2-gtksourceview/Makefile
new file mode 100644
index 00000000000..9e488f0a49c
--- /dev/null
+++ b/x11/ruby-gnome2-gtksourceview/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:50 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gtksourceview-${VERSION}
+COMMENT= Ruby binding of gtksourceview
+CATEGORIES= x11
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gtksourceview
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../x11/gtksourceview/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/x11/ruby-gnome2-gtksourceview/PLIST b/x11/ruby-gnome2-gtksourceview/PLIST
new file mode 100644
index 00000000000..80fe375f974
--- /dev/null
+++ b/x11/ruby-gnome2-gtksourceview/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:50 obache Exp $
+${RUBY_VENDORLIB}/gtksourceview.rb
+${RUBY_VENDORARCHLIB}/gtksourceview.${RUBY_DLEXT}
diff --git a/x11/ruby-gnome2-panelapplet/Makefile b/x11/ruby-gnome2-panelapplet/Makefile
index 0ae4379a444..558a6c9d190 100644
--- a/x11/ruby-gnome2-panelapplet/Makefile
+++ b/x11/ruby-gnome2-panelapplet/Makefile
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.15 2008/09/06 20:54:35 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2008/09/17 00:21:50 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-panelapplet-${VERSION}
COMMENT= Ruby binding of libpanel-applet-2.6.x
-PKGREVISION= 1
CATEGORIES= x11 gnome
CONFLICTS+= ruby-gnome2-panelapplet-[0-9]*
-RUBY_EXTCONF_SUBDIRS= glib panel-applet
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= panel-applet
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnome>=${VERSION}:../../x11/ruby-gnome2-gnome
USE_TOOLS+= pkg-config
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
.include "../../x11/gnome-panel/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/x11/ruby-gnome2-vte/DESCR b/x11/ruby-gnome2-vte/DESCR
new file mode 100644
index 00000000000..3bf2660c61a
--- /dev/null
+++ b/x11/ruby-gnome2-vte/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/VTE is a Ruby binding of VTE.
diff --git a/x11/ruby-gnome2-vte/Makefile b/x11/ruby-gnome2-vte/Makefile
new file mode 100644
index 00000000000..a6eeca3cb22
--- /dev/null
+++ b/x11/ruby-gnome2-vte/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:50 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-vte-${VERSION}
+COMMENT= Ruby binding of vte
+CATEGORIES= x11
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= vte
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../graphics/ruby-rcairo/buildlink3.mk"
+.include "../../x11/vte/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/x11/ruby-gnome2-vte/PLIST b/x11/ruby-gnome2-vte/PLIST
new file mode 100644
index 00000000000..38c962c5b84
--- /dev/null
+++ b/x11/ruby-gnome2-vte/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:50 obache Exp $
+${RUBY_VENDORLIB}/vte.rb
+${RUBY_VENDORARCHLIB}/vte.${RUBY_DLEXT}