summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastorperez@gmail.com>2026-04-01 09:51:22 +0200
committerLudovic Courtès <ludo@gnu.org>2026-04-07 13:26:20 +0200
commit4ac798a2844b55ba1dca2d7986ea3f31a3a7e497 (patch)
tree8c11acb011a9c517c3e48beb556d22a200bb4701 /gnu
parentd41a383ef2197dcfc42a71dac6ec787ee6e965d0 (diff)
gnu: apl: Update to 2.0.1.
* 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 <ludo@gnu.org> Merges: #7597
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/apl.scm34
1 files 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