summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/tinyscheme')
-rw-r--r--dev-scheme/tinyscheme/ChangeLog13
-rw-r--r--dev-scheme/tinyscheme/Manifest14
-rw-r--r--dev-scheme/tinyscheme/files/tinyscheme-1.41-makefile.patch50
-rw-r--r--dev-scheme/tinyscheme/tinyscheme-1.41.ebuild63
4 files changed, 134 insertions, 6 deletions
diff --git a/dev-scheme/tinyscheme/ChangeLog b/dev-scheme/tinyscheme/ChangeLog
index 089bc6ba1420..5c8da1fa359f 100644
--- a/dev-scheme/tinyscheme/ChangeLog
+++ b/dev-scheme/tinyscheme/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-scheme/tinyscheme
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.13 2013/09/07 15:05:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/ChangeLog,v 1.14 2013/12/11 13:27:11 pchrist Exp $
+
+*tinyscheme-1.41 (11 Dec 2013)
+
+ 11 Dec 2013; Panagiotis Christopoulos <pchrist@gentoo.org>
+ +tinyscheme-1.41.ebuild, +files/tinyscheme-1.41-makefile.patch:
+ Bump to 1.41 contains various fixes for bug #334649, bug #455294, bug
+ #455296, bug #455298, bug #455300 and bug #493694, thanks to Agostino Sarubbo
+ (ago at gentoo dot org) for reporting the QA issues. Special thanks to
+ Michael Mair-Keimberger (iamnr3) who made the patches in bug #455296. Prefix
+ (darwin) keywords dropped cause logic inside the ebuild has changed and the
+ ebuild needs rekeywording.
07 Sep 2013; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Newline.
diff --git a/dev-scheme/tinyscheme/Manifest b/dev-scheme/tinyscheme/Manifest
index d246760d3354..1caded092c88 100644
--- a/dev-scheme/tinyscheme/Manifest
+++ b/dev-scheme/tinyscheme/Manifest
@@ -1,18 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX tinyscheme-1.41-makefile.patch 1152 SHA256 e86db51335a6e8cbc0e673a7cafadbbc7526edaa596e9d4912d9c3fd84a1e558 SHA512 e7ff9a2cc45f1f7f07df3619bf48b2d14c4adf39c452786e4aa0ebb134264f0111f001296e617b6511cd8f28ee3dbdc9f90b5922540aafd91becc358c5de98da WHIRLPOOL 727e4dc20119e06198ab34dd65afb244f0f9c2c0489504fbb1f8f03498cb01d7342ab4c261273cc92f93354a53bd4023f43c46859fca194b5c8d82c3d0e9c519
DIST tinyscheme-1.40.tar.gz 60160 SHA256 c594c84633b1dcfe832e0416cbc9f889b6bae352845e14503883119a941a12fc
+DIST tinyscheme-1.41.tar.gz 61761 SHA256 eac0103494c755192b9e8f10454d9f98f2bbd4d352e046f7b253439a3f991999 SHA512 a9c1c9cd7a11bf31e0f8ac813ebd6e731cb56b9526fd14d343d7f8c479a8e1b561b744b3f522512adc023cacd1acbf52aa18bf5d8db68f767971660305b79b0f WHIRLPOOL 4df1f6f80a03c1dae73cd0e39fead9d454c41be536c4a9ec63da80ab31e5712bae0f8a2e8a58154edcc4d595129a11399f65e59fe9f0524b7669912ce16825cf
DIST tinyscheme1.38.zip 58182 SHA256 7d716794b9a20624ebb80a2e6b6a288301fc673d47ce6ae4d845aa40d9305803
DIST tinyscheme1.39.zip 58751 SHA256 5b53bcacd5f48031c57567a8c76dc20f56db4a8a98ee9d4859556dfd6203ffbd
EBUILD tinyscheme-1.38-r1.ebuild 1143 SHA256 88568adf30c78f35e93057073d5bcd0cc8cb845834d8ef2d6a98a6d678c483ce SHA512 d8c6789b3e4fbc78c8a10593ad6589f9a957306e59d0c105e4833a27d16e8576d092d9906ebb7e42b1575f0ece29468faaa0dab75742c48c45b69bdf40bebd1d WHIRLPOOL a0ef8810860dda4bc08e05160cbbc14e2a5bba08a36c9338cdd031ace34d63d7f5030db2a4f1a99d0811d1c871e3a357f0e232c185ba27cd8ff14cd8c9652d33
EBUILD tinyscheme-1.39-r1.ebuild 1272 SHA256 c8775e66164c163d93061caebd6d5ad1a1f72088455d1af24780e3a742198708 SHA512 9828cbbf23df30c987757ee3104545b8fd1eba41e1cb6dbe0cd6d24fca3ef4c9cb23b1cd979517c192de333a234039f27a7af6faef6e67e999c1295144d330ff WHIRLPOOL 85d369d5f276866e50c18f1775792e0ea9b0d8743d120306300e5917a72d63fca5851c62c15f95a2c50d62dbbb23259fbdf5708931f72b5896aa4476b39cf168
EBUILD tinyscheme-1.40.ebuild 2238 SHA256 e07bd4ba8b8cb372e46c87e60d26be3959ed993f69b339a638deac4a921ded6c SHA512 dde0b9e444d87a0dae8ff1b20dff81d355b6c9d6be8deb6f55292a3081878e0ccf5a45a168a3edb2dea623072cc58a8d0d8814ba3630c463eefc6f4f759b1e88 WHIRLPOOL cc62751c31a267408f7419df21f41b8d11a09c388ecfbc9b19006f72ec23b8fc1cf924849e5a5368304bf59cdce3ed063ff5a8a9aded9a33a28e4918d11d551f
-MISC ChangeLog 2017 SHA256 8d775ae0727e664e117be702040c484f62ca3319b7a77b5c74f43a4e89e92ba2 SHA512 421a529c17642a2171a8e03293c0ed57971dd78208f2699044e1bebfb4119566e264194729b6727d8c6ab3d7c37c674481a4fc405f6674482e04f870b6c1f4ae WHIRLPOOL a4c889eacbb7093ff5cff1fd569a05fc640aed6e3e7f274f930049ac808ecb0747bb681fbb8de77d2abd53b15efc9c881fcb7fb93212a463f750a94ac7273e3a
+EBUILD tinyscheme-1.41.ebuild 1506 SHA256 1f454291ff515a3e6c13192c33cb9c21e09000b87b30762c5b628a689e8992b4 SHA512 6f69dfef43ac4f21091a5a3988eaef513eb0dd9692683a8c30476c1f9ea7798624a206e697597b84bf9ed991c65bfb0d6518238adc6ee4600c720ba2a59ca205 WHIRLPOOL 745c7bfd203f3f6e72460fa949d81ce65862446bc1ee5bc3efcb3524f77925bc8ff4a0feaaf3b66f413586e2f0c1862288eb10d9258606b80c7ce677ce0d2fb0
+MISC ChangeLog 2592 SHA256 3097fcc99de82441e777c73f8c416900e5329e1e4296726505e56e79fd38a730 SHA512 86b99c236bcc6da1de14cdd279eabb84d02e191431531006e682b6e6f283e5766d04d57986ada223f0e54d7b3f5f95a41f2f1d4b1bf899ae7ceb8d1e45532cb4 WHIRLPOOL 8a938a18720e165efb936d7e3dd90a8d815e998206a26e2fa50999b71c4c38c589a47688c6f08df0e64677a8041051886aa5dc00519b2410c7d68190b12c7ebd
MISC metadata.xml 692 SHA256 6d696c56d89364ab561f1ba372cd637e7a1f3fda1e02fdd3dc82724351060313 SHA512 d1f920a2ed49e21bf3f14e812c6b0b556b8baf1adc6edd71935438dc7add0f836cf53aff52fbfdf8e0ccd44b5583e302c1512f57f17cac92243891b6f4c98d73 WHIRLPOOL 03eecacdaf3366f083a7f4e2d50fc193099fc32fff2fcfc9529e1b39065b0a5aeb1942f172b04b3a316cc775b28cdb50b51c2194682bed9fa3cc5d0e375896a2
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlIrQM0ACgkQVWmRsqeSphPXqACeNZQ8VvYU9WMdblHmzp7m0f+R
-Fl4An3vOR5TGbv7uPEBUfRUq8VQF2DBa
-=oaq7
+iIoEAREIAEoFAlKoaDZDFIAAAAAAEgAocGNocmlzdEBnZW50b28ub3JnMEE4ODEw
+MzBDRDQ0RkRCMkEwMDFFNzZFM0FDNTc5QjkxQkMwMzY1NgAKCRA6xXm5G8A2Vpj1
+AJ4sZVnajWOkkCjs00cO+F23SaM2lACfYycnDI4vrcvhg38gBLRu2BZibc0=
+=ZGUA
-----END PGP SIGNATURE-----
diff --git a/dev-scheme/tinyscheme/files/tinyscheme-1.41-makefile.patch b/dev-scheme/tinyscheme/files/tinyscheme-1.41-makefile.patch
new file mode 100644
index 000000000000..69fccb5e537a
--- /dev/null
+++ b/dev-scheme/tinyscheme/files/tinyscheme-1.41-makefile.patch
@@ -0,0 +1,50 @@
+diff -ru a/makefile b/makefile
+--- a/makefile 2013-04-14 20:08:33.000000000 +0000
++++ b/makefile 2013-12-11 11:59:58.688782748 +0000
+@@ -18,8 +18,7 @@
+ #AR= echo
+
+ # Unix, generally
+-CC = gcc -fpic -pedantic
+-DEBUG=-g -Wall -Wno-char-subscripts -O
++#CC = $(CC)
+ Osuf=o
+ SOsuf=so
+ LIBsuf=a
+@@ -27,12 +26,11 @@
+ LIBPREFIX=lib
+ OUT = -o $@
+ RM= -rm -f
+-AR= ar crs
++#AR= $(AR)
++ARFLAGS = crs
+
+ # Linux
+-LD = gcc
+-LDFLAGS = -shared
+-DEBUG=-g -Wno-char-subscripts -O
++#LD = $(CC)
+ SYS_LIBS= -ldl -lm
+ PLATFORM_FEATURES= -DSUN_DL=1
+
+@@ -71,16 +69,16 @@
+ all: $(LIBTARGET) $(STATICLIBTARGET) scheme$(EXE_EXT)
+
+ %.$(Osuf): %.c
+- $(CC) -I. -c $(DEBUG) $(FEATURES) $(DL_FLAGS) $<
++ $(CC) -fpic $(CFLAGS) -I. -c $(FEATURES) $(DL_FLAGS) $<
+
+ $(LIBTARGET): $(OBJS)
+- $(LD) $(LDFLAGS) $(OUT) $(OBJS) $(SYS_LIBS)
++ $(CC) -shared $(LDFLAGS) -Wl,-soname=$@ -o $@ $(OUT) $(OBJS) $(SYS_LIBS)
+
+ scheme$(EXE_EXT): $(OBJS)
+- $(CC) -o $@ $(DEBUG) $(OBJS) $(SYS_LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(SYS_LIBS)
+
+ $(STATICLIBTARGET): $(OBJS)
+- $(AR) $@ $(OBJS)
++ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+ $(OBJS): scheme.h scheme-private.h opdefines.h
+ dynload.$(Osuf): dynload.h
diff --git a/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild
new file mode 100644
index 000000000000..f7334f9de0f0
--- /dev/null
+++ b/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild,v 1.1 2013/12/11 13:27:11 pchrist Exp $
+
+EAPI="5"
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="Lightweight scheme interpreter"
+HOMEPAGE="http://tinyscheme.sourceforge.net"
+SRC_URI="mirror://sourceforge/tinyscheme/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+#KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x64-macos"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+
+ epatch "${FILESDIR}"/${P}-makefile.patch
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ append-flags -DOSX
+ sed -i \
+ -e 's/SOsuf=so/SOsuf=dylib/' \
+ -e "s|-Wl,-soname=|-Wl,-install_name=${EPREFIX}/usr/lib/|" \
+ makefile || die
+ fi
+}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}"\
+ AR=$(tc-getAR) CC=$(tc-getCC)
+}
+
+src_install() {
+
+ local tslib=libtinyscheme$(get_libname)
+ local tslibx=libtinyscheme$(get_libname ${PV})
+
+ newbin scheme ${PN}
+
+ newlib.so ${tslib} ${tslibx}
+ dosym ${tslibx} /usr/$(get_libdir)/${tslib}
+ dodoc Manual.txt || die "dodoc failed"
+
+ if use static-libs; then
+ dolib.a libtinyscheme.a
+ fi
+
+ # Bug 328967: dev-scheme/tinyscheme-1.39-r1 doesn't install header file
+ insinto /usr/include/
+ newins scheme.h tinyscheme.h
+
+ local INIT_DIR=/usr/share/${PN}/
+ insinto ${INIT_DIR}
+ doins init.scm
+ dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${EPREFIX}${INIT_DIR}init.scm\"" > "${ED}"/etc/env.d/50tinyscheme
+}