diff options
author | obache <obache> | 2013-06-09 13:25:14 +0000 |
---|---|---|
committer | obache <obache> | 2013-06-09 13:25:14 +0000 |
commit | 1138bcbc3cbd6176220673a3a08d189e93615c15 (patch) | |
tree | 4e1d16fdec0715afcc7114e3d0c291c9eebbd09f /graphics/goocanvas2 | |
parent | d484eedb42657179ef01c2581efbaef35f681efa (diff) | |
download | pkgsrc-1138bcbc3cbd6176220673a3a08d189e93615c15.tar.gz |
Import goocanvas-2.0.1 as graphics/goocanvas2.
GooCanvas is a canvas widget for GTK+ that users the cairo 2D library for
drawing.
Diffstat (limited to 'graphics/goocanvas2')
27 files changed, 1000 insertions, 0 deletions
diff --git a/graphics/goocanvas2/DESCR b/graphics/goocanvas2/DESCR new file mode 100644 index 00000000000..c6123edfaea --- /dev/null +++ b/graphics/goocanvas2/DESCR @@ -0,0 +1,2 @@ +GooCanvas is a canvas widget for GTK+ that users the cairo 2D library for +drawing. diff --git a/graphics/goocanvas2/Makefile b/graphics/goocanvas2/Makefile new file mode 100644 index 00000000000..bc859a9aa5a --- /dev/null +++ b/graphics/goocanvas2/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2013/06/09 13:25:14 obache Exp $ +# + +DISTNAME= goocanvas-2.0.1 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/goocanvas/2.0/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://live.gnome.org/GooCanvas +COMMENT= Cairo-based canvas widget for GTK+3.0 +LICENSE= gnu-lgpl-v2 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config msgfmt gmake +USE_PKGLOCALEDIR= yes + +PKGCONFIG_OVERRIDE+= goocanvas-2.0.pc.in + +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.28.0 +.include "../../devel/glib2/buildlink3.mk" +BUILDLINK_DEPMETHOD.gobject-introspection+= build +.include "../../devel/gobject-introspection/buildlink3.mk" +BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.0 +.include "../../graphics/cairo/buildlink3.mk" +.include "../../x11/gtk3/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/goocanvas2/PLIST b/graphics/goocanvas2/PLIST new file mode 100644 index 00000000000..8b004c3ab30 --- /dev/null +++ b/graphics/goocanvas2/PLIST @@ -0,0 +1,73 @@ +@comment $NetBSD: PLIST,v 1.1 2013/06/09 13:25:14 obache Exp $ +include/goocanvas-2.0/goocanvas.h +include/goocanvas-2.0/goocanvasellipse.h +include/goocanvas-2.0/goocanvasenumtypes.h +include/goocanvas-2.0/goocanvasgrid.h +include/goocanvas-2.0/goocanvasgroup.h +include/goocanvas-2.0/goocanvasimage.h +include/goocanvas-2.0/goocanvasitem.h +include/goocanvas-2.0/goocanvasitemmodel.h +include/goocanvas-2.0/goocanvasitemsimple.h +include/goocanvas-2.0/goocanvasmarshal.h +include/goocanvas-2.0/goocanvaspath.h +include/goocanvas-2.0/goocanvaspolyline.h +include/goocanvas-2.0/goocanvasrect.h +include/goocanvas-2.0/goocanvasstyle.h +include/goocanvas-2.0/goocanvastable.h +include/goocanvas-2.0/goocanvastext.h +include/goocanvas-2.0/goocanvasutils.h +include/goocanvas-2.0/goocanvaswidget.h +lib/girepository-1.0/GooCanvas-2.0.typelib +lib/libgoocanvas-2.0.la +lib/pkgconfig/goocanvas-2.0.pc +share/gir-1.0/GooCanvas-2.0.gir +share/gtk-doc/html/goocanvas2/GooCanvas.html +share/gtk-doc/html/goocanvas2/GooCanvasEllipse.html +share/gtk-doc/html/goocanvas2/GooCanvasEllipseModel.html +share/gtk-doc/html/goocanvas2/GooCanvasGrid.html +share/gtk-doc/html/goocanvas2/GooCanvasGridModel.html +share/gtk-doc/html/goocanvas2/GooCanvasGroup.html +share/gtk-doc/html/goocanvas2/GooCanvasGroupModel.html +share/gtk-doc/html/goocanvas2/GooCanvasImage.html +share/gtk-doc/html/goocanvas2/GooCanvasImageModel.html +share/gtk-doc/html/goocanvas2/GooCanvasItem.html +share/gtk-doc/html/goocanvas2/GooCanvasItemModel.html +share/gtk-doc/html/goocanvas2/GooCanvasItemModelSimple.html +share/gtk-doc/html/goocanvas2/GooCanvasItemSimple.html +share/gtk-doc/html/goocanvas2/GooCanvasPath.html +share/gtk-doc/html/goocanvas2/GooCanvasPathModel.html +share/gtk-doc/html/goocanvas2/GooCanvasPolyline.html +share/gtk-doc/html/goocanvas2/GooCanvasPolylineModel.html +share/gtk-doc/html/goocanvas2/GooCanvasRect.html +share/gtk-doc/html/goocanvas2/GooCanvasRectModel.html +share/gtk-doc/html/goocanvas2/GooCanvasStyle.html +share/gtk-doc/html/goocanvas2/GooCanvasTable.html +share/gtk-doc/html/goocanvas2/GooCanvasTableModel.html +share/gtk-doc/html/goocanvas2/GooCanvasText.html +share/gtk-doc/html/goocanvas2/GooCanvasTextModel.html +share/gtk-doc/html/goocanvas2/GooCanvasWidget.html +share/gtk-doc/html/goocanvas2/ch01.html +share/gtk-doc/html/goocanvas2/ch02.html +share/gtk-doc/html/goocanvas2/ch03.html +share/gtk-doc/html/goocanvas2/ch04.html +share/gtk-doc/html/goocanvas2/ch05.html +share/gtk-doc/html/goocanvas2/goocanvas-architecture.html +share/gtk-doc/html/goocanvas2/goocanvas-coordinates.html +share/gtk-doc/html/goocanvas2/goocanvas-creating-items.html +share/gtk-doc/html/goocanvas2/goocanvas-model-view-canvas.html +share/gtk-doc/html/goocanvas2/goocanvas-overview.html +share/gtk-doc/html/goocanvas2/goocanvas-simple-canvas.html +share/gtk-doc/html/goocanvas2/goocanvas-wysiwyg.html +share/gtk-doc/html/goocanvas2/goocanvas2-GooCanvas-Types.html +share/gtk-doc/html/goocanvas2/goocanvas2.devhelp2 +share/gtk-doc/html/goocanvas2/home.png +share/gtk-doc/html/goocanvas2/index.html +share/gtk-doc/html/goocanvas2/index.sgml +share/gtk-doc/html/goocanvas2/left.png +share/gtk-doc/html/goocanvas2/right.png +share/gtk-doc/html/goocanvas2/style.css +share/gtk-doc/html/goocanvas2/up.png +share/locale/en_GB/LC_MESSAGES/goocanvas2.mo +share/locale/es/LC_MESSAGES/goocanvas2.mo +share/locale/ja/LC_MESSAGES/goocanvas2.mo +share/locale/sv/LC_MESSAGES/goocanvas2.mo diff --git a/graphics/goocanvas2/buildlink3.mk b/graphics/goocanvas2/buildlink3.mk new file mode 100644 index 00000000000..3e643e26236 --- /dev/null +++ b/graphics/goocanvas2/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/06/09 13:25:14 obache Exp $ +# + +BUILDLINK_TREE+= goocanvas2 + +.if !defined(GOOCANVAS2_BUILDLINK3_MK) +GOOCANVAS2_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.goocanvas2+= goocanvas2>=2.0 +BUILDLINK_PKGSRCDIR.goocanvas2?= ../../graphics/goocanvas2 + +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../x11/gtk3/buildlink3.mk" +.endif # GOOCANVAS2_BUILDLINK3_MK + +BUILDLINK_TREE+= -goocanvas2 diff --git a/graphics/goocanvas2/distinfo b/graphics/goocanvas2/distinfo new file mode 100644 index 00000000000..5daa6066915 --- /dev/null +++ b/graphics/goocanvas2/distinfo @@ -0,0 +1,27 @@ +$NetBSD: distinfo,v 1.1 2013/06/09 13:25:14 obache Exp $ + +SHA1 (goocanvas-2.0.1.tar.bz2) = 8676d48d8ce05ecb8a5146d2a2b451b5e0f799f9 +RMD160 (goocanvas-2.0.1.tar.bz2) = 60047524beccbfbb40add17986273dde9b8ff9c7 +Size (goocanvas-2.0.1.tar.bz2) = 595203 bytes +SHA1 (patch-src_goocanvas.c) = 62a21b55a3fc2628badd74d078f6d940258eb4df +SHA1 (patch-src_goocanvas.h) = 799422cdec55c5fdf8b09326a42990549db3ba18 +SHA1 (patch-src_goocanvasellipse.h) = 4303037140fcc0149cac97d860a70ffa569b4a06 +SHA1 (patch-src_goocanvasgrid.c) = 5f645fd97b17f86d7a2e24aa9b4e733a7325f6aa +SHA1 (patch-src_goocanvasgrid.h) = 5b6334b5d77bc7689e7320f2db02ae8370a84545 +SHA1 (patch-src_goocanvasgroup.h) = 501886270f6f5a24694f92e58e4c2130b77df580 +SHA1 (patch-src_goocanvasimage.h) = 2871b449adfd2a66cc0b638b2da1e2b49a41b013 +SHA1 (patch-src_goocanvasitem.c) = ff52d9af6594634c17c0176e3ced233ad906953c +SHA1 (patch-src_goocanvasitem.h) = 28eaf4039e86baaa63a1116da1362be17c5c2075 +SHA1 (patch-src_goocanvasitemmodel.c) = 51da2c585cda984bf94b2e37209a95347718f5a7 +SHA1 (patch-src_goocanvasitemmodel.h) = fe90cb89a56c859f60d0aa98e6d1e5e306fa2f66 +SHA1 (patch-src_goocanvasitemsimple.c) = f11b11029642542c2f78cb8f8150a0d7cbd30ae7 +SHA1 (patch-src_goocanvasitemsimple.h) = 8237ab5cf6b17b2e63287f5f73cc32232cc88146 +SHA1 (patch-src_goocanvaspath.c) = f8f285cf9b629fe757a6b63eff48e073a43bfc9b +SHA1 (patch-src_goocanvaspath.h) = cf619be685985e3ed6a3a13f6d9684c28533c09a +SHA1 (patch-src_goocanvaspolyline.h) = 946355a904d0d57c3a60052ad3312533fc6ed3ac +SHA1 (patch-src_goocanvasrect.h) = 1b3a24cc0ffb274c67de4c436c7da2aed9926b8f +SHA1 (patch-src_goocanvasstyle.h) = 848542ff4f147b5392f479df11ad819e75139551 +SHA1 (patch-src_goocanvastable.h) = 6c2dfdd2b05dfbaa24f89a6f22ea4dfb2639d356 +SHA1 (patch-src_goocanvastext.h) = 0ae55d05add3d5b64f7b411d8bf55bcf55515de8 +SHA1 (patch-src_goocanvasutils.h) = 459e3893fb4f455166f29abee85265508ab25f2d +SHA1 (patch-src_goocanvaswidget.h) = 3de23659f3f12bd093038a8e789331b655d98033 diff --git a/graphics/goocanvas2/patches/patch-src_goocanvas.c b/graphics/goocanvas2/patches/patch-src_goocanvas.c new file mode 100644 index 00000000000..13e1289d4b5 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvas.c @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvas.c,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvas.c.orig 2011-10-09 17:38:11.000000000 +0000 ++++ src/goocanvas.c +@@ -420,7 +420,7 @@ goo_canvas_class_init (GooCanvasClass *k + G_PARAM_WRITABLE)); + + /** +- * GooCanvas:background-color-gdk-rgba ++ * GooCanvas:background-color-gdk-rgba: + * + * The color to use for the canvas background, specified as a GdkRGBA. + * +@@ -463,7 +463,7 @@ goo_canvas_class_init (GooCanvasClass *k + /* Signals. */ + + /** +- * GooCanvas::item-created ++ * GooCanvas::item-created: + * @canvas: the canvas. + * @item: the new item. + * @model: the item's model. diff --git a/graphics/goocanvas2/patches/patch-src_goocanvas.h b/graphics/goocanvas2/patches/patch-src_goocanvas.h new file mode 100644 index 00000000000..9c0215a06b0 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvas.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvas.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvas.h.orig 2011-10-01 11:41:10.000000000 +0000 ++++ src/goocanvas.h +@@ -34,7 +34,7 @@ G_BEGIN_DECLS + typedef struct _GooCanvasClass GooCanvasClass; + + /** +- * GooCanvas ++ * GooCanvas: + * + * The #GooCanvas-struct struct contains private data only. + */ +@@ -162,7 +162,7 @@ struct _GooCanvas + }; + + /** +- * GooCanvasClass ++ * GooCanvasClass: + * @create_item: a virtual method that subclasses may override to create custom + * canvas items for item models. + * @item_created: signal emitted when a new canvas item has been created. diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasellipse.h b/graphics/goocanvas2/patches/patch-src_goocanvasellipse.h new file mode 100644 index 00000000000..852af7aad00 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasellipse.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasellipse.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasellipse.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasellipse.h +@@ -33,7 +33,7 @@ typedef struct _GooCanvasEllipse G + typedef struct _GooCanvasEllipseClass GooCanvasEllipseClass; + + /** +- * GooCanvasEllipse ++ * GooCanvasEllipse: + * + * The #GooCanvasEllipse-struct struct contains private data only. + */ +@@ -81,7 +81,7 @@ typedef struct _GooCanvasEllipseModel + typedef struct _GooCanvasEllipseModelClass GooCanvasEllipseModelClass; + + /** +- * GooCanvasEllipseModel ++ * GooCanvasEllipseModel: + * + * The #GooCanvasEllipseModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasgrid.c b/graphics/goocanvas2/patches/patch-src_goocanvasgrid.c new file mode 100644 index 00000000000..f861f459098 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasgrid.c @@ -0,0 +1,34 @@ +$NetBSD: patch-src_goocanvasgrid.c,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasgrid.c.orig 2011-10-03 13:03:33.000000000 +0000 ++++ src/goocanvasgrid.c +@@ -247,7 +247,7 @@ goo_canvas_grid_install_common_propertie + G_PARAM_READWRITE)); + + /** +- * GooCanvasGrid:horz-grid-line-color-gdk-rgba ++ * GooCanvasGrid:horz-grid-line-color-gdk-rgba: + * + * The color to use for the horizontal grid lines, specified as a GdkRGBA. + * +@@ -282,7 +282,7 @@ goo_canvas_grid_install_common_propertie + G_PARAM_READWRITE)); + + /** +- * GooCanvasGrid:vert-grid-line-color-gdk-rgba ++ * GooCanvasGrid:vert-grid-line-color-gdk-rgba: + * + * The color to use for the vertical grid lines, specified as a GdkRGBA. + * +@@ -317,7 +317,7 @@ goo_canvas_grid_install_common_propertie + G_PARAM_READWRITE)); + + /** +- * GooCanvasGrid:border-color-gdk-rgba ++ * GooCanvasGrid:border-color-gdk-rgba: + * + * The color to use for the border, specified as a GdkRGBA. + * diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasgrid.h b/graphics/goocanvas2/patches/patch-src_goocanvasgrid.h new file mode 100644 index 00000000000..213342fd28d --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasgrid.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasgrid.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasgrid.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasgrid.h +@@ -59,7 +59,7 @@ typedef struct _GooCanvasGrid GooC + typedef struct _GooCanvasGridClass GooCanvasGridClass; + + /** +- * GooCanvasGrid ++ * GooCanvasGrid: + * + * The #GooCanvasGrid-struct struct contains private data only. + */ +@@ -110,7 +110,7 @@ typedef struct _GooCanvasGridModel + typedef struct _GooCanvasGridModelClass GooCanvasGridModelClass; + + /** +- * GooCanvasGridModel ++ * GooCanvasGridModel: + * + * The #GooCanvasGridModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasgroup.h b/graphics/goocanvas2/patches/patch-src_goocanvasgroup.h new file mode 100644 index 00000000000..07fa77f0b08 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasgroup.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasgroup.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasgroup.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasgroup.h +@@ -29,7 +29,7 @@ typedef struct _GooCanvasGroupModel + typedef struct _GooCanvasGroupModelClass GooCanvasGroupModelClass; + + /** +- * GooCanvasGroup ++ * GooCanvasGroup: + * + * The #GooCanvasGroup-struct struct contains private data only. + */ +@@ -72,7 +72,7 @@ GooCanvasItem* goo_canvas_group_new + + + /** +- * GooCanvasGroupModel ++ * GooCanvasGroupModel: + * + * The #GooCanvasGroupModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasimage.h b/graphics/goocanvas2/patches/patch-src_goocanvasimage.h new file mode 100644 index 00000000000..161d4db51e7 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasimage.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasimage.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasimage.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasimage.h +@@ -35,7 +35,7 @@ typedef struct _GooCanvasImage Goo + typedef struct _GooCanvasImageClass GooCanvasImageClass; + + /** +- * GooCanvasImage ++ * GooCanvasImage: + * + * The #GooCanvasImage-struct struct contains private data only. + */ +@@ -82,7 +82,7 @@ typedef struct _GooCanvasImageModel + typedef struct _GooCanvasImageModelClass GooCanvasImageModelClass; + + /** +- * GooCanvasImageModel ++ * GooCanvasImageModel: + * + * The #GooCanvasImageModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasitem.c b/graphics/goocanvas2/patches/patch-src_goocanvasitem.c new file mode 100644 index 00000000000..8a3ad7b0745 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasitem.c @@ -0,0 +1,129 @@ +$NetBSD: patch-src_goocanvasitem.c,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Use GObject.Object instead of GLib.Object in introspection annotations + https://git.gnome.org/browse/goocanvas/commit/?id=2088843efb50f05b8965340eddbf7c0103c6eef1 +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasitem.c.orig 2011-10-09 18:03:37.000000000 +0000 ++++ src/goocanvasitem.c +@@ -117,7 +117,7 @@ goo_canvas_item_base_init (gpointer g_if + /* Mouse events. */ + + /** +- * GooCanvasItem::enter-notify-event ++ * GooCanvasItem::enter-notify-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. The x & y fields contain the mouse position +@@ -142,7 +142,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::leave-notify-event ++ * GooCanvasItem::leave-notify-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. The x & y fields contain the mouse position +@@ -167,7 +167,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::motion-notify-event ++ * GooCanvasItem::motion-notify-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. The x & y fields contain the mouse position +@@ -192,7 +192,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::button-press-event ++ * GooCanvasItem::button-press-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. The x & y fields contain the mouse position +@@ -217,7 +217,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::button-release-event ++ * GooCanvasItem::button-release-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. The x & y fields contain the mouse position +@@ -245,7 +245,7 @@ goo_canvas_item_base_init (gpointer g_if + /* Keyboard events. */ + + /** +- * GooCanvasItem::focus-in-event ++ * GooCanvasItem::focus-in-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. +@@ -268,7 +268,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::focus-out-event ++ * GooCanvasItem::focus-out-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. +@@ -291,7 +291,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::key-press-event ++ * GooCanvasItem::key-press-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. +@@ -315,7 +315,7 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::key-release-event ++ * GooCanvasItem::key-release-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. +@@ -371,7 +371,7 @@ goo_canvas_item_base_init (gpointer g_if + GTK_TYPE_TOOLTIP); + + /** +- * GooCanvasItem::grab-broken-event ++ * GooCanvasItem::grab-broken-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. +@@ -395,9 +395,9 @@ goo_canvas_item_base_init (gpointer g_if + GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE); + + /** +- * GooCanvasItem::child-notify ++ * GooCanvasItem::child-notify: + * @item: the item that received the signal. +- * @pspec: (type GLib.ParamSpec): the #GParamSpec of the changed child property. ++ * @pspec: (type GObject.ParamSpec): the #GParamSpec of the changed child property. + * + * Emitted for each child property that has changed. + * The signal's detail holds the property name. +@@ -413,7 +413,7 @@ goo_canvas_item_base_init (gpointer g_if + G_TYPE_PARAM); + + /** +- * GooCanvasItem::animation-finished ++ * GooCanvasItem::animation-finished: + * @item: the item that received the signal. + * @stopped: if the animation was explicitly stopped. + * +@@ -430,7 +430,7 @@ goo_canvas_item_base_init (gpointer g_if + G_TYPE_BOOLEAN); + + /** +- * GooCanvasItem::scroll-event ++ * GooCanvasItem::scroll-event: + * @item: the item that received the signal. + * @target_item: the target of the event. + * @event: the event data. The x & y fields contain the mouse position diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasitem.h b/graphics/goocanvas2/patches/patch-src_goocanvasitem.h new file mode 100644 index 00000000000..7c1b3a5df84 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasitem.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasitem.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasitem.h.orig 2011-10-01 11:41:10.000000000 +0000 ++++ src/goocanvasitem.h +@@ -65,7 +65,7 @@ typedef struct _GooCanvasItemModel GooC + + + /** +- * GooCanvasItem ++ * GooCanvasItem: + * + * #GooCanvasItem is a typedef used for objects that implement the + * #GooCanvasItem interface. +@@ -77,7 +77,7 @@ typedef struct _GooCanvasItem GooC + + + /** +- * GooCanvasItemIface ++ * GooCanvasItemIface: + * @get_canvas: returns the canvas the item is in. + * @set_canvas: sets the canvas the item is in. + * @get_n_children: returns the number of children of the item. diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasitemmodel.c b/graphics/goocanvas2/patches/patch-src_goocanvasitemmodel.c new file mode 100644 index 00000000000..8ca56652684 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasitemmodel.c @@ -0,0 +1,84 @@ +$NetBSD: patch-src_goocanvasitemmodel.c,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Use GObject.Object instead of GLib.Object in introspection annotations + https://git.gnome.org/browse/goocanvas/commit/?id=2088843efb50f05b8965340eddbf7c0103c6eef1 +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasitemmodel.c.orig 2011-10-01 15:07:18.000000000 +0000 ++++ src/goocanvasitemmodel.c +@@ -115,7 +115,7 @@ goo_canvas_item_model_base_init (gpointe + _goo_canvas_item_model_child_property_notify_context = &cpn_context; + + /** +- * GooCanvasItemModel::child-added ++ * GooCanvasItemModel::child-added: + * @model: the item model that received the signal. + * @child_num: the index of the new child. + * +@@ -132,7 +132,7 @@ goo_canvas_item_model_base_init (gpointe + G_TYPE_INT); + + /** +- * GooCanvasItemModel::child-moved ++ * GooCanvasItemModel::child-moved: + * @model: the item model that received the signal. + * @old_child_num: the old index of the child. + * @new_child_num: the new index of the child. +@@ -150,7 +150,7 @@ goo_canvas_item_model_base_init (gpointe + G_TYPE_INT, G_TYPE_INT); + + /** +- * GooCanvasItemModel::child-removed ++ * GooCanvasItemModel::child-removed: + * @model: the item model that received the signal. + * @child_num: the index of the child that was removed. + * +@@ -167,7 +167,7 @@ goo_canvas_item_model_base_init (gpointe + G_TYPE_INT); + + /** +- * GooCanvasItemModel::changed ++ * GooCanvasItemModel::changed: + * @model: the item model that received the signal. + * @recompute_bounds: if the bounds of the item need to be recomputed. + * +@@ -184,9 +184,9 @@ goo_canvas_item_model_base_init (gpointe + G_TYPE_BOOLEAN); + + /** +- * GooCanvasItemModel::child-notify ++ * GooCanvasItemModel::child-notify: + * @item: the item model that received the signal. +- * @pspec: (type GLib.ParamSpec): the #GParamSpec of the changed child property. ++ * @pspec: (type GObject.ParamSpec): the #GParamSpec of the changed child property. + * + * Emitted for each child property that has changed. + * The signal's detail holds the property name. +@@ -202,7 +202,7 @@ goo_canvas_item_model_base_init (gpointe + G_TYPE_PARAM); + + /** +- * GooCanvasItemModel::animation-finished ++ * GooCanvasItemModel::animation-finished: + * @item: the item model that received the signal. + * @stopped: if the animation was explicitly stopped. + * +@@ -1126,7 +1126,7 @@ goo_canvas_item_model_class_install_chil + * + * It finds a child property of a canvas item class by name. + * +- * Returns: (type GLib.ParamSpec) (transfer none): The #GParamSpec of the child ++ * Returns: (type GObject.ParamSpec) (transfer none): The #GParamSpec of the child + * property or %NULL if @class has no child property with that name. + */ + GParamSpec* +@@ -1152,7 +1152,7 @@ goo_canvas_item_model_class_find_child_p + * + * It returns all child properties of a canvas item class. + * +- * Returns: (array length=n_properties) (element-type GLib.ParamSpec) (transfer container): ++ * Returns: (array length=n_properties) (element-type Object.ParamSpec) (transfer container): + * a newly allocated array of #GParamSpec*. The array must be freed with g_free(). + */ + GParamSpec** diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasitemmodel.h b/graphics/goocanvas2/patches/patch-src_goocanvasitemmodel.h new file mode 100644 index 00000000000..196002c1b96 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasitemmodel.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasitemmodel.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasitemmodel.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasitemmodel.h +@@ -20,7 +20,7 @@ G_BEGIN_DECLS + + + /** +- * GooCanvasItemModel ++ * GooCanvasItemModel: + * + * #GooCanvasItemModel is a typedef used for objects that implement the + * #GooCanvasItemModel interface. +@@ -33,7 +33,7 @@ G_BEGIN_DECLS + + + /** +- * GooCanvasItemModelIface ++ * GooCanvasItemModelIface: + * @get_n_children: returns the number of children of the model. + * @get_child: returns the child at the given index. + * @add_child: adds a child. diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasitemsimple.c b/graphics/goocanvas2/patches/patch-src_goocanvasitemsimple.c new file mode 100644 index 00000000000..5969afdc0df --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasitemsimple.c @@ -0,0 +1,34 @@ +$NetBSD: patch-src_goocanvasitemsimple.c,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasitemsimple.c.orig 2011-10-09 18:14:23.000000000 +0000 ++++ src/goocanvasitemsimple.c +@@ -273,7 +273,7 @@ goo_canvas_item_simple_install_common_pr + G_PARAM_READWRITE)); + + /** +- * GooCanvasItemSimple:fill-color-gdk-rgba ++ * GooCanvasItemSimple:fill-color-gdk-rgba: + * + * The color to use to paint the interior of the item, specified as a GdkRGBA. To disable painting set the 'fill-pattern' property to NULL. + * +@@ -322,7 +322,7 @@ goo_canvas_item_simple_install_common_pr + "tooltip"); + + /** +- * GooCanvasItemSimple:clip-path ++ * GooCanvasItemSimple:clip-path: + * + * The sequence of commands describing the clip path of the item, specified + * as a string using the same syntax +@@ -330,7 +330,7 @@ goo_canvas_item_simple_install_common_pr + * Graphics (SVG)</ulink> path element. + */ + /** +- * GooCanvasItemModelSimple:clip-path ++ * GooCanvasItemModelSimple:clip-path: + * + * The sequence of commands describing the clip path of the item, specified + * as a string using the same syntax diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasitemsimple.h b/graphics/goocanvas2/patches/patch-src_goocanvasitemsimple.h new file mode 100644 index 00000000000..abd52b63b63 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasitemsimple.h @@ -0,0 +1,43 @@ +$NetBSD: patch-src_goocanvasitemsimple.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasitemsimple.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasitemsimple.h +@@ -17,7 +17,7 @@ G_BEGIN_DECLS + + + /** +- * GooCanvasItemSimpleData ++ * GooCanvasItemSimpleData: + * @style: the style to draw with. + * @transform: the transformation matrix of the item, or %NULL. + * @clip_path_commands: an array of #GooCanvasPathCommand specifying the clip +@@ -76,7 +76,7 @@ typedef struct _GooCanvasItemSimpleClass + typedef struct _GooCanvasItemModelSimple GooCanvasItemModelSimple; + + /** +- * GooCanvasItemSimple ++ * GooCanvasItemSimple: + * @canvas: the canvas. + * @parent: the parent item. + * @model: the item's model, if it has one. +@@ -111,7 +111,7 @@ struct _GooCanvasItemSimple + }; + + /** +- * GooCanvasItemSimpleClass ++ * GooCanvasItemSimpleClass: + * @simple_create_path: simple subclasses that draw basic shapes and paths only + * need to override this one method. It creates the path for the item. + * All updating, painting and hit-testing is provided automatically by the +@@ -202,7 +202,7 @@ void goo_canvas_item_simple_set_model + typedef struct _GooCanvasItemModelSimpleClass GooCanvasItemModelSimpleClass; + + /** +- * GooCanvasItemModelSimple ++ * GooCanvasItemModelSimple: + * @parent: the parent model. + * @simple_data: data used by the canvas item for viewing the model. + * diff --git a/graphics/goocanvas2/patches/patch-src_goocanvaspath.c b/graphics/goocanvas2/patches/patch-src_goocanvaspath.c new file mode 100644 index 00000000000..e8f2d2ac83f --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvaspath.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_goocanvaspath.c,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvaspath.c.orig 2011-10-01 15:07:18.000000000 +0000 ++++ src/goocanvaspath.c +@@ -59,7 +59,7 @@ static void + goo_canvas_path_install_common_properties (GObjectClass *gobject_class) + { + /** +- * GooCanvasPath:data ++ * GooCanvasPath:data: + * + * The sequence of path commands, specified as a string using the same syntax + * as in the <ulink url="http://www.w3.org/Graphics/SVG/">Scalable Vector diff --git a/graphics/goocanvas2/patches/patch-src_goocanvaspath.h b/graphics/goocanvas2/patches/patch-src_goocanvaspath.h new file mode 100644 index 00000000000..ef9098cb9f5 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvaspath.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvaspath.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvaspath.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvaspath.h +@@ -34,7 +34,7 @@ typedef struct _GooCanvasPath GooC + typedef struct _GooCanvasPathClass GooCanvasPathClass; + + /** +- * GooCanvasPath ++ * GooCanvasPath: + * + * The #GooCanvasPath-struct struct contains private data only. + */ +@@ -79,7 +79,7 @@ typedef struct _GooCanvasPathModel + typedef struct _GooCanvasPathModelClass GooCanvasPathModelClass; + + /** +- * GooCanvasPathModel ++ * GooCanvasPathModel: + * + * The #GooCanvasPathModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvaspolyline.h b/graphics/goocanvas2/patches/patch-src_goocanvaspolyline.h new file mode 100644 index 00000000000..540fe97f78e --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvaspolyline.h @@ -0,0 +1,34 @@ +$NetBSD: patch-src_goocanvaspolyline.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvaspolyline.h.orig 2011-10-07 20:48:35.000000000 +0000 ++++ src/goocanvaspolyline.h +@@ -14,7 +14,7 @@ G_BEGIN_DECLS + + + /** +- * GooCanvasPoints ++ * GooCanvasPoints: + * @coords: the coordinates of the points, in pairs. + * @num_points: the number of points. + * @ref_count: the reference count of the struct. +@@ -81,7 +81,7 @@ typedef struct _GooCanvasPolyline + typedef struct _GooCanvasPolylineClass GooCanvasPolylineClass; + + /** +- * GooCanvasPolyline ++ * GooCanvasPolyline: + * + * The #GooCanvasPolyline-struct struct contains private data only. + */ +@@ -134,7 +134,7 @@ typedef struct _GooCanvasPolylineModel + typedef struct _GooCanvasPolylineModelClass GooCanvasPolylineModelClass; + + /** +- * GooCanvasPolylineModel ++ * GooCanvasPolylineModel: + * + * The #GooCanvasPolylineModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasrect.h b/graphics/goocanvas2/patches/patch-src_goocanvasrect.h new file mode 100644 index 00000000000..d45e4bbe5f0 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasrect.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasrect.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasrect.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasrect.h +@@ -33,7 +33,7 @@ typedef struct _GooCanvasRect GooC + typedef struct _GooCanvasRectClass GooCanvasRectClass; + + /** +- * GooCanvasRect ++ * GooCanvasRect: + * + * The #GooCanvasRect-struct struct contains private data only. + */ +@@ -81,7 +81,7 @@ typedef struct _GooCanvasRectModel + typedef struct _GooCanvasRectModelClass GooCanvasRectModelClass; + + /** +- * GooCanvasRectModel ++ * GooCanvasRectModel: + * + * The #GooCanvasRectModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasstyle.h b/graphics/goocanvas2/patches/patch-src_goocanvasstyle.h new file mode 100644 index 00000000000..cb568838e31 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasstyle.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvasstyle.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasstyle.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvasstyle.h +@@ -28,7 +28,7 @@ extern GQuark goo_canvas_style_hint_metr + + + /** +- * GooCanvasStyleProperty ++ * GooCanvasStyleProperty: + * @id: the unique property identifier. + * @value: the value of the property. + * +@@ -54,7 +54,7 @@ typedef struct _GooCanvasStyle Goo + typedef struct _GooCanvasStyleClass GooCanvasStyleClass; + + /** +- * GooCanvasStyle ++ * GooCanvasStyle: + * @parent: the parent style. + * @properties: an array of #GooCanvasStyleProperty property settings. + * diff --git a/graphics/goocanvas2/patches/patch-src_goocanvastable.h b/graphics/goocanvas2/patches/patch-src_goocanvastable.h new file mode 100644 index 00000000000..061164173d1 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvastable.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvastable.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvastable.h.orig 2010-06-30 20:31:13.000000000 +0000 ++++ src/goocanvastable.h +@@ -60,7 +60,7 @@ typedef struct _GooCanvasTable Goo + typedef struct _GooCanvasTableClass GooCanvasTableClass; + + /** +- * GooCanvasTable ++ * GooCanvasTable: + * + * The #GooCanvasTable-struct struct contains private data only. + */ +@@ -104,7 +104,7 @@ typedef struct _GooCanvasTableModel + typedef struct _GooCanvasTableModelClass GooCanvasTableModelClass; + + /** +- * GooCanvasTableModel ++ * GooCanvasTableModel: + * + * The #GooCanvasTableModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvastext.h b/graphics/goocanvas2/patches/patch-src_goocanvastext.h new file mode 100644 index 00000000000..b69c7df00a7 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvastext.h @@ -0,0 +1,25 @@ +$NetBSD: patch-src_goocanvastext.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvastext.h.orig 2010-09-06 10:28:24.000000000 +0000 ++++ src/goocanvastext.h +@@ -39,7 +39,7 @@ typedef struct _GooCanvasText GooC + typedef struct _GooCanvasTextClass GooCanvasTextClass; + + /** +- * GooCanvasText ++ * GooCanvasText: + * + * The #GooCanvasText-struct struct contains private data only. + */ +@@ -92,7 +92,7 @@ typedef struct _GooCanvasTextModel + typedef struct _GooCanvasTextModelClass GooCanvasTextModelClass; + + /** +- * GooCanvasTextModel ++ * GooCanvasTextModel: + * + * The #GooCanvasTextModel-struct struct contains private data only. + */ diff --git a/graphics/goocanvas2/patches/patch-src_goocanvasutils.h b/graphics/goocanvas2/patches/patch-src_goocanvasutils.h new file mode 100644 index 00000000000..93a461c6ff6 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvasutils.h @@ -0,0 +1,138 @@ +$NetBSD: patch-src_goocanvasutils.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvasutils.h.orig 2011-10-01 11:41:10.000000000 +0000 ++++ src/goocanvasutils.h +@@ -17,7 +17,8 @@ G_BEGIN_DECLS + */ + + /** +- * GooCanvasPointerEvents ++ * GooCanvasPointerEvents: ++ * + * @GOO_CANVAS_EVENTS_VISIBLE_MASK: a mask indicating that the item only + * receives events when it is visible. + * @GOO_CANVAS_EVENTS_PAINTED_MASK: a mask indicating that the item only +@@ -66,7 +67,8 @@ typedef enum + + + /** +- * GooCanvasItemVisibility ++ * GooCanvasItemVisibility: ++ * + * @GOO_CANVAS_ITEM_HIDDEN: the item is invisible, and is not allocated any + * space in layout container items such as #GooCanvasTable. + * @GOO_CANVAS_ITEM_INVISIBLE: the item is invisible, but it is still allocated +@@ -91,7 +93,8 @@ typedef enum + + + /** +- * GooCanvasPathCommandType ++ * GooCanvasPathCommandType: ++ * + * @GOO_CANVAS_PATH_MOVE_TO: move to the given point. + * @GOO_CANVAS_PATH_CLOSE_PATH: close the current path, drawing a line from the + * current position to the start of the path. +@@ -140,7 +143,8 @@ typedef enum + + + /** +- * GooCanvasAnchorType ++ * GooCanvasAnchorType: ++ * + * @GOO_CANVAS_ANCHOR_CENTER: the anchor is in the center of the object. + * @GOO_CANVAS_ANCHOR_NORTH: the anchor is at the top of the object, centered horizontally. + * @GOO_CANVAS_ANCHOR_NORTH_WEST: the anchor is at the top-left of the object. +@@ -189,7 +193,7 @@ typedef union _GooCanvasPathCommand Goo + we can always use it whatever type of command it is. */ + + /** +- * GooCanvasPathCommand ++ * GooCanvasPathCommand: + * + * GooCanvasPathCommand holds the data for each command in the path. + * +@@ -235,7 +239,8 @@ void goo_canvas_create_path (GArray + typedef struct _GooCanvasLineDash GooCanvasLineDash; + + /** +- * GooCanvasLineDash ++ * GooCanvasLineDash: ++ * + * @ref_count: the reference count of the struct. + * @num_dashes: the number of dashes and gaps between them. + * @dashes: the sizes of each dash and gap. +@@ -266,7 +271,7 @@ typedef cairo_pattern_t GooCairoPattern + #endif + + /** +- * GooCairoAntialias ++ * GooCairoAntialias: + * + * #GooCairoAntialias is simply a wrapper for the #cairo_antialias_t type, + * allowing it to be used for #GObject properties. +@@ -275,7 +280,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoFillRule ++ * GooCairoFillRule: + * + * #GooCairoFillRule is simply a wrapper for the #cairo_fill_rule_t type, + * allowing it to be used for #GObject properties. +@@ -284,7 +289,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoHintMetrics ++ * GooCairoHintMetrics: + * + * #GooCairoHintMetrics is simply a wrapper for the #cairo_hint_metrics_t type, + * allowing it to be used for #GObject properties. +@@ -293,7 +298,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoLineCap ++ * GooCairoLineCap: + * + * #GooCairoLineCap is simply a wrapper for the #cairo_line_cap_t type, + * allowing it to be used for #GObject properties. +@@ -302,7 +307,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoLineJoin ++ * GooCairoLineJoin: + * + * #GooCairoLineJoin is simply a wrapper for the #cairo_line_join_t type, + * allowing it to be used for #GObject properties. +@@ -311,7 +316,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoOperator ++ * GooCairoOperator: + * + * #GooCairoOperator is simply a wrapper for the #cairo_operator_t type, + * allowing it to be used for #GObject properties. +@@ -320,7 +325,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoMatrix ++ * GooCairoMatrix: + * + * #GooCairoMatrix is simply a wrapper for the #cairo_matrix_t type, + * allowing it to be used for #GObject properties. +@@ -329,7 +334,7 @@ typedef cairo_pattern_t GooCairoPattern + */ + + /** +- * GooCairoPattern ++ * GooCairoPattern: + * + * #GooCairoPattern is simply a wrapper for the #cairo_pattern_t type, + * allowing it to be used for #GObject properties. diff --git a/graphics/goocanvas2/patches/patch-src_goocanvaswidget.h b/graphics/goocanvas2/patches/patch-src_goocanvaswidget.h new file mode 100644 index 00000000000..34e148c6014 --- /dev/null +++ b/graphics/goocanvas2/patches/patch-src_goocanvaswidget.h @@ -0,0 +1,16 @@ +$NetBSD: patch-src_goocanvaswidget.h,v 1.1 2013/06/09 13:25:14 obache Exp $ + +* Fix some introspection generation warnings. + https://git.gnome.org/browse/goocanvas/commit/?id=bfc08d9a34c5d3d598aa025dd514a11226dfe1be + +--- src/goocanvaswidget.h.orig 2010-09-06 10:28:24.000000000 +0000 ++++ src/goocanvaswidget.h +@@ -25,7 +25,7 @@ typedef struct _GooCanvasWidget Go + typedef struct _GooCanvasWidgetClass GooCanvasWidgetClass; + + /** +- * GooCanvasWidget ++ * GooCanvasWidget: + * + * The #GooCanvasWidget-struct struct contains private data only. + */ |