diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-25 01:25:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-25 01:25:44 +0100 |
commit | c25088d4fc442a7d6dc3a8d0498b43024888318d (patch) | |
tree | fdb19b6a9b3a20669ecb49f0ba8d9f435fbb4b1a /dev-scheme | |
parent | d80b870c42fbe218389ffaf86f0f2a39404deca1 (diff) |
gentoo auto-resync : 25:09:2024 - 01:25:44
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/Manifest.gz | bin | 9823 -> 9820 bytes | |||
-rw-r--r-- | dev-scheme/guile/Manifest | 3 | ||||
-rw-r--r-- | dev-scheme/guile/guile-1.8.8-r101.ebuild | 150 | ||||
-rw-r--r-- | dev-scheme/guile/guile-1.8.8-r5.ebuild (renamed from dev-scheme/guile/guile-1.8.8-r4.ebuild) | 5 |
4 files changed, 155 insertions, 3 deletions
diff --git a/dev-scheme/Manifest.gz b/dev-scheme/Manifest.gz Binary files differindex 8343cd5bd8f9..48dc88a081e2 100644 --- a/dev-scheme/Manifest.gz +++ b/dev-scheme/Manifest.gz diff --git a/dev-scheme/guile/Manifest b/dev-scheme/guile/Manifest index 53ac17948c2c..6d2f4ccfebcd 100644 --- a/dev-scheme/guile/Manifest +++ b/dev-scheme/guile/Manifest @@ -15,7 +15,8 @@ DIST guile-1.8.8.tar.gz 3956654 BLAKE2B 4820d635ac2c57526c0c03f3e0e6e4ac4276533e DIST guile-2.2.7.tar.xz 10881984 BLAKE2B e2b1fe7cb010371beaaf32f8f173397c90fd291ed7d5835b9d976f37fd133254841b4179bd1e1cd02e604c7befcab6c25f85d20ba0850f96978f7c32ca1fe6d8 SHA512 6f60b3489e26f5ff32b55c89316cdcdbf3ec1f4344726006e445f24098c922c50becdc748f1b66d2b271dc002e409ee6210bf85da779cee1f68c9111b3b5c543 DIST guile-3.0.10.tar.xz 5802280 BLAKE2B 2b41f1afb282eb4672f5aca5b044f47a12509745f5580fc4a621e7555c8b884f92dc76bc78fbdf8a64d59cf1de65b230ce03b0a34bbcb77307a7c9453a277ac6 SHA512 8b58e6c70cd48af85a0b346fcdf488fd5ac8d8678181c9c469895bf6ddab909c415e471776fdcda3c234e00fae80bdd4518c17ff16cf8107a36d2990a4face1d DIST guile-3.0.9.tar.xz 5750636 BLAKE2B 693f189bda52468d989f27c9482b515b8a14ed814d6e4a9a988d7a03d9789903a568b41c5e3ae524b3a51cc635693cd20245b2017efabb9774be59c298823083 SHA512 a1e47a60a654f26edc57b3a34d943e15a055fc85c3cc764e912be23a80d56534b16f3512d7c7bc426f24a0cac1fcc9556802ac248f10c1fbdde51cd1e24afaf2 -EBUILD guile-1.8.8-r4.ebuild 3087 BLAKE2B 6c3d558aa08bfabe58ebc1d60b96c10f406b646b1e12ad1fcf3e8473e704ad5728dc39071e5cfea49c422e4268c70257cecf8173db574661b971cfee7e71b590 SHA512 f9585f632e7a127a62b107d9974ed3791f88b6e667d5d6d57e7b683965f73f715a3e21bbfb692bd22a117bff68ea794434603902b96d4641e29f6807c163eaff +EBUILD guile-1.8.8-r101.ebuild 4102 BLAKE2B 31e19061dd08c4a9b88ee17068ba84991f1ccbcd8635d81110a7e27c44ba1a4cfb57956d43624d70203c4909214bec41c72a263325d9c225d74d3d27a2c45e4a SHA512 d7a6826f37e3c486369b74fa063e5da2428ce1e5a2e14f9ceb1bc7de0d3be70b5867fbbb8ed283efcaf0fcf08fed32876907c88027c68790a1708878d1d3e104 +EBUILD guile-1.8.8-r5.ebuild 3207 BLAKE2B b695c0c7ce46a476750c5dbbfc5d49a270e297e134861f752f80c0b23b1ef5ec914078364ace4e2a3c4e22eb50c8b6bf13c795390a55e6018111f0bcf99768dd SHA512 1ea32491976d1da2212b66022e3c72d1d1fce6e106a22563e27b1482b22d9ae899351be86c808715f5fb1f8133292541f9866c51cc6a76510b53b6da4fadf690 EBUILD guile-2.2.7-r1.ebuild 2147 BLAKE2B f745559bbd9cc6ea8f489f974351159792478de2fe001533f950098625e67620d750eaff498bb14f56f8854586b030be0936d61a65c94c00de90e5f3c145db33 SHA512 391cc24ba1c3855b7a4bea2bed6820a66e644b2613e0c49587a19fc759fe801b4863f90110f2a244d10945bdb151d86e8e43685282e9bac85db3f1d2fc36e1a4 EBUILD guile-2.2.7-r100.ebuild 2566 BLAKE2B 158823448117723e28e96a2facd622dac06b6855efc8660e5d49ad194440955050185a6ddc9e15f51def6a497f78227920baf9be3b1795b822ac190f3e417562 SHA512 76fd991bbbe91da19347049a2b8301bfcabc8bb6e56208acbb75eb65ce19b26fda597cd3646ff09199ed5aa0e8fc917717b40ec0e9c75c4e5047b7461c307607 EBUILD guile-2.2.7-r2.ebuild 2300 BLAKE2B 5b8582730cab705ed219468469550ac73657008f6980752d5813955dbffb0955fbc74ad69da106b1e5d052cc553e3bce4a51a6c21bb9e65616b3b1ad895c54db SHA512 4109d875e65aa81601632f19b76e5bd83a6a34381cc28bb72a2217f3b47a1e81a752e4547ecbea0e4644b1323266067dae9703e0fde59b0a89fcb0133eeecfe2 diff --git a/dev-scheme/guile/guile-1.8.8-r101.ebuild b/dev-scheme/guile/guile-1.8.8-r101.ebuild new file mode 100644 index 000000000000..293a556c0096 --- /dev/null +++ b/dev-scheme/guile/guile-1.8.8-r101.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic elisp-common + +DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions" +HOMEPAGE="https://www.gnu.org/software/guile/" +SRC_URI="mirror://gnu/guile/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug debug-freelist debug-malloc +deprecated discouraged emacs networking nls readline +regex +threads" +RESTRICT="!regex? ( test )" + +RDEPEND=" + >=dev-libs/gmp-4.1:0= + dev-libs/libltdl:0= + sys-devel/gettext + sys-libs/ncurses:0= + virtual/libcrypt:= + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/texinfo + dev-build/libtool + emacs? ( >=app-editors/emacs-23.1:* ) +" + +PATCHES=( + "${FILESDIR}"/${P}-fix_guile-config.patch + "${FILESDIR}"/${P}-gcc46.patch + "${FILESDIR}"/${P}-gcc5.patch + "${FILESDIR}"/${P}-makeinfo-5.patch + "${FILESDIR}"/${P}-gtexinfo-5.patch + "${FILESDIR}"/${P}-readline.patch + "${FILESDIR}"/${P}-tinfo.patch + "${FILESDIR}"/${P}-sandbox.patch + "${FILESDIR}"/${P}-mkdir-mask.patch + "${FILESDIR}"/${PN}-1.8.8-texinfo-6.7.patch +) + +DOCS=( AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS ) + +# Where to install data files. +GUILE_DATA="${EPREFIX}/usr/share/guile-data/${SLOT}" +GUILE_PCDIR="${EPREFIX}/usr/share/guile-data/${SLOT}/pkgconfig" + +src_prepare() { + default + + sed \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" \ + -e "/AM_PROG_CC_STDC/d" \ + -i guile-readline/configure.in || die + + mv "${S}"/configure.{in,ac} || die + mv "${S}"/guile-readline/configure.{in,ac} || die + + eautoreconf +} + +src_configure() { + # See bug #178499. filter-flags no longer works since the compiler + # will vectorize by default when optimizing. + append-flags -fno-tree-vectorize -fno-strict-aliasing + + #will fail for me if posix is disabled or without modules -- hkBst + myconf=( + --program-suffix="-${SLOT}" + --infodir="${GUILE_DATA}/info" + --includedir="${EPREFIX}/usr/include/guile/${SLOT}" + + --disable-error-on-warning + --disable-static + --enable-posix + $(use_enable networking) + $(use_enable readline) + $(use_enable regex) + $(use deprecated || use_enable discouraged) + $(use_enable deprecated) + $(use_enable emacs elisp) + $(use_enable nls) + --disable-rpath + $(use_enable debug-freelist) + $(use_enable debug-malloc) + $(use_enable debug guile-debug) + $(use_with threads) + --with-modules + ) + econf "${myconf[@]}" EMACS=no +} + +src_compile() { + emake + + # Above we have disabled the build system's Emacs support; + # for USE=emacs we compile (and install) the files manually + if use emacs; then + cd emacs || die + elisp-compile *.el || die + fi +} + +src_install() { + default + + dodir "${GUILE_PCDIR}" + sed -e "/libdir/i bindir=${ESYSROOT}/usr/bin" \ + -e "/libguileinterface/a guile=\${bindir}/guile-${SLOT}" \ + -i "${ED}"/usr/$(get_libdir)/pkgconfig/guile-1.8.pc || die + mv "${ED}"/usr/$(get_libdir)/pkgconfig/guile-1.8.pc "${D}/${GUILE_PCDIR}"/guile-1.8.pc || die + + sed -i "1s/guile/guile-1.8/" "${ED}"/usr/bin/guile-config-1.8 || die + + for script in PROGRAM autofrisk doc-snarf generate-autoload punify \ + read-scheme-source scan-api snarf-guile-m4-docs use2dot \ + api-diff display-commentary frisk lint read-rfc822 \ + read-text-outline snarf-check-and-output-texi summarize-guile-TODO; do + sed "s/GUILE-guile/GUILE-guile-1.8/" \ + -i "${ED}"/usr/share/guile/1.8/scripts/${script}-1.8 || die + mv "${ED}"/usr/share/guile/1.8/scripts/${script}{-1.8,} || die + done + + mv "${ED}"/usr/share/aclocal/guile{,-"${SLOT}"}.m4 || die + find "${ED}" -name '*.la' -delete || die + + newenvd - "50guile${SLOT}" <<-EOF + PKG_CONFIG_PATH="${GUILE_PCDIR}" + EOF + + # necessary for registering slib, see bug 206896 + keepdir /usr/share/guile/site + + if use emacs; then + elisp-install ${PN}-${SLOT} emacs/*.{el,elc} + elisp-make-site-file "50${PN}-${SLOT}-gentoo.el" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-scheme/guile/guile-1.8.8-r4.ebuild b/dev-scheme/guile/guile-1.8.8-r5.ebuild index 5844c16085b0..2bb5c4af7553 100644 --- a/dev-scheme/guile/guile-1.8.8-r4.ebuild +++ b/dev-scheme/guile/guile-1.8.8-r5.ebuild @@ -66,8 +66,9 @@ src_prepare() { } src_configure() { - # see bug #178499 - filter-flags -ftree-vectorize + # See bug #178499. filter-flags no longer works since the compiler + # will vectorize by default when optimizing. + append-flags -fno-tree-vectorize -fno-strict-aliasing #will fail for me if posix is disabled or without modules -- hkBst myconf=( |