summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2007-06-06 23:13:35 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2007-06-06 23:13:35 +0000
commitaa548fe250ee63aa732289693ecd76624a41980a (patch)
tree91b541a20302a031dc571be0ebcb4943aaf81800 /dev-scheme
parentBump to latest. Add a large patch on mirrors to forward-port libffi to the co... (diff)
downloadgentoo-2-aa548fe250ee63aa732289693ecd76624a41980a.tar.gz
gentoo-2-aa548fe250ee63aa732289693ecd76624a41980a.tar.bz2
gentoo-2-aa548fe250ee63aa732289693ecd76624a41980a.zip
Add a Guile Scheme wrapper for the Cairo graphics library. Patch includes fixes from upstream bzr.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile-cairo/ChangeLog12
-rw-r--r--dev-scheme/guile-cairo/Manifest20
-rw-r--r--dev-scheme/guile-cairo/files/1.3.90-various-fixes-20070601.patch72
-rw-r--r--dev-scheme/guile-cairo/files/digest-guile-cairo-1.3.903
-rw-r--r--dev-scheme/guile-cairo/guile-cairo-1.3.90.ebuild28
-rw-r--r--dev-scheme/guile-cairo/metadata.xml8
6 files changed, 143 insertions, 0 deletions
diff --git a/dev-scheme/guile-cairo/ChangeLog b/dev-scheme/guile-cairo/ChangeLog
new file mode 100644
index 000000000000..768a18c20706
--- /dev/null
+++ b/dev-scheme/guile-cairo/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-scheme/guile-cairo
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-cairo/ChangeLog,v 1.1 2007/06/06 23:13:35 dberkholz Exp $
+
+*guile-cairo-1.3.90 (06 Jun 2007)
+
+ 06 Jun 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/1.3.90-various-fixes-20070601.patch, +metadata.xml,
+ +guile-cairo-1.3.90.ebuild:
+ Add a Guile Scheme wrapper for the Cairo graphics library. Patch includes
+ fixes from upstream bzr.
+
diff --git a/dev-scheme/guile-cairo/Manifest b/dev-scheme/guile-cairo/Manifest
new file mode 100644
index 000000000000..36fa22a0fd01
--- /dev/null
+++ b/dev-scheme/guile-cairo/Manifest
@@ -0,0 +1,20 @@
+AUX 1.3.90-various-fixes-20070601.patch 1873 RMD160 3c040ac55fba71d9a508acb90b41673d2ae26318 SHA1 fe8deff25d570b5e9a685cf8d326a76e88fba273 SHA256 09b09218bcc33b3e7843a339650b74e2023f587e26f224d3a05ff832faaec921
+MD5 170a8cc9180405d9fcb51f370d395430 files/1.3.90-various-fixes-20070601.patch 1873
+RMD160 3c040ac55fba71d9a508acb90b41673d2ae26318 files/1.3.90-various-fixes-20070601.patch 1873
+SHA256 09b09218bcc33b3e7843a339650b74e2023f587e26f224d3a05ff832faaec921 files/1.3.90-various-fixes-20070601.patch 1873
+DIST guile-cairo-1.3.90.tar.gz 347168 RMD160 34b195467371739b4c0f09770bda30f791352dd5 SHA1 fca327602777439fb61d723004284b4117342468 SHA256 7740d29d68ca1c07cd4dd32090531dd994873e8961cf2795dbb13ae25c251d1b
+EBUILD guile-cairo-1.3.90.ebuild 729 RMD160 781e852a5da11932f002086b2999db72594936b9 SHA1 230b1db30648907534d650a32fb1a0c583f4fa80 SHA256 a48e7e66ea833f2ae1ae08a7d90d6e36388a7d890bd673bd756d76b3487f8e4d
+MD5 62dc81fcf561adea7dd3f22731c9f5f3 guile-cairo-1.3.90.ebuild 729
+RMD160 781e852a5da11932f002086b2999db72594936b9 guile-cairo-1.3.90.ebuild 729
+SHA256 a48e7e66ea833f2ae1ae08a7d90d6e36388a7d890bd673bd756d76b3487f8e4d guile-cairo-1.3.90.ebuild 729
+MISC ChangeLog 408 RMD160 26a87d7c38723e2be3cb1945d72117dc95321dfb SHA1 acefd390016884ae560b9c6bffb04a06fd8dd900 SHA256 0e0a2072e1bf0410c9a55c8d020cde514d83c1dfe0c9145759c5ac88a64fd8cd
+MD5 a0ef71d089af4a6b55bf33c1bcaa1738 ChangeLog 408
+RMD160 26a87d7c38723e2be3cb1945d72117dc95321dfb ChangeLog 408
+SHA256 0e0a2072e1bf0410c9a55c8d020cde514d83c1dfe0c9145759c5ac88a64fd8cd ChangeLog 408
+MISC metadata.xml 223 RMD160 cb556324d8e509a2a56af1958c326b0da711ade8 SHA1 18aa01ac4384520fba95f5eea780172d83cc1bd2 SHA256 45f07161f92a53816a4ce5da22343f2688a2da30afb9dfc4008856295ea79ce9
+MD5 5a1cc8c43cb11b5fae2eac08dcf9e484 metadata.xml 223
+RMD160 cb556324d8e509a2a56af1958c326b0da711ade8 metadata.xml 223
+SHA256 45f07161f92a53816a4ce5da22343f2688a2da30afb9dfc4008856295ea79ce9 metadata.xml 223
+MD5 879f8f2bc0ae75990b78455bf931dae4 files/digest-guile-cairo-1.3.90 256
+RMD160 58e3b733e3c603e144e3eb788a99f331ba5141ec files/digest-guile-cairo-1.3.90 256
+SHA256 091bfa719271adc25daa8feced93ac06dc70888faa5401bb5ef5db2c9d3a04f3 files/digest-guile-cairo-1.3.90 256
diff --git a/dev-scheme/guile-cairo/files/1.3.90-various-fixes-20070601.patch b/dev-scheme/guile-cairo/files/1.3.90-various-fixes-20070601.patch
new file mode 100644
index 000000000000..eb867ffe56df
--- /dev/null
+++ b/dev-scheme/guile-cairo/files/1.3.90-various-fixes-20070601.patch
@@ -0,0 +1,72 @@
+=== modified file 'ChangeLog'
+--- ChangeLog 2007-05-18 17:38:56 +0000
++++ ChangeLog 2007-05-20 22:36:42 +0000
+@@ -1,3 +1,15 @@
++2007-05-21 Andy Wingo <wingo@pobox.com>
++
++ * guile-cairo/guile-cairo-enum-types.h: Include <cairo-svg.h> if
++ we are wrapping cairo_svg_version_t.
++
++2007-05-20 Andy Wingo <wingo@pobox.com>
++
++ * guile-cairo/guile-cairo.c (scm_init_cairo): Add guard against
++ multiple instantiations.
++
++ * guile-cairo/guile-cairo.h: Include cairo.h header.
++
+ 2007-05-18 Andy Wingo <wingo@pobox.com>
+
+ * configure.ac: Change version to 1.3.90.
+
+=== modified file 'guile-cairo/guile-cairo-enum-types.h'
+--- guile-cairo/guile-cairo-enum-types.h 2007-05-18 14:05:17 +0000
++++ guile-cairo/guile-cairo-enum-types.h 2007-05-20 22:36:42 +0000
+@@ -24,6 +24,10 @@
+ #ifndef __GUILE_CAIRO_ENUM_TYPES_H__
+ #define __GUILE_CAIRO_ENUM_TYPES_H__
+
++#if CAIRO_HAS_SVG_SURFACE
++#include <cairo-svg.h>
++#endif
++
+
+
+ SCM scm_from_cairo_status (cairo_status_t cval);
+
+=== modified file 'guile-cairo/guile-cairo.c'
+--- guile-cairo/guile-cairo.c 2007-05-18 16:27:47 +0000
++++ guile-cairo/guile-cairo.c 2007-05-20 18:32:44 +0000
+@@ -2281,6 +2281,11 @@
+ void
+ scm_init_cairo (void)
+ {
++ static int initialized = 0;
++
++ if (initialized)
++ return;
++
+ #ifndef SCM_MAGIC_SNARFER
+ #include "guile-cairo.x"
+ #endif
+@@ -2288,5 +2293,6 @@
+ scm_init_cairo_smob_types ();
+ scm_init_cairo_vector_types ();
+ scm_init_cairo_enum_types ();
+- scm_c_export (NULL);
++
++ initialized = 1;
+ }
+
+=== modified file 'guile-cairo/guile-cairo.h'
+--- guile-cairo/guile-cairo.h 2007-05-18 11:39:11 +0000
++++ guile-cairo/guile-cairo.h 2007-05-20 17:30:53 +0000
+@@ -24,6 +24,8 @@
+ #ifndef __GUILE_CAIRO_H__
+ #define __GUILE_CAIRO_H__
+
++#include <cairo.h>
++
+ #include <guile-cairo-smob-types.h>
+ #include <guile-cairo-enum-types.h>
+ #include <guile-cairo-vector-types.h>
+
diff --git a/dev-scheme/guile-cairo/files/digest-guile-cairo-1.3.90 b/dev-scheme/guile-cairo/files/digest-guile-cairo-1.3.90
new file mode 100644
index 000000000000..7e71aa9389b5
--- /dev/null
+++ b/dev-scheme/guile-cairo/files/digest-guile-cairo-1.3.90
@@ -0,0 +1,3 @@
+MD5 4dcb497d0e291e0cb9ca5fa09a1f1834 guile-cairo-1.3.90.tar.gz 347168
+RMD160 34b195467371739b4c0f09770bda30f791352dd5 guile-cairo-1.3.90.tar.gz 347168
+SHA256 7740d29d68ca1c07cd4dd32090531dd994873e8961cf2795dbb13ae25c251d1b guile-cairo-1.3.90.tar.gz 347168
diff --git a/dev-scheme/guile-cairo/guile-cairo-1.3.90.ebuild b/dev-scheme/guile-cairo/guile-cairo-1.3.90.ebuild
new file mode 100644
index 000000000000..7b79cf19481a
--- /dev/null
+++ b/dev-scheme/guile-cairo/guile-cairo-1.3.90.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-cairo/guile-cairo-1.3.90.ebuild,v 1.1 2007/06/06 23:13:35 dberkholz Exp $
+
+inherit eutils
+
+DESCRIPTION="Wraps the Cairo graphics library for Guile Scheme"
+HOMEPAGE="home.gna.org/guile-cairo/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND=">=dev-scheme/guile-1.8
+ >=x11-libs/cairo-1.4"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-various-fixes-20070601.patch
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "install failed"
+
+ dodoc ChangeLog || die "dodoc failed"
+}
diff --git a/dev-scheme/guile-cairo/metadata.xml b/dev-scheme/guile-cairo/metadata.xml
new file mode 100644
index 000000000000..36006ff275ea
--- /dev/null
+++ b/dev-scheme/guile-cairo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>scheme</herd>
+ <maintainer>
+ <email>hkBst@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>