aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java-maths.scm
blob: 55b8a35e7521d1f81cf15824b085c5eb39d97a6c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages java-maths)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages gcc)
  #:use-module (gnu packages java)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages ruby))

(define-public java-jblas
  (package
    (name "java-jblas")
    (version "1.2.4")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/mikiobraun/jblas")
                    (commit (string-append "jblas-" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0afh48hq8i8li5z11x415c8slwsfrlib0w1xjfbg186mximqvv3g"))))
    (build-system gnu-build-system)
    (arguments
     `(#:tests? #f                      ; there are none
       #:configure-flags
       (list (string-append "--libpath="
                            (assoc-ref %build-inputs "openblas")
                            "/lib")
             "--build-type=openblas")
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'make-writable
           (lambda _
             (map make-file-writable
                  (find-files "." ".*"))
             #t))
         (add-before 'build 'setenv-JAVA_HOME
           (lambda* (#:key inputs #:allow-other-keys)
             (setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
             #t))
         (add-after 'build 'build-jar
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (setenv "M2_HOME" (assoc-ref outputs "out"))
             (invoke "ant" "jar" (string-append "-Dversion=" ,version))))
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((target (string-append (assoc-ref outputs "out")
                                          "/share/java")))
               (mkdir-p target)
               (install-file (string-append "jblas-" ,version ".jar") target))
             #t)))))
    (inputs
     (list openblas))
    (native-inputs
     `(("ant" ,ant)
       ("ruby" ,ruby)                   ; for configure script
       ("gfortran" ,gfortran)
       ("jdk" ,icedtea "jdk")))
    (home-page "http://jblas.org")
    (synopsis "Linear algebra for Java")
    (description
     "jblas is a fast linear algebra library for Java.  jblas is based on BLAS
and LAPACK, the de-facto industry standard for matrix computations, and uses
state-of-the-art implementations for all its computational routines, making
jBLAS very fast.")
    (license license:bsd-3)))
pdate to 23.04.3....* gnu/packages/kde-games.scm (ksirk): Update to 23.04.3. 宋文武 2023-08-03gnu: granatier: Update to 23.04.3....* gnu/packages/kde-games.scm (granatier): Update to 23.04.3. 宋文武 2023-08-03gnu: bomber: Update to 23.04.3....* gnu/packages/kde-games.scm (bomber): Update to 23.04.3. 宋文武 2023-08-03gnu: knetwalk: Update to 23.04.3....* gnu/packages/kde-games.scm (knetwalk): Update to 23.04.3. 宋文武 2023-08-03gnu: kblackbox: Update to 23.04.3....* gnu/packages/kde-games.scm (kblackbox): Update to 23.04.3. 宋文武 2023-08-03gnu: kfourinline: Update to 23.04.3....* gnu/packages/kde-games.scm (kfourinline): Update to 23.04.3. 宋文武 2023-08-03gnu: kdiamond: Update to 23.04.3....* gnu/packages/kde-games.scm (kdiamond): Update to 23.04.3. 宋文武 2023-08-03gnu: kgoldrunner: Update to 23.04.3....* gnu/packages/kde-games.scm (kgoldrunner): Update to 23.04.3. 宋文武 2023-08-03gnu: klines: Update to 23.04.3....* gnu/packages/kde-games.scm (klines): Update to 23.04.3. 宋文武 2023-08-03gnu: ksudoku: Update to 23.04.3....* gnu/packages/kde-games.scm (ksudoku): Update to 23.04.3. 宋文武 2023-08-03gnu: kblocks: Update to 23.04.3....* gnu/packages/kde-games.scm (kblocks): Update to 23.04.3. 宋文武 2023-08-03gnu: kbounce: Update to 23.04.3....* gnu/packages/kde-games.scm (kbounce): Update to 23.04.3. 宋文武 2023-08-03gnu: konquest: Update to 23.04.3....* gnu/packages/kde-games.scm (konquest): Update to 23.04.3. 宋文武 2023-08-03gnu: kmines: Update to 23.04.3....* gnu/packages/kde-games.scm (kmines): Update to 23.04.3. 宋文武 2023-08-03gnu: kbreakout: Update to 23.04.3....* gnu/packages/kde-games.scm (kbreakout): Update to 23.04.3. 宋文武 2023-08-03gnu: kajongg: Update to 23.04.3....* gnu/packages/kde-games.scm (kajongg): Update to 23.04.3. 宋文武 2023-08-03gnu: kshisen: Update to 23.04.3....* gnu/packages/kde-games.scm (kshisen): Update to 23.04.3. 宋文武 2023-08-03gnu: kmahjongg: Update to 23.04.3....* gnu/packages/kde-games.scm (kmahjongg): Update to 23.04.3. 宋文武 2023-08-03gnu: libkmahjongg: Update to 23.04.3....* gnu/packages/kde-games.scm (libkmahjongg): Update to 23.04.3. 宋文武 2023-08-03gnu: kolf: Update to 23.04.3....* gnu/packages/kde-games.scm (kolf): Update to 23.04.3. 宋文武 2023-08-03gnu: picmi: Update to 23.04.3....* gnu/packages/kde-games.scm (picmi): Update to 23.04.3. 宋文武 2023-08-03gnu: ktuberling: Update to 23.04.3....* gnu/packages/kde-games.scm (ktuberling): Update to 23.04.3. 宋文武 2023-02-17gnu: Make nothing depend on QtWebKit....This is required for <https://issues.guix.gnu.org/53289>. * gnu/packages/qt.scm (python-pyqt)[inputs]: Remove qtwebkit. (python-pyqt-without-qtwebkit): Remove variable. (python-pyqtwebengine)[inputs]: Replace python-pyqt-without-qtwebkit with python-pyqt. * gnu/packages/backup.scm (vorta)[inputs]: Likewise. * gnu/packages/ebook.scm (calibre)[inputs]: Likewise. [arguments]: Adjust accordingly. * gnu/packages/education.scm (anki)[inputs]: Replace python-pyqt-without-qtwebkit with python-pyqt. * gnu/packages/kde-games.scm (kajongg)[inputs]: Likewise. * gnu/packages/maths.scm (veusz)[inputs]: Likewise. * gnu/packages/music.scm (frescobaldi)[inputs]: Likewise. (picard)[inputs]: Likewise. * gnu/packages/orange.scm (orange)[inputs]: Likewise. * gnu/packages/pdf.scm (flyer-composer)[inputs]: Likewise. * gnu/packages/python-check.scm (python-pytest-qt)[propagated-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-qtconsole)[propagated-inputs]: Likewise. (python-pyqtgraph)[propagated-inputs]: Likewise. * gnu/packages/radio.scm (gnuradio)[inputs]: Likewise. * gnu/packages/video.scm (openshot)[inputs]: Likewise. * gnu/packages/vpn.scm (openconnect-sso)[inputs]: Likewise. * gnu/packages/web-browsers.scm (qutebrowser)[inputs]: Likewise. Leo Famulari 2023-01-03gnu: kajongg: Add missing input....* gnu/packages/kde-games.scm (kajongg)[inputs]: Add PYTHON-QTPY. While here, use PYTHON-PYQT-WITHOUT-QTWEBKIT instead of PYTHON-PYQT. Marius Bakke 2022-09-01gnu: KDE Games: Update all packages to 22.04.3....* gnu/packages/kde-games.scm (ktuberling, picmi, kolf, libkmahjongg, kmahjongg, kshisen, kajongg, kbreakout, kmines, konquest, kbounce, kblocks, ksudoku, klines, kgoldrunner, kdiamond, kfourinline, kblackbox, knetwalk, bomber, granatier, ksirk, palapeli, kiriki, kigo, kubrick, lskat, kapman, kspaceduel, bovo, killbots, ksnakeduel, kollision, knavalbattle, kreversi, ksquares, kjumpingcube): Update to 22.04.3. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-09-01gnu: KDE Games: Update all packages to 21.12.3....* gnu/packages/kde-games.scm (ktuberling, picmi, kolf, libkmahjongg, kmahjongg, kshisen, kajongg, kbreakout, kmines, konquest, kbounce, kblocks, ksudoku, klines, kgoldrunner, kdiamond, kfourinline, kblackbox, knetwalk, bomber, granatier, ksirk, palapeli, kiriki, kigo, kubrick, lskat, kapman, kspaceduel, bovo, killbots, ksnakeduel, kollision, knavalbattle, kreversi, ksquares, kjumpingcube): Update to 21.12.3. Signed-off-by: Marius Bakke <marius@gnu.org> Brendan Tildesley 2022-09-01gnu: kajongg: Add bash-minimal to inputs....* gnu/packages/kde-games.scm (kajongg): [inputs]: Add bash-minimal. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-09-01gnu: KDE Games: Update home-page links....* gnu/package/kde-games.scm (ktuberling, picmi, kolf, kmahjongg, kshisen, kajongg, kbreakout, kmines, konquest, kbounce, kblocks, ksudoku, klines, kgoldrunner, kdiamond, kfourinline, kblackbox, knetwalk, bomber, granatier, ksirk, palapeli, kiriki, kigo, kubrick, lskat, kapman, kspaceduel, bovo, killbots, ksnakeduel, kollision, knavalbattle, kreversi, ksquares, kjumpingcube): Update home-page. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-09-01gnu: Move KDE games to (gnu packages kde-games)....* gnu/packages/games.scm: (ktuberling picmi kolf libkmahjongg kmahjongg kshisen kajongg kbreakout kmines konquest kbounce kblocks ksudoku klines kgoldrunner kdiamond kfourinline kblackbox knetwalk bomber granatier ksirk palapeli kiriki kigo kubrick lskat kapman kspaceduel bovo killbots ksnakeduel kollision knavalbattle kreversi ksquares kjumpingcube): Move to gnu/packages/kde-games.scm. [define-module]: Remove (gnu packages kde), (gnu packages kde-frameworks). * gnu/packages/kde-games.scm: New module. [header]: Copy over any copyrights I could find that affected these games. * gnu/local.mk (GNU_SYSTEM_MODULES): Register it. Why? games.scm is very large, and will only get larger, so splitting it helps. Also, it is convenient for singling out and updating KDE games. Signed-off-by: Marius Bakke <marius@gnu.org> Brendan Tildesley