From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- dev-scheme/gauche-gtk/Manifest | 5 +- dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch | 14 ---- .../gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild | 48 +++++++++++++ dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild | 79 ---------------------- dev-scheme/gauche-gtk/metadata.xml | 3 - 5 files changed, 50 insertions(+), 99 deletions(-) delete mode 100644 dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch create mode 100644 dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild delete mode 100644 dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild (limited to 'dev-scheme/gauche-gtk') diff --git a/dev-scheme/gauche-gtk/Manifest b/dev-scheme/gauche-gtk/Manifest index 3c9b5e145908..6fa4b82fa48f 100644 --- a/dev-scheme/gauche-gtk/Manifest +++ b/dev-scheme/gauche-gtk/Manifest @@ -1,4 +1,3 @@ -AUX gauche-gtk-glgd.patch 509 BLAKE2B c9c0c02edb732b96b81eedc98d757761dc16fd15b48083f981524c115311a1c9347ab72de611abf9e90a0df0702aaf1975bbb249bcc9d4ac163f4985edfe4310 SHA512 48f4b60711d2bf6fc08c757c7238d0f18225d37022b4e0b0511ef370d26abbc1db7ddd2763f3ec22d08b7ff3a2b648ebc8b605cb7532fb0039e76d3121d16833 DIST Gauche-gtk2-0.6_pre1.tar.gz 205003 BLAKE2B ecc444c246aa20f67a0030d7d87528596d6c2d69beb7ffaef1b53f80963d2fcc1294a04cacf958df6c3331789b6b0260f911126941d6e672a6c57e3aa4807d81 SHA512 5379dafbfabd536e335c30af18f8ddd13e00238e6d99494bbc8e78ee9cf1db872c08b5deee42ac50898dedde39c441d837312d2d6f559a0d2ac2568c31926f70 -EBUILD gauche-gtk-0.6_pre1.ebuild 1418 BLAKE2B f929407d48c44e8b38cf80b5818c5f3c321df84e34187ce20fe4dc0a8ad47393ead7623cabdfb4f903bc64b2f627742adcbd61246d0800301e3507e9d41ff547 SHA512 b28b6dc87b47a7cafb1c9a906e4196c4c18fa69afa95b2186b62c129ffa815148e8171ff5edbfde19c4a6ec36aaa98e51b6413375a6192b98d1ffb08bb2182db -MISC metadata.xml 471 BLAKE2B 5c17e51d4c199f82572546d44c846f55d6bc0dce86ac8780dd96a188fd447f0d5047f09ad3186eac3cf1adefe3a7332a5072f65144e6a6f244ab8871e11259b8 SHA512 64fa480b1c697341c1c215f5aae1c7875c796e11ed05e08045635996c996183b8d1decbc1a31846ee5374d81f33ce282fb44bcc84489f9fa854a063d7cbb527d +EBUILD gauche-gtk-0.6_pre1-r1.ebuild 900 BLAKE2B 268f31e5319100d037dff54bad6dc996571abea14d9f712a14a954db7a2197dfccc669b23fb1c7cd2373c38421a0e3015920a846bc635e0c6a153604ec65d736 SHA512 15e0a1835e8ca73edd8067cbbd381c8fa9fedcc5a7698f017b451e3da6578b2ba51f0eeca88be8a8491e09563bf31c1d90ab7c69f4b9f810b9fcbffc83594e99 +MISC metadata.xml 408 BLAKE2B 3fbbb6389d2c9123bf15f9fb307826178b1108a9f8b07c41d3743fcdc8b66b7e25f0d5b7a7393d626377e1585500bdad62332c86770a5f16817a12f4fd7c06d3 SHA512 2aec10a1aa88a330fe7b2ef04bfe60aeacebdc4d63eded2d6293adf3c7c4dad9e66f84154da12e12565a08b587f207f5ef3b15f817d5636e37c4ee82c0cd4abf diff --git a/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch b/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch deleted file mode 100644 index 36a723fee98d..000000000000 --- a/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/glgd/glgdGraph.c -+++ b/glgd/glgdGraph.c -@@ -19,11 +19,7 @@ - #define GLGDGRAPH_CAMORBIT (0) - #define GLGDGRAPH_NODENAME (1) - #define GLGDGRAPH_LINKNAME (2) --#ifdef __MINGW32__ - #define _MAXFLT (HUGE_VAL) --#else /*!__MINGW32__*/ --#define _MAXFLT (HUGE) --#endif /*!__MINGW32__*/ - #define _PANGO_DPI (72) - #define _PANGO_SCALE (3) - #define _TEXW (1024) diff --git a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild new file mode 100644 index 000000000000..9497ba267f79 --- /dev/null +++ b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools vcs-snapshot + +MY_P="${PN^g}2-${PV}" +PV_COMMIT="0220722c44ef85f2e1b9b14745702c1b923258e8" + +DESCRIPTION="GTK2 binding for Gauche" +HOMEPAGE="http://practical-scheme.net/gauche/" +SRC_URI="https://github.com/shirok/${PN^g}2/archive/${PV_COMMIT}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="examples" +RESTRICT="test" + +RDEPEND="x11-libs/gtk+:2 + dev-scheme/gauche" +DEPEND="${RDEPEND} + virtual/pkgconfig" +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + eautoconf +} + +src_compile() { + emake stubs + emake +} + +src_install() { + default + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + docinto examples + dodoc examples/*.scm + # install gtk-tutorial + docinto examples/gtk-tutorial + dodoc examples/gtk-tutorial/* + fi +} diff --git a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild deleted file mode 100644 index 408f80d26af2..000000000000 --- a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools vcs-snapshot - -MY_P="${PN^g}2-${PV}" -PV_COMMIT="0220722c44ef85f2e1b9b14745702c1b923258e8" - -DESCRIPTION="GTK2 binding for Gauche" -HOMEPAGE="http://practical-scheme.net/gauche/" -SRC_URI="https://github.com/shirok/${PN^g}2/archive/${PV_COMMIT}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="examples glgd nls opengl" -RESTRICT="test" - -DEPEND="${RDEPEND} - virtual/pkgconfig" -RDEPEND="x11-libs/gtk+:2 - dev-scheme/gauche - opengl? ( - x11-libs/gtkglext - dev-scheme/gauche-gl - )" -S="${WORKDIR}/${MY_P}" - -PATCHES=( "${FILESDIR}"/${PN}-glgd.patch ) - -src_prepare() { - default - eautoconf -} - -src_configure() { - local myconf=() - if use opengl; then - if use glgd; then - if use nls; then - myconf+=( --enable-glgd-pango ) - else - myconf+=( --enable-glgd ) - fi - else - myconf+=( --enable-gtkgl ) - fi - fi - - econf "${myconf[@]}" -} - -src_compile() { - emake stubs - emake -} - -src_install() { - default - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - docinto examples - dodoc examples/*.scm - # install gtk-tutorial - docinto examples/gtk-tutorial - dodoc examples/gtk-tutorial/* - if use opengl; then - # install gtkglext - dodoc -r examples/gtkglext - if use glgd; then - # install glgd - dodoc -r examples/glgd - fi - fi - fi -} diff --git a/dev-scheme/gauche-gtk/metadata.xml b/dev-scheme/gauche-gtk/metadata.xml index 4dd4d4ed3fd8..fe87f96ca80e 100644 --- a/dev-scheme/gauche-gtk/metadata.xml +++ b/dev-scheme/gauche-gtk/metadata.xml @@ -8,9 +8,6 @@ Gauche extension module to use GTK. - - Enable GL graph draw - shirok/Gauche-gtk2 -- cgit v1.2.3