diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-06-06 23:17:29 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-06-06 23:17:29 +0000 |
commit | b80dfe3dc9571737cb78c5d1ce5d33af3bacf408 (patch) | |
tree | 279eb709f8fd9584ad1a229a8a2bbf5750e9327e /dev-scheme/guile-gnome-platform | |
parent | Add a Guile Scheme wrapper for the Cairo graphics library. Patch includes fix... (diff) | |
download | gentoo-2-b80dfe3dc9571737cb78c5d1ce5d33af3bacf408.tar.gz gentoo-2-b80dfe3dc9571737cb78c5d1ce5d33af3bacf408.tar.bz2 gentoo-2-b80dfe3dc9571737cb78c5d1ce5d33af3bacf408.zip |
Add Guile Scheme code that wraps the GNOME developer platform. The cairo fix is from upstream bzr, but the atk fix hasn't yet made its way upstream.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-scheme/guile-gnome-platform')
7 files changed, 206 insertions, 0 deletions
diff --git a/dev-scheme/guile-gnome-platform/ChangeLog b/dev-scheme/guile-gnome-platform/ChangeLog new file mode 100644 index 000000000000..411589997da8 --- /dev/null +++ b/dev-scheme/guile-gnome-platform/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-scheme/guile-gnome-platform +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-gnome-platform/ChangeLog,v 1.1 2007/06/06 23:17:29 dberkholz Exp $ + +*guile-gnome-platform-2.15.92 (06 Jun 2007) + + 06 Jun 2007; Donnie Berkholz <dberkholz@gentoo.org>; + +files/2.15.92-add-atk-overrides.patch, + +files/2.15.92-add-cairo-fix-from-bzr.patch, +metadata.xml, + +guile-gnome-platform-2.15.92.ebuild: + Add Guile Scheme code that wraps the GNOME developer platform. The cairo fix + is from upstream bzr, but the atk fix hasn't yet made its way upstream. + diff --git a/dev-scheme/guile-gnome-platform/Manifest b/dev-scheme/guile-gnome-platform/Manifest new file mode 100644 index 000000000000..3e5caba3b88c --- /dev/null +++ b/dev-scheme/guile-gnome-platform/Manifest @@ -0,0 +1,24 @@ +AUX 2.15.92-add-atk-overrides.patch 437 RMD160 75983d58ee52e301603e7313f6c0d3184f776db0 SHA1 d95ac9bf568f437a423a6e217cdde7daae56c2a7 SHA256 4f4a5b18137f653c124ad77f54684c58ff9f171f56b8e674c0255132e60c1e07 +MD5 3a89aa0e18b8f750987462859f646293 files/2.15.92-add-atk-overrides.patch 437 +RMD160 75983d58ee52e301603e7313f6c0d3184f776db0 files/2.15.92-add-atk-overrides.patch 437 +SHA256 4f4a5b18137f653c124ad77f54684c58ff9f171f56b8e674c0255132e60c1e07 files/2.15.92-add-atk-overrides.patch 437 +AUX 2.15.92-add-cairo-fix-from-bzr.patch 3198 RMD160 4991a6e43864dfea8a9189d16a246059f3146119 SHA1 fa5d514c9cfaf45e209eb8d1f71d468ec6dacf57 SHA256 af7624f7a2b0ee679919c1e266201b30a80fd10873aa8d1b459774d39eb10fe1 +MD5 f4add5327c6d52c09445ac3b345c0265 files/2.15.92-add-cairo-fix-from-bzr.patch 3198 +RMD160 4991a6e43864dfea8a9189d16a246059f3146119 files/2.15.92-add-cairo-fix-from-bzr.patch 3198 +SHA256 af7624f7a2b0ee679919c1e266201b30a80fd10873aa8d1b459774d39eb10fe1 files/2.15.92-add-cairo-fix-from-bzr.patch 3198 +DIST guile-gnome-platform-2.15.92.tar.gz 1170363 RMD160 91e5cba1cdd1ae1f71375eb690cf4c3966d06657 SHA1 123c0706a9ec2aacedf07da2b418cf3b0397abcd SHA256 8c074906ac595ed05ba229aba60d941ea86ffc0ad1738a9ff2ac00bfc2eccc3d +EBUILD guile-gnome-platform-2.15.92.ebuild 1359 RMD160 2c0852068b7a00d2aeed3c1fcd9efd846b2574ef SHA1 21b10ea71ae4edffc4a4c6163b95aba31bae98c2 SHA256 f15df7f13c3c6d2780a50ec159b8e57c7b25d60d562c422527f92e3f82c6fa46 +MD5 ab6e6e33357eaa22e8ec4213b93d58b3 guile-gnome-platform-2.15.92.ebuild 1359 +RMD160 2c0852068b7a00d2aeed3c1fcd9efd846b2574ef guile-gnome-platform-2.15.92.ebuild 1359 +SHA256 f15df7f13c3c6d2780a50ec159b8e57c7b25d60d562c422527f92e3f82c6fa46 guile-gnome-platform-2.15.92.ebuild 1359 +MISC ChangeLog 530 RMD160 a3708a536e14326416c551839dab43f164be4a4f SHA1 3ea7da63fbf1e3118021b91575a03b4a8040154a SHA256 cb93961dd9049b8c87d3ec33fb8956b7a4e665af8d773a18c5446a7fb3f050a4 +MD5 03b6ea3c109bc0f22e5b86e5a93ff249 ChangeLog 530 +RMD160 a3708a536e14326416c551839dab43f164be4a4f ChangeLog 530 +SHA256 cb93961dd9049b8c87d3ec33fb8956b7a4e665af8d773a18c5446a7fb3f050a4 ChangeLog 530 +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 368352c89354e3f88190deacaa3d908f files/digest-guile-gnome-platform-2.15.92 289 +RMD160 1b9c825ebd7d944df41ed5d16d9363d8b104ac09 files/digest-guile-gnome-platform-2.15.92 289 +SHA256 1069d57a8521b0fff9215b8da52c486ce6d777c93088c915812b8f0a3e14fbee files/digest-guile-gnome-platform-2.15.92 289 diff --git a/dev-scheme/guile-gnome-platform/files/2.15.92-add-atk-overrides.patch b/dev-scheme/guile-gnome-platform/files/2.15.92-add-atk-overrides.patch new file mode 100644 index 000000000000..6168c79f1e99 --- /dev/null +++ b/dev-scheme/guile-gnome-platform/files/2.15.92-add-atk-overrides.patch @@ -0,0 +1,12 @@ +diff -urN guile-gnome-platform-2.15.92.orig/atk/gnome/Makefile.am guile-gnome-platform-2.15.92/atk/gnome/Makefile.am +--- guile-gnome-platform-2.15.92.orig/atk/gnome/Makefile.am 2007-06-01 13:50:55.000000000 -0700 ++++ guile-gnome-platform-2.15.92/atk/gnome/Makefile.am 2007-06-01 13:51:52.000000000 -0700 +@@ -6,7 +6,7 @@ + + if HAVE_PANGO + guilemodule_DATA += atk.scm +-SUBDIRS += gw ++SUBDIRS += gw overrides + endif + + EXTRA_DIST = atk.scm diff --git a/dev-scheme/guile-gnome-platform/files/2.15.92-add-cairo-fix-from-bzr.patch b/dev-scheme/guile-gnome-platform/files/2.15.92-add-cairo-fix-from-bzr.patch new file mode 100644 index 000000000000..030e5c1229d7 --- /dev/null +++ b/dev-scheme/guile-gnome-platform/files/2.15.92-add-cairo-fix-from-bzr.patch @@ -0,0 +1,91 @@ +=== modified file 'ChangeLog' +--- ChangeLog 2007-05-24 15:14:46 +0000 ++++ ChangeLog 2007-05-25 15:49:00 +0000 +@@ -1,3 +1,16 @@ ++2007-05-25 Andy Wingo <wingo@pobox.com> ++ ++ * gnome/gw/cairo-spec.scm: Now that we are actually making a ++ shlib, init guile-cairo in the shlib instead of in every dependant ++ wrapset. ++ ++ * gnome/gw/Makefile.am: I tried really hard to avoid making a ++ shared library for this g-wrap wrapset, since it is not necessary ++ at all, but I have failed for the moment: other wrapsets depending ++ on this one will check to see that something has registered the ++ "guile-cairo" wrapset with the C g-wrap runtime, which will fail ++ unless we actually have a shlib that registers the wrapset. Suck. ++ + 2007-05-24 Andy Wingo <wingo@pobox.com> + + * == Released guile-gnome-platform version 2.15.92 == + +=== modified file 'gnome/gw/Makefile.am' +--- gnome/gw/Makefile.am 2007-05-20 17:43:35 +0000 ++++ gnome/gw/Makefile.am 2007-05-25 15:49:00 +0000 +@@ -1,5 +1,27 @@ + include $(top_srcdir)/common.mk + +-guilegwmodule_DATA = cairo-spec.scm ++guilegwmodule_DATA = cairo-spec.scm cairo.scm + + EXTRA_DIST = cairo-spec.scm ++ ++CLEANFILES = $(wildcard gnome-*.log) ++ ++# I wanted to avoid having a cairo shlib, because there is no need, but ++# fighting g-wrap is too difficult for the moment. ++ ++guilegnomelib_LTLIBRARIES = libgw-guile-gnome-cairo.la ++ ++######################################################################## ++## cairo ++nodist_libgw_guile_gnome_cairo_la_SOURCES = guile-gnome-gw-cairo.c ++ ++libgw_guile_gnome_cairo_la_CFLAGS = $(GUILE_GLIB_CFLAGS) $(GLIB_CFLAGS) \ ++ $(AM_CFLAGS) $(GUILE_CAIRO_CFLAGS) $(GUILE_CFLAGS) \ ++ $(G_WRAP_CFLAGS) ++libgw_guile_gnome_cairo_la_LIBADD = $(GUILE_CAIRO_LIBS) $(GUILE_LIBS) \ ++ $(G_WRAP_LIBS) $(GUILE_GLIB_LIBS) ++libgw_guile_gnome_cairo_la_LDFLAGS = -module ++ ++CLEANFILES += $(wildcard guile-gnome-gw-cairo.*) cairo.scm ++ ++BUILT_SOURCES = guile-gnome-gw-cairo.c + +=== modified file 'gnome/gw/cairo-spec.scm' +--- gnome/gw/cairo-spec.scm 2007-05-20 22:39:45 +0000 ++++ gnome/gw/cairo-spec.scm 2007-05-25 15:49:00 +0000 +@@ -27,7 +27,7 @@ + (define-module (gnome gw cairo-spec) + #:use-module (oop goops) + #:use-module (gnome gw support g-wrap) +- #:use-module (gnome gw support defs) ++ #:use-module (gnome gw gobject-spec) + #:use-module (gnome gw support gobject)) + + ;; G-Wrap inelegance +@@ -116,8 +116,6 @@ + (define-class <client-actions> (<gw-item>)) + (define-method (global-declarations-cg (ws <gw-guile-wrapset>) (a <client-actions>)) + '("#include <guile-cairo.h>\n")) +-(define-method (initializations-cg (wrapset <gw-guile-wrapset>) (a <client-actions>) err) +- (list "scm_init_cairo ();\n")) + + (define-class <cairo-wrapset> (<gobject-wrapset-base>) + #:id 'gnome-cairo +@@ -144,6 +142,14 @@ + #:take "scm_take_cairo_font_options")) + (add-type-alias! ws "cairo_font_options_t*" 'cairo-font-options-t)) + ++(define-method (global-declarations-cg (ws <cairo-wrapset>)) ++ (list (next-method) ++ "#include <guile-cairo.h>\n")) ++ ++(define-method (initializations-cg (wrapset <cairo-wrapset>) err) ++ (list (next-method) ++ "scm_init_cairo ();\n")) ++ + ;; pango-cairo + ;; cairo_t, cairo_font_options_t + + diff --git a/dev-scheme/guile-gnome-platform/files/digest-guile-gnome-platform-2.15.92 b/dev-scheme/guile-gnome-platform/files/digest-guile-gnome-platform-2.15.92 new file mode 100644 index 000000000000..c41937437d6a --- /dev/null +++ b/dev-scheme/guile-gnome-platform/files/digest-guile-gnome-platform-2.15.92 @@ -0,0 +1,3 @@ +MD5 936c25bab46578b4b55cf755ace6582d guile-gnome-platform-2.15.92.tar.gz 1170363 +RMD160 91e5cba1cdd1ae1f71375eb690cf4c3966d06657 guile-gnome-platform-2.15.92.tar.gz 1170363 +SHA256 8c074906ac595ed05ba229aba60d941ea86ffc0ad1738a9ff2ac00bfc2eccc3d guile-gnome-platform-2.15.92.tar.gz 1170363 diff --git a/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.15.92.ebuild b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.15.92.ebuild new file mode 100644 index 000000000000..573e5d294732 --- /dev/null +++ b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.15.92.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.15.92.ebuild,v 1.1 2007/06/06 23:17:29 dberkholz Exp $ + +inherit eutils autotools multilib + +DESCRIPTION="Guile Scheme code that wraps the GNOME developer platform" +HOMEPAGE="http://www.gnu.org/software/guile-gnome/" +SRC_URI="http://ftp.gnu.org/pub/gnu/guile-gnome/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND=">=dev-scheme/guile-1.6.4 + >=dev-libs/g-wrap-1.9.8 + dev-scheme/guile-cairo + dev-libs/atk + gnome-base/libbonobo + gnome-base/orbit + gnome-base/gconf + >=dev-libs/glib-2.4 + >=gnome-base/gnome-vfs-2.8 + >=x11-libs/gtk+-2.4 + >=gnome-base/libglade-2 + gnome-base/libgnomecanvas + >=gnome-base/libgnomeui-2.8 + x11-libs/pango" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-add-atk-overrides.patch + pushd cairo + epatch "${FILESDIR}"/${PV}-add-cairo-fix-from-bzr.patch + popd + eautoreconf +} + +src_compile() { + econf || die "configure failed" + emake \ + guilegnomedir=/usr/share/guile/site \ + guilegnomelibdir=/usr/$(get_libdir) \ + || die "emake failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + guilegnomedir=/usr/share/guile/site \ + guilegnomelibdir=/usr/$(get_libdir) \ + install \ + || die "install failed" +} diff --git a/dev-scheme/guile-gnome-platform/metadata.xml b/dev-scheme/guile-gnome-platform/metadata.xml new file mode 100644 index 000000000000..36006ff275ea --- /dev/null +++ b/dev-scheme/guile-gnome-platform/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> |