summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-06-19 15:11:45 +0000
committertaca <taca@pkgsrc.org>2008-06-19 15:11:45 +0000
commit4ea7637976044af99d42144274c59cfcb785ee08 (patch)
tree3a8c48c1b9fb39939f24e2d04b227aae76b45ecb
parentde21bc8d0574f69a057edb658b9f056bde8c6778 (diff)
downloadpkgsrc-4ea7637976044af99d42144274c59cfcb785ee08.tar.gz
Update to ruby-gnome2-pango to 0.17.0rc1 to build with newer gnome packages.
-rw-r--r--devel/ruby-gnome2-pango/Makefile4
-rw-r--r--devel/ruby-gnome2-pango/PLIST10
-rw-r--r--devel/ruby-gnome2-pango/distinfo8
-rw-r--r--devel/ruby-gnome2-pango/patches/patch-aa12
-rw-r--r--devel/ruby-gnome2-pango/patches/patch-ab24
-rw-r--r--devel/ruby-gnome2-pango/patches/patch-ac29
6 files changed, 6 insertions, 81 deletions
diff --git a/devel/ruby-gnome2-pango/Makefile b/devel/ruby-gnome2-pango/Makefile
index 3ae4e4d8868..a15aa456920 100644
--- a/devel/ruby-gnome2-pango/Makefile
+++ b/devel/ruby-gnome2-pango/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2008/04/28 14:38:51 obache Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/19 15:11:45 taca Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-pango-${VERSION}
-PKGREVISION= 1
COMMENT= Ruby binding of pango-1.x
CATEGORIES= devel fonts
@@ -13,7 +12,6 @@ RUBY_EXTCONF_SUBDIRS= pango
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
USE_TOOLS+= pkg-config
-DISTINFO_FILE?= ${.CURDIR}/distinfo
INSTALL_TARGET= install
diff --git a/devel/ruby-gnome2-pango/PLIST b/devel/ruby-gnome2-pango/PLIST
index 7da46537b47..8adb7661175 100644
--- a/devel/ruby-gnome2-pango/PLIST
+++ b/devel/ruby-gnome2-pango/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2006/01/15 16:12:55 minskim Exp $
-${RUBY_SITEARCHLIBDIR}/pango.${RUBY_DLEXT}
-${RUBY_SITEARCHLIBDIR}/rbpango.h
-${RUBY_SITEARCHLIBDIR}/rbpangoversion.h
-${RUBY_SITELIBDIR}/pango.rb
+@comment $NetBSD: PLIST,v 1.3 2008/06/19 15:11:45 taca Exp $
+${RUBY_VENDORARCHLIB}/pango.${RUBY_DLEXT}
+${RUBY_VENDORARCHLIB}/rbpango.h
+${RUBY_VENDORARCHLIB}/rbpangoversion.h
+${RUBY_VENDORLIB}/pango.rb
diff --git a/devel/ruby-gnome2-pango/distinfo b/devel/ruby-gnome2-pango/distinfo
deleted file mode 100644
index bda9a82ceed..00000000000
--- a/devel/ruby-gnome2-pango/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.1 2008/04/28 14:38:51 obache Exp $
-
-SHA1 (ruby-gnome2-all-0.16.0.tar.gz) = 488f6c1f139060e005f336c9c854c4dc5b3e6b7c
-RMD160 (ruby-gnome2-all-0.16.0.tar.gz) = c83c7cdcf633ad5cc213180f641a6c8f18002a9c
-Size (ruby-gnome2-all-0.16.0.tar.gz) = 1208856 bytes
-SHA1 (patch-aa) = c07918ae0607fe0a217be65b3b36731f73b0bdc0
-SHA1 (patch-ab) = 74d6b904584d742346fc34e2fe1cb336254d5d40
-SHA1 (patch-ac) = 9be382f637dd8629f51230eedd96af7c03637bc8
diff --git a/devel/ruby-gnome2-pango/patches/patch-aa b/devel/ruby-gnome2-pango/patches/patch-aa
deleted file mode 100644
index 20a1806bacd..00000000000
--- a/devel/ruby-gnome2-pango/patches/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/04/28 14:38:51 obache Exp $
-
---- pango/extconf.rb.orig 2006-12-29 13:17:28.000000000 +0000
-+++ pango/extconf.rb
-@@ -23,6 +23,7 @@ have_func("pango_render_part_get_type")
- have_func("pango_attr_strikethrough_color_new")
- have_func("pango_attr_underline_color_new")
- have_func("pango_glyph_item_free")
-+have_func("pango_glyph_item_get_type")
- have_func("pango_attr_iterator_get_attrs")
- have_func("pango_itemize_with_base_dir")
- have_func("pango_font_family_is_monospace")
diff --git a/devel/ruby-gnome2-pango/patches/patch-ab b/devel/ruby-gnome2-pango/patches/patch-ab
deleted file mode 100644
index ae6c515e1e9..00000000000
--- a/devel/ruby-gnome2-pango/patches/patch-ab
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2008/04/28 14:38:51 obache Exp $
-
---- pango/src/rbpango.h.orig 2006-12-29 13:17:28.000000000 +0000
-+++ pango/src/rbpango.h
-@@ -56,7 +56,9 @@ RUBY_PANGO_VAR VALUE mPango;
- #define PANGO_TYPE_ATTR_ITERATOR (pango_attr_iter_get_type())
- #define PANGO_TYPE_COVERAGE (pango_coverage_get_type())
- #define PANGO_TYPE_GLYPH_INFO (pango_glyph_info_get_type())
-+#ifndef PANGO_TYPE_GLYPH_ITEM
- #define PANGO_TYPE_GLYPH_ITEM (pango_glyph_item_get_type())
-+#endif
-
- #if PANGO_CHECK_VERSION(1,4,0)
- #define PANGO_TYPE_SCRIPT_ITER (pango_script_iter_get_type())
-@@ -79,7 +81,9 @@ extern GType pango_rectangle_get_type();
- extern GType pango_attr_iter_get_type();
- extern GType pango_coverage_get_type();
- extern GType pango_glyph_info_get_type();
-+#ifndef HAVE_PANGO_GLYPH_ITEM_GET_TYPE
- extern GType pango_glyph_item_get_type();
-+#endif
-
- #if PANGO_CHECK_VERSION(1,4,0)
- extern GType pango_script_iter_get_type();
diff --git a/devel/ruby-gnome2-pango/patches/patch-ac b/devel/ruby-gnome2-pango/patches/patch-ac
deleted file mode 100644
index b25a659e81c..00000000000
--- a/devel/ruby-gnome2-pango/patches/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/04/28 14:38:51 obache Exp $
-
---- pango/src/rbpangoglyphitem.c.orig 2006-12-29 13:17:28.000000000 +0000
-+++ pango/src/rbpangoglyphitem.c
-@@ -15,6 +15,7 @@
- #define _SELF(r) ((PangoGlyphItem*)RVAL2BOXED(r, PANGO_TYPE_GLYPH_ITEM))
-
- /**********************************/
-+#ifndef HAVE_PANGO_GLYPH_ITEM_GET_TYPE
- static PangoGlyphItem*
- glyph_item_copy(ref)
- const PangoGlyphItem* ref;
-@@ -26,7 +27,7 @@ glyph_item_copy(ref)
- return new_ref;
- }
-
--#if ! HAVE_PANGO_GLYPH_ITEM_FREE
-+# ifndef HAVE_PANGO_GLYPH_ITEM_FREE
- void
- pango_glyph_item_free(PangoGlyphItem* glyph_item)
- {
-@@ -49,6 +50,7 @@ pango_glyph_item_get_type(void)
- (GBoxedFreeFunc)pango_glyph_item_free);
- return our_type;
- }
-+#endif
- /**********************************/
-
- static VALUE