app-shells/scsh: treeclean
Closes: https://bugs.gentoo.org/show_bug.cgi?id=888857 Closes: https://bugs.gentoo.org/show_bug.cgi?id=883107 Closes: https://bugs.gentoo.org/show_bug.cgi?id=882099 Closes: https://bugs.gentoo.org/show_bug.cgi?id=882023 Closes: https://bugs.gentoo.org/show_bug.cgi?id=875503 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
041945e3b2
commit
4c0635f63e
|
@ -1,3 +0,0 @@
|
|||
DIST scsh-0.6.7.tar.gz 4367439 BLAKE2B 40231f7744bea9efd58c10c042db7f3e8f4248726ebdc23e482590b53639e7f403b3a1ba9510fdda16a1216d26d71a692fc2ad42615d0a90161debbfdff34841 SHA512 d769b3d70afe813a3d25ef1b77d8dbc549b379ca41b0748cd90791408a36b33ed3ce08937bfd925bab411785aa671761d79bbf2edd9caf0c3ea6c44d90f4b6ea
|
||||
DIST scsh-0.7_pre20160820.tar.gz 227203 BLAKE2B 888a52a4866bfe4f8245fff4ca449a82cd67485aa8a3e8f67d20805f7120e62ed8dd37b7fe6139712652785d0d9f064bbeab0010722e9ce0b58bc59e44b054b3 SHA512 e2c223f64eb2a19dde19382dacad01aa04f8faabeeb15e1c1b3e28b2f675f4184825372f7aa281141797cd56f5ef999b4977dd7e68ae0a3b23631fd76182fba1
|
||||
DIST scsh-0.7_pre20160820_rx.tar.gz 46869 BLAKE2B 4be965c558cc21bde5fc24dee2ddc68a3e1d83d6b9701a7e484eb47c928ecdedfa896b944bbb1d709d014d9848a066a67a0d53f6dd86f435ea665ef99da1d40e SHA512 bc300f596b611ae296327b3046aa01cfb6b2be182c69abfe56e3e504573607d3dee55723b1d48951aa8534f450a0184fc7da0c1370fcffb9adba866ace3665b4
|
|
@ -1,26 +0,0 @@
|
|||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -259,12 +259,12 @@ $(VM): c/main.o $(OBJS) $(UNIX_OBJS) $(LIBOBJS) $(EXTERNAL_OBJECTS)
|
||||
$(LIBCIG): c/main.o $(OBJS)
|
||||
# $(CC) -r -o $@ main.o $(OBJS)
|
||||
$(RM) $@
|
||||
- $(AR) $@ c/main.o $(OBJS)
|
||||
+ $(AR) qc $@ c/main.o $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBSCSHVM): c/smain.o $(OBJS)
|
||||
$(RM) $@
|
||||
- $(AR) $@ c/smain.o $(OBJS)
|
||||
+ $(AR) qc $@ c/smain.o $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBSCSH): $(OBJS) $(UNIX_OBJS) $(LIBOBJS) $(EXTERNAL_OBJECTS)
|
||||
@@ -274,7 +274,7 @@ $(LIBSCSH): $(OBJS) $(UNIX_OBJS) $(LIBOBJS) $(EXTERNAL_OBJECTS)
|
||||
$(EXTERNAL_INITIALIZERS) && \
|
||||
$(CC) -c $(CFLAGS) -o /tmp/s48_external_$$$$.o \
|
||||
/tmp/s48_external_$$$$.c && \
|
||||
- $(AR) $@ $(OBJS) $(UNIX_OBJS) $(LIBOBJS) $(EXTERNAL_OBJECTS) \
|
||||
+ $(AR) qc $@ $(OBJS) $(UNIX_OBJS) $(LIBOBJS) $(EXTERNAL_OBJECTS) \
|
||||
/tmp/s48_external_$$$$.o && \
|
||||
$(RANLIB) $@ && \
|
||||
rm -f /tmp/s48_external_$$$$.c /tmp/s48_external_$$$$.o
|
|
@ -1,11 +0,0 @@
|
|||
--- a/Makefile.in.orig 2010-08-11 16:55:09.246939884 +0200
|
||||
+++ b/Makefile.in 2010-08-11 16:55:31.309819842 +0200
|
||||
@@ -853,7 +853,7 @@
|
||||
cig/libcig.c: cig/libcig.scm
|
||||
|
||||
scsh/scsh: scsh/scsh-tramp.c
|
||||
- $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) \
|
||||
+ $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
|
||||
-DVM=\"$(LIB)/$(VM)\" \
|
||||
-DIMAGE=\"$(LIB)/scsh.image\" \
|
||||
$(srcdir)/scsh/scsh-tramp.c
|
|
@ -1,93 +0,0 @@
|
|||
--- a/Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200
|
||||
+++ b/Makefile.in 2004-09-24 01:43:55.745685544 +0200
|
||||
@@ -33,7 +33,7 @@
|
||||
host = @host@
|
||||
### End of `configure' section###
|
||||
|
||||
-htmldir = $(libdir)/scsh/doc/scsh-manual/html
|
||||
+htmldir = /usr/share/doc/scsh-0.6.7/scsh-manual/html
|
||||
|
||||
# HP 9000 series, if you don't have gcc
|
||||
# CC = cc
|
||||
@@ -358,38 +358,38 @@
|
||||
done
|
||||
|
||||
inst-doc:
|
||||
- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
|
||||
- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \
|
||||
+ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
|
||||
+ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/; \
|
||||
done && \
|
||||
for f in $(srcdir)/doc/src/*.tex \
|
||||
$(srcdir)/doc/src/*.dvi \
|
||||
$(srcdir)/doc/src/*.ps; \
|
||||
- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \
|
||||
+ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/;\
|
||||
done && \
|
||||
for f in $(srcdir)/doc/src/manual/*.html; \
|
||||
- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \
|
||||
+ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/html/;\
|
||||
done && \
|
||||
for f in $(srcdir)/doc/scsh-manual/*.tex \
|
||||
$(srcdir)/doc/scsh-manual/*.sty \
|
||||
$(srcdir)/doc/scsh-manual/*.dvi \
|
||||
$(srcdir)/doc/scsh-manual/*.ps \
|
||||
$(srcdir)/doc/scsh-manual/*.pdf; \
|
||||
- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \
|
||||
+ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-manual/;\
|
||||
done && \
|
||||
for f in $(srcdir)/doc/scsh-manual/html/*.html \
|
||||
$(srcdir)/doc/scsh-manual/html/*.gif \
|
||||
$(srcdir)/doc/scsh-manual/html/*.css; \
|
||||
- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \
|
||||
+ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \
|
||||
done && \
|
||||
for f in $(srcdir)/doc/scsh-paper/*.tex \
|
||||
$(srcdir)/doc/scsh-paper/*.sty \
|
||||
$(srcdir)/doc/scsh-paper/*.dvi \
|
||||
$(srcdir)/doc/scsh-paper/*.ps; \
|
||||
- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \
|
||||
+ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/; \
|
||||
done && \
|
||||
for f in $(srcdir)/doc/scsh-paper/html/*.html \
|
||||
$(srcdir)/doc/scsh-paper/html/*.css; \
|
||||
- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \
|
||||
+ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/html/;\
|
||||
done
|
||||
|
||||
|
||||
@@ -412,19 +412,21 @@
|
||||
chmod +x $@
|
||||
|
||||
dirs:
|
||||
- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\
|
||||
- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \
|
||||
- echo "$(DESTDIR)$$dir not a writable directory" >&2; \
|
||||
- exit 1; \
|
||||
- } \
|
||||
- done && \
|
||||
- for dir in \
|
||||
- rts env big opt misc link srfi scsh doc/scsh-manual \
|
||||
- doc/s48-manual/html doc/scsh-paper/html cig; do \
|
||||
- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \
|
||||
- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \
|
||||
- exit 1; \
|
||||
- }; \
|
||||
+ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \
|
||||
+ do \
|
||||
+ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \
|
||||
+ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \
|
||||
+ done && \
|
||||
+ for dir in rts env big opt misc link srfi scsh; \
|
||||
+ do \
|
||||
+ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \
|
||||
+ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\
|
||||
+ done && \
|
||||
+ for dir in \
|
||||
+ scsh-manual/html s48-manual/html scsh-paper/html cig; do \
|
||||
+ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir; } \
|
||||
+ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir failed" >&2;\
|
||||
+ exit 1;}; \
|
||||
done
|
||||
|
||||
configure: configure.in
|
|
@ -1,22 +0,0 @@
|
|||
diff -r 3dd93fcbca44 c/unix/dynamo.c
|
||||
--- a/c/unix/dynamo.c Wed Aug 11 17:02:46 2010 +0200
|
||||
+++ b/c/unix/dynamo.c Wed Aug 11 17:04:34 2010 +0200
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
+#include <string.h>
|
||||
#include "sysdep.h"
|
||||
#include "scheme48.h"
|
||||
|
||||
diff -r 3dd93fcbca44 c/unix/socket.c
|
||||
--- a/c/unix/socket.c Wed Aug 11 17:02:46 2010 +0200
|
||||
+++ b/c/unix/socket.c Wed Aug 11 17:04:34 2010 +0200
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/param.h>
|
||||
+#include <malloc.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <netdb.h>
|
|
@ -1,11 +0,0 @@
|
|||
--- a/c/scheme48vm-prelude.h
|
||||
+++ b/c/scheme48vm-prelude.h
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "c-mods.h"
|
||||
#include "write-barrier.h"
|
||||
|
||||
-#define SMALL_MULTIPLY(x,y) ((x) * (y))
|
||||
+#define SMALL_MULTIPLY(x,y) ((long)((unsigned long)(x) * (unsigned long)(y)))
|
||||
|
||||
#define NO_ERRORS 0 /* extension to errno.h */
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -126,13 +126,13 @@ SCHEME = scheme/command-line.scm \
|
||||
rx/regress.scm
|
||||
|
||||
go: c/scsh-tramp.c
|
||||
- $(CC) -o $@ $(CFLAGS) \
|
||||
+ $(CC) -o $@ $(CFLAGS) $(CPPLAGS) $(LDFLAGS) \
|
||||
-DVM=\"$(SCHEME48VM)\" \
|
||||
-DIMAGE=\"scsh.image\" \
|
||||
$(srcdir)/c/scsh-tramp.c
|
||||
|
||||
scsh: c/scsh-tramp.c
|
||||
- $(CC) -o $@ $(CFLAGS) \
|
||||
+ $(CC) -o $@ $(CFLAGS) $(CPPLAGS) $(LDFLAGS) \
|
||||
-DVM=\"$(SCHEME48VM)\" \
|
||||
-DIMAGE=\"$(LIB)/scsh.image\" \
|
||||
$(srcdir)/c/scsh-tramp.c
|
|
@ -1,9 +0,0 @@
|
|||
--- a/test/test-packages.scm
|
||||
+++ b/test/test-packages.scm
|
||||
@@ -112,6 +112,5 @@
|
||||
file-name-maniplation-test
|
||||
read-delimited-strings-test
|
||||
bitwise-ops-test
|
||||
- user-and-group-db-access-test
|
||||
file-system-test))
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>scheme@gentoo.org</email>
|
||||
<name>Gentoo Scheme Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Scsh has two main components: a process notation for running programs
|
||||
and setting up pipelines and redirections, and a complete syscall
|
||||
library for low-level access to the operating system, i.e. to POSIX,
|
||||
the least common denominator of more or less all Unices, plus widely
|
||||
supported extensions such as symbolic links and BSD sockets.
|
||||
|
||||
Moreover, scsh provides an awk facility for pattern-directed
|
||||
computation over streams of records, a rich facility for matching
|
||||
regular-expression patterns in strings, event-based interrupt
|
||||
handling, user-level threads, a futuristic module system, and an
|
||||
interactive environment.
|
||||
|
||||
Scsh comes with extensive documentation describing these and other
|
||||
features.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTICE: SCSH 0.6.7 is 32bit only
|
||||
# https://bugs.gentoo.org/589122#c6
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic multilib
|
||||
|
||||
MY_PV="${PV%*.*}"
|
||||
|
||||
DESCRIPTION="Unix shell embedded in Scheme"
|
||||
HOMEPAGE="https://www.scsh.net/"
|
||||
SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MY_PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
!dev-scheme/scheme48
|
||||
virtual/libcrypt:=
|
||||
amd64? ( virtual/libcrypt:=[abi_x86_32] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-Makefile.in-AR.patch
|
||||
"${FILESDIR}"/${PV}-Makefile.in-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PV}-Makefile.in-doc-dir-gentoo.patch
|
||||
"${FILESDIR}"/${PV}-Missing-includes.patch
|
||||
"${FILESDIR}"/${PV}-scheme48vm-prelude.h-SMALL_MULTIPLY.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
use amd64 && multilib_toolchain_setup x86
|
||||
|
||||
# bug #854873
|
||||
filter-lto
|
||||
|
||||
export SCSH_LIB_DIRS="/usr/$(get_libdir)/${PN}"
|
||||
|
||||
local myconf=(
|
||||
--includedir=/usr/include
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--with-lib-dirs-list=${SCSH_LIB_DIRS}
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
# Fix doc install dir
|
||||
mv "${ED}/usr/share/doc/${PN}-${PV}" "${ED}/usr/share/doc/${PF}" || die
|
||||
|
||||
local ENVD="${T}/50scsh"
|
||||
echo "SCSH_LIB_DIRS='\"${SCSH_LIB_DIRS}\"'" > "${ENVD}" || die
|
||||
doenvd "${ENVD}"
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PV=$(ver_cut 1-2)
|
||||
|
||||
# For snapshots: keep the hashes in sync with dev-scheme/scsh-lib
|
||||
SCSH_H=114432435e4eadd54334df6b37fcae505079b49f
|
||||
RX_H=d3231ad13de2b44e3ee173b1c9d09ff165e8b6d5
|
||||
|
||||
# compatible scheme48 version
|
||||
SCHEME48V=1.9.2
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Unix shell embedded in Scheme"
|
||||
HOMEPAGE="https://www.scsh.net/"
|
||||
SRC_URI="
|
||||
https://github.com/scheme/scsh/archive/${SCSH_H}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/scheme/rx/archive/${RX_H}.tar.gz -> ${P}_rx.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/scsh-${SCSH_H}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# older versions were in conflict with scheme48's files, on the other hand,
|
||||
# new 2016 version uses scheme48
|
||||
RDEPEND="~dev-scheme/scsh-lib-${PV}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/scsh-${MY_PV}-Makefile.in-LDFLAGS.patch
|
||||
"${FILESDIR}"/scsh-${MY_PV}-test-packages.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
|
||||
tar xf "${DISTDIR}/${P}_rx.tar.gz" --strip-components 1 -C "${S}/rx/" ||
|
||||
die "Failed to unpack ${P}_rx.tar.gz"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
SCHEME48VM=/usr/$(get_libdir)/scheme48-${SCHEME48V}/scheme48vm
|
||||
export SCHEME48VM
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-scheme48=${SCHEME48VM}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake SCHEME48VM=${SCHEME48VM}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake SCHEME48VM=${SCHEME48VM} DESTDIR="${T}/install" \
|
||||
enough dirs install-scsh install-scsh-image
|
||||
|
||||
dobin "${T}"/install/usr/bin/scsh
|
||||
insinto /usr/$(get_libdir)/scsh-${MY_PV}/
|
||||
doins "${T}"/install/usr/$(get_libdir)/scsh-${MY_PV}/scsh.image
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
DIST scsh-0.7_pre20160820.tar.gz 227203 BLAKE2B 888a52a4866bfe4f8245fff4ca449a82cd67485aa8a3e8f67d20805f7120e62ed8dd37b7fe6139712652785d0d9f064bbeab0010722e9ce0b58bc59e44b054b3 SHA512 e2c223f64eb2a19dde19382dacad01aa04f8faabeeb15e1c1b3e28b2f675f4184825372f7aa281141797cd56f5ef999b4977dd7e68ae0a3b23631fd76182fba1
|
||||
DIST scsh-0.7_pre20160820_rx.tar.gz 46869 BLAKE2B 4be965c558cc21bde5fc24dee2ddc68a3e1d83d6b9701a7e484eb47c928ecdedfa896b944bbb1d709d014d9848a066a67a0d53f6dd86f435ea665ef99da1d40e SHA512 bc300f596b611ae296327b3046aa01cfb6b2be182c69abfe56e3e504573607d3dee55723b1d48951aa8534f450a0184fc7da0c1370fcffb9adba866ace3665b4
|
|
@ -1,18 +0,0 @@
|
|||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -126,13 +126,13 @@ SCHEME = scheme/command-line.scm \
|
||||
rx/regress.scm
|
||||
|
||||
go: c/scsh-tramp.c
|
||||
- $(CC) -o $@ $(CFLAGS) \
|
||||
+ $(CC) -o $@ $(CFLAGS) $(CPPLAGS) $(LDFLAGS) \
|
||||
-DVM=\"$(SCHEME48VM)\" \
|
||||
-DIMAGE=\"scsh.image\" \
|
||||
$(srcdir)/c/scsh-tramp.c
|
||||
|
||||
scsh: c/scsh-tramp.c
|
||||
- $(CC) -o $@ $(CFLAGS) \
|
||||
+ $(CC) -o $@ $(CFLAGS) $(CPPLAGS) $(LDFLAGS) \
|
||||
-DVM=\"$(SCHEME48VM)\" \
|
||||
-DIMAGE=\"$(LIB)/scsh.image\" \
|
||||
$(srcdir)/c/scsh-tramp.c
|
|
@ -1,25 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>scheme@gentoo.org</email>
|
||||
<name>Gentoo Scheme Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Scsh has two main components: a process notation for running programs
|
||||
and setting up pipelines and redirections, and a complete syscall
|
||||
library for low-level access to the operating system, i.e. to POSIX,
|
||||
the least common denominator of more or less all Unices, plus widely
|
||||
supported extensions such as symbolic links and BSD sockets.
|
||||
|
||||
Moreover, scsh provides an awk facility for pattern-directed
|
||||
computation over streams of records, a rich facility for matching
|
||||
regular-expression patterns in strings, event-based interrupt
|
||||
handling, user-level threads, a futuristic module system, and an
|
||||
interactive environment.
|
||||
|
||||
Scsh comes with extensive documentation describing these and other
|
||||
features.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
|
@ -1,62 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# For snapshots: keep the hashes in sync with app-shells/scsh
|
||||
SCSH_H=114432435e4eadd54334df6b37fcae505079b49f
|
||||
RX_H=d3231ad13de2b44e3ee173b1c9d09ff165e8b6d5
|
||||
|
||||
# compatible scheme48 version
|
||||
SCHEME48V=1.9.2
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Unix shell embedded in Scheme (libraries and launcher)"
|
||||
HOMEPAGE="https://www.scsh.net/"
|
||||
SRC_URI="
|
||||
https://github.com/scheme/scsh/archive/${SCSH_H}.tar.gz -> scsh-${PV}.tar.gz
|
||||
https://github.com/scheme/rx/archive/${RX_H}.tar.gz -> scsh-${PV}_rx.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/scsh-${SCSH_H}"
|
||||
|
||||
RESTRICT="test"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# older versions were in conflict with scheme48's files, on the other hand,
|
||||
# new 2016 version uses scheme48
|
||||
RDEPEND="~dev-scheme/scheme48-${SCHEME48V}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.7-Makefile.in-LDFLAGS.patch )
|
||||
|
||||
src_unpack() {
|
||||
unpack scsh-${PV}.tar.gz
|
||||
|
||||
tar xf "${DISTDIR}/scsh-${PV}_rx.tar.gz" --strip-components 1 -C "${S}/rx/" ||
|
||||
die "Failed to unpack scsh-${PV}_rx.tar.gz"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
SCHEME48VM=/usr/$(get_libdir)/scheme48-${SCHEME48V}/scheme48vm
|
||||
export SCHEME48VM
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-scheme48=${SCHEME48VM}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake SCHEME48VM=${SCHEME48VM}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake SCHEME48VM=${SCHEME48VM} DESTDIR="${D}" enough dirs install-scsh
|
||||
|
||||
rm "${D}"/usr/bin/scsh || die
|
||||
}
|
|
@ -31,7 +31,6 @@ app-emulation/crossover-bin
|
|||
app-emulation/protontricks
|
||||
app-emulation/q4wine
|
||||
app-emulation/winetricks
|
||||
<=app-shells/scsh-0.6.9
|
||||
dev-embedded/libftd2xx
|
||||
dev-embedded/openocd
|
||||
dev-util/android-ndk
|
||||
|
|
|
@ -781,12 +781,6 @@ sys-auth/google-authenticator-libpam-hardened
|
|||
# Removal: 2023-01-30. Bug #889194.
|
||||
x11-plugins/pidgin-funyahoo-plusplus
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2022-12-29)
|
||||
# Real upstream dead, uses old R5RS standard, many open bugs.
|
||||
# Removal on 2022-01-29.
|
||||
app-shells/scsh
|
||||
dev-scheme/scsh-lib
|
||||
|
||||
# Volkmar W. Pogatzki <gentoo@pogatzki.net> (2022-12-29)
|
||||
# Upstream is dead, last activity in Nov 2017. Does not
|
||||
# work with newer log4j, bug #857663. Use net-p2p/biglybt
|
||||
|
@ -930,11 +924,6 @@ dev-qt/qtwebsockets:6
|
|||
# should update to that. #841437
|
||||
~sci-physics/bullet-3.22b
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2022-02-20)
|
||||
# Masked for testing, builds and passes tests but randomly segfaults,
|
||||
# meaningless backtrace, debugging (flags, symbols) do not help
|
||||
>app-shells/scsh-0.6.9
|
||||
|
||||
# Eray Aslan <eras@gentoo.org> (2022-01-24)
|
||||
# Mask experimental software
|
||||
=mail-mta/postfix-3.8*
|
||||
|
|
Loading…
Reference in New Issue