summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-perl/Goo-Canvas
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-perl/Goo-Canvas')
-rw-r--r--dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild28
-rw-r--r--dev-perl/Goo-Canvas/Manifest1
-rw-r--r--dev-perl/Goo-Canvas/files/fix_implicit_pointer_declaration.patch14
-rw-r--r--dev-perl/Goo-Canvas/metadata.xml12
4 files changed, 55 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..3034be7c1925
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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-perl
+ 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..ee5722b26aa8
--- /dev/null
+++ b/dev-perl/Goo-Canvas/Manifest
@@ -0,0 +1 @@
+DIST Goo-Canvas-0.06.tar.gz 106070 SHA256 0c588c507eed5e62d12ed1cc1e491c6ff3a1f59c4fb3d435e14214b37ab39251 SHA512 4fee648dbbf76592bfc0676c2d4294c13a5b48e5608ec633a6786d79e06bc866f8e48cbeabeeb19836695f78573996321dbf0820030324ebebeb9d259ba1b660 WHIRLPOOL 337761dec6b464d162e74f1083f040cde78850cfb03de7b25f74c7ea2cdd16e1f5237556fe60267fe78b0555d80a680f172874bf5afb2f894d19e79ab6b8c120
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..8742fce7fbdd
--- /dev/null
+++ b/dev-perl/Goo-Canvas/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <upstream>
+ <remote-id type="cpan">Goo-Canvas</remote-id>
+ <remote-id type="cpan-module">Goo::Canvas</remote-id>
+ </upstream>
+</pkgmetadata>