diff options
Diffstat (limited to 'dev-scheme')
35 files changed, 69 insertions, 1079 deletions
diff --git a/dev-scheme/chez/Manifest b/dev-scheme/chez/Manifest deleted file mode 100644 index ea8a4b91e..000000000 --- a/dev-scheme/chez/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST chez-9.5.4.tar.gz 32313134 BLAKE2B ef8ec4e40389cfdc5bd1f631b02b5439f5353e73f95c48ecf1ec813cd6dc651b305cf019bb3e3083907f402b6578c31a10b2490bce32de6fa621f55d850ae168 SHA512 bc377fc5a7355703193849a21fbcd633f35b56f1f898c747fbddedc63ac979c124d966bdd9ed32366bb466881abdf44e03085af16e9795b10975a72c0d0b6123 diff --git a/dev-scheme/chez/chez-9.5.4.ebuild b/dev-scheme/chez/chez-9.5.4.ebuild deleted file mode 100644 index 9d7b7ed2b..000000000 --- a/dev-scheme/chez/chez-9.5.4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CSV="csv${PV}" - -inherit multilib - -DESCRIPTION="A programming language based on R6RS" -HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme" -SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${CSV}.tar.gz -> ${P}.tar.gz" - -# Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2), -# Nanopass (MIT), stex (MIT), and zlib (ZLIB). -LICENSE="Apache-2.0 BSD-2 MIT ZLIB" -SLOT="0" -KEYWORDS="~amd64" -IUSE="X examples ncurses threads" - -DEPEND=" - X? ( x11-libs/libX11 ) - ncurses? ( sys-libs/ncurses ) -" -RDEPEND=" - ${DEPEND} -" - -S="${WORKDIR}/${CSV}" - -src_prepare() { - default - - if use ncurses; then - eapply "${FILESDIR}/tinfo.patch" - fi -} - -src_configure() { - local myconfargs=( - $(usex threads '--threads' '') - $(usex ncurses '' '--disable-curses') - $(usex X '' '--disable-x11') - --installprefix="/usr" - --installbin="/usr/bin" - --installlib="/usr/$(get_libdir)" - --installman="/usr/share/man" - --temproot="${D}" - --installschemename=chezscheme - --installpetitename=chezscheme-petite - --installscriptname=chezscheme-script - --nogzip-man-pages - ) - ./configure "${myconfargs[@]}" || die -} - -src_install() { - default - - if ! use examples; then - rm -r "${D}/usr/$(get_libdir)/${CSV}/examples" || die - fi -} diff --git a/dev-scheme/chez/files/tinfo.patch b/dev-scheme/chez/files/tinfo.patch deleted file mode 100644 index 8393710cc..000000000 --- a/dev-scheme/chez/files/tinfo.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/c/Mf-a6le b/c/Mf-a6le -index 1564cce..0cf0bd4 100644 ---- a/c/Mf-a6le -+++ b/c/Mf-a6le -@@ -16,7 +16,7 @@ - m = a6le - Cpu = X86_64 - --mdclib = -lm -ldl ${ncursesLib} -lrt -luuid -+mdclib = -lm -ldl ${ncursesLib} -lrt -luuid -ltinfo - C = ${CC} ${CPPFLAGS} -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 ${CFLAGS} - o = o - mdsrc = i3le.c -diff --git a/c/Mf-ta6le b/c/Mf-ta6le -index 6adb83f..7f4d805 100644 ---- a/c/Mf-ta6le -+++ b/c/Mf-ta6le -@@ -16,7 +16,7 @@ - m = ta6le - Cpu = X86_64 - --mdclib = -lm -ldl ${ncursesLib} -lpthread -lrt -luuid -+mdclib = -lm -ldl ${ncursesLib} -lpthread -lrt -luuid -ltinfo - C = ${CC} ${CPPFLAGS} -m64 -msse2 -Wpointer-arith -Wall -Wextra -Werror -Wno-implicit-fallthrough -O2 -D_REENTRANT -pthread ${CFLAGS} - o = o - mdsrc = i3le.c diff --git a/dev-scheme/chez/metadata.xml b/dev-scheme/chez/metadata.xml deleted file mode 100644 index 1eeae5775..000000000 --- a/dev-scheme/chez/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>matt@offtopica.uk</email> - <name>Matt Smith</name> - </maintainer> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <longdescription lang="en"> - Chez Scheme is both a programming language and an implementation - of that language, with supporting tools and documentation. - - As a superset of the language described in the Revised6 Report on - the Algorithmic Language Scheme (R6RS), Chez Scheme supports all - standard features of Scheme, including first-class procedures, - proper treatment of tail calls, continuations, user-defined - records, libraries, exceptions, and hygienic macro expansion. - - Chez Scheme also includes extensive support for interfacing with C - and other languages, support for multiple threads possibly running - on multiple cores, non-blocking I/O, and many other features. - </longdescription> - <upstream> - <remote-id type="github">cisco/ChezScheme</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/chibi/Manifest b/dev-scheme/chibi/Manifest deleted file mode 100644 index 02dc27673..000000000 --- a/dev-scheme/chibi/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST chibi-0.10.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648 diff --git a/dev-scheme/chibi/chibi-0.10.ebuild b/dev-scheme/chibi/chibi-0.10.ebuild deleted file mode 100644 index 2554a40ab..000000000 --- a/dev-scheme/chibi/chibi-0.10.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib toolchain-funcs - -DESCRIPTION="Minimal Scheme implementation for use as an extension language" -HOMEPAGE="http://synthcode.com/scheme/chibi/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ashinn/${PN}-scheme.git" -else - SRC_URI="https://github.com/ashinn/${PN}-scheme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-scheme-${PV}" -fi - -LICENSE="BSD" -SLOT="0" - -src_configure() { - tc-export CC - - export PREFIX="${EPREFIX}/usr" - export LIBDIR="${EPREFIX}/usr/$(get_libdir)" - export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)" - export DESTDIR="${D}" - - # if ldconfig (stored in LDCONFIG variable) exists it is ran - export LDCONFIG="0" -} - -src_install() { - einstalldocs - - emake install - - dosym chibi-scheme /usr/bin/chibi -} diff --git a/dev-scheme/chibi/chibi-9999.ebuild b/dev-scheme/chibi/chibi-9999.ebuild deleted file mode 100644 index 2554a40ab..000000000 --- a/dev-scheme/chibi/chibi-9999.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib toolchain-funcs - -DESCRIPTION="Minimal Scheme implementation for use as an extension language" -HOMEPAGE="http://synthcode.com/scheme/chibi/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ashinn/${PN}-scheme.git" -else - SRC_URI="https://github.com/ashinn/${PN}-scheme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-scheme-${PV}" -fi - -LICENSE="BSD" -SLOT="0" - -src_configure() { - tc-export CC - - export PREFIX="${EPREFIX}/usr" - export LIBDIR="${EPREFIX}/usr/$(get_libdir)" - export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)" - export DESTDIR="${D}" - - # if ldconfig (stored in LDCONFIG variable) exists it is ran - export LDCONFIG="0" -} - -src_install() { - einstalldocs - - emake install - - dosym chibi-scheme /usr/bin/chibi -} diff --git a/dev-scheme/chibi/metadata.xml b/dev-scheme/chibi/metadata.xml deleted file mode 100644 index f0361bf98..000000000 --- a/dev-scheme/chibi/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <longdescription lang="en"> - Chibi-Scheme is a very small library intended for use as an extension - and scripting language in C programs. In addition to support for - lightweight VM-based threads, each VM itself runs in an isolated heap - allowing multiple VMs to run simultaneously in different OS threads. - Despite the small size, Chibi-Scheme attempts to do The Right Thing. - The default settings include: - - a full numeric tower, with rational and complex numbers - - full and seamless Unicode support - - low-level and high-level hygienic macros - - an extensible module system - Specifically, the default repl language contains all bindings from R7RS - small, available explicitly as the (scheme small) library. The language - is built in layers, however - see the manual for instructions on - compiling with fewer features or requesting a smaller language - on startup. - </longdescription> - <upstream> - <remote-id type="github">ashinn/chibi-scheme</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/cyclone/Manifest b/dev-scheme/cyclone/Manifest deleted file mode 100644 index e33f1fdda..000000000 --- a/dev-scheme/cyclone/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cyclone-0.31.0.tar.gz 3936909 BLAKE2B 6439501caa0cb92fe2bb5c59b452b13ac4206c62ce4ddfb3e459c1160ee0904b4720f3b8506b71eab67841b72a1b96ffc31283946fc91da285c8ba7ca75d4d4d SHA512 f0a5d7c6890183ccab65028f43be2080dcf7d44b80a254f176ffa034c04a2701266febbc3f91072e58175bc84eb86a839dab1dbb3674868128ef3d8e650c91c9 -DIST cyclone-0.32.0.tar.gz 3936913 BLAKE2B b3d33e664eca32eb23e448bbd9a50bcc209be7dea00f988ccbca4b1b431daac9b797409b4aee11ea9a074ee4b9b4ef7e6d7ee336b10dbf7b6ff72ce94598d066 SHA512 9a2c24f667e148fc87c6a87eed5c96ddab7e47f804fe1d725a1d13411dd66acc910c0ab138f34c0eb57c7c496ed0f4d9ff33bd71f750b08eeed60664cccfa056 diff --git a/dev-scheme/cyclone/cyclone-0.31.0.ebuild b/dev-scheme/cyclone/cyclone-0.31.0.ebuild deleted file mode 100644 index 5e0340647..000000000 --- a/dev-scheme/cyclone/cyclone-0.31.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Cyclone is a self-hosting Scheme to C compiler -# cyclone-bootstrap is the Cyclone SOURCE transpiled by it to C - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="R7RS Scheme to C compiler" -HOMEPAGE="http://justinethier.github.io/cyclone/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/justinethier/${PN}-bootstrap.git" -else - SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-bootstrap-${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="dev-libs/concurrencykit" -RDEPEND="${DEPEND}" - -src_configure() { - export CYC_GCC_OPT_FLAGS="${CFLAGS}" - append-cflags -fPIC -Iinclude - append-ldflags -L. - tc-export AR CC RANLIB -} - -src_compile() { - local myopts=( - PREFIX="${EPREFIX}/usr" - CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}" - AR="$(tc-getAR)" - CC="$(tc-getCC)" - RANLIB="$(tc-getRANLIB)" - ) - emake "${myopts[@]}" -} - -src_test() { - emake LDFLAGS="" test -} - -src_install() { - einstalldocs - - emake PREFIX="/usr" DESTDIR="${D}" install -} diff --git a/dev-scheme/cyclone/cyclone-0.32.0.ebuild b/dev-scheme/cyclone/cyclone-0.32.0.ebuild deleted file mode 100644 index 5e0340647..000000000 --- a/dev-scheme/cyclone/cyclone-0.32.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Cyclone is a self-hosting Scheme to C compiler -# cyclone-bootstrap is the Cyclone SOURCE transpiled by it to C - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="R7RS Scheme to C compiler" -HOMEPAGE="http://justinethier.github.io/cyclone/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/justinethier/${PN}-bootstrap.git" -else - SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-bootstrap-${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="dev-libs/concurrencykit" -RDEPEND="${DEPEND}" - -src_configure() { - export CYC_GCC_OPT_FLAGS="${CFLAGS}" - append-cflags -fPIC -Iinclude - append-ldflags -L. - tc-export AR CC RANLIB -} - -src_compile() { - local myopts=( - PREFIX="${EPREFIX}/usr" - CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}" - AR="$(tc-getAR)" - CC="$(tc-getCC)" - RANLIB="$(tc-getRANLIB)" - ) - emake "${myopts[@]}" -} - -src_test() { - emake LDFLAGS="" test -} - -src_install() { - einstalldocs - - emake PREFIX="/usr" DESTDIR="${D}" install -} diff --git a/dev-scheme/cyclone/cyclone-9999.ebuild b/dev-scheme/cyclone/cyclone-9999.ebuild deleted file mode 100644 index 5e0340647..000000000 --- a/dev-scheme/cyclone/cyclone-9999.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Cyclone is a self-hosting Scheme to C compiler -# cyclone-bootstrap is the Cyclone SOURCE transpiled by it to C - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="R7RS Scheme to C compiler" -HOMEPAGE="http://justinethier.github.io/cyclone/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/justinethier/${PN}-bootstrap.git" -else - SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-bootstrap-${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -DEPEND="dev-libs/concurrencykit" -RDEPEND="${DEPEND}" - -src_configure() { - export CYC_GCC_OPT_FLAGS="${CFLAGS}" - append-cflags -fPIC -Iinclude - append-ldflags -L. - tc-export AR CC RANLIB -} - -src_compile() { - local myopts=( - PREFIX="${EPREFIX}/usr" - CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}" - AR="$(tc-getAR)" - CC="$(tc-getCC)" - RANLIB="$(tc-getRANLIB)" - ) - emake "${myopts[@]}" -} - -src_test() { - emake LDFLAGS="" test -} - -src_install() { - einstalldocs - - emake PREFIX="/usr" DESTDIR="${D}" install -} diff --git a/dev-scheme/cyclone/metadata.xml b/dev-scheme/cyclone/metadata.xml deleted file mode 100644 index 9ac0ff85c..000000000 --- a/dev-scheme/cyclone/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <longdescription lang="en"> - Cyclone Scheme is a brand-new compiler that allows real-world - application development using the R7RS Scheme Language standard. - We provide modern features and a stable system capable of generating - fast native binaries. - Cheney on the MTA is used by Cyclone's runtime to implement full tail - recursion, continuations, and generational garbage collection. - In addition, the Cheney on the MTA concept has been extended to allow - execution of multiple native threads. An on-the-fly garbage collector - is used to manage the second-generation heap and perform major - collections without "stopping the world". - </longdescription> - <upstream> - <bugs-to>https://github.com/justinethier/cyclone/issues</bugs-to> - <remote-id type="github">justinethier/cyclone-bootstrap</remote-id> - <remote-id type="github">justinethier/cyclone</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/gerbil/Manifest b/dev-scheme/gerbil/Manifest deleted file mode 100644 index d1147d682..000000000 --- a/dev-scheme/gerbil/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gerbil-0.16.tar.gz 1715765 BLAKE2B 74cd501b19c8f124f9478c73080e92c2ba0bf92e8cb9faa4cba492b2def8a61633897b67def4200e53962ccf22287f58cf7fdd33604104acc80bde12dd58b07c SHA512 46782b4b71a3b437501b825f2f164e53b285d3a4cdba8f04485edaaa589d8500535c06a47a1464fc537ab7546413dde37c8d6a16a5e076a99ccf255905ed105d diff --git a/dev-scheme/gerbil/files/70gerbil-gentoo.el b/dev-scheme/gerbil/files/70gerbil-gentoo.el deleted file mode 100644 index 019fc534a..000000000 --- a/dev-scheme/gerbil/files/70gerbil-gentoo.el +++ /dev/null @@ -1,6 +0,0 @@ -;;; gerbil site-lisp configuration - -(add-to-list 'load-path "@SITELISP@") - -(autoload 'gerbil-mode "gerbil-mode" nil t) -(add-to-list 'auto-mode-alist '("\\.ss\\'" . gerbil-mode)) diff --git a/dev-scheme/gerbil/files/99gerbil b/dev-scheme/gerbil/files/99gerbil deleted file mode 100644 index 05a894ed6..000000000 --- a/dev-scheme/gerbil/files/99gerbil +++ /dev/null @@ -1 +0,0 @@ -GERBIL_HOME=/usr/share/gerbil diff --git a/dev-scheme/gerbil/gerbil-0.16.ebuild b/dev-scheme/gerbil/gerbil-0.16.ebuild deleted file mode 100644 index eb31eb73d..000000000 --- a/dev-scheme/gerbil/gerbil-0.16.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp-common toolchain-funcs wrapper xdg-utils - -DESCRIPTION="Dialect of Scheme designed for Systems Programming" -HOMEPAGE="https://cons.io/ https://github.com/vyzo/gerbil" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/vyzo/${PN}.git" -else - SRC_URI="https://github.com/vyzo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0 LGPL-2.1" -SLOT="0" -IUSE="emacs leveldb lmdb mysql +sqlite +xml yaml +zlib" - -BDEPEND="dev-scheme/gambit" -RDEPEND=" - dev-scheme/gambit - emacs? ( >=app-editors/emacs-23.1:* ) - leveldb? ( dev-libs/leveldb ) - lmdb? ( dev-db/lmdb ) - mysql? ( dev-db/mariadb:* ) - sqlite? ( dev-db/sqlite ) - xml? ( dev-libs/libxml2 ) - yaml? ( dev-libs/libyaml ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${P}/src" - -SITEFILE="70${PN}-gentoo.el" - -src_prepare() { - # Just to be safe, because './configure --help' says: - # "Set default GERBIL_HOME (environment variable still overrides)" - unset GERBIL_HOME - xdg_environment_reset - - # Verbose build process - GAMBCOMP_VERBOSE="yes" - export GAMBCOMP_VERBOSE - - default - - sed -i "s|gcc|$(tc-getCC)|g" ./build.sh || die "Failed to fix CC setting" - sed -i "s|-O2|${CFLAGS}|g" ./build.sh || die "Failed to fix CFLAGS setting" -} - -src_configure() { - local myconf=( - $(use_enable leveldb) - $(use_enable lmdb) - $(use_enable mysql) - $(use_enable xml libxml) - $(use_enable yaml libyaml) - $(usex sqlite '' '--disable-sqlite') - $(usex zlib '' '--disable-zlib') - --prefix="${D}/usr/share/${PN}" - ) - # This is not a standard 'configure' script! - gsi ./configure "${myconf[@]}" || - die "Failed to configure using the 'configure' script" -} - -src_compile() { - # The 'build.sh' script uses environment variables that are exported - # by portage, ie.: CFLAGS, LDFLAGS, ... - sh ./build.sh || - die "Failed to compile using the 'build.sh' script" -} - -src_install() { - mkdir -p "${D}/usr/share/${PN}" || - die "Failed to make ${D}/usr/share/${PN} directory" - gsi ./install || die "Failed to install using the 'install' script" - - sed -i "s|${D}|${EPREFIX}|g" "${D}/usr/share/${PN}/bin/gxc" || - die "Failed to fix the 'gxc' executable script" - - mv "${D}/usr/share/${PN}/share/emacs" "${D}/usr/share/emacs" || - die "Failed to fix '/usr/share/emacs' install path" - mv "${D}/usr/share/${PN}/share/${PN}/TAGS" "${D}/usr/share/${PN}/TAGS" || - die "Failed to fix '/usr/share/gerbil/TAGS' install path" - - # Compile the 'gerbil-mode.el' - if use emacs; then - elisp-compile "${D}/usr/share/emacs/site-lisp/gerbil"/*.el || - die "Failed to compile elisp files" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - - # Create wrappers for gerbil executables in GERBIL_HOME (/usr/share/gerbil) - pushd "${D}/usr/share/${PN}/bin" || die - local gx_bin - for gx_bin in *; do - make_wrapper "${gx_bin}" "env GERBIL_HOME=\"${EPREFIX}/usr/share/${PN}\" ${EPREFIX}/usr/share/${PN}/bin/${gx_bin}" - done - popd || die - - # Without this the programs compiled with gxc will break! - doenvd "${FILESDIR}/99${PN}" -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/gerbil/gerbil-9999.ebuild b/dev-scheme/gerbil/gerbil-9999.ebuild deleted file mode 100644 index eb31eb73d..000000000 --- a/dev-scheme/gerbil/gerbil-9999.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp-common toolchain-funcs wrapper xdg-utils - -DESCRIPTION="Dialect of Scheme designed for Systems Programming" -HOMEPAGE="https://cons.io/ https://github.com/vyzo/gerbil" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/vyzo/${PN}.git" -else - SRC_URI="https://github.com/vyzo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0 LGPL-2.1" -SLOT="0" -IUSE="emacs leveldb lmdb mysql +sqlite +xml yaml +zlib" - -BDEPEND="dev-scheme/gambit" -RDEPEND=" - dev-scheme/gambit - emacs? ( >=app-editors/emacs-23.1:* ) - leveldb? ( dev-libs/leveldb ) - lmdb? ( dev-db/lmdb ) - mysql? ( dev-db/mariadb:* ) - sqlite? ( dev-db/sqlite ) - xml? ( dev-libs/libxml2 ) - yaml? ( dev-libs/libyaml ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${P}/src" - -SITEFILE="70${PN}-gentoo.el" - -src_prepare() { - # Just to be safe, because './configure --help' says: - # "Set default GERBIL_HOME (environment variable still overrides)" - unset GERBIL_HOME - xdg_environment_reset - - # Verbose build process - GAMBCOMP_VERBOSE="yes" - export GAMBCOMP_VERBOSE - - default - - sed -i "s|gcc|$(tc-getCC)|g" ./build.sh || die "Failed to fix CC setting" - sed -i "s|-O2|${CFLAGS}|g" ./build.sh || die "Failed to fix CFLAGS setting" -} - -src_configure() { - local myconf=( - $(use_enable leveldb) - $(use_enable lmdb) - $(use_enable mysql) - $(use_enable xml libxml) - $(use_enable yaml libyaml) - $(usex sqlite '' '--disable-sqlite') - $(usex zlib '' '--disable-zlib') - --prefix="${D}/usr/share/${PN}" - ) - # This is not a standard 'configure' script! - gsi ./configure "${myconf[@]}" || - die "Failed to configure using the 'configure' script" -} - -src_compile() { - # The 'build.sh' script uses environment variables that are exported - # by portage, ie.: CFLAGS, LDFLAGS, ... - sh ./build.sh || - die "Failed to compile using the 'build.sh' script" -} - -src_install() { - mkdir -p "${D}/usr/share/${PN}" || - die "Failed to make ${D}/usr/share/${PN} directory" - gsi ./install || die "Failed to install using the 'install' script" - - sed -i "s|${D}|${EPREFIX}|g" "${D}/usr/share/${PN}/bin/gxc" || - die "Failed to fix the 'gxc' executable script" - - mv "${D}/usr/share/${PN}/share/emacs" "${D}/usr/share/emacs" || - die "Failed to fix '/usr/share/emacs' install path" - mv "${D}/usr/share/${PN}/share/${PN}/TAGS" "${D}/usr/share/${PN}/TAGS" || - die "Failed to fix '/usr/share/gerbil/TAGS' install path" - - # Compile the 'gerbil-mode.el' - if use emacs; then - elisp-compile "${D}/usr/share/emacs/site-lisp/gerbil"/*.el || - die "Failed to compile elisp files" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - - # Create wrappers for gerbil executables in GERBIL_HOME (/usr/share/gerbil) - pushd "${D}/usr/share/${PN}/bin" || die - local gx_bin - for gx_bin in *; do - make_wrapper "${gx_bin}" "env GERBIL_HOME=\"${EPREFIX}/usr/share/${PN}\" ${EPREFIX}/usr/share/${PN}/bin/${gx_bin}" - done - popd || die - - # Without this the programs compiled with gxc will break! - doenvd "${FILESDIR}/99${PN}" -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/gerbil/metadata.xml b/dev-scheme/gerbil/metadata.xml deleted file mode 100644 index 95631da13..000000000 --- a/dev-scheme/gerbil/metadata.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <use> - <flag name="leveldb"> - Add support for using dev-libs/leveldb - </flag> - <flag name="lmdb"> - Add support for using dev-db/lmdb - </flag> - <flag name="yaml"> - Add support for yaml file format - </flag> - </use> - <longdescription lang="en"> - Gerbil is an opinionated dialect of Scheme designed - for Systems Programming, with a state of the art macro - and module system on top of the Gambit runtime. - The macro system is based on quote-syntax, and provides - the full meta-syntactic tower with a native implementation - of syntax-case. It also provides a full-blown module system, - similar to PLT Scheme’s (Racket) modules. The main difference - from Racket is that Gerbil modules are single instantiation, - supporting high performance ahead of time compilation - and compiled macros. - </longdescription> - <upstream> - <remote-id type="github">vyzo/gerbil</remote-id> - <bugs-to>https://github.com/vyzo/gerbil</bugs-to> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/guile-colorized/Manifest b/dev-scheme/guile-colorized/Manifest deleted file mode 100644 index 6f434c2fa..000000000 --- a/dev-scheme/guile-colorized/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST guile-colorized-0.1_p20191205.tar.bz2 15496 BLAKE2B a85fc44c3b6b8433362197a4f1da216ea99793673ee4592e6ea32178d2952d0f43f5a4e79304185d0c67b6dee668bf52d53970df97954a37650cd8b7770e7abd SHA512 4cd9833c70debf0086ba69252e1fb8b9fc33707ec1f3bb6dfb144d5a35db6f38e3af585cbc889936c8ebb38dea0f8808f483bd51ed1722c9b9df857d31a7cec7 diff --git a/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild deleted file mode 100644 index 818c9119c..000000000 --- a/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Colorized REPL for GNU Guile" -HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git" -else - # Latest release (before this commit from 2019) was in 2015 - COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f" - SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-${COMMIT_SHA}" -fi - -LICENSE="GPL-3" -SLOT="0" - -DEPEND=" - >=dev-scheme/guile-2.0.9:= -" -RDEPEND="${DEPEND}" - -DOCS=( README.md ) - -src_prepare() { - default - - # guile is trying to avoid recompilation by checking if file - # /usr/lib64/guile/2.2/site-ccache/<foo> - # is newer than - # <foo> - # In case it is instead of using <foo> guile - # loads system one (from potentially older version of package). - # To work it around we bump last modification timestamp of - # '*.scm' files. - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} - -src_install() { - einstalldocs - - local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))') - mkdir -p "${D}${loadpath}" - emake TARGET="${D}${loadpath}" install -} diff --git a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild deleted file mode 100644 index 818c9119c..000000000 --- a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Colorized REPL for GNU Guile" -HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git" -else - # Latest release (before this commit from 2019) was in 2015 - COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f" - SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-${COMMIT_SHA}" -fi - -LICENSE="GPL-3" -SLOT="0" - -DEPEND=" - >=dev-scheme/guile-2.0.9:= -" -RDEPEND="${DEPEND}" - -DOCS=( README.md ) - -src_prepare() { - default - - # guile is trying to avoid recompilation by checking if file - # /usr/lib64/guile/2.2/site-ccache/<foo> - # is newer than - # <foo> - # In case it is instead of using <foo> guile - # loads system one (from potentially older version of package). - # To work it around we bump last modification timestamp of - # '*.scm' files. - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} - -src_install() { - einstalldocs - - local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))') - mkdir -p "${D}${loadpath}" - emake TARGET="${D}${loadpath}" install -} diff --git a/dev-scheme/guile-colorized/metadata.xml b/dev-scheme/guile-colorized/metadata.xml deleted file mode 100644 index 8a7e057d6..000000000 --- a/dev-scheme/guile-colorized/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <upstream> - <remote-id type="gitlab">NalaGinrut/guile-colorized</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/guile-gi/Manifest b/dev-scheme/guile-gi/Manifest deleted file mode 100644 index 073a4bf2c..000000000 --- a/dev-scheme/guile-gi/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST guile-gi-0.3.1.tar.gz 345440 BLAKE2B 17c4ecda48951244d427098767072621278750614919f13d1b03b7ecda5f06b2274c7db50c4288b4bfe581cd852e80cd1d4137b5ccc0e18d0e23866e1eba323a SHA512 b866df95946069cad606bc8f7e7c988665029482bcb986109d652728023151a5e60ee39e86635b9f0b9f0d4d3a9cd72f39b65ee983438f71dff186994e3af197 diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild deleted file mode 100644 index 0d6e4133b..000000000 --- a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile" -HOMEPAGE="https://spk121.github.io/guile-gi/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/spk121/${PN}.git" -else - SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -# Tests fail -RESTRICT="strip test" -LICENSE="GPL-3" -SLOT="0" - -BDEPEND=" - sys-apps/texinfo -" -DEPEND=" - >=dev-scheme/guile-2.0.9:= - dev-libs/gobject-introspection - x11-libs/gtk+:3[introspection] -" -RDEPEND="${DEPEND}" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_FLAGS_IGNORED=".*[.]go" - -src_prepare() { - default - - # guile is trying to avoid recompilation by checking if file - # /usr/lib64/guile/2.2/site-ccache/<foo> - # is newer than - # <foo> - # In case it is instead of using <foo> guile - # loads system one (from potentially older version of package). - # To work it around we bump last modification timestamp of - # '*.scm' files. - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} - -src_configure() { - sh ./bootstrap || die - - local myconf=( - --enable-introspection="yes" - --enable-hardening - ) - econf "${myconf[@]}" -} - -src_install() { - default - - mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die - rm -r "${D}/usr/share/doc/${PN}" || die -} diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild deleted file mode 100644 index 0d6e4133b..000000000 --- a/dev-scheme/guile-gi/guile-gi-9999.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile" -HOMEPAGE="https://spk121.github.io/guile-gi/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/spk121/${PN}.git" -else - SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -# Tests fail -RESTRICT="strip test" -LICENSE="GPL-3" -SLOT="0" - -BDEPEND=" - sys-apps/texinfo -" -DEPEND=" - >=dev-scheme/guile-2.0.9:= - dev-libs/gobject-introspection - x11-libs/gtk+:3[introspection] -" -RDEPEND="${DEPEND}" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_FLAGS_IGNORED=".*[.]go" - -src_prepare() { - default - - # guile is trying to avoid recompilation by checking if file - # /usr/lib64/guile/2.2/site-ccache/<foo> - # is newer than - # <foo> - # In case it is instead of using <foo> guile - # loads system one (from potentially older version of package). - # To work it around we bump last modification timestamp of - # '*.scm' files. - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} - -src_configure() { - sh ./bootstrap || die - - local myconf=( - --enable-introspection="yes" - --enable-hardening - ) - econf "${myconf[@]}" -} - -src_install() { - default - - mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die - rm -r "${D}/usr/share/doc/${PN}" || die -} diff --git a/dev-scheme/guile-gi/metadata.xml b/dev-scheme/guile-gi/metadata.xml deleted file mode 100644 index 04839c412..000000000 --- a/dev-scheme/guile-gi/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <longdescription lang="en"> - This is a library for GNU Guile to create language bindings - via GObject Introspection. - This is beta code. It is only partially documented. The API is - stabilizing, but may still be subject to change. - Guile GI has two primary components: - - The gi scheme modules: guile modules that provide functionality - to dynamically generate Scheme API from GObject typelib files. - - libguile-gi.so or libguile-gi.dll: a compiled module that contains - glue code to interface with GObject. - To create bindings, use the use-typelibs syntax found in - the (gi) library. - </longdescription> - <upstream> - <remote-id type="github">spk121/guile-gi</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/owl-lisp/Manifest b/dev-scheme/owl-lisp/Manifest deleted file mode 100644 index 0a54360a4..000000000 --- a/dev-scheme/owl-lisp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST owl-v0.2.tar.gz 515574 BLAKE2B 054a06d33554cc31f5e1c756bf3ff5ea4fb5cec220048fb939aa9dcd19c586cef54ae8ddc80e1ee8befedfa2e42fc1bf9ea4bcfe37e6743154ff678346444e87 SHA512 f0dc4badc84be1ebd1ad8f6a84c8fc292449b0f66a9416f202f9010e89aa2971c6470599173db67bf3db3e4b6a61d777ee369eda76fa7c42114748e8fe48b7b2 diff --git a/dev-scheme/owl-lisp/metadata.xml b/dev-scheme/owl-lisp/metadata.xml deleted file mode 100644 index 573127cc4..000000000 --- a/dev-scheme/owl-lisp/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@riseup.net</email> - <name>Maciej Barć</name> - </maintainer> - <longdescription lang="en"> - Owl Lisp is a simple programming language. The main motivation for - writing it was to get a portable system for writing standalone - programs in a subjectively pleasant dialect of LISP, which in this - case means a minimal core language and runtime, purely functional - operation and support for asynchronous evaluation. - </longdescription> - <upstream> - <remote-id type="gitlab">owl-lisp/owl</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild deleted file mode 100644 index 0897bd636..000000000 --- a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# NOTICE: Because it is "purely functional" it is not scheme-compatible ootb - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Purely functional dialect of Scheme" -HOMEPAGE="https://haltp.org/posts/owl.html" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git" -else - SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v0.2/owl-v${PV}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/owl-v${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -src_configure() { - tc-export CC -} - -src_compile() { - # warning: jobserver unavailable - emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -} - -src_install() { - einstalldocs - - exeinto /usr/bin - doexe ./bin/ol - newexe ./bin/vm ovm - - doman ./doc/ol.1 - doman ./doc/ovm.1 -} diff --git a/dev-scheme/owl-lisp/owl-lisp-9999.ebuild b/dev-scheme/owl-lisp/owl-lisp-9999.ebuild deleted file mode 100644 index 0897bd636..000000000 --- a/dev-scheme/owl-lisp/owl-lisp-9999.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# NOTICE: Because it is "purely functional" it is not scheme-compatible ootb - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Purely functional dialect of Scheme" -HOMEPAGE="https://haltp.org/posts/owl.html" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git" -else - SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v0.2/owl-v${PV}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/owl-v${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -src_configure() { - tc-export CC -} - -src_compile() { - # warning: jobserver unavailable - emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -} - -src_install() { - einstalldocs - - exeinto /usr/bin - doexe ./bin/ol - newexe ./bin/vm ovm - - doman ./doc/ol.1 - doman ./doc/ovm.1 -} diff --git a/dev-scheme/sagittarius/Manifest b/dev-scheme/sagittarius/Manifest new file mode 100644 index 000000000..fe8dbd494 --- /dev/null +++ b/dev-scheme/sagittarius/Manifest @@ -0,0 +1 @@ +DIST sagittarius-0.9.11.tar.gz 13043532 BLAKE2B 81ed8faf797a6494322aecf474f42bce71a0e950ff4a1a009631befaedd968fa36516f530a9eb0a3f1c6eb90fb7c45cb5c321384b658dffe1b610af749ef3359 SHA512 4daa51c1901d86640b9b59db0316087d05089167c7f771e816fe7dba8ef6398c4f65a8df85c22629cff1c9e05344c933695470849739ccb97732581b5647b10e diff --git a/dev-scheme/sagittarius/files/sagittarius-compiler-flags.patch b/dev-scheme/sagittarius/files/sagittarius-compiler-flags.patch new file mode 100644 index 000000000..9157f92bd --- /dev/null +++ b/dev-scheme/sagittarius/files/sagittarius-compiler-flags.patch @@ -0,0 +1,21 @@ +--- a/cmake/FixupCompilerFlags.cmake ++++ b/cmake/FixupCompilerFlags.cmake +@@ -45,18 +45,6 @@ + SET(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}") + #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshorten-64-to-32") + +- # for GCC or Clang, we want both maximum performance and debug info. +- IF (CMAKE_BUILD_TYPE STREQUAL Debug) +- SET(CMAKE_C_FLAGS_DEBUG "-O3 ${CMAKE_C_FLAGS_DEBUG}") +- SET(CMAKE_CXX_FLAGS_DEBUG "-O3 ${CMAKE_CXX_FLAGS_DEBUG}") +- ELSEIF(CMAKE_BUILD_TYPE STREQUAL Release) +- SET(CMAKE_C_FLAGS_RELEASE "-g ${CMAKE_C_FLAGS_RELEASE}") +- SET(CMAKE_CXX_FLAGS_RELEASE "-g ${CMAKE_CXX_FLAGS_RELEASE}") +- ELSE() +- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O3") +- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3") +- ENDIF() +- + # for some reason static library doesn't have this + # on x86_64 and is required. + # Solaris GCC (32 bit) doesn't have this either. so diff --git a/dev-scheme/sagittarius/metadata.xml b/dev-scheme/sagittarius/metadata.xml new file mode 100644 index 000000000..2d979bdfe --- /dev/null +++ b/dev-scheme/sagittarius/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev@dyama.net</email> + <name>Daichi Yamamoto</name> + </maintainer> + <upstream> + <remote-id type="bitbucket">ktakashi/sagittarius-scheme</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-scheme/sagittarius/sagittarius-0.9.11.ebuild b/dev-scheme/sagittarius/sagittarius-0.9.11.ebuild new file mode 100644 index 000000000..e9365d4d2 --- /dev/null +++ b/dev-scheme/sagittarius/sagittarius-0.9.11.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edo + +DESCRIPTION="R6RS/R7RS Scheme system." +HOMEPAGE="https://bitbucket.org/ktakashi/sagittarius-scheme" +SRC_URI="https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/${P}.tar.gz" +PATCHES=( "${FILESDIR}/${PN}-compiler-flags.patch" ) + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/boehm-gc + dev-libs/libffi + dev-libs/openssl + sys-libs/zlib +" +RDEPEND="${DEPEND}" + +src_unpack() { + default + + # avoid running ldconfig + edo truncate -s0 "${S}"/cmake/CMakeLists.txt + + edo cd "${S}"/test/tests + # following tests always fail in sandbox + edo rm net/http-client.scm net/socket.scm rfc/websocket.scm + # following tests randomly(?!) fail + edo rm net/server.scm rfc/oauth2.scm rsa/pkcs/%3a12.scm security/keystore.scm +} |