From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF91C15808A for ; Wed, 06 Aug 2025 13:21:17 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9B739342048 for ; Wed, 06 Aug 2025 13:21:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 957ED1104A0; Wed, 06 Aug 2025 13:21:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 88B311104A0 for ; Wed, 06 Aug 2025 13:21:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A3B2342046 for ; Wed, 06 Aug 2025 13:21:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D07DC322F for ; Wed, 06 Aug 2025 13:21:14 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1754486459.184b948cd08472ebcddfef19519aa55d55d2df38.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/maxima/Manifest sci-mathematics/maxima/maxima-5.48.0.ebuild X-VCS-Directories: sci-mathematics/maxima/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 184b948cd08472ebcddfef19519aa55d55d2df38 X-VCS-Branch: master Date: Wed, 06 Aug 2025 13:21:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e1bfce5-0a40-4f75-8561-e06d2c41b406 X-Archives-Hash: 687d98578dbf7e95513b1fa52b7acf73 commit: 184b948cd08472ebcddfef19519aa55d55d2df38 Author: Andrey Grozin gentoo org> AuthorDate: Wed Aug 6 13:20:59 2025 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Aug 6 13:20:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184b948c sci-mathematics/maxima: remove old version Signed-off-by: Andrey Grozin gentoo.org> sci-mathematics/maxima/Manifest | 1 - sci-mathematics/maxima/maxima-5.48.0.ebuild | 233 ---------------------------- 2 files changed, 234 deletions(-) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index 644aef686a06..c9adde1cddba 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -1,3 +1,2 @@ DIST maxima-5.47.0.tar.gz 47939891 BLAKE2B 46f97c81ff8fd227d04759103ac683c034820e29b7ecd78ad76e3a43a8911d29d1a20007fe4ccb37da88eaa3888d71c8b98a55bc4e692cf72b154391e91a4533 SHA512 953b98336eb086069edaa917981372450ce165dedd7a7b39b181d3f2d8b089551eea943e0084148eaa3ded395dcba9135509d3d11d9132ab7a3ad8bb800d3a11 -DIST maxima-5.48.0.tar.gz 53969887 BLAKE2B 25415be6c65f93a83e22a71445c5e3ca8fd824445a7fda099ecec0a7c20010ae891a5f74fc69d704990260286dde2473a50c0890331b38cd02f5b3c3dadb5606 SHA512 cbb31d18327936f797a821a3c6909877453e07c5642fbf1ba1ab75b253db2089e472714f30e2a4e6ef4ca4bdebd439a5d556be8150604e8ab0a8647603e1971e DIST maxima-5.48.1.tar.gz 46150379 BLAKE2B 9fe39e7a8769fe2eba14615ff5805c3d180118e9be97c4910e7c569916e44932aa05c785841ab97564d0a0a080b287fb092ef3ecfbba169a3c3f374496facada SHA512 d7fbcee59d7204e8a6bc0deeaa94f9cfd7cf22ae9e63c07769ddaade253c3403b8158d80258edf44a4b25993ebcbcae48b6d8e34def028e1df40fdb1b9ee3f8d diff --git a/sci-mathematics/maxima/maxima-5.48.0.ebuild b/sci-mathematics/maxima/maxima-5.48.0.ebuild deleted file mode 100644 index 93240ddb79b0..000000000000 --- a/sci-mathematics/maxima/maxima-5.48.0.ebuild +++ /dev/null @@ -1,233 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils - -DESCRIPTION="Free computer algebra environment based on Macsyma" -HOMEPAGE="http://maxima.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -# Licensing is a mess. COPYING is GPL-2. A few files such as -# src/numth.lisp explicitly mention GPL-2 without the "or later version" -# bit. Others such as src/airy.lisp have the "or later version." Both -# src/maxmin.lisp and src/nummod.lisp declare the LLGPL; in fact they -# say LLGPL version 2 or later which I have approximated by LLGPL-2.1. -LICENSE="GPL-2 GPL-2+ LLGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux" - -IUSE="clisp clozurecl clozurecl64 cmucl ecl emacs gcl gui nls +sbcl vtk X test" -RESTRICT="test" # bug 838202 - -# Languages -LANGS="de es pt pt_BR" -for lang in ${LANGS}; do - IUSE="${IUSE} l10n_${lang/_/-}" -done - -LISP_DEPEND=" - clisp? ( dev-lisp/clisp:= ) - clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap ) - clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap ) - cmucl? ( dev-lisp/cmucl app-misc/rlwrap ) - ecl? ( dev-lisp/ecl:= app-misc/rlwrap ) - gcl? ( >=dev-lisp/gcl-2.6.14[ansi,readline] ) - sbcl? ( dev-lisp/sbcl:= app-misc/rlwrap ) -" - -# LISP_DEPEND is included in both BDEPEND and DEPEND because the various -# lisp engines are used to both compile and run maxima. It's possible -# that they don't (all?) need to be listed in DEPEND; who knows. -BDEPEND=" - ${LISP_DEPEND} - test? ( sci-visualization/gnuplot ) - sys-apps/texinfo -" - -DEPEND=" - ${LISP_DEPEND} - virtual/libcrypt:= - emacs? ( >=app-editors/emacs-26:* ) - gui? ( dev-lang/tk:0 ) -" - -# texlive-latexrecommended needed by imaxima for breqn.sty -# -# VTK is an optional plotting backend that can be enabled by -# running "draw_renderer: 'vtk;" within maxima. -# -# It's NON-optional for the scene() command, but that command is -# currently useless since Tcl/Tk support was dropped in sci-libs/vtk. -# Thus we include VTK only as an optional dependency. -# -# We require app-misc/rlwrap for any lisps that don't support readline -# themselves. -RDEPEND=" - ${DEPEND} - X? ( - x11-misc/xdg-utils - sci-visualization/gnuplot[gd] - vtk? ( - ${PYTHON_DEPS} - sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}] - ) - ) - emacs? ( - virtual/latex-base - app-emacs/auctex - app-text/ghostscript-gpl - dev-texlive/texlive-latexrecommended - )" - -# Maxima can make use of X features like plotting (and launching a PNG -# viewer) from the console, but you can't use the xmaxima GUI without X. -REQUIRED_USE=" - vtk? ( ${PYTHON_REQUIRED_USE} ) - || ( clisp clozurecl clozurecl64 cmucl ecl gcl sbcl ) - gui? ( X )" - -TEXMF="${EPREFIX}"/usr/share/texmf-site - -pkg_setup() { - # Set the PYTHON variable to whatever it should be. - use vtk && python-single-r1_pkg_setup -} - -PATCHES=( - "${FILESDIR}/imaxima-0.patch" - "${FILESDIR}/xdg-utils-1.patch" - "${FILESDIR}/wish-2.patch" - "${FILESDIR}/rmaxima-0.patch" - "${FILESDIR}/emacs-0.patch" - "${FILESDIR}/clisp-1.patch" - "${FILESDIR}/clozurecl-3.patch" - "${FILESDIR}/cmucl-1.patch" - "${FILESDIR}/sbcl-2.patch" -) - -src_prepare() { - default - - # bug #343331 - rm share/Makefile.in || die - rm src/Makefile.in || die - touch src/*.mk - touch src/Makefile.am - - eautoreconf -} - -src_configure() { - local CONFS="" - - # enable existing translated doc - if use nls; then - for lang in ${LANGS}; do - if use "l10n_${lang/_/-}"; then - CONFS="${CONFS} --enable-lang-${lang}" - fi - done - fi - - # Using raw-ldflags fixes the error, - # - # x86_64-pc-linux-gnu/bin/ld: fatal error: -O1 -Wl: invalid option - # value (expected an integer): 1 -Wl - # - # when building the maxima.fas library for ECL. See upstream bugs: - # - # * https://sourceforge.net/p/maxima/bugs/3759/ - # * https://gitlab.com/embeddable-common-lisp/ecl/-/issues/636 - # - # The 32-bit and 64-bit version of the clozurecl executable - # are both called "ccl" on Gentoo, so we need the additional - # use_with for clozurecl64. See bugs 665364 and 715278.... - # - # The usex works around https://sourceforge.net/p/maxima/bugs/3757/ - # - econf ${CONFS} \ - LDFLAGS="$(raw-ldflags)" \ - $(use_enable clisp) \ - $(use_enable clozurecl ccl) \ - $(use_enable clozurecl64 ccl64) \ - $(usex clozurecl64 "--with-ccl64=ccl" "") \ - $(use_enable cmucl) \ - $(use_enable ecl) \ - $(use_enable emacs) \ - $(use_enable gcl) \ - $(use_with gui wish) \ - $(use_enable sbcl) \ - --with-lispdir="${EPREFIX}/${SITELISP}/${PN}" -} - -src_compile() { - emake - if use emacs; then - pushd interfaces/emacs/emaxima > /dev/null - elisp-compile *.el - popd > /dev/null - pushd interfaces/emacs/imaxima > /dev/null - BYTECOMPFLAGS="-L . -L ../emaxima" - elisp-compile *.el - popd > /dev/null - fi -} - -src_install() { - docompress -x /usr/share/info - emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install - - # do not use dodoc because interfaces can't read compressed files - # read COPYING before attempt to remove it from dodoc - insinto /usr/share/${PN}/${PV}/doc - doins AUTHORS COPYING README README-lisps.md - dodir /usr/share/doc - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} - - if use emacs; then - elisp-install ${PN} interfaces/emacs/{emaxima,imaxima}/*.{el,elc,lisp} - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-1.el - - rm "${ED}"/${SITELISP}/${PN}/emaxima.sty || die - insinto ${TEXMF}/tex/latex/emaxima - doins interfaces/emacs/emaxima/emaxima.sty - - insinto /usr/share/${PN}/${PV}/doc/imaxima - doins interfaces/emacs/imaxima/README - doins -r interfaces/emacs/imaxima/imath-example - - if ! use gcl; then - # This emacs package is used to run gcl, maxima, gdb, etc. - # all at once and possibly in the same buffer. As such, it's - # no use without gcl (more to the point: it requires gcl.el). - find "${ED}" -name 'dbl.el' -type f -delete || die - fi - fi - - if use ecl; then - # Use ECL to find the path where it expects to load packages from. - ECLLIB=$(ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)") - insinto "${ECLLIB#${EPREFIX}}" - doins src/binary-ecl/maxima.fas - fi -} - -pkg_postinst() { - xdg_mimeinfo_database_update - if use emacs; then - elisp-site-regen - mktexlsr - fi -} - -pkg_postrm() { - xdg_mimeinfo_database_update - if use emacs; then - elisp-site-regen - mktexlsr - fi -}