summaryrefslogtreecommitdiff
path: root/dev-perl/Goo-Canvas
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Goo-Canvas
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
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/Goo-Canvas-0.60.0-r2.ebuild28
-rw-r--r--dev-perl/Goo-Canvas/Manifest5
-rw-r--r--dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch14
-rw-r--r--dev-perl/Goo-Canvas/metadata.xml15
5 files changed, 89 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/Goo-Canvas-0.60.0-r2.ebuild b/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r2.ebuild
new file mode 100644
index 000000000000..19e3008f477d
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=YEWENBIN
+DIST_VERSION=0.06
+DIST_EXAMPLES=("demo/*")
+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..15d66b3808b5
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Manifest
@@ -0,0 +1,5 @@
+AUX fix_implicit_pointer_declaration.patch 542 BLAKE2B 6c9f799782fa419e588f910b3345845bb7f7c189638e78d238792f0a7c0096a3fcc89cfebcb86555ba5827d1596e6df15aed083105d8a8c156d46d55c2d80935 SHA512 37c7c31713027488c5cfaf165142af593e727618f8658fe7875559d0e306f6e5ba9878b60ff63b0db1bb1bd839004a2dfd2dcc10a3ec045cef579da9c9b15898
+DIST Goo-Canvas-0.06.tar.gz 106070 BLAKE2B 59487256ff1f6fa4d7884101c36b1f43ee1969e671b447d8c51858a7cec072a3b830bd2b36157dacf8c2c657c86bab9ef458c9f65f6d4046c16bc80b7bf83c44 SHA512 4fee648dbbf76592bfc0676c2d4294c13a5b48e5608ec633a6786d79e06bc866f8e48cbeabeeb19836695f78573996321dbf0820030324ebebeb9d259ba1b660
+EBUILD Goo-Canvas-0.60.0-r1.ebuild 540 BLAKE2B b8ed89f2b5a587743d079d4ddb34ac8f3de969a41d81e2229c71df458040c70d30bd7ee1da2211013122440b7986a39c9a9f29b26e4eee5bdd9ec6dd46bbaa14 SHA512 00bb3a2624a1d6a8fb2aa5318deda4d3e8803d553789f615c73e6fd66c5156330e59ec70177a880047a256e9a07c437fd94bc2a6923730e4a38ab0b7e69daf7a
+EBUILD Goo-Canvas-0.60.0-r2.ebuild 561 BLAKE2B 9b817404a3852efc459baa2e6cfddfbc7b3efc9a62a50facd5507c2dcf15e2216e6907117254bd6e85c0a0e1f337c7cdaa9d969fc0ba33cf8571638df513f115 SHA512 6c0ec8a25ad90706544ae97c1a1a31df4129e65fe6a781c0e26604b57cddb5ff3af2acf752c5f7add3078871363b889ea74b1173d4adf7a7ce08b215c572bab6
+MISC metadata.xml 601 BLAKE2B 6699d31e9080f5f2e0d549fe9afb55d58d4ebc8716e433f9dbb73ee9dc9cb0742846db4874e63f0dff90c26fd98479a2215a641ead3f2a70f11276f8745fdbe9 SHA512 7fd666e80184d580628d375cef0356d263a365910a634f8ba40281219064b46e2f61500d248f4beabd10427da179f0e96b6d02eecd1829286d6df5852ad3ba25
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>