summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-08-05 12:19:54 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-08-05 12:19:54 +0000
commit858284de854b593c18831d7f37c3b3f9a1e53568 (patch)
treee2cf359d5a9fd54f7865ab831b9cf53fe9fa6285 /dev-perl/Goo-Canvas
parentInitial commit (diff)
downloadgentoo-2-858284de854b593c18831d7f37c3b3f9a1e53568.tar.gz
gentoo-2-858284de854b593c18831d7f37c3b3f9a1e53568.tar.bz2
gentoo-2-858284de854b593c18831d7f37c3b3f9a1e53568.zip
Initial commit of Goo-Canvas perl module
(Portage version: 2.2_rc35/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Goo-Canvas')
-rw-r--r--dev-perl/Goo-Canvas/ChangeLog11
-rw-r--r--dev-perl/Goo-Canvas/Goo-Canvas-0.06.ebuild21
-rw-r--r--dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch14
-rw-r--r--dev-perl/Goo-Canvas/metadata.xml9
4 files changed, 55 insertions, 0 deletions
diff --git a/dev-perl/Goo-Canvas/ChangeLog b/dev-perl/Goo-Canvas/ChangeLog
new file mode 100644
index 000000000000..4b6dce641a52
--- /dev/null
+++ b/dev-perl/Goo-Canvas/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-perl/Goo-Canvas
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Goo-Canvas/ChangeLog,v 1.1 2009/08/05 12:19:54 hwoarang Exp $
+
+*Goo-Canvas-0.06 (05 Aug 2009)
+
+ 05 Aug 2009; Markos Chandras <hwoarang@gentoo.org>
+ +Goo-Canvas-0.06.ebuild, +files/fix_implicit_pointer_declaration.patch,
+ +metadata.xml:
+ Initial commit of Goo-Canvas perl module
+
diff --git a/dev-perl/Goo-Canvas/Goo-Canvas-0.06.ebuild b/dev-perl/Goo-Canvas/Goo-Canvas-0.06.ebuild
new file mode 100644
index 000000000000..0c463fb96203
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Goo-Canvas-0.06.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Goo-Canvas/Goo-Canvas-0.06.ebuild,v 1.1 2009/08/05 12:19:54 hwoarang Exp $
+
+EAPI=2
+
+MODULE_AUTHOR=YEWENBIN
+inherit perl-module
+
+DESCRIPTION="Perl interface to the GooCanvas"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="x11-libs/goocanvas"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ # this patch fixes segfaults on amd64 platforms
+ "${FILESDIR}"/fix_implicit_pointer_declaration.patch
+)
diff --git a/dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch b/dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch
new file mode 100644
index 000000000000..c33a9b3d95fe
--- /dev/null
+++ b/dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch
@@ -0,0 +1,14 @@
+Index: Goo-Canvas-0.06/goocanvas-perl.h
+===================================================================
+--- Goo-Canvas-0.06.orig/goocanvas-perl.h
++++ Goo-Canvas-0.06/goocanvas-perl.h
+@@ -9,6 +9,9 @@
+ #include "cairo-perl.h"
+ #include "goocanvas.h"
+
++cairo_surface_t * goo_canvas_cairo_pattern_from_pixbuf(GdkPixbuf *pixbuf);
++cairo_surface_t * goo_canvas_cairo_surface_from_pixbuf(GdkPixbuf *pixbuf);
++
+ /* FIXME: How to avoid compile error in autogen.h */
+ #define GooCairoPattern cairo_pattern_t
+ #define GooCairoMatrix cairo_matrix_t
diff --git a/dev-perl/Goo-Canvas/metadata.xml b/dev-perl/Goo-Canvas/metadata.xml
new file mode 100644
index 000000000000..fd9108d08cd0
--- /dev/null
+++ b/dev-perl/Goo-Canvas/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>perl</herd>
+<longdescription lang="en">
+GTK+ does't has an buildin canvas widget. GooCanvas is wonderful. It is easy to use and has powerful and extensible way to create items in canvas. Just try it.
+</longdescription>
+</pkgmetadata>
+