aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gv.scm
blob: f18051261cbebf40999db84b7e1262c777b7ac64 (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; 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 gv)
  #:use-module (gnu packages)
  #:use-module (gnu packages ghostscript)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages xorg)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public gv
  (package
   (name "gv")
   (version "3.7.4")
   (source (origin
            (method url-fetch)
            (uri (string-append "mirror://gnu/gv/gv-"
                                version ".tar.gz"))
            (sha256 (base32
                     "0q8s43z14vxm41pfa8s5h9kyyzk1fkwjhkiwbf2x70alm6rv6qi1"))))
   (build-system gnu-build-system)
   (arguments
    '(#:phases (modify-phases %standard-phases
                 (add-before 'configure 'set-gs-file-name
                   (lambda* (#:key inputs #:allow-other-keys)
                     ;; Set the value of 'GV.gsInterpreter' in the generated
                     ;; 'gv_system.ad' file.
                     (let ((gs (assoc-ref inputs "ghostscript")))
                       (with-fluids ((%default-port-encoding "ISO-8859-1"))
                        (substitute* "src/Makefile.in"
                          (("GV\\.gsInterpreter:([[:blank:]]+)gs" _ blank)
                           (string-append "GV.gsInterpreter:" blank
                                          gs "/bin/gs"))
                          (("GV\\.gsCmd([[:alpha:]]+):([[:blank:]]+)gs" _
                            command blank)
                           (string-append "GV.gsCmd" command ":"
                                          blank gs "/bin/gs"))))
                       #t))))))
   (inputs `(("ghostscript" ,ghostscript/x)
             ("libx11" ,libx11)
             ("libxaw3d" ,libxaw3d)
             ("libxinerama" ,libxinerama)
             ("libxpm" ,libxpm)
             ("zlib" ,zlib)))
   (native-inputs
     (list pkg-config))
   (synopsis "PostScript and PDF viewer using Ghostscript as a back-end")
   (description
    "GNU GV is a graphical user interface to the Ghostscript interpreter.
With it, one can view and navigate through PostScript and PDF documents in X
Windows.")
   (license license:gpl3+)
   (home-page "https://www.gnu.org/software/gv/")))
at)[arguments]: Add phase 'pandas-compatibility; disable tests that need sciki-bio. [propagated-inputs]: Remove python-scikit-bio. Change-Id: Ifd528d256a1c75962fb05aef5602edbf67a5af26 Ricardo Wurmus 2024-05-05gnu: python-anndata: Update to 0.10.7....* gnu/packages/python-xyz.scm (python-anndata): Update to 0.10.7. [arguments]: Patch conftest.py; adjust tests; remove old patch for version string; add phase 'set-numba-cache-dir. [native-inputs]: Add python-awkward, python-dask, python-distributed, python-hatchling, python-hatch-vcs, python-loompy, python-matplotlib, python-pytest-doctestplus, and python-pytest-xdist. [propagated-inputs]: Add python-array-api-compat and python-exceptiongroup. Change-Id: I3099cbfbb1865743c75d32243be9e5a59df1507d Ricardo Wurmus 2024-05-05gnu: Add python-array-api-compat....* gnu/packages/python-xyz.scm (python-array-api-compat): New variable. Change-Id: Ibfd701630b41f860c7ad4df57fd3624d9c5b7752 Ricardo Wurmus 2024-05-05gnu: Add python-awkward....* gnu/packages/python-xyz.scm (python-awkward): New variable. Change-Id: Ie4f9b12d3662b9029f6e042f9c3a4d547073a6e7 Ricardo Wurmus 2024-05-05gnu: Add python-awkward-cpp....* gnu/packages/python-xyz.scm (python-awkward-cpp): New variable. Change-Id: I68f7e314aa6b575eb7135aa5308c327d5f6bf3ea Ricardo Wurmus 2024-05-05gnu: Add python-scikit-build-core....* gnu/packages/python-science.scm (python-scikit-build-core): New variable. Change-Id: If234d19d720afe88f6893bdd36fcc4955a45c5d3 Ricardo Wurmus 2024-05-05gnu: python-distributed: Update to 2024.4.2....* gnu/packages/python-science.scm (python-distributed): Update to 2024.4.2. [propagated-inputs]: Add python-dask-expr. [arguments]: Adjust tests. Change-Id: I9d3b45d14ae052f3a5a5dec3587bc01d13e4b71f Ricardo Wurmus 2024-05-05gnu: Add python-dask-expr....* gnu/packages/python-science.scm (python-dask-expr): New variable. Change-Id: I691593ab713fe865c771aa68b5521c4c10cc58f6 Ricardo Wurmus 2024-05-05gnu: python-partd: Update to 1.4.1....* gnu/packages/python-xyz.scm (python-partd): Update to 1.4.1. [propagated-inputs]: Remove python-blosc. Change-Id: I3aff28899339f9ffaa47b6f5c81e0e68ce660963 Ricardo Wurmus 2024-05-05gnu: python-dask: Update to 2024.4.2....* gnu/packages/python-xyz.scm (python-dask): Update to 2024.4.2. [arguments]: Disable a few tests. Change-Id: I759ddee2ec49fbf74f368c3313f7215906b0e5a2 Ricardo Wurmus 2024-05-05gnu: python-tables: Update to 3.7.0....* gnu/packages/python-xyz.scm (python-tables): Update to 3.7.0. [propagated-inputs]: Add python-packaging and python-py-cpuinfo. Change-Id: I8653bef9a07bb898933b249aad92ddb2b79b8d85 Ricardo Wurmus 2024-05-05gnu: python-pyarrow: Build with ORC support....* gnu/packages/databases.scm (python-pyarrow)[propagated-inputs]: Add apache-orc. [arguments]: Set PYARROW_WITH_ORC variable. Change-Id: Ic35cd1db75349ecb51d35815d710d8ca3a303b00 Ricardo Wurmus 2024-05-05gnu: apache-arrow: Build with ORC....* gnu/packages/databases.scm (apache-arrow)[arguments]: Set options needed to build with ORC support; remove unused options -DBENCHMARK_ENABLE_GTEST_TESTS=OFF and -DARROW_GLOG=ON. [inputs]: Add apache-orc. Change-Id: Icabe6e3a73478c8464ea1e8efc103899da8e5a86 Ricardo Wurmus 2024-05-05gnu: Add apache-orc....* gnu/packages/databases.scm (apache-orc): New variable. Change-Id: I9e7df4a03a5d2f258ff44d9705f539f9fc925a99 Ricardo Wurmus 2024-05-05gnu: python-pandas-stub: Update to 2.1.1.230928....This is a follow-up to commit ff2d0ecfca87450c82df8d74666261b1c19cbe66. * gnu/packages/python-science.scm (python-pandas-stub): Update to 2.1.1.230928. Change-Id: I2e8ce18bd25399b467a6ff2a6fb846f8bb969e4c Ricardo Wurmus 2024-05-05gnu: python-tabulate: Update to 0.9.0....* gnu/packages/python-xyz.scm (python-tabulate): Update to 0.9.0. [build-system]: Use pyproject-build-system. Change-Id: If360e5be6433b35308b76bd1284bb6ddb74008e8 Ricardo Wurmus 2024-05-05gnu: python-pandas-2: Fix version....* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Write version string to "_version.py", not "_version_meson.py" to avoid reporting the version as "0+unknown". Change-Id: I1a18814e37c023102714326bc8bd505705234205 Ricardo Wurmus 2024-05-05gnu: python-scikit-learn: Update to 1.4.2....* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.4.2. [native-inputs]: Replace python-cython-0.29.35 with python-cython-3. Change-Id: Id8be08f931bf250a8ecb8bc46b44d7148b4c4a2f Ricardo Wurmus 2024-05-05gnu: python-cython-3: Update to 3.0.8....* gnu/packages/python-xyz.scm (python-cython-3): Update to 3.0.8. Change-Id: I9129a7837cefea0b95b0a3c3cdf73997d91f7484 Ricardo Wurmus 2024-05-05gnu: python-pyjanitor: Update to 0.27.0....* gnu/packages/python-science.scm (python-pyjanitor): Update to 0.27.0. [arguments]: Disable a few more tests; add phase 'pandas-compat. Change-Id: Ia8891971a687342166f30ded11f9e341a208d95e Ricardo Wurmus 2024-05-05gnu: tadbit: Use G-expression....* gnu/packages/bioinformatics.scm (tadbit)[arguments]: Use G-expression. Change-Id: I4fe4afc41eb3442f243b0e415ddcb363be36ce7f Ricardo Wurmus 2024-05-05gnu: r-reticulate: Update to 1.36.1....* gnu/packages/cran.scm (r-reticulate): Update to 1.36.1. Change-Id: I7119ca05b8411209c617be318806b3ff4bc3b530 Ricardo Wurmus 2024-05-05gnu: python-xarray: Disable tests that are known to fail....* gnu/packages/python-science.scm (python-xarray)[arguments]: Disable two tests. Change-Id: I70954173e0aca5a377cf19476e9390a97febadc7 Ricardo Wurmus 2024-05-05gnu: python-pandas: Default to version 2.x....* gnu/packages/python-science.scm (python-pandas): Define as alias for python-pandas-2; rename existing definition to... (python-pandas-1): ...this new variable. Change-Id: If359e3b2d42c683d7d0152b1757bbc5a979c999b Ricardo Wurmus 2024-05-05gnu: python-scikit-opt: Add missing input....* gnu/packages/python-science.scm (python-scikit-opt)[propagated-inputs]: Add python-pytorch. Change-Id: I037cc43bedeaebb05bf038c0bca72919f8c27c40 Ricardo Wurmus 2024-05-05gnu: python-plastid: Replace nose with pytest....* gnu/packages/bioinformatics.scm (python-plastid)[native-inputs]: Replace python-nose with python-pytest. Change-Id: Ie0e5362d2304d3af0bcb1405fa0c1ad36fb2ace6 Ricardo Wurmus 2024-05-05gnu: Add python-metacells....* gnu/packages/bioinformatics.scm (python-metacells): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I4fc760dc4317bde79c815f441ad0cc453248990a Marco Baggio 2024-05-05gnu: Add python-cvxpy....* gnu/packages/python-science.scm (python-cvxpy): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I440ab3768cbc4e78364dc31cf9484effd9670f49 Marco Baggio 2024-05-05gnu: Add python-ecos....* gnu/packages/python-science.scm (python-ecos): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I83d9b746f5f3563f417efc5d18911f2eb04f201c Marco Baggio 2024-05-05gnu: Add python-osqp....* gnu/packages/python-science.scm (python-osqp): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: Id6f1665505469fd6543046636b82d0730b319df3 Marco Baggio 2024-05-05gnu: Add python-qdldl....* gnu/packages/python-science.scm (python-qdldl): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I523ecb2292c9b514b548e2130d0d43bb77317b00 Marco Baggio 2024-05-05gnu: Add python-scs....* gnu/packages/python-science.scm (python-scs): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I6c5ecdac4b558aab4b8ee396dff1dfc9cdec07f0 Marco Baggio 2024-05-05gnu: Add python-fastcluster....* gnu/packages/python-science.scm (python-fastcluster): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: Ifc5229a4d00f581eb358a1f41fc3479fd1c33c2e Marco Baggio 2024-05-05gnu: Add python-clarabel....* gnu/packages/python-science.scm (python-clarabel): New variable. Change-Id: I28459162460ca9bf9e9557122f611c677afadc27 Ricardo Wurmus 2024-05-05gnu: Add rust-amd-0.2....* gnu/packages/crates-io.scm (rust-amd-0.2): New variable. Change-Id: I28d4e0d6bd9b590ca61df9152f91641408e48e5a Ricardo Wurmus 2024-05-05gnu: Add python-param....* gnu/packages/python-xyz.scm (python-param): New variable. Change-Id: Idad928488d7c306c969b4484a3cd22661c41d488 Ricardo Wurmus 2024-05-05gnu: Add python-multiscale-spatial-image....* gnu/packages/python-xyz.scm (python-multiscale-spatial-image): New variable. Change-Id: I05a0b3a93091148917fade831faefb88c13bbc6f Ricardo Wurmus 2024-05-05gnu: Add python-colorcet....* gnu/packages/python-xyz.scm (python-colorcet): New variable. Change-Id: I8b3f6d9a132d028f56330308b034d263e162f0f9 Ricardo Wurmus