From 4ac798a2844b55ba1dca2d7986ea3f31a3a7e497 Mon Sep 17 00:00:00 2001 From: Sergio Pastor Pérez Date: Wed, 1 Apr 2026 09:51:22 +0200 Subject: gnu: apl: Update to 2.0.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/apl.scm (apl): Update to 2.0.1. [native-inputs]: Add `gettext-minimal', `which', `pkg-config'. [inputs]: Add `libxcb', `fftw', `gsl', `libpng', `gtk+'. [phases]: Adjust `fix-configure'. Change-Id: Ieaa907099a4f328f9bf3bf197cda8d6f6a3b165a Signed-off-by: Ludovic Courtès Merges: #7597 --- gnu/packages/apl.scm | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/gnu/packages/apl.scm b/gnu/packages/apl.scm index 3312ce2fb5d..2b2a0979294 100644 --- a/gnu/packages/apl.scm +++ b/gnu/packages/apl.scm @@ -30,20 +30,26 @@ #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) + #:use-module (gnu packages algebra) + #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages gettext) + #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages java) #:use-module (gnu packages maths) #:use-module (gnu packages pcre) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages readline) - #:use-module (gnu packages sqlite)) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages xorg)) (define-public apl - (let ((revision 1550)) + (let ((revision 1977)) (package (name "apl") - (version (string-append "1.8-r" (number->string revision))) + (version (string-append "2.0.1-r" (number->string revision))) (source (origin (method svn-fetch) @@ -52,12 +58,18 @@ (revision revision))) (file-name (git-file-name name version)) (sha256 - (base32 "1bgc3a09f35zrqq2irhm1hspppnxjqas0fmcw14hkc7910br9ip3")))) + (base32 "1llm1hqpfd71jrhd4pizhmvvca5wr18v8zqfajwmvjjxcmzfkvv1")))) (build-system gnu-build-system) (home-page "https://www.gnu.org/software/apl/") + (native-inputs (list gettext-minimal which pkg-config)) (inputs (list gettext-minimal + libxcb + fftw openblas + gsl + libpng + gtk+ pcre2 readline sqlite)) @@ -69,15 +81,11 @@ #~(modify-phases %standard-phases (add-before 'configure 'fix-configure (lambda _ - (substitute* "buildtag.sh" - ;; Don't exit on failed SVN-related calls. - (("^ +return 0\n") "") - ;; Manually set the SVN revision, since the directory is - ;; unversioned and we know it anyway. - (("^SVNINFO=.*") - (string-append "SVNINFO=" #$(number->string revision) "\n")) - ;; Requires running ‘svn info’ on a versioned directory. - (("\\\\\"\\$ARCHIVE_SVNINFO\\\\\"") "\\\"\\\""))))))) + (substitute* "configure" + ;; Manually set the SVN revision, since the directory + ;; is unversioned and we know it anyway. + (("\\$apl_ARCHIVE_SVNINFO") + #$(number->string revision)))))))) (synopsis "APL interpreter") (description "GNU APL is a free interpreter for the programming language APL. It is -- cgit v1.3