diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-scheme/stklos | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-scheme/stklos')
-rw-r--r-- | dev-scheme/stklos/Manifest | 6 | ||||
-rw-r--r-- | dev-scheme/stklos/files/stklos-1.10-gentoo.patch | 40 | ||||
-rw-r--r-- | dev-scheme/stklos/files/stklos-1.70-gentoo.patch | 66 | ||||
-rw-r--r-- | dev-scheme/stklos/stklos-1.10-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-scheme/stklos/stklos-1.10-r2.ebuild | 53 | ||||
-rw-r--r-- | dev-scheme/stklos/stklos-1.70.ebuild | 54 |
6 files changed, 218 insertions, 36 deletions
diff --git a/dev-scheme/stklos/Manifest b/dev-scheme/stklos/Manifest index 9c71f2779f75..510f3f8acb44 100644 --- a/dev-scheme/stklos/Manifest +++ b/dev-scheme/stklos/Manifest @@ -1,3 +1,7 @@ +AUX stklos-1.10-gentoo.patch 1090 BLAKE2B aed70b104b1f28e59feafd9b04ae687244e96dff3656b4aa893e46a3af398189d4b0721ff59ffc4aedf9f81d5271899b5488544f4b13e41bd6ad6797c9de6560 SHA512 cddb0f5be61cf4bc3a55c79a576aedf99583ebe0f7a6cfc883bc8991d4e1c78678b853f9a4f65dcceb53477fabe0d9c53acb60e0957f35f45be16dc6c32bc642 +AUX stklos-1.70-gentoo.patch 1937 BLAKE2B 42c534b6d84bc1c3a541bcb8e68ba0abf097f4ad0a1012df1a153ebed918bf2ea37e0c505c33cbdf07ab9dc57372df37a3fdefb3864201497f1cca6bfe888b64 SHA512 05f9c3263e46902c149cd4131c32092b24e4d2499596faa9c6d0d448a1e92a06eac466458e3cca5e688fa4a07e5e870ff81ca4d5a4171c50217b942ebf4850df DIST stklos-1.10.tar.gz 6097807 BLAKE2B bfb957c54626d29cc1ecba553a0b982022b1ed0b89f333d763937e8c5f84b5c6b80ebc1e6531d968f4b33d72427a4f9957c010932308672907e105d37828ee50 SHA512 64877dec82b4c19bcaea95f6c60a4b9dff19c11bf11792fa5204d0ca3bb6f6962cc9250b35dcd5f01015e430b9a027add4f40c6a7169858893cab3e8c8df0bbb -EBUILD stklos-1.10-r1.ebuild 896 BLAKE2B 2604c10c02bb8cd69850284df5d053ba53ec141cef4d148b94118d20e5ce705bb5a7ef3861040edc72c6495a70caa93a596d5a570344e06ba0ac65dc49e51d17 SHA512 9d236d7502971bcf416597d4c0f0dbebc0c66737f9add28a48949b9f599364d4bab3af19512812580637e204af6b9b48e2312989fadef9bf189ce7d3da6c9503 +DIST stklos-1.70.tar.gz 8767615 BLAKE2B 7cae5b5d0c9b2d9dcccc47e78e70a562f2d1751de068668777441d29ee15be7f3c5c285b8297e367311cd8c9695c9a2d083ad7ea1d9c21c838cf1d819f7cb82c SHA512 64da09171b191688f750f10c29f10cd7393f326555d4324344faeac63547a2548407490e44a50f0afa348487bd9cc5106f3c344cab6935f3a3516b3c064a596f +EBUILD stklos-1.10-r2.ebuild 937 BLAKE2B 0754fe68a803e9e821bc4918f67631eb86510fd233b7918fc12ace0d4c5ebebd5e7f131b5e5080f459f664e567d436664321ccf4b5b325676ef0907c737e448b SHA512 4d27df2b8cc80f31caf554aa0de568dd28d143a9353ae8ca9e8fb8181aaac22e312acfec75d7d83286d3a5f1b51b56dc911a65f7dfa5b3ee912a256783cc76db +EBUILD stklos-1.70.ebuild 1012 BLAKE2B 2424a767067de671080bd94175d44297e3e3956e0b9f0a3d3a925a0b08c1961ab27f220518b4c82a141d8ef49125c3c608781140f00cfea6378d8ae772000841 SHA512 42859e74c39709de5e7ef00fbac67c3c4e1a7a4afc6ba55dbb6758a1e1b0a8acf883f8f9a64e9691679e974dacb7190b30debaea3ee6c2ca92e9243547f268d0 MISC metadata.xml 603 BLAKE2B 631cd06bdc3a5b14371ffd07f6cde777eb99506a4383720a11395e4633f1fdb74d271b1a0e561e1b5bf64e55328186c2ca25870381e0283b46a5868550d5c925 SHA512 89db69dcb36c87b58587aef86590de1391e215213b444e135aa144fd78bf9b9ddbd366a07562e5de2f000e6b66f387ec24e0a56698ce076b8304288868a25859 diff --git a/dev-scheme/stklos/files/stklos-1.10-gentoo.patch b/dev-scheme/stklos/files/stklos-1.10-gentoo.patch new file mode 100644 index 000000000000..56f5440cf1dc --- /dev/null +++ b/dev-scheme/stklos/files/stklos-1.10-gentoo.patch @@ -0,0 +1,40 @@ +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -4,7 +4,6 @@ + # Creation date: 11-Apr-2000 10:30 (eg) + # Last file update: 23-Oct-2010 11:52 (eg) + +-mandir = $(prefix)/share/man + man_MANS = stklos.1 stklos-config.1 stklos-compile.1 stklos-genlex.1 \ + stklos-pkg.1 + EXTRA_DIST = $(man_MANS) +@@ -16,15 +16,13 @@ + schemedir = $(prefix)/share/@PACKAGE@/@VERSION@ + scheme_DATA = DOCDB + +-doclocation = $(prefix)/share/doc/@PACKAGE@-@VERSION@ +- +-docpdfdir = $(doclocation)/pdf ++docpdfdir = $(pdfdir) + docpdf_DATA = pdf/stklos-ref.pdf + +-dochtmldir = $(doclocation)/html ++dochtmldir = $(htmldir) + dochtml_DATA= $(wildcard html/stklos-ref*.html) $(wildcard html/*.css) + +-docimgdir = $(doclocation)/html/images ++docimgdir = $(htmldir)/images + docimg_DATA = $(wildcard html/images/*) + + +--- a/pkgman/Makefile.am ++++ b/pkgman/Makefile.am +@@ -4,7 +4,7 @@ + # Last file update: 4-Dec-2011 16:48 (eg) + + +-makefiledir= $(prefix)/etc/stklos ++makefiledir= $(prefix)/share/@PACKAGE@/@VERSION@/etc + makefile_DATA= etc/Makefile-scmpkg.tmpl + + bin_SCRIPTS = stklos-pkg diff --git a/dev-scheme/stklos/files/stklos-1.70-gentoo.patch b/dev-scheme/stklos/files/stklos-1.70-gentoo.patch new file mode 100644 index 000000000000..c9baba3bf268 --- /dev/null +++ b/dev-scheme/stklos/files/stklos-1.70-gentoo.patch @@ -0,0 +1,66 @@ +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -21,7 +21,6 @@ + # Creation date: 11-Apr-2000 10:30 (eg) + # Last file update: 1-Jun-2021 19:13 (eg) + +-mandir = $(prefix)/share/man + man_MANS = stklos.1 stklos-config.1 stklos-compile.1 stklos-genlex.1 \ + stklos-pkg.1 stklos-script.1 + EXTRA_DIST = $(man_MANS) +@@ -33,12 +32,10 @@ + schemedir = $(prefix)/share/@PACKAGE@/@VERSION@ + scheme_DATA = DOCDB + +-doclocation = $(prefix)/share/doc/@PACKAGE@-@VERSION@ +- +-docpdfdir = $(doclocation)/pdf ++docpdfdir = $(pdfdir) + docpdf_DATA = pdf/stklos-ref.pdf + +-dochtmldir = $(doclocation)/html ++dochtmldir = $(htmldir) + dochtml_DATA= html/index.html \ + html/stklos-ref.html \ + html/stklos-ref-1.html \ +@@ -59,7 +56,7 @@ + html/stklos-ref-16.html \ + html/doc-style.css + +-docimgdir = $(doclocation)/html/images ++docimgdir = $(htmldir)/images + docimg_DATA = html/images/hierarchy.jpg + + +--- a/lib/Lalr.d/Makefile.am ++++ b/lib/Lalr.d/Makefile.am +@@ -34,7 +34,7 @@ + all: lalr.ostk calc + + install-sources: install +- mkdir -p $(schemedir) ++ mkdir -p $(DESTDIR)/$(schemedir) + cp lalr.stk $(DESTDIR)/$(schemedir) + + uninstall-hook: +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -123,8 +123,6 @@ + + + install-exec-hook: +- @echo "STRIP command: $$STRIP" +- if test "X$$STRIP" != "Xno" ;then $(STRIP) $(DESTDIR)/$(bindir)/stklos; fi; + mv $(DESTDIR)/$(bindir)/stklos $(DESTDIR)/$(bindir)/stklos-@VERSION@ + ln -s stklos-@VERSION@ $(DESTDIR)/$(bindir)/stklos + +--- a/utils/shlib-options ++++ b/utils/shlib-options +@@ -173,6 +173,6 @@ + + echo "os=\"$os\"; version=\"$version\"; machine=\"$machine\"; OS=\"$OS\"; \ + OS_FLAVOUR=\"$OS_FLAVOUR\";SH_COMP_FLAGS=\"$SH_COMP_FLAGS\"; \ +-SH_LOAD_FLAGS=\"$SH_LOAD_FLAGS\"; \ ++SH_LOAD_FLAGS=\"$LDFLAGS $SH_LOAD_FLAGS\"; \ + SH_LOADER=\"$SH_LOADER\"; SH_SUFFIX=\"$SH_SUFFIX\"; \ + SH_LIB_SUFFIX=\"$SH_LIB_SUFFIX\"; SH_MAIN_LOAD_FLAGS=\"$SH_MAIN_LOAD_FLAGS\"" diff --git a/dev-scheme/stklos/stklos-1.10-r1.ebuild b/dev-scheme/stklos/stklos-1.10-r1.ebuild deleted file mode 100644 index 9a71d6c6b8bf..000000000000 --- a/dev-scheme/stklos/stklos-1.10-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="fast and light Scheme implementation" -HOMEPAGE="http://www.stklos.net" -SRC_URI="http://www.stklos.net/download/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="threads" -DEPEND="dev-libs/gmp:= dev-libs/libpcre dev-libs/libffi dev-libs/boehm-gc[threads?]" -RDEPEND="${DEPEND}" - -#parallel build failure reported upstream -MAKEOPTS=-j1 - -src_prepare() { - # kill bundled libs - rm -rf "${S}"/{ffi,gc,gmp,pcre} || die - default -} - -src_configure() { - econf --enable-threads=$(if use threads; then echo pthreads; else echo none; fi) \ - --without-gmp-light --without-provided-gc \ - --without-provided-regexp --without-provided-ffi -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog NEWS PACKAGES-USED PORTING-NOTES README SUPPORTED-SRFIS -} diff --git a/dev-scheme/stklos/stklos-1.10-r2.ebuild b/dev-scheme/stklos/stklos-1.10-r2.ebuild new file mode 100644 index 000000000000..72aa6c496083 --- /dev/null +++ b/dev-scheme/stklos/stklos-1.10-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools + +DESCRIPTION="fast and light Scheme implementation" +HOMEPAGE="https://www.stklos.net/" +SRC_URI="https://www.${PN}.net/download/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="threads" + +RDEPEND="dev-libs/boehm-gc[threads?] + dev-libs/gmp:= + dev-libs/libffi:= + dev-libs/libpcre" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +DOCS=( AUTHORS ChangeLog NEWS PACKAGES-USED PORTING-NOTES README SUPPORTED-SRFIS ) + +src_prepare() { + rm -rf {ffi,gc,gmp,pcre} + + default + eautoreconf +} + +src_configure() { + econf \ + --enable-threads=$(usex threads pthreads none) \ + --without-gmp-light \ + --without-provided-ffi \ + --without-provided-gc \ + --without-provided-regexp +} + +src_compile() { + emake -j1 +} + +src_test() { + emake -j1 check +} + +src_install() { + default + einstalldocs +} diff --git a/dev-scheme/stklos/stklos-1.70.ebuild b/dev-scheme/stklos/stklos-1.70.ebuild new file mode 100644 index 000000000000..74b2eb58dcf5 --- /dev/null +++ b/dev-scheme/stklos/stklos-1.70.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools toolchain-funcs + +DESCRIPTION="fast and light Scheme implementation" +HOMEPAGE="https://www.stklos.net/" +SRC_URI="https://www.${PN}.net/download/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="threads" + +RDEPEND="dev-libs/boehm-gc[threads?] + dev-libs/gmp:= + dev-libs/libffi:= + dev-libs/libpcre" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +DOCS=( AUTHORS ChangeLog {HACKING,NEWS}.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS ) + +src_prepare() { + use threads || rm -f tests/srfis/216.stk + + default + eautoreconf + export LD="$(tc-getCC)" +} + +src_configure() { + econf \ + --enable-threads=$(usex threads pthreads none) \ + --without-gmp-light \ + --without-provided-ffi \ + --without-provided-gc \ + --without-provided-regexp +} + +src_compile() { + emake -j1 +} + +src_test() { + emake -j1 check +} + +src_install() { + default + einstalldocs +} |