diff options
author | Akinori Hattori <hattya@gentoo.org> | 2022-01-31 22:19:51 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2022-01-31 22:20:14 +0900 |
commit | 03ffc8e43b0db237776b79fd8131565cc57a1661 (patch) | |
tree | ae86b359a44ad0923804a66fad67fcf08fce0287 /dev-scheme | |
parent | dev-scheme/gauche: rename patch (diff) | |
download | gentoo-03ffc8e43b0db237776b79fd8131565cc57a1661.tar.gz gentoo-03ffc8e43b0db237776b79fd8131565cc57a1661.tar.bz2 gentoo-03ffc8e43b0db237776b79fd8131565cc57a1661.zip |
dev-scheme/gauche: new upstream release
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/gauche/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/gauche/files/gauche-info.patch | 95 | ||||
-rw-r--r-- | dev-scheme/gauche/gauche-0.9.11_p1.ebuild | 60 |
3 files changed, 156 insertions, 0 deletions
diff --git a/dev-scheme/gauche/Manifest b/dev-scheme/gauche/Manifest index 0af80b0d20b6..f19612b1994b 100644 --- a/dev-scheme/gauche/Manifest +++ b/dev-scheme/gauche/Manifest @@ -1,2 +1,3 @@ DIST Gauche-0.9.10.tgz 7701616 BLAKE2B ecffc8cbffdbbea53a52468bcc190c57eede51ade78ccafd323299458f333794cc613bbfa11090d261993908020ccf8d42c2142da5996e1e55188f28e03cc28b SHA512 f014ec00903fc91b90da8dbdaace04a64d12695c631e923d5cdca3574aaf6701374f5adbed20c395881b047bb5a448352614d4ce7f16b6e38f69382bf8e66ed0 +DIST Gauche-0.9.11-p1.tgz 8104827 BLAKE2B 5c35ced6f64296e294804add967045b8e5aca817b65648f7c6708c774b1c1e218676517f86c3d8c8eb11d983e0a6b396ed00de1f95ecdc5a4dd5eee157f58bea SHA512 51be78d7f9bb62987e76c9867006c367ecb27eaf444f022d93bb92010e51ffb6b922cfc39aaab51cc9edbc94d7f7bb21e021705abb1a8fabd0bdbc52d4c92ee8 DIST gauche-0.9.10-sys-ctermid.patch.xz 10328 BLAKE2B f4cde73528624d07a8c7d820b8cf10a0b96e5f13394df3113b8d40ddb43996afc5e519a34fa1de72529e42e1fb6e1feec60213bbf5df97e7725f4c0cd2c621e3 SHA512 7d16a9e6097d458bcad9db68fbedd2f694afade681bf9b876e0a2f6c232be85fb58e3d7dca6b208117b300e2bf529027b736b381d8eca29c688628725c0466ed diff --git a/dev-scheme/gauche/files/gauche-info.patch b/dev-scheme/gauche/files/gauche-info.patch new file mode 100644 index 000000000000..14aa58bc7e21 --- /dev/null +++ b/dev-scheme/gauche/files/gauche-info.patch @@ -0,0 +1,95 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -382,7 +382,6 @@ + AC_PROG_LN_S + AC_CHECK_TOOLS(AR, ar gar) + AC_CHECK_PROGS(MAKEINFO, makeinfo) +-AC_CHECK_PROGS(GZIP_PROGRAM, gzip) + + if test -z "$MAKEINFO" -o -z "$GZIP_PROGRAM"; then + build_doc="No (requires makeinfo and gzip to build documents)" +--- a/doc/Makefile.in ++++ b/doc/Makefile.in +@@ -18,7 +18,6 @@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTDIR = $(top_srcdir)/mkinstalldirs + MAKEINFO = @MAKEINFO@ +-GZIP_PROGRAM = @GZIP_PROGRAM@ + VERSION_INFO = @PACKAGE_STRING@ + + MAKEDOC = $(GOSH) $(srcdir)/makedoc.scm +@@ -59,7 +58,7 @@ + texi html htmls dvi pdf info \ + clean distclean maintainer-clean + +-.SUFFIXES: .texi .html .info.gz .pdf .dvi ++.SUFFIXES: .texi .html .info .pdf .dvi + + all: info + +@@ -67,7 +66,7 @@ + if test ! -d "$(DESTDIR)$(mandir)/man1"; then $(MKINSTDIR) "$(DESTDIR)$(mandir)/man1"; fi + $(INSTALL_DATA) $(MANPAGES) "$(DESTDIR)$(mandir)/man1" + if test ! -d "$(DESTDIR)$(infodir)"; then $(MKINSTDIR) "$(DESTDIR)$(infodir)"; fi +- if test -f gauche-refe.info.gz -o -f gauche-refj.info.gz; then \ ++ if test -f gauche-refe.info -o -f gauche-refj.info; then \ + for info in *.info*; do \ + $(INSTALL_DATA) $$info "$(DESTDIR)$(infodir)/"; \ + done; \ +@@ -98,8 +97,8 @@ + %-draft/index.html : %.texi + $(MAKEDOC) htmls $< "$(MAKEINFO)" "Development HEAD DRAFT" + +-%.info.gz : %.texi +- $(MAKEDOC) info $< "$(MAKEINFO)" "$(GZIP_PROGRAM)" ++%.info : %.texi ++ $(MAKEDOC) info $< "$(MAKEINFO)" + + %.pdf : %.texi + $(MAKEDOC) pdf $< "$(MAKEINFO)" +@@ -118,7 +117,7 @@ + htmls-draft : gauche-refe-draft/index.html gauche-refj-draft/index.html + dvi : gauche-refe.dvi gauche-refj.dvi + pdf : gauche-refe.pdf gauche-refj.pdf +-info : gauche-refe.info.gz gauche-refj.info.gz ++info : gauche-refe.info gauche-refj.info + + gauche-refe.texi : $(TEXIS) extract.scm + $(GOSH) $(srcdir)/extract.scm -en -o gauche-refe.texi $(srcdir)/gauche-ref.texi +--- a/doc/makedoc.scm ++++ b/doc/makedoc.scm +@@ -16,7 +16,7 @@ + [gauche.sys.setenv (sys-putenv "LANG=C")] + [else]) + (if (match (cdr args) +- [("info" input makeinfo gzip) (do-info input makeinfo gzip)] ++ [("info" input makeinfo) (do-info input makeinfo)] + [("html" input makeinfo) (do-html input makeinfo)] + [("htmls" input makeinfo version) (do-htmls input makeinfo version)] + [("pdf" input makeinfo) (do-pdf input makeinfo)] +@@ -27,7 +27,7 @@ + (define (usage) + (print "Usage: gosh makedoc.scm command args ...") + (print "Valid commands (and args):") +- (print " info input MAKEINFO GZIP - generate info doc") ++ (print " info input MAKEINFO - generate info doc") + (print " html input MAKEINFO - generate single html") + (print " htmls input MAKEINFO VERSION-STRING - generate html files in subdir") + (print " pdf input MAKEINFO - generate pdf") +@@ -55,14 +55,11 @@ + (warn "makeinfo version ~a or greater is required, but ~a's \ + version is ~a. Skipping.\n" min-version makeinfo vers))))) + +-(define (do-info input makeinfo gzip) ++(define (do-info input makeinfo) + (define info (path-swap-extension input "info")) + (or (string-null? makeinfo) +- (string-null? gzip) + (not (check-makeinfo-version makeinfo "5.0")) +- (and (do-process (make-cmd `(,makeinfo ,input))) +- (begin (remove-files (glob #"~|info|*.gz")) +- (do-process (make-cmd `(,gzip "-n" ,info ,@(glob #"~|info|-[0-9]*")))))))) ++ (and (do-process (make-cmd `(,makeinfo ,input)))))) + + (define (do-html input makeinfo) + (or (string-null? makeinfo) diff --git a/dev-scheme/gauche/gauche-0.9.11_p1.ebuild b/dev-scheme/gauche/gauche-0.9.11_p1.ebuild new file mode 100644 index 000000000000..f5bfcb4e1b79 --- /dev/null +++ b/dev-scheme/gauche/gauche-0.9.11_p1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools + +MY_P="${P^g}" +MY_P="${MY_P/_p/-p}" + +DESCRIPTION="A Unix system friendly Scheme Interpreter" +HOMEPAGE="http://practical-scheme.net/gauche/" +SRC_URI="https://github.com/shirok/${PN^g}/releases/download/release${PV//./_}/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/$(ver_cut 1-2)8" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="ipv6 mbedtls test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-libs/gdbm + virtual/libcrypt:= + mbedtls? ( net-libs/mbedtls:= )" +DEPEND="${RDEPEND} + test? ( dev-libs/openssl:0 )" +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-ext-ldflags.patch + "${FILESDIR}"/${PN}-gauche.m4.patch + "${FILESDIR}"/${PN}-info.patch + "${FILESDIR}"/${PN}-rfc.tls.patch + "${FILESDIR}"/${PN}-xz-info.patch +) +DOCS=( AUTHORS ChangeLog HACKING.adoc README.adoc ) + +src_prepare() { + default + use ipv6 && sed -i "s/ -4//" ext/tls/ssltest-mod.scm + + eautoconf +} + +src_configure() { + econf \ + $(use_enable ipv6) \ + --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \ + --with-libatomic-ops=no \ + --with-slib="${EPREFIX}"/usr/share/slib \ + --with-tls=axtls$(usex mbedtls ',mbedtls' '') +} + +src_test() { + emake -j1 -s check +} + +src_install() { + emake DESTDIR="${D}" install-pkg install-doc + einstalldocs +} |