diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-scheme/guile-gnome-platform | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-scheme/guile-gnome-platform')
8 files changed, 273 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..9e5c65044b7e --- /dev/null +++ b/dev-scheme/guile-gnome-platform/Manifest @@ -0,0 +1,9 @@ +AUX 2.16.1-conflicting-types.patch 1584 BLAKE2B 06392a5e1c2ee0036d022f9a8acd44e5e63f9ccfe72e6eda9dd186149c183dc01e3cd0f68e603f61e2089768e5012faea9ceabce3a0c38f5ee3f4ebdcd7bdedb SHA512 21ff8196a718d273e0901e70df62b7caf291e1c28988e1f972482302893a1193faa9ccff68378ae75e0aafcfbd9bef57106a30b02433ce3cdb07d14d59d29f86 +AUX 2.16.1-gcc45.patch 343 BLAKE2B 5b050c157845adf0b97d2b53e1795db60feead7bcef4d57c911e813ef6adbb288daea68b1366d0f083fa885bac574919afef6a7c7763d24906047da77c1367dd SHA512 a0412c07376b6e5e701428ca6a0f85b8762506c3fd86a76ca6a5641c4db1cd9be9cc97747f851d95fd6dbad8a02f7f1d5b11b7c649e927888c1e9a0909a8cba2 +AUX 2.16.1-gdk-color.patch 2328 BLAKE2B bbe5837601ac13097832a5488737eaf159ce4bbed0025745d956344c8a7355b1065efaab01af2fd7843a7bd3d1d8a9f9aa0c533315a00dddd0f8e4288864f366 SHA512 40e2b2838c18102c71d3a3132331332aa68bf9e7d202ced159c91444c30648a0c1c8afee106ec0b8b8012dc840eaf3466181887835ea62bff41dc1a7282faf71 +AUX 2.16.1-glib-single-include.patch 944 BLAKE2B 251be62ed49d67a234b5ca321c19febffd54ac3b4b4dfb84a42d84771cc4b17bc33adb19daacb4ac7ba6ea6afef69cb69e62c5f1e15e2911fce6970287dbec9c SHA512 f50eb52f0150a365f79314f1756c6ae78018a18ecbb488e830c27d4e76c3da6ad2bf46c7d44a35d3172c57bf709f5d4614ffba7652a5b459b542a0994ca47dea +DIST guile-gnome-platform-2.16.1.tar.gz 3494333 BLAKE2B edd5c91a263c9a6bedb884d842f629c7d4fa610f5a4ba277ca374279a5abbcf5c1fb9ff85f7bb5faaed8905ed0eaf711bd469d86062d293930ca885b1aadc271 SHA512 c630e2d67b312fb41c8492f8956902f385faa834094860cac580d1df0329b41790d973f73fd7dd59dc365f5d6cfb6463cde8af90641fbc377680b51616ad8f7a +DIST guile-gnome-platform-2.16.2.tar.gz 2538191 BLAKE2B e16d3d667996c822401a4e3982728db91dda1f02be5739b7dd0795466f0976f3fbb2692a21918f2f6c2502faf5c90bb0d287de171d80cece41353cccb2715488 SHA512 5acaa96d8caf82864ada8bfcbc4954a19cd5d7e210245f2e8b31082c6a9e4ab9ba7af5f8e1f762a891e1aad640913a7a205f56dfaed6915a9f782c53e042d042 +EBUILD guile-gnome-platform-2.16.1-r1.ebuild 1448 BLAKE2B 51b2633a873f7eaa7797459ddbab32eda473325af35ef00ea26d01cca555a437b0a40ce0d69730dd77814eba48f4e43fe536414922b190263325e4541522cc68 SHA512 4ea5b6c916e2b7fc334e9352fa58f655052663e357222a536b20aff7536482d3386c34a844f68a828117a1adead8d751aa0dae32f11c2a01b26e126a8cb2906f +EBUILD guile-gnome-platform-2.16.2.ebuild 1235 BLAKE2B dc6a0e0c086c4954adc50928b7d230eb9db0dd52e14bce7de6553a56a0ac6eac44b9285ab4340c95bce3c5e5d3101d0868546edb84757cb80398334eb06755c5 SHA512 16b515053e940e574e2695a25ad089efaead772b3589a8d7c5d12e056bf568541539b57eef958cb704c20d710d941a38d33f6cc91d8c18aafbddbeb3e30d4161 +MISC metadata.xml 255 BLAKE2B e964916ff43a4807177c33fdb84eee27b3683571dfc9038e69bb1e2d99a996d8db529a4d894b88c1d9cb8771e0bfa15be4f8411320be05254be0185241649b07 SHA512 39d166e37ab93cad3ab7852f67a51422f3e2c3b23c79227ce1379e833455ac750cd69cba663a693fec0fca564434d56decaef0d03eace2ed9ce871805b537eed 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..cb8d91a9a8d5 --- /dev/null +++ b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils eutils multilib + +DESCRIPTION="Guile Scheme code that wraps the GNOME developer platform" +HOMEPAGE="https://www.gnu.org/software/guile-gnome/" +SRC_URI="https://ftp.gnu.org/pub/gnu/guile-gnome/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~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.2.ebuild b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.2.ebuild new file mode 100644 index 000000000000..ee22dd2fc05c --- /dev/null +++ b/dev-scheme/guile-gnome-platform/guile-gnome-platform-2.16.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib + +DESCRIPTION="Guile Scheme code that wraps the GNOME developer platform" +HOMEPAGE="https://www.gnu.org/software/guile-gnome/" +SRC_URI="https://ftp.gnu.org/pub/gnu/guile-gnome/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 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..aa9967f46fc6 --- /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> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> +</pkgmetadata> |