From 44cec61076bf2bbb3cea1fc89943dd6818a5acc5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 6 Jun 2024 00:07:58 +0100 Subject: gentoo auto-resync : 06:06:2024 - 00:07:57 --- dev-scheme/Manifest.gz | Bin 9974 -> 9970 bytes dev-scheme/bigloo/Manifest | 5 +- dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild | 221 -------------------- dev-scheme/bigloo/bigloo-4.5b.ebuild | 224 +++++++++++++++++++++ dev-scheme/bigloo/files/bigloo-4.5b-makefile.patch | 36 ++++ 5 files changed, 263 insertions(+), 223 deletions(-) delete mode 100644 dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild create mode 100644 dev-scheme/bigloo/bigloo-4.5b.ebuild create mode 100644 dev-scheme/bigloo/files/bigloo-4.5b-makefile.patch (limited to 'dev-scheme') diff --git a/dev-scheme/Manifest.gz b/dev-scheme/Manifest.gz index 8234fb0cdf17..6c28fe31dfcb 100644 Binary files a/dev-scheme/Manifest.gz and b/dev-scheme/Manifest.gz differ diff --git a/dev-scheme/bigloo/Manifest b/dev-scheme/bigloo/Manifest index 253356433576..2f1dcd83f1a4 100644 --- a/dev-scheme/bigloo/Manifest +++ b/dev-scheme/bigloo/Manifest @@ -1,4 +1,5 @@ AUX 50bigloo-gentoo.el 110 BLAKE2B 520b6b4d89452d3c9479c92b3f2f31e46e7761bc2c03fd62236e277ff1f9613cd237ba799d7349cf8bc8311125d3548956dc1947bd8d79cb72349dee723a9190 SHA512 73fda359d7c09c291eb1c3d38d3352b57acab0e800e2d89ee815a1c58202e8a5603abe847409e58bd69ea0ed7245abbb4a60de4fa8285287523caff47f19d6e2 -DIST bigloo-4.4c-4.tar.gz 47714106 BLAKE2B f30775cfa3e29f781f31dc5ec80087712504ffab528a911e2a29746562b6179b03cbfc63a45ddf337b2424fbfa476005ffed67674a75b4629ab70459c47147a6 SHA512 b1a7f7f610303dbbd7339ac4f80679b07d1bf5304865fe61f28bd5af8205f1a5c2b5b3edb1c47a0409a6392a2242d2adde1f5129b026b6a7ee022b8f5faec157 -EBUILD bigloo-4.4c_p4-r6.ebuild 5524 BLAKE2B 09f65d70801c7b8f03d83a27d4b085b47356da163c7514f7f517018b94015be59ad69f7710583162d72712d042b54e7225cff27e60cd0946a4d497da2149b23b SHA512 51a00a4bcb5a2bfaf5930f3bf114c3ebd087d29e8bb6c414fae0200a5be32d5a59090b5338af7a98743d9d96df74284f72c64565b1a7cfb5accadf3094f6c5c2 +AUX bigloo-4.5b-makefile.patch 1314 BLAKE2B c92cec0a597ef53ae748bd56689b92aec05f3a84003b46082482aadc82453d69869970dcf163a9e036fd2cab64d1bd813fc7ae416d05c2033d58b800a283d388 SHA512 e886a5bc9c5aa1fb97b4714c404e74b4cc7819aa75296969b32004f32ceb0de6b4d95fc30f79952e66f84565bfffa37bc2885d20ce0ed4e2c003130235197b1c +DIST bigloo-4.5b.tar.gz 59015812 BLAKE2B 8dfa73da5ba50a2ec92adde7c9c3fc76841bc0702139238776af2c174099aab85ea28b5d2ec640b6d85f986759b63950f3cfa55e8ec2eb2e73930093b767c93d SHA512 7810f9895ea373f716cd2c93a7b1072d289e2b333632b5b4f293a6317f31a56d2b098790763e96c2d15ce212dafb45c70ec6a7941a344fb8c53a3ef3c6b67feb +EBUILD bigloo-4.5b.ebuild 5617 BLAKE2B 63018703611fb6ccd9e07ac4e40e8d70e820620f8bc1e83ec4e83a0202cb660ecac3f417b4b93ea8c537d8f51f2caf1b33231a48047e5d7d291ff0417089adbb SHA512 3dcae165f0310c4e7a280ec9f3eea57918ba62bf4e3eef2836ee5f39a055c829e318d62b68ab2377d78cea021c03650c52c970b023f6d724a8f0c7748160af2a MISC metadata.xml 1113 BLAKE2B 20eec442cc5ba556fb5e30dc225bfeb45851be9ee1bbf111662ba3eec8573275754101d863145874cf778e27715792e1757189c2e4cec8ae6d320800e22dc0a6 SHA512 fb58869479a3310d1eac93ecd8127f2759fb93c45a73d1d2835802d201c6fb0a95592238521b7c385bea1d27d83da650000685978067dab272615f81e6ca5c4a diff --git a/dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild b/dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild deleted file mode 100644 index 4fff4bfd6313..000000000000 --- a/dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp-common flag-o-matic toolchain-funcs - -MY_PV=${PV/_p/-} # e.g.: 4.4c_p4 -> 4.4c-4 -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="Practical Scheme Compiler with many extensions" -HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/index.html" -SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa avahi emacs flac +gmp gpg gstreamer java libuv mp3 pulseaudio +sqlite" -REQUIRED_USE="flac? ( alsa ) mp3? ( alsa )" - -EMACS_DEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) -" -DEPEND=" - dev-libs/boehm-gc[threads] - dev-libs/libpcre2:= - dev-libs/libunistring:= - dev-libs/openssl:= - alsa? ( media-libs/alsa-lib ) - avahi? ( net-dns/avahi ) - flac? ( media-libs/flac:= ) - gmp? ( dev-libs/gmp:= ) - gpg? ( app-crypt/gnupg ) - gstreamer? ( - media-libs/gst-plugins-base:1.0= - media-libs/gstreamer:1.0= - ) - java? ( - app-arch/zip - virtual/jdk:* - ) - libuv? ( dev-libs/libuv:= ) - mp3? ( media-sound/mpg123 ) - pulseaudio? ( media-libs/libpulse ) - sqlite? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} - ${EMACS_DEPEND} - sys-devel/binutils - dev-debug/gdb -" -BDEPEND=" - ${EMACS_DEPEND} - sys-apps/texinfo -" - -DOCS=( ChangeLog README.md TODO.org ) -SITEFILE="50${PN}-gentoo.el" - -src_prepare() { - default - - sed -e "/^ar=/s|=|= \"$(tc-getAR)\"|" \ - -e "/^ranlib=/s|=|= \"$(tc-getRANLIB)\"|" \ - -i ./configure \ - || die - - sed "s|^ar |$(tc-getAR) |" -i ./autoconf/ranlib || die -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/858248 - # - # The code has various issues that make it look quite worrying to enable - # LTO, so I wouldn't risk it even if upstream fixes this one. Cannot even - # test compile the package due to bug #870481, bug #911667 - # - # It is also impossible to test from git if any of these are fixed, since - # you need a working version in order to compile from git. - filter-lto - - tc-export AR AS CC CPP CXX LD - export CFLAGS - export LDFLAGS - - local -a myconf=( - # Compilation - --as="$(tc-getAS)" - --cc="$(tc-getCC)" - --cflags="${CFLAGS}" - --cpicflags="-fPIC" - --cwarningflags="" - --ldflags="${LDFLAGS}" - # Installation directories - --prefix=/usr - --bindir=/usr/share/${PN}/bin - --docdir=/usr/share/doc/${PF} - --infodir=/usr/share/info - --libdir=/usr/"$(get_libdir)" - --mandir=/usr/share/man - # Custom internal components - --customgc=no - --customgmp=no - --customlibuv=no - --customunistring=no - --jvm=$(usex java) - --native=yes - --sharedbde=yes - --sharedcompiler=yes - --strip=no - # Libraries, Bigloo calls them APIs - --disable-phidget # not important for now, only in ::ros-overlay ? - --enable-calendar # iCalendar parser - --enable-crypto - --enable-csv # parsing CSV files - --enable-mail # IMAP protocol implementation - --enable-multimedia - --enable-packrat # packrat parser - --enable-phone - --enable-pkgcomp - --enable-pthread - --enable-srfi1 - --enable-srfi18 - --enable-ssl - --enable-text # BibTeX parser - --enable-upnp # Upnp protocol implementation - --enable-web # XML, CGI, and RSS parsers - $(use_enable alsa) - $(use_enable avahi) - $(use_enable flac wav) - $(use_enable flac) - $(use_enable gmp srfi27) - $(use_enable gmp) - $(use_enable gpg openpgp) - $(use_enable gstreamer) - $(use_enable libuv) - $(use_enable mp3 mpg123) - $(use_enable pulseaudio) - $(use_enable sqlite pkglib) - $(use_enable sqlite) - # GNU Emacs libraries - --bee=$(usex emacs full partial) - --emacs=$(usex emacs "${EMACS}" "no") - --lispdir=$(usex emacs "${SITELISP}/${PN}" "") - ) - ebegin "Configuring Bigloo with the following options: ${myconf[@]}" - sh ./configure "${myconf[@]}" - eend $? || die "configure script failed" - - # When Emacs version is too high (e.g. 28) bigloo will skip compiling - # and installing the Emacs support files. - # The file "bmacs/Makefile" lists all officially supported Emacs versions. - if use emacs ; then - sed "/^EMACSBRAND=/s|generic|emacs23|" -i Makefile.config || die - fi -} - -src_compile() { - emake -j1 - - emake -C bdl -j1 - emake -C bdb -j1 - emake -C cigloo -j1 - - use emacs && emake -C bmacs -} - -src_test() { - emake test -} - -src_install() { - emake DESTDIR="${D}" LN_S="ln -rs" install - emake DESTDIR="${D}" -C bdl install - emake DESTDIR="${D}" -C bdb install - emake DESTDIR="${D}" -C cigloo install - - # The ".sh" scripts set proper environment and library order for Bigloo, - # but programs (and the Bigloo Emacs library, "bee-mode") want "bigloo", - # not "bigloo.sh". To make programs work we install all executable files - # into "/usr/share/bigloo/bin", and then pick one by one for non-scripts: - # if a script with ".sh" extensions exists, then we link the script, - # not the picked executable to a binary name, otherwise link the binary. - mkdir -p "${D}"/usr/bin || die - pushd "${D}" >/dev/null || die - local bin bin_link - for bin in usr/share/${PN}/bin/* ; do - if [[ "${bin}" != *.sh ]] ; then - bin_link="usr/bin/$(basename "${bin}")" - - if [[ -f ${bin}.sh ]] ; then - ln -s ../../${bin}.sh "${bin_link}" || die - else - ln -s ../../${bin} "${bin_link}" || die - fi - fi - done - popd >/dev/null || die - - if use emacs ; then - emake DESTDIR="${D}" install-bee - - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - - einstalldocs - - # Remove static libs, bug #890820, #891041 - find "${ED}" -name "*.a" -delete || die -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/bigloo/bigloo-4.5b.ebuild b/dev-scheme/bigloo/bigloo-4.5b.ebuild new file mode 100644 index 000000000000..15820af36235 --- /dev/null +++ b/dev-scheme/bigloo/bigloo-4.5b.ebuild @@ -0,0 +1,224 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common flag-o-matic toolchain-funcs + +MY_PV=${PV/_p/-} # e.g.: 4.4c_p4 -> 4.4c-4 +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Practical Scheme Compiler with many extensions" +HOMEPAGE="https://www-sop.inria.fr/indes/fp/Bigloo/index.html" +SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa avahi emacs flac +gmp gpg gstreamer java libuv mp3 pulseaudio +sqlite" +REQUIRED_USE="flac? ( alsa ) mp3? ( alsa ) gstreamer? ( pulseaudio )" + +EMACS_DEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) +" +DEPEND=" + dev-libs/boehm-gc[threads] + dev-libs/libpcre2:= + dev-libs/libunistring:= + dev-libs/openssl:= + alsa? ( media-libs/alsa-lib ) + avahi? ( net-dns/avahi ) + flac? ( media-libs/flac:= ) + gmp? ( dev-libs/gmp:= ) + gpg? ( app-crypt/gnupg ) + gstreamer? ( + media-libs/gst-plugins-base:1.0= + media-libs/gstreamer:1.0= + ) + java? ( + app-arch/zip + virtual/jdk:* + ) + libuv? ( dev-libs/libuv:= ) + mp3? ( media-sound/mpg123 ) + pulseaudio? ( media-libs/libpulse ) + sqlite? ( dev-db/sqlite:3= ) +" +RDEPEND=" + ${DEPEND} + ${EMACS_DEPEND} + sys-devel/binutils + dev-debug/gdb +" +BDEPEND=" + ${EMACS_DEPEND} + sys-apps/texinfo +" + +DOCS=( ChangeLog README.md TODO.org ) +SITEFILE="50${PN}-gentoo.el" + +PATCHES="${FILESDIR}/${P}-makefile.patch" + +src_prepare() { + default + + sed -e "/^ar=/s|=|=\"$(tc-getAR)\"|" \ + -e "/^ranlib=/s|=|=\"$(tc-getRANLIB)\"|" \ + -i ./configure \ + || die + + sed "s|^ar |$(tc-getAR) |" -i ./autoconf/ranlib || die +} + +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/858248 + # + # The code has various issues that make it look quite worrying to enable + # LTO, so I wouldn't risk it even if upstream fixes this one. Cannot even + # test compile the package due to bug #870481, bug #911667 + # + # It is also impossible to test from git if any of these are fixed, since + # you need a working version in order to compile from git. + filter-lto + + tc-export AR AS CC CPP CXX LD + export CFLAGS + export LDFLAGS + + local -a myconf=( + # Compilation + --as="$(tc-getAS)" + --cc="$(tc-getCC)" + --cflags="${CFLAGS}" + --cpicflags="-fPIC" + --cwarningflags="" + --ldflags="${LDFLAGS}" + --gclibdir=/usr/"$(get_libdir)" + # Installation directories + --prefix=/usr + --bindir=/usr/share/${PN}/bin + --docdir=/usr/share/doc/${PF} + --infodir=/usr/share/info + --libdir=/usr/"$(get_libdir)" + --mandir=/usr/share/man + # Custom internal components + --customgc=no + --customgmp=no + --customlibuv=no + --customunistring=no + --jvm=$(usex java) + --native=yes + --sharedbde=yes + --sharedcompiler=yes + --strip=no + # Libraries, Bigloo calls them APIs + --disable-phidget # not important for now, only in ::ros-overlay ? + --enable-calendar # iCalendar parser + --enable-crypto + --enable-csv # parsing CSV files + --enable-mail # IMAP protocol implementation + --enable-multimedia + --enable-packrat # packrat parser + --enable-phone + --enable-pkgcomp + --enable-pthread + --enable-srfi1 + --enable-srfi18 + --enable-ssl + --enable-text # BibTeX parser + --enable-upnp # Upnp protocol implementation + --enable-web # XML, CGI, and RSS parsers + $(use_enable alsa) + $(use_enable avahi) + $(use_enable flac wav) + $(use_enable flac) + $(use_enable gmp srfi27) + $(use_enable gmp) + $(use_enable gpg openpgp) + $(use_enable gstreamer) + $(use_enable libuv) + $(use_enable mp3 mpg123) + $(use_enable pulseaudio) + $(use_enable sqlite pkglib) + $(use_enable sqlite) + # GNU Emacs libraries + --bee=$(usex emacs full partial) + --emacs=$(usex emacs "${EMACS}" "no") + --lispdir=$(usex emacs "${SITELISP}/${PN}" "") + ) + ebegin "Configuring Bigloo with the following options: ${myconf[@]}" + sh ./configure "${myconf[@]}" + eend $? || die "configure script failed" + + # When Emacs version is too high (e.g. 28) bigloo will skip compiling + # and installing the Emacs support files. + # The file "bmacs/Makefile" lists all officially supported Emacs versions. + if use emacs ; then + sed "/^EMACSBRAND=/s|generic|emacs23|" -i Makefile.config || die + fi +} + +src_compile() { + emake -j1 + + emake -C bdl -j1 + emake -C bdb -j1 + emake -C cigloo -j1 + + use emacs && emake -C bmacs +} + +src_test() { + emake test +} + +src_install() { + emake DESTDIR="${D}" LN_S="ln -rs" install + emake DESTDIR="${D}" -C bdl install + emake DESTDIR="${D}" -C bdb install + emake DESTDIR="${D}" -C cigloo install + + # The ".sh" scripts set proper environment and library order for Bigloo, + # but programs (and the Bigloo Emacs library, "bee-mode") want "bigloo", + # not "bigloo.sh". To make programs work we install all executable files + # into "/usr/share/bigloo/bin", and then pick one by one for non-scripts: + # if a script with ".sh" extensions exists, then we link the script, + # not the picked executable to a binary name, otherwise link the binary. + mkdir -p "${D}"/usr/bin || die + pushd "${D}" >/dev/null || die + local bin bin_link + for bin in usr/share/${PN}/bin/* ; do + if [[ "${bin}" != *.sh ]] ; then + bin_link="usr/bin/$(basename "${bin}")" + + if [[ -f ${bin}.sh ]] ; then + ln -s ../../${bin}.sh "${bin_link}" || die + else + ln -s ../../${bin} "${bin_link}" || die + fi + fi + done + popd >/dev/null || die + + if use emacs ; then + emake DESTDIR="${D}" install-bee + + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + einstalldocs + + # Remove static libs, bug #890820, #891041 + find "${ED}" -name "*.a" -delete || die +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-scheme/bigloo/files/bigloo-4.5b-makefile.patch b/dev-scheme/bigloo/files/bigloo-4.5b-makefile.patch new file mode 100644 index 000000000000..a9604c76c77d --- /dev/null +++ b/dev-scheme/bigloo/files/bigloo-4.5b-makefile.patch @@ -0,0 +1,36 @@ +diff -ru a/bdb/Makefile b/bdb/Makefile +--- a/bdb/Makefile 2024-06-05 17:06:40.098823516 -0000 ++++ b/bdb/Makefile 2024-06-05 17:06:45.520796235 -0000 +@@ -23,9 +23,14 @@ + #*---------------------------------------------------------------------*/ + #* Booting bdb on a bare system */ + #*---------------------------------------------------------------------*/ +-boot: +- @ (cd blib; $(MAKE) all) +- @ (cd bdb; $(MAKE) MODE=final mode) ++boot: blip-boot bdb-boot ++ ++blip-boot: ++ @ $(MAKE) -C bdb MODE=final mode ++ ++bdb-boot: blip-boot ++ @ $(MAKE) -C blib all ++ + + #*---------------------------------------------------------------------*/ + #* Populating bdb */ +diff -ru a/bdb/blib/Makefile b/bdb/blib/Makefile +--- a/bdb/blib/Makefile 2024-06-05 17:06:40.100823506 -0000 ++++ b/bdb/blib/Makefile 2024-06-05 17:07:40.738518401 -0000 +@@ -80,9 +80,11 @@ + #* The implicit rules */ + #*---------------------------------------------------------------------*/ + objs/%.o: %.scm ++ mkdir -p $(CLASS_DIR) + $(BIGLOO) -no-hello $(BDBFLAGS) -copt $(CPICFLAGS) $< -o $@ -c + + objs/%.o: %.c ++ mkdir -p $(CLASS_DIR) + $(CC) $(CFLAGS) $(CPICFLAGS) -I. -I $(LIB) $< -o $@ -c + + $(CLASS_DIR)/%.class: %.scm -- cgit v1.2.3