Commit graph

95134 commits

Author SHA1 Message Date
Paul A. Patience
0d3c2c9543
gnu: sundials: Fix various issues.
This commit fixes various issues. First, some of SUNDIALS's CMake
variables were renamed at some point between 5.2.0 and 5.7.0, in
particular KLU_ENABLE, which was changed to ENABLE_KLU. Since
sundials-julia is essentially SUNDIALS 5.2.0, its configure flags need
to be different from those of the sundials package. Second, commit
61bcd648ca, which updated SUNDIALS to
6.1.1, accidentally completely disabled PETSc support for
sundials-openmpi (PETSc is supported only with MPI) by removing the
relevant configure flags. Third, SUNDIALS's default index size is
64 bits, but PETSc's is 32 bits, and they need to be the same; this
issue is discussed in the next three paragraphs.

The default index size in SUNDIALS 3.1.1 (which was the sundials
package's version previous to the aforementioned commit) was also
64 bits (though it was configured through the SUNDIALS_INDEX_TYPE CMake
variable, which could take the values INT64_T or INT32_T), but
SUNDIALS's configure script didn't warn of any incompatibility with
PETSc's 32-bit indices. I don't know if this was an accidental omission
from the configure script or if SUNDIALS's index size didn't have to
correspond to PETSc's at the time.

Keeping 64-bit indices in SUNDIALS would require adding a package for
PETSc with 64-bit indices (using the --with-64-bit-indices configure
flag), possibly named petsc64-openmpi (to follow the style of the SCOTCH
packages, i.e., scotch, scotch32, etc., though there the unadorned
package name represents the 64-bit version, unlike the unadorned petsc),
which would in turn require a package for METIS with 64-bit
indices (using IDXTYPEWIDTH=64). However, SUNDIALS is an optional
dependency of deal.II, both of which have PETSc as an optional
dependency, and deal.II's index size (which defaults to 32 bits) must
match PETSc's. In other words, the current deal.II package can build
with SUNDIALS only if SUNDIALS has 32-bit indices.

Furthermore, users needing 64-bit indices in SUNDIALS probably also need
them in PETSc and other libraries. If and when 64-bit indices are deemed
necessary, we can add all the package variations at once (for SUNDIALS,
PETSc, METIS, deal.II and any others).

* gnu/packages/maths.scm (sundials)[source]: Reuse version in URL.
[native-inputs]: Capitalize and punctuate comment.
[inputs]: Remove petsc, now unnecessary gfortran, and obsolete
comment. Move TODO item to sundials-openmpi.
[arguments]<#:configure-flags>: Add -DSUNDIALS_INDEX_SIZE=32 to match
PETSc's 32-bit indices. Remove obsolete -DEXAMPLES_ENABLE_F77,
-DEXAMPLES_ENABLE_F90 and -DFCMIX_ENABLE. Mention new but currently
unusable -DBUILD_FORTRAN_MODULE_INTERFACE and
-DEXAMPLES_ENABLE_F2003. Rename KLU_ENABLE to ENABLE_KLU.
(sundials-openmpi): Use package/inherit.
[inputs]: Move openmpi and petsc-openmpi from here...
[propagated-inputs]: ...to here. Clarify comment.
[arguments]<#:configure-flags>: Add -DENABLE_PETSC and -DPETSC_DIR, the
equivalents of which were accidentally removed in commit
61bcd648ca.
<#:phases>: Replace a tab with spaces.
[synopsis]: Replace OpenMPI with MPI to conform to other package
synopses.
(sundials-julia)[inputs]: Add gfortran.
[arguments]<#:configure-flags>: Set only, and manually, -DCMAKE_C_FLAGS,
-DSUNDIALS_INDEX_SIZE, -DKLU_ENABLE, -DKLU_INCLUDE_DIR,
-DKLU_LIBRARY_DIR and -DLAPACK_ENABLE instead of inheriting from the
sundials package, because some of SUNDIALS's CMake variables have
changed name.
[synopsis]: Capitalize “LAPACK”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Paul A. Patience
a3b6a4df6c
gnu: petsc-openmpi: Fix header inclusions.
* gnu/packages/maths.scm (petsc-openmpi)[arguments]: Add
'patch-header-inclusions' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-03 18:02:27 +02:00
Ludovic Courtès
7855a9366b
services: pipefs: Correctly handle lack of extensions.
Previously, in the absence of extensions of 'pipefs-service-type', we'd
get a wrong-type-arg exception while folding services:

  In gnu/services/nfs.scm:
     134:37  1 (_ #<<pipefs-configuration> mount-point: "/var/lib/nfs…> …)
  In ice-9/boot-9.scm:
    1685:16  0 (raise-exception _ #:continuable? _)
  In procedure car: Wrong type argument in position 1 (expecting pair): ()

* gnu/services/nfs.scm (pipefs-service-type)[extend]: Gracefully handle
the case where VALUES is the empty list, as done in 'gss-service-type'.
2022-05-03 18:02:27 +02:00
Leo Famulari
654f878f0b
gnu: Mutt: Update to 2.2.4.
* gnu/packages/mail.scm (mutt): Update to 2.2.4.
2022-05-02 19:31:42 -04:00
Leo Famulari
39bdf71db1
gnu: linux-libre 4.19: Update to 4.19.241.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.241.
(linux-libre-4.19-pristine-source): Update hash.
2022-05-02 18:57:38 -04:00
Leo Famulari
ac2857e042
gnu: linux-libre 5.15: Update to 5.15.37.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.37.
(linux-libre-5.15-pristine-source): Update hash.
2022-05-02 18:57:38 -04:00
Jan (janneke) Nieuwenhuizen
6b588da368
gnu: mes: Update to 0.24.
* gnu/packages/mes.scm (mes-next)[source]: Update to 0.24.
[native-inputs]: Add m2-planet.
2022-05-02 19:07:06 +02:00
Jan (janneke) Nieuwenhuizen
c14f1e3195
gnu: m2-planet: Update to 1.9.0.
* gnu/packages/mes.scm (m2-planet): Update to 1.9.0.
2022-05-02 19:07:04 +02:00
Jan (janneke) Nieuwenhuizen
954ff74bc8
gnu: mescc-tools: Update to 1.4.0.
* gnu/packages/mes.scm (mescc-tools): Update to 1.4.0.
2022-05-02 19:07:02 +02:00
Konstantinos Agiannis
f49b1a10f3
gnu: Add xschem.
* gnu/packages/engineering.scm (xschem): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 18:03:06 +02:00
Ludovic Courtès
2a37f174be
services: Make sure Shepherd destructors match constructors.
This is a followup to b06ecc5751,
211fe3f66e, and
fd57ce267c.

* gnu/services/base.scm (guix-publish-shepherd-service): Change 'stop'
method to use 'make-systemd-destructor' when 'make-systemd-constructor'
is used.
* gnu/services/dict.scm (dicod-shepherd-service): Change 'stop' method
to use 'make-inetd-destructor' when 'make-inetd-constructor' is used.
* gnu/services/messaging.scm (bitlbee-shepherd-service): Likewise.
2022-05-02 17:57:30 +02:00
Ricardo Wurmus
39d6c13fda
gnu: python-hic2cool: Fix build.
* gnu/packages/bioinformatics.scm (python-hic2cool)[arguments]: Fix
incompatibility with h5py 3; disable two tests.
2022-05-02 17:33:31 +02:00
Mădălin Ionel Patrașcu
7494f4b4ab
gnu: Add r-agimicrorna.
* gnu/packages/bioconductor.scm (r-agimicrorna): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-05-02 15:23:50 +02:00
Mădălin Ionel Patrașcu
9c19db8c1d
gnu: Add r-adductomicsr.
* gnu/packages/bioconductor.scm (r-adductomicsr): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-05-02 15:17:28 +02:00
Mădălin Ionel Patrașcu
495bc9f962
gnu: Add r-orgmassspecr.
* gnu/packages/cran.scm (r-orgmassspecr): New variable.
2022-05-02 15:17:28 +02:00
Mădălin Ionel Patrașcu
290934c8fc
gnu: Add r-adductdata.
* gnu/packages/bioconductor.scm (r-adductdata): New variable.
2022-05-02 15:17:28 +02:00
Felix Gruber
f455c1e313
gnu: Add python-scrapy.
* gnu/packages/python-web.scm (python-scrapy): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:46 +02:00
Felix Gruber
d9a7f652e2
gnu: Add python-itemloaders.
* gnu/packages/python-xyz.scm (python-itemloaders): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:46 +02:00
Felix Gruber
76b6337650
gnu: Add python-parsel.
* gnu/packages/python-web.scm (python-parsel): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:46 +02:00
Felix Gruber
d219d48cce
gnu: Add python-protego.
* gnu/packages/python-web.scm (python-protego): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:46 +02:00
Felix Gruber
c0c16d6b84
gnu: Add python-itemadapter.
* gnu/packages/python-xyz.scm (python-itemadapter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:45 +02:00
Felix Gruber
fce913281f
gnu: Add python-queuelib.
* gnu/packages/python-xyz.scm (python-queuelib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:45 +02:00
Felix Gruber
f728d1dcd2
gnu: Add python-pydispatcher.
* gnu/packages/python-xyz.scm (python-pydispatcher): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:45 +02:00
Felix Gruber
919fdd6fcc
gnu: Add python-sybil.
* gnu/packages/python-check.scm (python-sybil): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:45 +02:00
Greg Hogan
8ffd8fc64e
gnu: bear: Update to 3.0.19.
* gnu/packages/build-tools.scm (bear): Update to 3.0.19.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:45 +02:00
Greg Hogan
9bf9da2571
gnu: spdlog: Update to 1.10.0.
* gnu/packages/logging.scm (spdlog): Update to 1.10.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:45 +02:00
Greg Hogan
c152174ca2
gnu: fmt: Update to 8.1.1.
* gnu/packages/pretty-print.scm (fmt): Update to 8.1.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:44 +02:00
Paul A. Patience
67b10f18c7
gnu: apl: Use G-expressions.
* gnu/packages/apl.scm (apl)[arguments]: Use G-expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:44 +02:00
Paul A. Patience
fe6ba5e902
gnu: apl: Remove input labels.
* gnu/packages/apl.scm (apl)[inputs]: Remove labels and sort.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:44 +02:00
Paul A. Patience
94b1905580
gnu: apl: Update to 1.8-r1550.
This commit fixes a failing build caused by -Werror (the configure
script no longer sets the -Werror compilation flag).

* gnu/packages/apl.scm (apl): Update to 1.8-r1550.
[arguments]: Add 'fix-configure' phase.
[license]: Prefix with 'license:'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:44 +02:00
Niklas Eklund
35e5d2ce56
gnu: Add emacs-git-email.
* gnu/packages/emacs-xyz.scm (emacs-git-email): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:44 +02:00
kiasoc5
75b7f495d0
gnu: ugrep: Update to 3.7.9.
* gnu/packages/search.scm (ugrep): Update to 3.7.9.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:44 +02:00
Greg Hogan
a8fde99e80
gnu: aws-sdk-cpp: Remove openssl input.
* gnu/packages/cpp.scm (aws-sdk-cpp):
[inputs]: Remove openssl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
af856afb6c
gnu: s2n: Link to aws-lc as libcrypto dependency.
* gnu/packages/tls.scm (s2n):
[arguments]: Fix for openssl as replacement input for aws-lc.
[propagated-inputs]: Add aws-lc and remove openssl.
[supported-systems]: Only support x86_64-linux.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
a5a408c3a7
gnu: aws-lc: Fix checksum and enable tests.
* gnu/packages/tls.scm (aws-lc):
[source]: Fix checksum.
[arguments]: Enable tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
fec71efeae
gnu: aws-crt-cpp: Fix comment formatting.
* gnu/packages/cpp.scm (aws-crt-cpp): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
a822f3e2d0
gnu: aws-c-mqtt: Fix comment formatting.
* gnu/packages/c.scm (aws-c-mqtt): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
b62d4872ba
gnu: aws-c-s3: Fix comment formatting.
* gnu/packages/c.scm (aws-c-s3): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
d62c101991
gnu: aws-c-auth: Fix comment formatting.
* gnu/packages/c.scm (aws-c-auth): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:43 +02:00
Greg Hogan
b8c4bb3e0d
gnu: aws-c-compression: Fix comment formatting.
* gnu/packages/c.scm (aws-c-compression): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
d7c8a83549
gnu: aws-c-http: Fix comment formatting.
* gnu/packages/c.scm (aws-c-http): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
e8f2855d73
gnu: aws-c-sdkutils: Fix comment formatting.
* gnu/packages/c.scm (aws-c-sdkutils): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
c7805de435
gnu: aws-c-cal: Fix comment formatting.
* gnu/packages/c.scm (aws-c-cal): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
d230c67068
gnu: aws-c-io: Fix comment formatting.
* gnu/packages/c.scm (aws-c-io): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
4dbb1520e2
gnu: aws-c-event-stream: Fix comment formatting.
* gnu/packages/c.scm (aws-c-event-stream): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
a9b4d69c9c
gnu: aws-checksums: Fix comment formatting.
* gnu/packages/c.scm (aws-checksums): Fix comment formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:42 +02:00
Greg Hogan
acbf5b1022
gnu: aws-c-common: Only support i686 and x86_64.
* gnu/packages/c.scm (aws-c-common):
[supported-systems]: Only support i686-linux and x86_64-linux.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-02 15:14:41 +02:00
Ludovic Courtès
6075d25143
services: bitlbee: Preserve 'PURPLE_PLUGIN_PATH'.
Fixes a regression introduced in
211fe3f66e whereby, in inetd mode, and
when using 'bitlbee-purple', libpurple plugins would not be found.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Pass
 #:preserved-environment-variables to 'least-authority-wrapper'.
2022-05-02 15:14:41 +02:00
Ricardo Wurmus
b1dd32d8e3
gnu: htslib-for-stringtie: Inherit from htslib-1.12.
* gnu/packages/bioinformatics.scm (htslib-for-stringtie): Inherit from
htslib-1.12.
2022-05-02 14:35:26 +02:00
Ricardo Wurmus
4571b218b5
gnu: Remove python-xlrd-1.
* gnu/packages/python-xyz.scm (python-xlrd-1): Remove variable.
2022-05-02 13:49:57 +02:00