summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-13 19:04:41 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-13 19:17:36 +0100
commit3893564f44c2bcfd6fcb78be2fa738ae71cc974d (patch)
tree46f68b26e9bc186f8b70da86efd8e711d2f07df6
parentdev-scheme/racket: drop unmaintined ebuild (diff)
downloadlisp-3893564f44c2bcfd6fcb78be2fa738ae71cc974d.tar.gz
lisp-3893564f44c2bcfd6fcb78be2fa738ae71cc974d.tar.bz2
lisp-3893564f44c2bcfd6fcb78be2fa738ae71cc974d.zip
dev-scheme/scm: drop unmaintined ebuild
newest, mainained version of SCM is available in ::gentoo Bug: https://bugs.gentoo.org/797100 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--dev-scheme/scm/Manifest4
-rw-r--r--dev-scheme/scm/files/scm-5.5.5-gentoo.patch51
-rw-r--r--dev-scheme/scm/metadata.xml33
-rw-r--r--dev-scheme/scm/scm-5.5.5-r2.ebuild162
4 files changed, 0 insertions, 250 deletions
diff --git a/dev-scheme/scm/Manifest b/dev-scheme/scm/Manifest
deleted file mode 100644
index f2375d5a..00000000
--- a/dev-scheme/scm/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX scm-5.5.5-gentoo.patch 1688 RMD160 ffc537f56d3274d18a19b60ffd108bc0f76d952e SHA1 d3765de5ebbd443e2fddfb070705be8a25fd5ac3 SHA256 23e9eaee1577dd00659364ac2872734143ec1b9451689a41d90cbd994131482b
-DIST scm-5e5.zip 910806 RMD160 2ef8ff29f0aa4fe0afb5a086137a088be765ffb4 SHA1 3b17b3ed38bc5d9e3d8a3747a5e8018ecf67163f SHA256 9df62d4495184d9241f316c60e15481e890cd50932d43c2747afcf557db0f537
-EBUILD scm-5.5.5-r2.ebuild 3689 RMD160 9e388822b28cc9829d83b9411cce2c711588f068 SHA1 0faf9e3ba855fc825d4cdcef024977b35bf13177 SHA256 7bc06d36426f348d1a65d9e43facb8dd9e782c325ee340a6761eaf6ef2887bbd
-MISC metadata.xml 1495 RMD160 d649c2638b600ec584e1faea21a0f658071f11e1 SHA1 a9a393d5948d37d59288d72e5610389851d0453e SHA256 fa379da6c99475e3481534b970b3591b1533ffe38486dfdcca52a91ddcc21162
diff --git a/dev-scheme/scm/files/scm-5.5.5-gentoo.patch b/dev-scheme/scm/files/scm-5.5.5-gentoo.patch
deleted file mode 100644
index 84a2fe1b..00000000
--- a/dev-scheme/scm/files/scm-5.5.5-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- Makefile.orig 2008-02-06 00:25:10.000000000 -0500
-+++ Makefile 2009-02-03 15:28:11.000000000 -0500
-@@ -196,7 +196,6 @@
- udscm5: $(cfiles) $(ufiles) $(hfiles) build.scm build udscm5.opt
- $(BUILD) -f udscm5.opt -o udscm5 -s $(IMPLPATH)
- -rm $(ofiles) scmmain.o
-- strip udscm5
- dscm5: udscm5 $(ifiles) require.scm
- if [ -f /proc/sys/kernel/randomize_va_space -a\
- "`cat /proc/sys/kernel/randomize_va_space`" != "0" ]; then {\
-@@ -390,7 +389,7 @@
- PREVDOCS = prevdocs/
- html: $(htmldir)scm_toc.html $(htmldir)Xlibscm_toc.html $(htmldir)hobbit_toc.html
-
--TEXI2HTML = /usr/local/bin/texi2html -split -verbose
-+TEXI2HTML = /usr/bin/texi2html -split -verbose
-
- $(htmldir)scm_toc.html: Makefile $(texifiles)
- ${TEXI2HTML} scm.texi
-@@ -427,14 +426,14 @@
-
- rpm_prefix=$(HOME)/rpmbuild/
-
--prefix = /usr/local/
-+prefix = /usr/
- exec_prefix = $(prefix)
- # directory where `make install' will put executable.
- bindir = $(exec_prefix)bin/
- libdir = $(exec_prefix)lib/
- libscmdir = $(libdir)scm/
- # directory where `make install' will put manual page.
--man1dir = $(prefix)man/man1/
-+man1dir = $(prefix)share/man/man1/
- infodir = $(prefix)info/
- includedir = $(prefix)include/
-
-@@ -488,13 +487,12 @@
-
- lsdfiles = $(ifiles) $(hobfiles) COPYING COPYING.LESSER r4rstest.scm \
- build build.scm mkimpcat.scm $(SHOBJS) patchlvl.h \
-- Iedline.scm $(xafiles) db.so wbtab.scm rwb-isam.scm
-+ $(xafiles) wbtab.scm rwb-isam.scm
-
- install: scm.1
- mkdir -p $(DESTDIR)$(bindir)
- mkdir -p $(DESTDIR)$(man1dir)
- -cp scm scmlit $(DESTDIR)$(bindir)
-- -strip $(DESTDIR)$(bindir)scmlit
- -cp scm.1 $(DESTDIR)$(man1dir)
- mkdir -p $(DESTDIR)$(libscmdir)
- test -f $(DESTDIR)$(libscmdir)require.scm || \
diff --git a/dev-scheme/scm/metadata.xml b/dev-scheme/scm/metadata.xml
deleted file mode 100644
index c19cd7ff..00000000
--- a/dev-scheme/scm/metadata.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>scheme</herd>
- <maintainer>
- <email>hkBst@gentoo.org</email>
- <name>Marijn Schouten</name>
- </maintainer>
- <longdescription lang="en">
-SCM is a Scheme implementation conforming to Revised5 Report on the Algorithmic Language Scheme and the IEEE P1178 specification.
- </longdescription>
- <use>
- <flag name='arrays'>Support for arrays, uniform-arrays and
- uniform-vectors.</flag>
- <flag name='bignums'>Support for large precision integers.</flag>
- <flag name='cautious'>SCM will always check the number of arguments to
- interpreted closures.</flag>
- <flag name='dynamic-linking'>Be able to load compiled files while
- running.</flag>
- <flag name='engineering-notation'>Floats to display in engineering
- notation (exponents always multiples of 3) instead of scientific
- notation.</flag>
- <flag name='gsubr'>generalized c arguments: for arbitrary
- (more then 11) arguments to C functions.</flag>
- <flag name='inexact'>Support for floating point numbers.</flag>
- <flag name='ioext'>Commonly available I/O extensions: line I/O, file
- positioning, file delete and rename, and directory functions.</flag>
- <flag name='macro'>C level support for hygienic and referentially
- transparent macros (syntax-rules macros).</flag>
- <flag name='unix'>Support for: nice, acct, lstat, readlink, symlink,
- mknod and sync.</flag>
- </use>
-</pkgmetadata>
diff --git a/dev-scheme/scm/scm-5.5.5-r2.ebuild b/dev-scheme/scm/scm-5.5.5-r2.ebuild
deleted file mode 100644
index 04f39758..00000000
--- a/dev-scheme/scm/scm-5.5.5-r2.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit versionator eutils
-
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="SCM is a Scheme implementation conforming to Revised5 Report on the Algorithmic Language Scheme and the IEEE P1178 specification."
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
-
-SLOT="0"
-LICENSE="LGPL-3"
-KEYWORDS="" #~x86 ~amd64"
-IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact
-ioext macro ncurses posix readline regex sockets unix"
-
-#unzip for unpacking
-DEPEND="\
- app-arch/unzip
- >=dev-scheme/slib-3.1.5
- ncurses? ( sys-libs/ncurses )
- readline? ( sys-libs/libtermcap-compat )"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
-src_compile() {
- # SLIB is required to build SCM.
- local slibpath="/usr/share/slib/"
- if [ -n "$SCHEME_LIBRARY_PATH" ]; then
- einfo using SLIB $SCHEME_LIBRARY_PATH
- elif [ -d ${slibpath} ]; then
- export SCHEME_LIBRARY_PATH=${slibpath}
- fi
-
- einfo "Making scmlit"
- emake -j1 scmlit clean || die "faild to build scmlit"
-
- einfo "Building scm"
- local features=""
- use arrays && features="${features} arrays"
- use bignums && features="${features} bignums"
- use cautious && features="${features} cautious"
- use engineering-notation && features="${features} engineering-notation"
- use inexact && features="${features} inexact"
- use macro && features="${features} macro"
-
- ( use readline ||
- use ncurses ||
- use regex ||
- use posix ||
- use ioext ||
- use gsubr ||
- use sockets ||
- use unix ||
- use dynamic-linking ) && features="${features} dynamic-linking"
-
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -s /usr/lib/scm \
- -F ${features:="none"} \
- -h system \
- -o scm || die
-
- einfo "Building DLLs"
- if use readline; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -F edit-line \
- -h system \
- -t dll || die
- fi
- if use ncurses ; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -F curses \
- -h system \
- -t dll || die
- fi
- if use regex ; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -c rgx.c \
- -h system \
- -t dll || die
- fi
- if use gsubr ; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -c gsubr.c \
- -h system \
- -t dll || die
- fi
- if use ioext ; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -c ioext.c \
- -h system \
- -t dll || die
- fi
- if use posix; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -c posix.c \
- -h system \
- -t dll || die
- fi
- if use sockets ; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -c socket.c \
- -h system \
- -t dll || die
- fi
- if use unix ; then
- ./build \
- --compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS}" \
- -c unix.c \
- -h system \
- -t dll || die
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
-
- doinfo scm.info
- doinfo hobbit.info
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && pkg_config
-}
-
-pkg_config() {
- einfo "Regenerating catalog..."
- scm -e "(require 'new-catalog)"
-}