public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/larceny/files/, dev-scheme/larceny-petit/files/, ...
@ 2017-11-30 10:22 José María Alonso
  0 siblings, 0 replies; only message in thread
From: José María Alonso @ 2017-11-30 10:22 UTC (permalink / raw
  To: gentoo-commits

commit:     0e262ff19ebd33a8ce4b1e424067b88c64aeeb54
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 10:19:07 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 10:19:07 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=0e262ff1

dev-lisp/larceny*: Drops larceny packages

Closes: https://bugs.gentoo.org/630194

 .../files/larceny-petit-0.97-stackfix.patch        |  13 --
 .../files/larceny-petit-0.97-textrelfix.patch      |  76 --------
 dev-scheme/larceny-petit/larceny-petit-0.97.ebuild | 207 ---------------------
 .../larceny/files/larceny-0.961-stackfix.patch     |  13 --
 .../larceny/files/larceny-0.961-textrelfix.patch   |  76 --------
 dev-scheme/larceny/larceny-0.97.ebuild             |  77 --------
 dev-scheme/larceny/larceny-9999.ebuild             |  78 --------
 7 files changed, 540 deletions(-)

diff --git a/dev-scheme/larceny-petit/files/larceny-petit-0.97-stackfix.patch b/dev-scheme/larceny-petit/files/larceny-petit-0.97-stackfix.patch
deleted file mode 100644
index 8843aa66..00000000
--- a/dev-scheme/larceny-petit/files/larceny-petit-0.97-stackfix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- include/Shared/i386-machine.ah	2007-02-15 14:45:47.000000000 -0500
-+++ include/Shared/i386-machine.ah.new	2008-05-04 21:20:42.480292320 -0400
-@@ -33,6 +33,10 @@
- %ifndef I386_MACHINE_ASM
- %define I386_MACHINE_ASM
- 
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+
- %define wordsize        4
- %define object_align    8
- %define code_align      4

diff --git a/dev-scheme/larceny-petit/files/larceny-petit-0.97-textrelfix.patch b/dev-scheme/larceny-petit/files/larceny-petit-0.97-textrelfix.patch
deleted file mode 100644
index 00cd365a..00000000
--- a/dev-scheme/larceny-petit/files/larceny-petit-0.97-textrelfix.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- src/Asm/Standard-C/dumpheap-unix.sch	2006-08-25 11:57:03.000000000 -0400
-+++ src/Asm/Standard-C/dumpheap-unix.sch.new	2008-05-04 19:06:25.679214127 -0400
-@@ -75,7 +75,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc -falign-functions=4 -c ~a ~a -D__USE_FIXED_PROTOTYPES__ -Wpointer-arith -Wimplicit ~a -o ~a ~a"
-+    "gcc -fPIC -falign-functions=4 -c ~a ~a -D__USE_FIXED_PROTOTYPES__ -Wpointer-arith -Wimplicit ~a -o ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     unix/petit-include-path
-     (if (optimize-c-code) "-O3 -DNDEBUG" "")
-@@ -97,7 +97,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -rdynamic -o ~a ~a ~a"
-+    "gcc -fPIC ~a -rdynamic -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -107,7 +107,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -o ~a ~a ~a"
-+    "gcc -fPIC ~a -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -117,7 +117,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -Wl,-export-dynamic -o ~a ~a ~a"
-+    "gcc -fPIC ~a -Wl,-export-dynamic -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -127,7 +127,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -shared -o ~a ~a ~a"
-+    "gcc -fPIC ~a -shared -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -137,7 +137,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -shared -o ~a ~a ~a"
-+    "gcc -fPIC ~a -shared -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -149,7 +149,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -flat_namespace -bundle -undefined suppress -o ~a ~a ~a"
-+    "gcc -fPIC ~a -flat_namespace -bundle -undefined suppress -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
---- src/Rts/make-templates.sch	2007-11-07 15:30:25.000000000 -0500
-+++ src/Rts/make-templates.sch.new	2008-05-04 19:06:48.200246986 -0400
-@@ -138,7 +138,7 @@
- (define (template-common uncommon)
-   (string-append
- "INC_ROOT = ../../include
--CFLAGS    = -ISys -I$(INC_ROOT) -I$(INC_ROOT)/Sys -I$(INC_ROOT)/Shared $(DEBUGINFO) $(OPTIMIZE)
-+CFLAGS    = -fPIC -ISys -I$(INC_ROOT) -I$(INC_ROOT)/Sys -I$(INC_ROOT)/Shared $(DEBUGINFO) $(OPTIMIZE)
- ASFLAGS   = -I$(INC_ROOT)/ -I$(INC_ROOT)/Sys/ -I$(INC_ROOT)/Shared/
- " uncommon))
- 

diff --git a/dev-scheme/larceny-petit/larceny-petit-0.97.ebuild b/dev-scheme/larceny-petit/larceny-petit-0.97.ebuild
deleted file mode 100644
index 952d5399..00000000
--- a/dev-scheme/larceny-petit/larceny-petit-0.97.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-DESCRIPTION="Larceny is a Scheme Interpreter and a Scheme to IA32 and C Compiler"
-LARCENY_SOURCE=larceny-${PV}-src
-LARCENY_X86_PETIT_BINARY=larceny-${PV}-bin-petit-stdc-linux86
-SRC_URI="!binary? ( http://www.ccs.neu.edu/home/will/Larceny/LarcenyReleases/${LARCENY_SOURCE}.tar.gz )
-		 x86? ( binary? ( http://www.ccs.neu.edu/home/will/Larceny/LarcenyReleases/${LARCENY_X86_PETIT_BINARY}.tar.gz ) )"
-
-HOMEPAGE="http://www.ccs.neu.edu/home/will/Larceny/"
-
-LICENSE="Larceny"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="binary doc examples"
-
-RDEPEND="!dev-scheme/larceny"
-DEPEND="${RDEPEND}
-		dev-lang/nasm
-		doc? ( app-text/asciidoc )"
-
-if ! use binary; then
-	MY_P=${LARCENY_SOURCE}
-else
-	MY_P=${LARCENY_X86_PETIT_BINARY}
-fi
-
-S="${WORKDIR}"/${MY_P}
-
-# BIG FAT HACK TAKE 2:
-# We need a customized version of the timestamp hack from
-# common-lisp-common-3.eclass for larceny.
-
-larceny-save-timestamp-hack() {
-	tar cpjf "${D}"/usr/share/larceny-petit/portage-timestamp-compensate -C "${D}"/usr/share/larceny-petit lib || \
-		die "Failed to create the timestamp hack"
-}
-
-larceny-restore-timestamp-hack() {
-	tar xjpfo "${ROOT}"/usr/share/larceny-petit/portage-timestamp-compensate -C "${ROOT}"/usr/share/larceny-petit || \
-		die "Failed to restore the timestamp hack"
-}
-
-larceny-remove-timestamp-hack() {
-	[[ -d "${ROOT}"/usr/share/larceny-petit/lib ]] || return 0
-	rm -rf "${ROOT}"/usr/share/larceny-petit/lib &>/dev/null || true
-}
-
-pkg_setup() {
-	if ! use binary; then
-		if [[ -n ${FORCE_IMPL} ]]; then
-			einfo "Forcing on bootstrap with ${FORCE_IMPL}"
-			LARCENY_BOOTSTRAP=${FORCE_IMPL}
-		#elif has_version '>=dev-scheme/larceny-0.95'; then
-			#einfo "Will bootstrap using installed larceny."
-			#LARCENY_BOOTSTRAP=larceny
-		elif has_version '>=dev-scheme/larceny-petit-0.95'; then
-			einfo "Will bootstrap using installed larceny-petit."
-			LARCENY_BOOTSTRAP=petite
-		elif has_version '>=dev-scheme/drscheme-370'; then
-			einfo "Will bootstrap using PLT mzscheme."
-			LARCENY_BOOTSTRAP=mzscheme
-		else
-			eerror "You need >=larceny-petit-0.95 or >=drscheme-370"
-			eerror "to compile larceny from source."
-			die "please install larceny-petit binary or drscheme"
-		fi
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	if ! use binary; then
-		# fix PIC / STACK problems
-		epatch "${FILESDIR}"/${P}-textrelfix.patch
-		epatch "${FILESDIR}"/${P}-stackfix.patch
-	fi
-}
-
-src_compile() {
-	if ! use binary; then
-
-		# stays a little more readable like this, yea? :)
-		cat > setupscript <<EOF
-(setup 'scheme: '${LARCENY_BOOTSTRAP}
-	   'host: 'linux86)
-(build-config-files)
-(load-compiler)
-(build-heap)
-(build-runtime)
-(build-executable)
-(build-larceny-files)
-(build-twobit)
-(exit)
-EOF
-
-		case ${LARCENY_BOOTSTRAP} in
-			larceny|petite)
-				cat setupscript | larceny -- setup.sch || \
-					die "Compilation with native host failed"
-				;;
-			mzscheme)
-				cat setupscript | mzscheme -f setup.sch || \
-					die "Compilation with mzscheme host failed"
-				;;
-		esac
-
-		echo "(exit)" | ./petit-larceny.bin -stopcopy -- src/Build/petit-larceny-heap.sch || \
-			die "Compilation of petit larceny heap failed"
-		echo "(exit)" | ./twobit.bin -stopcopy -- src/Build/petit-twobit-heap.sch || \
-			die "Compilation of petit twobit heap failed"
-
-	fi
-
-	# for petit, R6RS runtime has to be built even with the binary.
-	pushd lib/R6RS
-	echo "(require 'r6rsmode)
-		  (larceny:compile-r6rs-runtime)
-		  (exit)" | ../../larceny || die "Compilation of R6RS libraries failed"
-	popd
-
-	if use doc; then
-		pushd doc
-		emake user-manual.chunked/index.html || die "Making user manual failed"
-		emake larceny-notes.chunked/index.html || die "Making implementation notes failed"
-		popd
-	fi
-}
-
-src_install() {
-	dodoc README-FIRST.txt doc/HOWTO-* || die "Installing docs failed"
-
-	LARCENY_LOCATION="/usr/share/larceny-petit"
-	dodir ${LARCENY_LOCATION}
-	# use cp -a here to preserve the timestamps of the .fasl files in
-	# this step of the installation.
-	cp -af larceny \
-		scheme-script \
-		startup.sch \
-		compile-stale \
-		*.bin \
-		*.heap \
-		lib \
-		include \
-		"${D}"/${LARCENY_LOCATION} || \
-		die "Installing larceny base files failed"
-
-	# the binary sometimes has misterious mtime issues.
-	if use binary; then
-		find "${D}"/${LARCENY_LOCATION}/lib -name '*.so' -exec touch '{}' +
-	fi
-
-	# sed the scripts with the correct location so they can be symlinked
-	dosed "s:# LARCENY_ROOT=/usr/local/lib/larceny:LARCENY_ROOT=${ROOT}/${LARCENY_LOCATION}:" \
-		"${ROOT}"/${LARCENY_LOCATION}/larceny || die "dosed larceny failed"
-	dosed "s:# LARCENY_ROOT=/usr/local/lib/larceny:LARCENY_ROOT=${ROOT}/${LARCENY_LOCATION}:" \
-		"${ROOT}"/${LARCENY_LOCATION}/scheme-script || die "dosed scheme-script failed"
-
-	LARCENY_SYMLINKS="gdb-larceny larceny larceny-np petit twobit"
-
-	# now we can symlink them to /usr/bin
-	dodir /usr/bin
-	for link in ${LARCENY_SYMLINKS}; do
-		dosym "${ROOT}"/${LARCENY_LOCATION}/larceny "${ROOT}"/usr/bin/${link} || \
-			die "dosym larceny->${link} failed"
-	done
-
-	# this wil probably need to die when we get an eselect module for scheme-script
-	dosym "${ROOT}"/${LARCENY_LOCATION}/scheme-script "${ROOT}"/usr/bin/scheme-script || \
-		die "dosym for scheme-script->scheme-script failed"
-
-	if use examples; then
-		cp -af examples "${D}"/${LARCENY_LOCATION} || die "Installing examples failed."
-	fi
-
-	if use doc; then
-		cd "${S}"/doc
-		docinto LarcenyNotes
-		dodoc ./LarcenyNotes/* || die "Installing doc/LarcenyNotes failed"
-		docinto LarcenyNotes/html
-		dodoc ./larceny-notes.chunked/* || die "Installing doc/LarcenyNotes/html failed"
-		docinto UserManual
-		dodoc ./UserManual/* || die "Installing doc/UserManual failed"
-		docinto UserManual/html
-		dodoc ./user-manual.chunked/* || die "Installing doc/UserManual/html failed"
-		docinto DevManual
-		dodoc ./DevManual/* || die "Installing doc/Devmanual failed"
-		docinto OldDocs
-		dodoc ./OldDocs/* || die "Installing doc/OldDocs failed"
-		cd "${S}"
-	fi
-
-	larceny-save-timestamp-hack
-}
-
-pkg_postinst() {
-	larceny-restore-timestamp-hack
-}
-
-pkg_prerm() {
-	larceny-remove-timestamp-hack
-}

diff --git a/dev-scheme/larceny/files/larceny-0.961-stackfix.patch b/dev-scheme/larceny/files/larceny-0.961-stackfix.patch
deleted file mode 100644
index 8843aa66..00000000
--- a/dev-scheme/larceny/files/larceny-0.961-stackfix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- include/Shared/i386-machine.ah	2007-02-15 14:45:47.000000000 -0500
-+++ include/Shared/i386-machine.ah.new	2008-05-04 21:20:42.480292320 -0400
-@@ -33,6 +33,10 @@
- %ifndef I386_MACHINE_ASM
- %define I386_MACHINE_ASM
- 
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+
- %define wordsize        4
- %define object_align    8
- %define code_align      4

diff --git a/dev-scheme/larceny/files/larceny-0.961-textrelfix.patch b/dev-scheme/larceny/files/larceny-0.961-textrelfix.patch
deleted file mode 100644
index 00cd365a..00000000
--- a/dev-scheme/larceny/files/larceny-0.961-textrelfix.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- src/Asm/Standard-C/dumpheap-unix.sch	2006-08-25 11:57:03.000000000 -0400
-+++ src/Asm/Standard-C/dumpheap-unix.sch.new	2008-05-04 19:06:25.679214127 -0400
-@@ -75,7 +75,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc -falign-functions=4 -c ~a ~a -D__USE_FIXED_PROTOTYPES__ -Wpointer-arith -Wimplicit ~a -o ~a ~a"
-+    "gcc -fPIC -falign-functions=4 -c ~a ~a -D__USE_FIXED_PROTOTYPES__ -Wpointer-arith -Wimplicit ~a -o ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     unix/petit-include-path
-     (if (optimize-c-code) "-O3 -DNDEBUG" "")
-@@ -97,7 +97,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -rdynamic -o ~a ~a ~a"
-+    "gcc -fPIC ~a -rdynamic -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -107,7 +107,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -o ~a ~a ~a"
-+    "gcc -fPIC ~a -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -117,7 +117,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -Wl,-export-dynamic -o ~a ~a ~a"
-+    "gcc -fPIC ~a -Wl,-export-dynamic -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -127,7 +127,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -shared -o ~a ~a ~a"
-+    "gcc -fPIC ~a -shared -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -137,7 +137,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -shared -o ~a ~a ~a"
-+    "gcc -fPIC ~a -shared -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
-@@ -149,7 +149,7 @@
-   (execute
-    (twobit-format 
-     #f
--    "gcc ~a -flat_namespace -bundle -undefined suppress -o ~a ~a ~a"
-+    "gcc -fPIC ~a -flat_namespace -bundle -undefined suppress -o ~a ~a ~a"
-     (if (optimize-c-code) "" "-gstabs+")
-     output-name
-     (apply string-append (insert-space object-files))
---- src/Rts/make-templates.sch	2007-11-07 15:30:25.000000000 -0500
-+++ src/Rts/make-templates.sch.new	2008-05-04 19:06:48.200246986 -0400
-@@ -138,7 +138,7 @@
- (define (template-common uncommon)
-   (string-append
- "INC_ROOT = ../../include
--CFLAGS    = -ISys -I$(INC_ROOT) -I$(INC_ROOT)/Sys -I$(INC_ROOT)/Shared $(DEBUGINFO) $(OPTIMIZE)
-+CFLAGS    = -fPIC -ISys -I$(INC_ROOT) -I$(INC_ROOT)/Sys -I$(INC_ROOT)/Shared $(DEBUGINFO) $(OPTIMIZE)
- ASFLAGS   = -I$(INC_ROOT)/ -I$(INC_ROOT)/Sys/ -I$(INC_ROOT)/Shared/
- " uncommon))
- 

diff --git a/dev-scheme/larceny/larceny-0.97.ebuild b/dev-scheme/larceny/larceny-0.97.ebuild
deleted file mode 100644
index 5a0e44a8..00000000
--- a/dev-scheme/larceny/larceny-0.97.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Larceny is a simple and efficient implementation of the Scheme programming language."
-SRC_URI="!binary? ( http://www.larcenists.org/LarcenyReleases/${MY_P}-src.tar.gz )
-		  binary? ( x86? ( http://www.larcenists.org/LarcenyReleases/${MY_P}-bin-native-ia32-linux86.tar.gz )
-				  amd64? ( http://www.larcenists.org/LarcenyReleases/${MY_P}-bin-native-ia32-linux86.tar.gz ) )"
-
-HOMEPAGE="http://www.larcenists.org/"
-
-LICENSE="LGPL-2.1" # or less restrictive
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="binary"
-
-DEPEND="!dev-scheme/larceny-petit
-		dev-lang/nasm"
-RDEPEND=""
-
-S="${WORKDIR}"/${MY_P}-$(use binary && echo bin-native-ia32-linux86 || echo src)
-
-src_compile() {
-	# see doc/HOWTO-BUILD
-	if ! use binary; then
-
-		cat > setupscript.gentoo <<EOF
-(load "setup.sch")
-(setup 'scheme: 'larceny
-	   'host: 'linux86
-	   'sassy) ;without this flag builds petite (C-backend) instead of native
-(build-config-files)
-(load-compiler)
-
-(build-heap)
-(build-runtime)
-(build-executable)
-
-(build-larceny-files)
-(exit)
-EOF
-		cat setupscript.gentoo | larceny ||	die "first install a binary larceny"
-
-		echo "(exit)" | ./larceny.bin -stopcopy -- src/Build/iasn-larceny-heap.fasl || die
-		echo "(exit)" | ./larceny.bin -stopcopy -- src/Build/iasn-twobit-heap.fasl || die
-		cp larceny twobit
-
-		echo "(require 'r6rsmode) (larceny:compile-r6rs-runtime) (exit)" | ./larceny || die
-	fi # ! use binary
-
-	# if use doc; then
-	# 	pushd doc
-	# 	emake user-manual.chunked/index.html || die "Making user manual failed"
-	# 	emake larceny-notes.chunked/index.html || die "Making implementation notes failed"
-	# 	popd
-	# fi
-}
-
-src_install() {
-#	dodoc README-FIRST.txt doc/HOWTO-* || die "Installing docs failed"
-
-	LARCENY_LOCATION="/usr/share/larceny"
-	dodir "${LARCENY_LOCATION}"
-	# -a for preserving timestamps of fasls
-	cp -aR * "${D}"/"${LARCENY_LOCATION}" || die
-
-	SCRIPTS="compile-stale larceny scheme-script twobit"
-	for script in ${SCRIPTS}; do
-		dobin ${script} # dosym "${LARCENY_LOCATION}"/${script} /usr/bin/${script}
-		dosed "s,# LARCENY_ROOT=.*,LARCENY_ROOT=${LARCENY_LOCATION}," /usr/bin/${script}
-	done
-}

diff --git a/dev-scheme/larceny/larceny-9999.ebuild b/dev-scheme/larceny/larceny-9999.ebuild
deleted file mode 100644
index 7bdd3f80..00000000
--- a/dev-scheme/larceny/larceny-9999.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit subversion
-
-MY_PV=${PV/_beta/b}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="Larceny is a Scheme Interpreter and a Scheme to IA32 and C Compiler"
-#SRC_URI="!binary? ( http://www.larcenists.org/LarcenyReleases/${MY_P}-src.tar.gz )
-#		  binary? ( x86? ( http://www.larcenists.org/LarcenyReleases/${MY_P}-bin-native-ia32-linux86.tar.gz )
-#				  amd64? ( http://www.larcenists.org/LarcenyReleases/${MY_P}-bin-native-ia32-linux86.tar.gz ) )"
-ESVN_REPO_URI="https://www.larcenists.org/svn/larceny/trunk/larceny_src"
-
-HOMEPAGE="http://www.larcenists.org/"
-
-LICENSE="LGPL-2.1" # or less restrictive
-SLOT="0"
-KEYWORDS=""
-IUSE="binary"
-
-DEPEND="!dev-scheme/larceny-petit
-		dev-lang/nasm"
-RDEPEND=""
-
-S="${WORKDIR}"/${MY_P}-$(use binary && echo bin-native-ia32-linux86 || echo src)
-
-src_compile() {
-	# see doc/HOWTO-BUILD
-	if ! use binary; then
-
-		cat > setupscript.gentoo <<EOF
-(load "setup.sch")
-(setup 'scheme: 'larceny
-	   'host: 'linux86
-	   'sassy) ;without this flag builds petite (C-backend) instead of native
-(build-config-files)
-(load-compiler)
-
-(build-heap)
-(build-runtime)
-(build-executable)
-
-(build-larceny-files)
-(exit)
-EOF
-		cat setupscript.gentoo | larceny ||	die "first install a binary larceny"
-
-		echo "(exit)" | ./larceny.bin -stopcopy -- src/Build/iasn-larceny-heap.fasl || die
-		echo "(exit)" | ./larceny.bin -stopcopy -- src/Build/iasn-twobit-heap.fasl || die
-		cp larceny twobit
-
-		echo "(require 'r6rsmode) (larceny:compile-r6rs-runtime) (exit)" | ./larceny || die
-	fi # ! use binary
-
-	# if use doc; then
-	# 	pushd doc
-	# 	emake user-manual.chunked/index.html || die "Making user manual failed"
-	# 	emake larceny-notes.chunked/index.html || die "Making implementation notes failed"
-	# 	popd
-	# fi
-}
-
-src_install() {
-#	dodoc README-FIRST.txt doc/HOWTO-* || die "Installing docs failed"
-
-	LARCENY_LOCATION="/usr/share/larceny"
-	dodir "${LARCENY_LOCATION}"
-	# -a for preserving timestamps of fasls
-	cp -aR * "${D}"/"${LARCENY_LOCATION}" || die
-
-	SCRIPTS="compile-stale larceny scheme-script twobit"
-	for script in ${SCRIPTS}; do
-		dobin ${script} # dosym "${LARCENY_LOCATION}"/${script} /usr/bin/${script}
-		dosed "s,# LARCENY_ROOT=.*,LARCENY_ROOT=${LARCENY_LOCATION}," /usr/bin/${script}
-	done
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-30 10:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 10:22 [gentoo-commits] proj/lisp:master commit in: dev-scheme/larceny/files/, dev-scheme/larceny-petit/files/, José María Alonso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox