summaryrefslogtreecommitdiff
path: root/dev-perl/Goo-Canvas
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Goo-Canvas')
-rw-r--r--dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild27
-rw-r--r--dev-perl/Goo-Canvas/Manifest6
-rw-r--r--dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch14
-rw-r--r--dev-perl/Goo-Canvas/metadata.xml15
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild b/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild
new file mode 100644
index 000000000000..9618159222b7
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=YEWENBIN
+MODULE_VERSION=0.06
+inherit perl-module
+
+DESCRIPTION="Perl interface to the GooCanvas"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/goocanvas:0
+ dev-perl/Gtk2
+ dev-perl/glib-perl
+ dev-perl/Cairo"
+DEPEND="${RDEPEND}
+ dev-perl/ExtUtils-Depends
+ dev-perl/ExtUtils-PkgConfig"
+
+PATCHES=(
+ # this patch fixes segfaults on amd64 platforms
+ "${FILESDIR}"/fix_implicit_pointer_declaration.patch
+)
diff --git a/dev-perl/Goo-Canvas/Manifest b/dev-perl/Goo-Canvas/Manifest
new file mode 100644
index 000000000000..ad49142397f5
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Manifest
@@ -0,0 +1,6 @@
+AUX fix_implicit_pointer_declaration.patch 542 SHA256 a858eb9e05651ff0e3dfd8fe6a0e7309c1104af6f6dacd9254f9fa752a0bba01 SHA512 37c7c31713027488c5cfaf165142af593e727618f8658fe7875559d0e306f6e5ba9878b60ff63b0db1bb1bd839004a2dfd2dcc10a3ec045cef579da9c9b15898 WHIRLPOOL 96a36e5132290a8f4ed51ef1ec419e9029dbcfd799e886ddf609057d71e628241e9adee5466b7025ba23b8247514c240d5ba510824cdf1a5187efe24e643784d
+DIST Goo-Canvas-0.06.tar.gz 106070 SHA256 0c588c507eed5e62d12ed1cc1e491c6ff3a1f59c4fb3d435e14214b37ab39251 SHA512 4fee648dbbf76592bfc0676c2d4294c13a5b48e5608ec633a6786d79e06bc866f8e48cbeabeeb19836695f78573996321dbf0820030324ebebeb9d259ba1b660 WHIRLPOOL 337761dec6b464d162e74f1083f040cde78850cfb03de7b25f74c7ea2cdd16e1f5237556fe60267fe78b0555d80a680f172874bf5afb2f894d19e79ab6b8c120
+EBUILD Goo-Canvas-0.60.0-r1.ebuild 540 SHA256 16dde541aa22c4eaf70444199a8a40f847fe8201c4e192ef900c2524244c4bbb SHA512 00bb3a2624a1d6a8fb2aa5318deda4d3e8803d553789f615c73e6fd66c5156330e59ec70177a880047a256e9a07c437fd94bc2a6923730e4a38ab0b7e69daf7a WHIRLPOOL 2b9e9bae88766da2b2128b5fb4c79b6d4c081ae72a2c9e71405657bede975b5c090b6516f2b4462a456a5f6aa278f07378aca49bc662088427ad1f52f8430344
+MISC ChangeLog 2646 SHA256 54d0d4a897afcd2dcb52b6227c0e38fdc090ee92505ae4f0d27af20352880d70 SHA512 2eacc57c2c4c13c97cd14d55a1505b5744d9e3fac26d55e56bafeff478eb3342ecbd10dccf6cc4772287cdd9bae573ec10082de5f159ffcc008a0dba439c94bc WHIRLPOOL 3f38338847693dd55bb1e02cde4dd543cbe881c9fb989302612970dbbd71417718c0b187559721d810546a8e01a5ae69f1db89575754df926fbac9de6fa643a3
+MISC ChangeLog-2015 1844 SHA256 51c539410567fb5d715d99e450827cb38d5fd324edfcb8b525d22ff4f9faf9fe SHA512 a695db608f1f1c6559a2abee88bad95f38e0551f8cdbb162b4ebb9b35f835ebfe3130de64fc362e91dab7a18be3df866843fae9d84039befcc4ae67442d34b2b WHIRLPOOL 3c8c4dde9f8ff68665caec3f7ba606771717124a978ebc03eda1bf6da6cdf981dfb3ec6c97d33395f535d25485e11479fdc92d3cfa5d70548a8b8e3549ecdd3f
+MISC metadata.xml 601 SHA256 b46de9fff48416e666c3f065b2475be48b97b434cd14520527796c86ae2f0ce4 SHA512 7fd666e80184d580628d375cef0356d263a365910a634f8ba40281219064b46e2f61500d248f4beabd10427da179f0e96b6d02eecd1829286d6df5852ad3ba25 WHIRLPOOL dd16147cf3a2ec7c60101eb4834105d183a62468d401ec5cf0aa81564967f41da30f88309b4e78a5200b312a540fa83003f17ea7aed15cda14420ca4085df7a2
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..7a6a77c0f0fc
--- /dev/null
+++ b/dev-perl/Goo-Canvas/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <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>
+ <upstream>
+ <remote-id type="cpan">Goo-Canvas</remote-id>
+ <remote-id type="cpan-module">Goo::Canvas</remote-id>
+ </upstream>
+</pkgmetadata>