diff options
author | obache <obache@pkgsrc.org> | 2011-01-12 11:57:26 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-01-12 11:57:26 +0000 |
commit | 70a6f1de53bdfbbd4422148ac4d2e29d2684b61b (patch) | |
tree | 5417b2d712c564e7f3f58096453e27589559ce19 /graphics/goocanvasmm | |
parent | 02b34d2ad6733aa470a05bdcb866b9e5359b73c0 (diff) | |
download | pkgsrc-70a6f1de53bdfbbd4422148ac4d2e29d2684b61b.tar.gz |
Fix the build with the latest cairomm.
* goocanvas/src/enums.[hg|ccg]: Remove the (unused) Value<Cairo::Pattern>
specialization. Pattern should always (and is always) used via RefPtr
anyway.
http://git.gnome.org/browse/goocanvasmm/commit/?h=goocanvasmm-1.0&id=30edcb72c89c0f97d11d9f88c6da82f6ae78d4bf
Installed header file is changed, so bump PKGREVISION.
Diffstat (limited to 'graphics/goocanvasmm')
-rw-r--r-- | graphics/goocanvasmm/Makefile | 4 | ||||
-rw-r--r-- | graphics/goocanvasmm/distinfo | 6 | ||||
-rw-r--r-- | graphics/goocanvasmm/patches/patch-aa | 15 | ||||
-rw-r--r-- | graphics/goocanvasmm/patches/patch-ab | 24 | ||||
-rw-r--r-- | graphics/goocanvasmm/patches/patch-ac | 15 | ||||
-rw-r--r-- | graphics/goocanvasmm/patches/patch-ad | 24 |
6 files changed, 85 insertions, 3 deletions
diff --git a/graphics/goocanvasmm/Makefile b/graphics/goocanvasmm/Makefile index 05d23aa40f9..57846632740 100644 --- a/graphics/goocanvasmm/Makefile +++ b/graphics/goocanvasmm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2010/11/18 11:54:56 obache Exp $ +# $NetBSD: Makefile,v 1.11 2011/01/12 11:57:26 obache Exp $ # DISTNAME= goocanvasmm-0.15.3 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNOME:=sources/goocanvasmm/0.15/} diff --git a/graphics/goocanvasmm/distinfo b/graphics/goocanvasmm/distinfo index cb006ca5633..d572ac7640f 100644 --- a/graphics/goocanvasmm/distinfo +++ b/graphics/goocanvasmm/distinfo @@ -1,5 +1,9 @@ -$NetBSD: distinfo,v 1.4 2010/08/04 11:58:13 obache Exp $ +$NetBSD: distinfo,v 1.5 2011/01/12 11:57:26 obache Exp $ SHA1 (goocanvasmm-0.15.3.tar.gz) = b21676c9590f86186d4784537aefda119127f906 RMD160 (goocanvasmm-0.15.3.tar.gz) = bf5aec04c917ff1f20013e6e561f4a3accb99a24 Size (goocanvasmm-0.15.3.tar.gz) = 1799421 bytes +SHA1 (patch-aa) = 791778d3cf273b0c97c2185588478e27a38992ea +SHA1 (patch-ab) = 040e8b02b3f36d6f2c68b4eda4f8382013c50842 +SHA1 (patch-ac) = 62de86486fea8a8d267fd9ce5526514fca1c7342 +SHA1 (patch-ad) = 2e540457d8bdebb854409afc226c92722f079e9d diff --git a/graphics/goocanvasmm/patches/patch-aa b/graphics/goocanvasmm/patches/patch-aa new file mode 100644 index 00000000000..da86ccde774 --- /dev/null +++ b/graphics/goocanvasmm/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2011/01/12 11:57:27 obache Exp $ + +Fix the build with the latest cairomm. +http://git.gnome.org/browse/goocanvasmm/commit/?h=goocanvasmm-1.0&id=30edcb72c89c0f97d11d9f88c6da82f6ae78d4bf + +--- goocanvas/goocanvasmm/enums.cc.orig 2009-09-03 08:30:17.000000000 +0000 ++++ goocanvas/goocanvasmm/enums.cc +@@ -31,7 +31,6 @@ namespace Glib + + // We can't simply derive from Glib::ValueBoxed<> because these have no + // gobj() function to return the underlying boxed C object. +-GType Value<Cairo::Pattern>::value_type() { return goo_cairo_pattern_get_type(); } + GType Value<Cairo::Matrix*>::value_type() { return goo_cairo_matrix_get_type(); } + + // Normally, _WRAP_ENUM does generate this code for us, but we can't use diff --git a/graphics/goocanvasmm/patches/patch-ab b/graphics/goocanvasmm/patches/patch-ab new file mode 100644 index 00000000000..6c23dcb1077 --- /dev/null +++ b/graphics/goocanvasmm/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.1 2011/01/12 11:57:27 obache Exp $ + +Fix the build with the latest cairomm. +http://git.gnome.org/browse/goocanvasmm/commit/?h=goocanvasmm-1.0&id=30edcb72c89c0f97d11d9f88c6da82f6ae78d4bf + +--- goocanvas/goocanvasmm/enums.h.orig 2009-09-03 08:30:17.000000000 +0000 ++++ goocanvas/goocanvasmm/enums.h +@@ -193,16 +193,6 @@ namespace Glib + // GTypes goocanvas defines for them in goocanvasutil.h + + template<> +-class Value<Cairo::Pattern> : public Glib::ValueBase_Boxed +-{ +-public: +- static GType value_type() G_GNUC_CONST; +- +- void set(const Cairo::Pattern& data) { set_boxed(data.cobj()); } +- Cairo::Pattern get() const { return Cairo::Pattern(static_cast<cairo_pattern_t*>(get_boxed())); } +-}; +- +-template<> + class Value<Cairo::Matrix*> : public Glib::ValueBase_Boxed + { + public: diff --git a/graphics/goocanvasmm/patches/patch-ac b/graphics/goocanvasmm/patches/patch-ac new file mode 100644 index 00000000000..becb0cf0094 --- /dev/null +++ b/graphics/goocanvasmm/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2011/01/12 11:57:27 obache Exp $ + +Fix the build with the latest cairomm. +http://git.gnome.org/browse/goocanvasmm/commit/?h=goocanvasmm-1.0&id=30edcb72c89c0f97d11d9f88c6da82f6ae78d4bf + +--- goocanvas/src/enums.ccg.orig 2009-09-03 08:28:35.000000000 +0000 ++++ goocanvas/src/enums.ccg +@@ -25,7 +25,6 @@ namespace Glib + + // We can't simply derive from Glib::ValueBoxed<> because these have no + // gobj() function to return the underlying boxed C object. +-GType Value<Cairo::Pattern>::value_type() { return goo_cairo_pattern_get_type(); } + GType Value<Cairo::Matrix*>::value_type() { return goo_cairo_matrix_get_type(); } + + // Normally, _WRAP_ENUM does generate this code for us, but we can't use diff --git a/graphics/goocanvasmm/patches/patch-ad b/graphics/goocanvasmm/patches/patch-ad new file mode 100644 index 00000000000..7fe534c3f79 --- /dev/null +++ b/graphics/goocanvasmm/patches/patch-ad @@ -0,0 +1,24 @@ +$NetBSD: patch-ad,v 1.1 2011/01/12 11:57:27 obache Exp $ + +Fix the build with the latest cairomm. +http://git.gnome.org/browse/goocanvasmm/commit/?h=goocanvasmm-1.0&id=30edcb72c89c0f97d11d9f88c6da82f6ae78d4bf + +--- goocanvas/src/enums.hg.orig 2009-09-03 08:28:35.000000000 +0000 ++++ goocanvas/src/enums.hg +@@ -40,16 +40,6 @@ namespace Glib + // GTypes goocanvas defines for them in goocanvasutil.h + + template<> +-class Value<Cairo::Pattern> : public Glib::ValueBase_Boxed +-{ +-public: +- static GType value_type() G_GNUC_CONST; +- +- void set(const Cairo::Pattern& data) { set_boxed(data.cobj()); } +- Cairo::Pattern get() const { return Cairo::Pattern(static_cast<cairo_pattern_t*>(get_boxed())); } +-}; +- +-template<> + class Value<Cairo::Matrix*> : public Glib::ValueBase_Boxed + { + public: |