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-scheme/guile-gnome-platform
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-scheme/guile-gnome-platform')
-rw-r--r--dev-scheme/guile-gnome-platform/Manifest2
-rw-r--r--dev-scheme/guile-gnome-platform/files/2.15.92-add-atk-overrides.patch12
-rw-r--r--dev-scheme/guile-gnome-platform/files/2.15.92-add-cairo-fix-from-bzr.patch91
-rw-r--r--dev-scheme/guile-gnome-platform/files/2.16.1-conflicting-types.patch34
-rw-r--r--dev-scheme/guile-gnome-platform/files/2.16.1-gcc45.patch11
-rw-r--r--dev-scheme/guile-gnome-platform/files/2.16.1-gdk-color.patch55
-rw-r--r--dev-scheme/guile-gnome-platform/files/2.16.1-glib-single-include.patch26
-rw-r--r--dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1-r1.ebuild71
-rw-r--r--dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1.ebuild60
-rw-r--r--dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.2.ebuild61
-rw-r--r--dev-scheme/guile-gnome-platform/metadata.xml5
11 files changed, 428 insertions, 0 deletions
diff --git a/dev-scheme/guile-gnome-platform/Manifest b/dev-scheme/guile-gnome-platform/Manifest
new file mode 100644
index 000000000000..201ec0a66bd7
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/Manifest
@@ -0,0 +1,2 @@
+DIST guile-gnome-platform-2.16.1.tar.gz 3494333 SHA256 4c0856d3a8310af5959fb123f3a011fc6bc1ec1cf0f125629f8a4a741871c57b SHA512 c630e2d67b312fb41c8492f8956902f385faa834094860cac580d1df0329b41790d973f73fd7dd59dc365f5d6cfb6463cde8af90641fbc377680b51616ad8f7a WHIRLPOOL 53fee8b3b32552b927d032ea5e8e339a13615dd428b53f4abedf13ded0fdbb08cab97d848f23e6bbf49326c36a1c8d37a478f64f5574f48606efdd6bf2aea8d2
+DIST guile-gnome-platform-2.16.2.tar.gz 2538191 SHA256 50e6cd95c4a32f44498816c607c071b7d7368c49a34daebf598d9129df344fb0 SHA512 5acaa96d8caf82864ada8bfcbc4954a19cd5d7e210245f2e8b31082c6a9e4ab9ba7af5f8e1f762a891e1aad640913a7a205f56dfaed6915a9f782c53e042d042 WHIRLPOOL 2533d17e64bb4a66cb57d1c4178e2793d694bbfb38b94a92bb4eea91c8b635f42188c57e1617274c4abaa7fe3e92f8ae30a57b443707c593107fdb4a79d15d05
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/2.16.1-conflicting-types.patch b/dev-scheme/guile-gnome-platform/files/2.16.1-conflicting-types.patch
new file mode 100644
index 000000000000..e470977acbc8
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/files/2.16.1-conflicting-types.patch
@@ -0,0 +1,34 @@
+http://bugs.gentoo.org/293655
+
+--- guile-gnome-platform-2.16.1.orig/gtk/gnome/gw/gtk-support.c 2008-07-03 11:52:27.000000000 -0300
++++ guile-gnome-platform-2.16.1/gtk/gnome/gw/gtk-support.c 2009-11-27 03:09:28.204506213 -0200
+@@ -1012,7 +1012,7 @@
+ }
+
+ GdkRectangle*
+-gtk_widget_get_allocation (GtkWidget *widget)
++guile_gtk_widget_get_allocation (GtkWidget *widget)
+ {
+ GdkRectangle *ret = g_new (GdkRectangle, 1);
+ *ret = widget->allocation;
+--- guile-gnome-platform-2.16.1.orig/gtk/gnome/gw/gtk-support.h 2008-04-09 19:10:40.000000000 -0300
++++ guile-gnome-platform-2.16.1/gtk/gnome/gw/gtk-support.h 2009-11-27 03:08:29.385756221 -0200
+@@ -117,6 +117,6 @@
+ guint _wrap_gtk_ui_manager_add_ui_from_string (GtkUIManager *ui, const gchar *string, GError **error);
+
+ GdkWindow* gtk_widget_get_window (GtkWidget *widget);
+-GdkRectangle* gtk_widget_get_allocation (GtkWidget *widget);
++GdkRectangle* guile_gtk_widget_get_allocation (GtkWidget *widget);
+ void _wrap_gtk_drag_dest_set (GtkWidget *widget, GtkDestDefaults flags, const GList *types, GdkDragAction actions);
+ GtkStateType gtk_widget_get_state (GtkWidget *widget);
+--- guile-gnome-platform-2.16.1.orig/gtk/gnome/overrides/gtk.defs 2008-04-09 19:12:44.000000000 -0300
++++ guile-gnome-platform-2.16.1/gtk/gnome/overrides/gtk.defs 2009-11-27 03:13:34.667506321 -0200
+@@ -848,7 +848,7 @@
+
+ (define-method get-allocation
+ (of-object "GtkWidget")
+- (c-name "gtk_widget_get_allocation")
++ (c-name "guile_gtk_widget_get_allocation")
+ (return-type "GdkRectangle*")) ;; same as GtkAllocation
+
+ (define-method get_state
diff --git a/dev-scheme/guile-gnome-platform/files/2.16.1-gcc45.patch b/dev-scheme/guile-gnome-platform/files/2.16.1-gcc45.patch
new file mode 100644
index 000000000000..39c7e94760bd
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/files/2.16.1-gcc45.patch
@@ -0,0 +1,11 @@
+--- common.mk
++++ common.mk
+@@ -50,7 +50,7 @@
+ guile-snarf $(GUILE_SNARF_CFLAGS) $< > $@ \
+ || { rm $@; false; }
+ .c.doc:
+- $(CPP) -DSCM_MAGIC_SNARF_DOCS $(GUILE_SNARF_CFLAGS) $< \
++ $(CPP) -P -DSCM_MAGIC_SNARF_DOCS $(GUILE_SNARF_CFLAGS) $< \
+ | grep -E '^\^\^ {.*\^\^ }' > $@ || { rm $@; false; }
+
+ %.scm guile-gnome-gw-%.c: %-spec.scm
diff --git a/dev-scheme/guile-gnome-platform/files/2.16.1-gdk-color.patch b/dev-scheme/guile-gnome-platform/files/2.16.1-gdk-color.patch
new file mode 100644
index 000000000000..d7836ac489f9
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/files/2.16.1-gdk-color.patch
@@ -0,0 +1,55 @@
+# Bazaar merge directive format 2 (Bazaar 0.90)
+# revision_id: gbenison@gmail.com-20080728153014-9cmh3qp4879910dg
+# target_branch: http://arch.gna.org/guile-gnome/bzr/gtk/
+# testament_sha1: 1dd74795aba452934a0810f47bfe1ad34b958e4b
+# timestamp: 2008-07-28 08:36:30 -0700
+# base_revision_id: wingo@pobox.com-20080703151735-je9a72h0nlq3eere
+#
+# Begin patch
+=== modified file 'gnome/gw/gdk-support.c'
+--- gtk/gnome/gw/gdk-support.c 2008-04-24 11:17:07 +0000
++++ gtk/gnome/gw/gdk-support.c 2008-07-28 15:30:14 +0000
+@@ -228,11 +228,22 @@
+ return ret;
+ }
+
++/*
++ * Allocate a new GdkColor* which must be freed using
++ * gdk_color_free().
++ */
++static GdkColor*
++gdk_color_new()
++{
++ GdkColor tmp;
++ return gdk_color_copy(&tmp);
++}
++
+ GdkColor*
+ scm_scm_to_gdk_color (SCM scm)
+ #define FUNC_NAME "%scm->gdk-rectangle"
+ {
+- GdkColor *ret = g_new0 (GdkColor, 1);
++ GdkColor *ret = gdk_color_new();
+
+ if (scm_is_string (scm)) {
+ char *chars;
+
+# Begin bundle
+IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWZjPJ74AAbHfgEAQUXP//3qA
+AAC////6UAPZV7KKmigbBkSKemTJNjQBMKepo9RkZNGQ00MAAAABoAAAAAEomgmgaCTNBR6NQHpD
+0TTT1GjDAAAAAaAAAAABJIQ0j0TBJ5JiGmAppkZBoZHetMt0dHeL+Zs1essYZwmiipWtmW5noD6t
+JP2bTdtsv1JJPzNyeehztVVSPROr6m0YKZQFaOWu+z06Rud5U/7D6/HzSd7loXjOuOtTyhUB1+CF
+uquimbPJylUSYlaqGEDm3OnfJaLqj2yQ6r3QgKpKtA0pmW2HITLziKOTjm/fVLt6fxQHZtkGFTeB
+FuHcCiRWzsuJDoOcpYPAVFiEB8InMDl4naQHikc4a1XMxmYpaVYnPm2xrL3exYl0MEuEnlJO+JM5
+UFYwKS8BCwsgYhIWS2kuWGPMseMJO8ncXBIuJJ/X3ZRKMVCSIGaSULHRgmhOe9tGooKytZCskgmJ
+VS3QycULqKoxuNQ40lJoxtNxRyHHy7M0nUOE7BicXaUrMD5NrgsTCJtL8C5FPpE4MOJhg9nMJwT3
+DIsLzYUpCYlqPMWnEscKgQYSs2YjyQ6qxhXiYYlgxArte4UW+sCwwi2FpYQLks5oURZypVRHaVFP
+pJwmgV89TYjcTRROinDCUijL3O+eY5U1957/RoOIq5mRPALX3Kin8fYD/w9R85hVuGpzKzOiC8oV
+dPSyI6qB4jHE1b13nz11zltZaFSX1tLIcaRTqymf46deB05hZeUhBjGBqRcFZ2XkTb8hmPQXCMP0
+tfrRiWC4H2BiBEq5zGkSOGJoLiorU6aBWik6E8Rdxl/gYWG3ds790ppnbBuHeVHwr+HA0EfQlKAc
+q/E8AntpuJ1obUmOUEnfKYWm3NSt+oNhgoiNKKE+jOcy30xMx7eHGTLe33vIVOBzpxG8omhwPoNo
+PUmADruvHqaAVsAj5wgV2JksOsiBgWJZJ5ceoZqpB76oTzAbgKgLn8+qwLOWhwi4O5KK3uWHx6y8
+xGhbXvEVnkl2qk3YyJxYRuKNpjChsznCTyZ4PfeDxdm8DFXuCDIZbZWg3Yr6/kuYYAypBkmDrMiE
+4iIZlSOUreq0/wTGBllkoFAYcVIzkYjT/nQq/MW2bYwSTILXX3uG2etAsP61m91rJ9MZK6x94QmG
+YZNAZtZGfFMR1gOijgJD1tiHFaPr3/XjtiadSQ2LOpiSg+seT5OMoANJeQvIZNTBh4134wCOLGE6
+SCzdOZStqOnvfsWpi8GtD3xaP8XckU4UJCYzye+A
diff --git a/dev-scheme/guile-gnome-platform/files/2.16.1-glib-single-include.patch b/dev-scheme/guile-gnome-platform/files/2.16.1-glib-single-include.patch
new file mode 100644
index 000000000000..84f8c8761fbc
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/files/2.16.1-glib-single-include.patch
@@ -0,0 +1,26 @@
+Index: guile-gnome-platform-2.16.1/corba/gnome/corba/guile-gnome-corba-generic.c
+===================================================================
+--- guile-gnome-platform-2.16.1.orig/corba/gnome/corba/guile-gnome-corba-generic.c
++++ guile-gnome-platform-2.16.1/corba/gnome/corba/guile-gnome-corba-generic.c
+@@ -24,7 +24,7 @@
+
+ #include <guile-gnome-corba-generic.h>
+ #include <guile-gnome-gobject.h>
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include <string.h>
+
+ static GQuark quark_corba_typecode = 0;
+Index: guile-gnome-platform-2.16.1/glib/gnome/gobject/guile-support.h
+===================================================================
+--- guile-gnome-platform-2.16.1.orig/glib/gnome/gobject/guile-support.h
++++ guile-gnome-platform-2.16.1/glib/gnome/gobject/guile-support.h
+@@ -24,7 +24,7 @@
+ #ifndef __GUILE_SUPPORT_H__
+ #define __GUILE_SUPPORT_H__
+
+-#include <glib/gmacros.h>
++#include <glib.h>
+
+ #include <libguile.h>
+
diff --git a/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1-r1.ebuild b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1-r1.ebuild
new file mode 100644
index 000000000000..51e56f98f943
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils eutils 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="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+ dev-libs/atk
+ dev-libs/g-wrap
+ dev-libs/glib:2
+ dev-scheme/guile:12
+ dev-scheme/guile-cairo
+ dev-scheme/guile-lib
+ gnome-base/gconf:2
+ gnome-base/gnome-vfs:2
+ gnome-base/libbonobo
+ gnome-base/libglade:2.0
+ gnome-base/libgnomecanvas
+ gnome-base/libgnomeui
+ gnome-base/orbit:2
+ x11-libs/gtk+:2
+ x11-libs/pango"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+#needs guile with networking
+RESTRICT=test
+
+MAKEOPTS+=" -j1"
+
+src_prepare() {
+ PATCHES=(
+ "${FILESDIR}/${PV}-conflicting-types.patch"
+ "${FILESDIR}/${PV}-gcc45.patch"
+ "${FILESDIR}/${PV}-gdk-color.patch"
+ "${FILESDIR}/${PV}-glib-single-include.patch"
+ )
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-Werror
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile \
+ guilegnomedir=/usr/share/guile/site \
+ guilegnomelibdir=/usr/$(get_libdir)
+}
+
+src_install() {
+ autotools-utils_src_install \
+ guilegnomedir=/usr/share/guile/site \
+ guilegnomelibdir=/usr/$(get_libdir)
+}
diff --git a/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1.ebuild b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1.ebuild
new file mode 100644
index 000000000000..2a7eaab26754
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit autotools eutils 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="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=dev-scheme/guile-1.6.4
+ >=dev-libs/g-wrap-1.9.11
+ dev-scheme/guile-cairo
+ dev-libs/atk
+ gnome-base/libbonobo
+ gnome-base/orbit:2
+ >=gnome-base/gconf-2.18:2
+ >=dev-libs/glib-2.10:2
+ >=gnome-base/gnome-vfs-2.16:2
+ >=x11-libs/gtk+-2.10:2
+ >=gnome-base/libglade-2.6:2.0
+ >=gnome-base/libgnomecanvas-2.14
+ >=gnome-base/libgnomeui-2.16
+ >=x11-libs/pango-1.14
+ dev-scheme/guile-lib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+#needs guile with networking
+RESTRICT=test
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-conflicting-types.patch"
+ epatch "${FILESDIR}/${PV}-gcc45.patch"
+ epatch "${FILESDIR}/${PV}-glib-single-include.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-Werror
+}
+
+src_compile() {
+ emake -j1 guilegnomedir=/usr/share/guile/site \
+ guilegnomelibdir=/usr/$(get_libdir) || die "emake failed."
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" \
+ guilegnomedir=/usr/share/guile/site \
+ guilegnomelibdir=/usr/$(get_libdir) \
+ install || die "emake install failed."
+}
diff --git a/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.2.ebuild b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.2.ebuild
new file mode 100644
index 000000000000..f068e3f4af27
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils 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="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+ dev-libs/atk
+ >=dev-libs/g-wrap-1.9.14
+ dev-libs/glib:2
+ dev-scheme/guile:12
+ dev-scheme/guile-cairo
+ dev-scheme/guile-lib
+ gnome-base/gconf:2
+ gnome-base/gnome-vfs:2
+ gnome-base/libbonobo
+ gnome-base/libglade:2.0
+ gnome-base/libgnomecanvas
+ gnome-base/libgnomeui
+ gnome-base/orbit:2
+ x11-libs/gtk+:2
+ x11-libs/pango"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+#needs guile with networking
+RESTRICT=test
+
+MAKEOPTS+=" -j1"
+
+src_prepare() {
+ PATCHES=(
+ "${FILESDIR}/2.16.1-glib-single-include.patch"
+ )
+ autotools-utils_src_prepare
+}
+
+src_compile() {
+ autotools-utils_src_compile \
+ guilegnomedir=/usr/share/guile/site \
+ guilegnomelibdir=/usr/$(get_libdir)
+}
+
+src_install() {
+ autotools-utils_src_install \
+ guilegnomedir=/usr/share/guile/site \
+ guilegnomelibdir=/usr/$(get_libdir)
+}
diff --git a/dev-scheme/guile-gnome-platform/metadata.xml b/dev-scheme/guile-gnome-platform/metadata.xml
new file mode 100644
index 000000000000..b21c5fc8dc80
--- /dev/null
+++ b/dev-scheme/guile-gnome-platform/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>scheme</herd>
+</pkgmetadata>