diff options
| author | B. Wilson <elaexuotee@wilsonb.com> | 2024-07-04 00:47:11 +0900 |
|---|---|---|
| committer | Jelle Licht <jlicht@fsfe.org> | 2025-02-28 23:00:43 +0100 |
| commit | 45bde19b00bf10926598c05cef39a64a85625246 (patch) | |
| tree | d4b40e7b9830d17ae46834e085e9a066b5bb626c | |
| parent | 40b260e7dbc8ff3334e7bf170ee9bafb3f8aa3d7 (diff) | |
nongnu: dyalog-apl: Update to 19.0.50027.
* nongnu/packages/dyalog.scm (dyalog-apl): Update to 19.0.50027 and rename to
dyalog.
[inputs]: Add cairo, coreutils, eudev, gdk-pixbuf, libdrm, libxkbcommon,
mesa, pciutils, sed. Update dotnet, gtk+, icu4c, ncurses/tinfo.
[arguments]<#:phases>: Adjust for new inputs.
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
| -rw-r--r-- | nongnu/packages/dyalog.scm | 69 |
1 files changed, 50 insertions, 19 deletions
diff --git a/nongnu/packages/dyalog.scm b/nongnu/packages/dyalog.scm index 6ae8d2e..7cc5da1 100644 --- a/nongnu/packages/dyalog.scm +++ b/nongnu/packages/dyalog.scm | |||
| @@ -11,11 +11,15 @@ | |||
| 11 | #:use-module (gnu packages elf) | 11 | #:use-module (gnu packages elf) |
| 12 | #:use-module (gnu packages fontutils) | 12 | #:use-module (gnu packages fontutils) |
| 13 | #:use-module (gnu packages gcc) | 13 | #:use-module (gnu packages gcc) |
| 14 | #:use-module (gnu packages gl) | ||
| 14 | #:use-module (gnu packages glib) | 15 | #:use-module (gnu packages glib) |
| 15 | #:use-module (gnu packages gtk) | 16 | #:use-module (gnu packages gtk) |
| 16 | #:use-module (gnu packages icu4c) | 17 | #:use-module (gnu packages icu4c) |
| 17 | #:use-module (gnu packages linux) | 18 | #:use-module (gnu packages linux) |
| 19 | #:use-module (gnu packages ncurses) | ||
| 18 | #:use-module (gnu packages nss) | 20 | #:use-module (gnu packages nss) |
| 21 | #:use-module (gnu packages pciutils) | ||
| 22 | #:use-module (gnu packages xdisorg) | ||
| 19 | #:use-module (gnu packages xorg) | 23 | #:use-module (gnu packages xorg) |
| 20 | #:use-module (gnu packages xml) | 24 | #:use-module (gnu packages xml) |
| 21 | #:use-module (guix build utils) | 25 | #:use-module (guix build utils) |
| @@ -28,38 +32,41 @@ | |||
| 28 | #:use-module (ice-9 regex) | 32 | #:use-module (ice-9 regex) |
| 29 | #:use-module (ice-9 match) | 33 | #:use-module (ice-9 match) |
| 30 | #:use-module (nongnu packages dotnet) | 34 | #:use-module (nongnu packages dotnet) |
| 31 | #:use-module (nongnu packages ncurses) | ||
| 32 | #:use-module ((nonguix licenses) #:prefix license:)) | 35 | #:use-module ((nonguix licenses) #:prefix license:)) |
| 33 | 36 | ||
| 34 | (define-public dyalog-apl | 37 | (define-public dyalog |
| 35 | (package | 38 | (package |
| 36 | (name "dyalog-apl") | 39 | (name "dyalog") |
| 37 | (version "18.2.45405") | 40 | (version "19.0.50027") |
| 38 | (source | 41 | (source |
| 39 | (origin | 42 | (origin |
| 40 | (method url-fetch) | 43 | (method url-fetch) |
| 41 | (uri (string-append | 44 | (uri (string-append "https://www.dyalog.com/uploads/php/" |
| 42 | "https://www.dyalog.com/uploads/php/download.dyalog.com/" | 45 | "download.dyalog.com/download.php?file=19.0/linux_64_" version |
| 43 | "download.php?file=" (version-major+minor version) | 46 | "_unicode.x86_64.deb")) |
| 44 | "/linux_64_" version "_unicode.x86_64.deb")) | ||
| 45 | (sha256 | 47 | (sha256 |
| 46 | (base32 "0qx6z4n9p0dfrk0wwh66s8z8m91cq4inwan8w03gqqis60cxc3x4")))) | 48 | (base32 "1h18lq2fgq2fgj4zbq1nssi421xhw4r7pxlq06mdklgbc79pbq6y")))) |
| 47 | (build-system gnu-build-system) | 49 | (build-system gnu-build-system) |
| 48 | (outputs '("out" "fonts")) | 50 | (outputs '("out" "fonts")) |
| 49 | (inputs (list alsa-lib | 51 | (inputs (list alsa-lib |
| 50 | at-spi2-atk | 52 | at-spi2-atk |
| 51 | at-spi2-core | 53 | at-spi2-core |
| 52 | atk | 54 | atk |
| 55 | cairo | ||
| 56 | coreutils | ||
| 53 | cups | 57 | cups |
| 54 | dbus | 58 | dbus |
| 55 | dotnet-core-3.1 | 59 | dotnet |
| 56 | fontconfig | 60 | fontconfig |
| 61 | eudev | ||
| 57 | expat | 62 | expat |
| 58 | (list gcc "lib") | 63 | (list gcc "lib") |
| 64 | gdk-pixbuf | ||
| 59 | glib | 65 | glib |
| 60 | glibc | 66 | glibc |
| 61 | gtk+-2 | 67 | gtk+ |
| 62 | icu4c | 68 | icu4c-70 ; incompatible with 71 |
| 69 | libdrm | ||
| 63 | libx11 | 70 | libx11 |
| 64 | libxcb | 71 | libxcb |
| 65 | libxcomposite | 72 | libxcomposite |
| @@ -68,14 +75,18 @@ | |||
| 68 | libxext | 75 | libxext |
| 69 | libxfixes | 76 | libxfixes |
| 70 | libxi | 77 | libxi |
| 78 | libxkbcommon | ||
| 71 | libxrender | 79 | libxrender |
| 72 | libxscrnsaver | 80 | libxscrnsaver |
| 73 | libxtst | 81 | libxtst |
| 74 | libxrandr | 82 | libxrandr |
| 75 | ncurses/tinfo-5 | 83 | mesa |
| 84 | ncurses/tinfo | ||
| 76 | nspr | 85 | nspr |
| 77 | nss | 86 | nss |
| 78 | pango | 87 | pango |
| 88 | pciutils | ||
| 89 | sed | ||
| 79 | unixodbc)) | 90 | unixodbc)) |
| 80 | (native-inputs (list binutils bzip2 patchelf tar)) | 91 | (native-inputs (list binutils bzip2 patchelf tar)) |
| 81 | (arguments | 92 | (arguments |
| @@ -114,11 +125,11 @@ | |||
| 114 | (truetype (string-append fonts "/share/fonts/truetype")) | 125 | (truetype (string-append fonts "/share/fonts/truetype")) |
| 115 | (dotnet (assoc-ref inputs "dotnet")) | 126 | (dotnet (assoc-ref inputs "dotnet")) |
| 116 | (dotnet-root (string-append dotnet "/share/dotnet")) | 127 | (dotnet-root (string-append dotnet "/share/dotnet")) |
| 117 | (icu4c (assoc-ref inputs "icu4c")) | ||
| 118 | (icu4c-lib (string-append icu4c "/lib")) | ||
| 119 | (in (string-append "opt/mdyalog/" | 128 | (in (string-append "opt/mdyalog/" |
| 120 | ,(version-major+minor version) | 129 | ,(version-major+minor version) |
| 121 | "/64/unicode/"))) | 130 | "/64/unicode/")) |
| 131 | (subdir (lambda (dir) | ||
| 132 | (lambda (pkg) (string-append pkg dir))))) | ||
| 122 | (mkdir-p lib) | 133 | (mkdir-p lib) |
| 123 | (copy-recursively in lib) | 134 | (copy-recursively in lib) |
| 124 | (delete-file-recursively (string-append lib "/fonts")) | 135 | (delete-file-recursively (string-append lib "/fonts")) |
| @@ -134,7 +145,20 @@ | |||
| 134 | (string-append bin "/dyalogscript")) | 145 | (string-append bin "/dyalogscript")) |
| 135 | (wrap-program (string-append lib "/dyalog") | 146 | (wrap-program (string-append lib "/dyalog") |
| 136 | `("DOTNET_ROOT" = (,dotnet-root)) | 147 | `("DOTNET_ROOT" = (,dotnet-root)) |
| 137 | `("LD_LIBRARY_PATH" ":" suffix (,icu4c-lib))) | 148 | `("LD_LIBRARY_PATH" ":" suffix |
| 149 | (,@(map (subdir "/lib") | ||
| 150 | (list (assoc-ref inputs "eudev") | ||
| 151 | (assoc-ref inputs "gdk-pixbuf") | ||
| 152 | (assoc-ref inputs "gtk+") | ||
| 153 | (assoc-ref inputs "icu4c") | ||
| 154 | (assoc-ref inputs "ncurses-with-tinfo") | ||
| 155 | (assoc-ref inputs "libx11") | ||
| 156 | (assoc-ref inputs "mesa") | ||
| 157 | (assoc-ref inputs "pciutils")))))) | ||
| 158 | (wrap-program (string-append lib "/mapl") | ||
| 159 | `("PATH" = (,@(map (subdir "/bin") | ||
| 160 | (list (assoc-ref inputs "coreutils") | ||
| 161 | (assoc-ref inputs "sed")))))) | ||
| 138 | #t))) | 162 | #t))) |
| 139 | (add-after 'install 'patch-elf-files | 163 | (add-after 'install 'patch-elf-files |
| 140 | (lambda* (#:key inputs outputs #:allow-other-keys) | 164 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| @@ -142,7 +166,7 @@ | |||
| 142 | (lib (string-append out "/lib/dyalog")) | 166 | (lib (string-append out "/lib/dyalog")) |
| 143 | (glibc (assoc-ref inputs "glibc")) | 167 | (glibc (assoc-ref inputs "glibc")) |
| 144 | (ld.so (string-append glibc ,(glibc-dynamic-linker))) | 168 | (ld.so (string-append glibc ,(glibc-dynamic-linker))) |
| 145 | (rpath (pk (string-join | 169 | (rpath (string-join |
| 146 | (cons* lib | 170 | (cons* lib |
| 147 | (string-append lib "/lib") | 171 | (string-append lib "/lib") |
| 148 | (string-append (assoc-ref inputs "nss") | 172 | (string-append (assoc-ref inputs "nss") |
| @@ -154,6 +178,7 @@ | |||
| 154 | "at-spi2-atk" | 178 | "at-spi2-atk" |
| 155 | "at-spi2-core" | 179 | "at-spi2-core" |
| 156 | "atk" | 180 | "atk" |
| 181 | "cairo" | ||
| 157 | "cups" | 182 | "cups" |
| 158 | "dbus" | 183 | "dbus" |
| 159 | "expat" | 184 | "expat" |
| @@ -162,6 +187,7 @@ | |||
| 162 | "glib" | 187 | "glib" |
| 163 | "glibc" | 188 | "glibc" |
| 164 | "gtk+" | 189 | "gtk+" |
| 190 | "libdrm" | ||
| 165 | "libx11" | 191 | "libx11" |
| 166 | "libxcb" | 192 | "libxcb" |
| 167 | "libxcomposite" | 193 | "libxcomposite" |
| @@ -170,15 +196,17 @@ | |||
| 170 | "libxext" | 196 | "libxext" |
| 171 | "libxfixes" | 197 | "libxfixes" |
| 172 | "libxi" | 198 | "libxi" |
| 199 | "libxkbcommon" | ||
| 173 | "libxrender" | 200 | "libxrender" |
| 174 | "libxscrnsaver" | 201 | "libxscrnsaver" |
| 175 | "libxtst" | 202 | "libxtst" |
| 176 | "libxrandr" | 203 | "libxrandr" |
| 204 | "mesa" | ||
| 177 | "ncurses-with-tinfo" | 205 | "ncurses-with-tinfo" |
| 178 | "nspr" | 206 | "nspr" |
| 179 | "pango" | 207 | "pango" |
| 180 | "unixodbc"))) | 208 | "unixodbc"))) |
| 181 | ":"))) | 209 | ":")) |
| 182 | (elf-file?* (lambda (file stat) (elf-file? file)))) | 210 | (elf-file?* (lambda (file stat) (elf-file? file)))) |
| 183 | 211 | ||
| 184 | (define* (file-segments file #:key type) | 212 | (define* (file-segments file #:key type) |
| @@ -220,3 +248,6 @@ APL in the wild. The interpreter boasts world-class performance benchmarks, | |||
| 220 | excellent tooling integration, and support for modern APL features.") | 248 | excellent tooling integration, and support for modern APL features.") |
| 221 | (license (license:nonfree | 249 | (license (license:nonfree |
| 222 | "https://www.dyalog.com/prices-and-licences.htm")))) | 250 | "https://www.dyalog.com/prices-and-licences.htm")))) |
| 251 | |||
| 252 | (define-public dyalog-apl | ||
| 253 | (deprecated-package "dyalog-apl" dyalog)) | ||
