commit: 3893564f44c2bcfd6fcb78be2fa738ae71cc974d Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sun Mar 13 18:04:41 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sun Mar 13 18:17:36 2022 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=3893564f
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 <AT> gentoo.org> dev-scheme/scm/files/scm-5.5.5-gentoo.patch | 51 --------- dev-scheme/scm/metadata.xml | 33 ------ dev-scheme/scm/scm-5.5.5-r2.ebuild | 162 ---------------------------- 3 files changed, 246 deletions(-) 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>[email protected]</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)" -}
