diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-06-06 23:13:35 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-06-06 23:13:35 +0000 |
commit | aa548fe250ee63aa732289693ecd76624a41980a (patch) | |
tree | 91b541a20302a031dc571be0ebcb4943aaf81800 /dev-scheme/guile-cairo/files | |
parent | Bump to latest. Add a large patch on mirrors to forward-port libffi to the co... (diff) | |
download | gentoo-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/guile-cairo/files')
-rw-r--r-- | dev-scheme/guile-cairo/files/1.3.90-various-fixes-20070601.patch | 72 | ||||
-rw-r--r-- | dev-scheme/guile-cairo/files/digest-guile-cairo-1.3.90 | 3 |
2 files changed, 75 insertions, 0 deletions
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 |