commit: 939095be65698ae2b6a1acebac5b3896bc77ddc6 Author: Jan Smutný <js <AT> excello <DOT> cz> AuthorDate: Sun Nov 30 18:31:39 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 24 11:46:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939095be
dev-lang/erlang: add 26.2.5.16 replace 26.2.5.14 and 26.2.5.15 with latest 26.2.5.16 Signed-off-by: Jan Smutný <js <AT> excello.cz> Part-of: https://github.com/gentoo/gentoo/pull/44834 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/erlang/Manifest | 3 +- dev-lang/erlang/erlang-26.2.5.15.ebuild | 186 --------------------- ...ng-26.2.5.14.ebuild => erlang-26.2.5.16.ebuild} | 0 3 files changed, 1 insertion(+), 188 deletions(-) diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest index ebf7704ac91a..d158165ef708 100644 --- a/dev-lang/erlang/Manifest +++ b/dev-lang/erlang/Manifest @@ -1,6 +1,5 @@ DIST erlang-26.2.1.tar.gz 62435848 BLAKE2B 4e257c73de868b5bbd213a66ece60f29e5231845c5f40b17876b8f042c20ba89bced920ffdbb2a44b890b920d8a147b0a0cb4a2bce66a51e49b720ee794c06c9 SHA512 f4fa0d11ecbd99ca5ef4421abb78ef2aba8ea0f8d19e4aed991c2afcc42bb057a37ae34a416b050fd7ed8ca39ba7cc8b3619ff371bc09f56dfd5b523988a8f8c -DIST erlang-26.2.5.14.tar.gz 62564783 BLAKE2B 815d3e46f906905df4ccc1f0149d5de84f5de46f95226fc818e0acae88ce668bbde2cd8cf8dd62abdff5d7a805f848ee424ab789f7166efbd30690bf481a62bd SHA512 49ab187d657efd45304685b2117aa8f9adc07a41864e13c1bb5c3b3893fcda4b5d3895bfe91a3dbcd5c3372f49b3aad9f4dafa6511755e6cab595ddd87c748cb -DIST erlang-26.2.5.15.tar.gz 62568686 BLAKE2B cb24e0351b4084e26a2ffe6cecfe39443bb2b69ecb966a9c7a4bbf5775f22d57e2e71665ac09cff3a037c1e555c52db626268860eedef93671cd445075d7f72f SHA512 e8ba73f8e742d94e7c9180ecaca5871cab5b871f22a1357d9c50ac36e99f6e448c7d8bf93c1083b7210de688b4dbd8ecbab34e314f7732ab94ea78cde4ba6ae4 +DIST erlang-26.2.5.16.tar.gz 62573173 BLAKE2B 579036c955f43e88e023d7a8a292532730b6e6a57844c736cc8596d2f2936228138ddc15d2f715040f1f5e7218f75a7c5c9133346fdaa5a5bf5511c9aad49932 SHA512 4e973be7e8ccad196d59759108a521535b0f046268eb0406f789a50f411fa27c9c11fcfb61a7218605bf1b32921bb52c52fc7c99917e1acfc0d3ed09437129b2 DIST erlang-27.3.4.2.tar.gz 62281603 BLAKE2B 37bd3aaf4b2bd53509acfb57c156dc0c0c33c9f1f108aac06863ba7aa6c7eb49b21b5d4bad5b9f3cee863c286cbdb2bab7df0b9e6567f420df9e41538265bdc0 SHA512 5f2f55bd4a6ec1ea5193beca3c44afcd61e1c674077f2887492efb61c0dd258be07e3f7415bed2395a3e2e3b6fe2303c0b7e532eaa93bef79af0a44ee818fd66 DIST erlang-27.3.4.3.tar.gz 62289110 BLAKE2B 11b90a2fd82bc01b3b84150d4a8826b655d0d1e258729ea1b289deed3bf255f7f5eac8da1f2e820cdeba435745e65f5e93670b99c99f3f4da933008b3d8da77d SHA512 3292e7d386b80693debd99d89bf7daa491b69f471514518b08b18d7fc9846986eb5f0bf8d182b842ae65035a294c12e873431241252f59e243d06bd06579e3a4 DIST erlang-28.0.2.tar.gz 63871146 BLAKE2B f95cc92efd81dd3cb8e2e91b975db7ab45e42d6efc5e241317ed5a74625a209a77398f04a031c9e8cb1d21b7456606d3f6bff720a541927d338bd79cc8c283eb SHA512 48c74dd47091f86aee5b8aa453e0e610c0c8be23da43a49f30caad76fa6d8ed3e2a4744e8895669c0884162cafb355c497f23438e28bc36d2ea79b2c39b45cc2 diff --git a/dev-lang/erlang/erlang-26.2.5.15.ebuild b/dev-lang/erlang/erlang-26.2.5.15.ebuild deleted file mode 100644 index dad1d56300ad..000000000000 --- a/dev-lang/erlang/erlang-26.2.5.15.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -WX_GTK_VER="3.2-gtk3" - -inherit autotools elisp-common flag-o-matic java-pkg-opt-2 systemd toolchain-funcs wxwidgets - -UPSTREAM_V="$(ver_cut 1-2)" - -DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)" -HOMEPAGE="https://www.erlang.org/" -SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz - https://github.com/erlang/otp/releases/download/OTP-${UPSTREAM_V}/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz - doc? ( https://github.com/erlang/otp/releases/download/OTP-${UPSTREAM_V}/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )" - -LICENSE="Apache-2.0" -# We use this subslot because Compiled HiPE Code can be loaded on the exact -# same build of ERTS that was used when compiling the code. See -# http://erlang.org/doc/system_principles/misc.html for more information. -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos ~x64-solaris" -IUSE="doc emacs java +kpoll odbc sctp ssl systemd tk wxwidgets" - -RDEPEND=" - acct-group/epmd - acct-user/epmd - sys-libs/ncurses:0 - virtual/zlib:= - emacs? ( >=app-editors/emacs-23.1:* ) - java? ( >=virtual/jdk-1.8:* ) - odbc? ( dev-db/unixODBC ) - sctp? ( net-misc/lksctp-tools ) - ssl? ( >=dev-libs/openssl-0.9.7d:0= ) - systemd? ( sys-apps/systemd ) - wxwidgets? ( - dev-libs/glib:2 - x11-libs/wxGTK:${WX_GTK_VER}=[X,opengl] - ) -" -DEPEND="${RDEPEND} - dev-lang/perl -" - -S="${WORKDIR}/otp-OTP-${PV}" - -PATCHES=( - "${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch - "${FILESDIR}"/${PN}-24.0.2-serial-configure.patch - "${FILESDIR}"/${PN}-26.2.4-test-errorinfo.patch -) - -SITEFILE=50"${PN}"-gentoo.el - -src_prepare() { - default - - tc-export AR CPP CXX LD - - # bug #797886: erlang's VM does unsafe casts for ints - # to pointers and back. This breaks on gcc-11 -flto. - append-flags -fno-strict-aliasing - - # Ensure that we use erl_interface's libei.a, and not the system - # libei.so from dev-libs/libei. Bug #912888. - sed -i 's/-lei$/-l:libei.a/' \ - "${S}"/lib/odbc/c_src/Makefile.in || die - (cd "${S}"/lib/odbc && - eautoconf -B "${S}"/make/autoconf && - eautoheader -B "${S}"/make/autoconf) || die -} - -src_configure() { - use wxwidgets && setup-wxwidgets - - local myconf=( - --disable-builtin-zlib - - # don't search for static zlib - --with-ssl-zlib=no - - $(use_enable kpoll kernel-poll) - $(use_with java javac) - $(use_with odbc) - $(use_enable sctp) - $(use_with ssl ssl="${EPREFIX}"/usr) - $(use_enable ssl dynamic-ssl-lib) - $(use_enable systemd) - $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null") - ) - econf "${myconf[@]}" -} - -src_compile() { - emake - - if use doc ; then - emake docs DOC_TARGETS=chunks - fi - - if use emacs ; then - pushd lib/tools/emacs &>/dev/null || die - elisp-compile *.el - popd &>/dev/null || die - fi -} - -extract_version() { - local path="$1" - local var_name="$2" - sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed" -} - -src_install() { - local erl_libdir_rel="$(get_libdir)/erlang" - local erl_libdir="/usr/${erl_libdir_rel}" - local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)" - local erl_erts_ver="$(extract_version erts VSN)" - local my_manpath="/usr/share/${PN}/man" - - [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version" - [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version" - - emake INSTALL_PREFIX="${D}" install - - if use doc ; then - emake INSTALL_PREFIX="${D}" install-docs DOC_TARGETS=chunks - - # Note: we explicitly install docs into: - # /usr/share/doc/${PF}/{doc,lib,erts-*} - # To maintain that layout we gather everything in 'html-docs'. - # See bug #684376. - mkdir html-docs || die - mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die - local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. ) - docompress -x /usr/share/doc/${PF} - else - local DOCS=("README.md") - fi - - einstalldocs - - dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl - dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc - dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript - dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call - dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp - - ## Clean up the no longer needed files - rm "${ED}/${erl_libdir}/Install" || die - - # Bug #922743 - docompress "${my_manpath}" - - insinto "${my_manpath}" - doins -r "${WORKDIR}"/man/* - # extend MANPATH, so the normal man command can find it - # see bug 189639 - newenvd - "90erlang" <<-_EOF_ - MANPATH="${my_manpath}" - _EOF_ - - if use emacs ; then - elisp-install erlang lib/tools/emacs/*.{el,elc} - sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \ - "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die - elisp-site-file-install "${T}/${SITEFILE}" - fi - - newinitd "${FILESDIR}"/epmd.init-r3 epmd - use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service -} - -src_test() { - # Only run a subset of tests to test that everything was built - # successfully, otherwise we will be here for a long time. - emake kernel_test ARGS="-suite os_SUITE" -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-lang/erlang/erlang-26.2.5.14.ebuild b/dev-lang/erlang/erlang-26.2.5.16.ebuild similarity index 100% rename from dev-lang/erlang/erlang-26.2.5.14.ebuild rename to dev-lang/erlang/erlang-26.2.5.16.ebuild
