Commit graph

93084 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
1cdd6b09c8
gnu: lsh: Fix build with GCC 10.
* gnu/packages/ssh.scm (lsh)[arguments]: Add "CFLAGS=-fcommon"
to #:configure-flags.  Don't explicitly return #t from phases.
[source]: Don't explicitly return #t from snippet.
2022-02-13 01:00:00 +01:00
Tobias Geerinckx-Rice
2b2f8c6b59
gnu: dovecot-pigeonhole: Update to 0.5.18.
* gnu/packages/mail.scm (dovecot-pigeonhole): Update to 0.5.18.
2022-02-13 01:00:00 +01:00
Tobias Geerinckx-Rice
e9d15acb3e
gnu: dovecot: Update to 2.3.18.
* gnu/packages/mail.scm (dovecot): Update to 2.3.18.
2022-02-13 01:00:00 +01:00
Tobias Geerinckx-Rice
56947bf283
gnu: tor: Update to 0.4.6.10.
* gnu/packages/tor.scm (tor): Update to 0.4.6.10.
2022-02-13 01:00:00 +01:00
Jai Vetrivelan
c033b05f38
gnu: fnott: Update to 1.2.1.
* gnu/packages/wm.scm (fnott): Update to 1.2.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 19:19:30 +01:00
Ludovic Courtès
791069737c
guix system: Fix 'describe' when booting the latest generation.
Fixes a regression introduced in
9679123ce0, whereby 'guix system describe'
would error out when /run/current-system points to /gnu/store/…-system,
which is the case when booting the latest generation or after
reconfigure.

* guix/scripts/system.scm (process-command): For 'describe'. Try
'generation-number' with and without the optional argument.
2022-02-15 17:24:08 +01:00
Ludovic Courtès
ee92b0fb7d
gnu: mumps: Remove input labels.
* gnu/packages/maths.scm (mumps)[inputs]: Remove labels.
[arguments]: Adjust 'configure' phase to not rely on the "mpi" and
"blas" labels.
(mumps-metis, mumps-openmpi, mumps-metis-openmpi): Use 'modify-inputs'.
2022-02-15 17:24:08 +01:00
Ludovic Courtès
d4709d78c3
gnu: scotch: Update to 7.0.1.
* gnu/packages/maths.scm (scotch): Update to 7.0.1.
[source]: Switch to 'git-fetch'.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
[arguments]: Add #:configure-flags.  Remove #:make-flags.  Remove
'chdir-to-src', 'configure', and 'build-esmumps' phases.
[properties]: Update 'release-monitoring-url' property.
(scotch32, pt-scotch, pt-scotch32): Update accordingly, replacing now
useless build phases with #:configure-flags.
(scotch-shared, pt-scotch-shared): Mark as deprecated.
(mumps)[arguments]: In 'configure' phase, use '-lesmumps'
unconditionally, since that's now how pt-scotch calls it.
2022-02-15 17:24:08 +01:00
Ricardo Wurmus
64fcf9508a
gnu: texlive-amsfonts/fixed: Do not generate tfm from afm and pl files.
The TFM files are included in the amsfonts bundle and are meant to installed
as is.  They were not meant to be the result of converting afm or pl files.
We ended up with subtly broken fonts due to this attempted conversion.

* gnu/packages/tex.scm (texlive-amsfonts/fixed)[source]: Fetch tfm directory.
[arguments]: Remove custom #:modules; remove build phases 'build-fonts and
'install-generated-fonts; adjust 'remove-extra-files; add build phase 'chdir
and 'unchdir.
[native-inputs]: Remove texlive-fontinst.
2022-02-15 17:18:42 +01:00
Jai Vetrivelan
7a67e9f3b5
gnu: filezilla: Update to 3.58.0.
* gnu/packages/ftp.scm (filezilla): Update to 3.58.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 15:12:28 +01:00
Jai Vetrivelan
b012a28fbe
gnu: libfilezilla: Update to 0.36.0.
* gnu/packages/ftp.scm (libfilezilla): Update to 0.36.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 15:12:11 +01:00
Steve George
89eb557a74
gnu: fish: Update to 3.3.1.
* gnu/packages/shells/scm (fish): Update to 3.3.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 15:07:57 +01:00
Felipe Balbi
7113866d45
gnu: foot: Update to 1.11.0
* gnu/packages/terminals.scm (foot): Update to 1.11.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 15:02:51 +01:00
Felipe Balbi
b5bbbca6b9
gnu: fcft: Update to 3.0.1
* gnu/packages/fontutils.scm (fcft): Update to 3.0.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 15:02:40 +01:00
Jai Vetrivelan
03533629a6
gnu: picom: Update to 9.1.
* gnu/packages/compton.scm (picom): Update to 9.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 15:01:30 +01:00
Jai Vetrivelan
83a7b701e5
gnu: plocate: Update to 1.1.15.
* gnu/packages/search.scm (plocate): Update to 1.1.15.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 14:59:56 +01:00
Nicolas Goaziou
85f026f36a
gnu: asymptote: Use G-expressions.
* gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>: Use
G-expressions.
2022-02-15 13:29:55 +01:00
Nicolas Goaziou
d1cc373033
gnu: asymptote: Update to 2.78.
* gnu/packages/plotutils.scm (asymptote): Update to 2.78.
[source]<snippet>: Delete bundled RapidJSON.
[arguments]<#:phases>: Add a phase to use system RapidJSON.
Update location for modified ".cpp" file.
[native-inputs]: Add CMAKE.
2022-02-15 13:26:57 +01:00
Efraim Flashner
04ac1a248c
gnu: ghc@4: Replace config.sub using config package.
* gnu/packages/haskell.scm (ghc@4)[arguments]: Adjust custom 'bootstrap
phase to adjust replacement of config.sub.
[native-inputs]: Remove automake, add config.
2022-02-15 11:43:25 +02:00
Efraim Flashner
3f929203cf
gnu: gcc-2.95: Support more systems.
* gnu/packages/gcc.scm (gcc-2.95)[supported-systems]: Allow all except
powerpc64le-linux and riscv64-linux.
[arguments]: Set #:system to the 32-bit version of our supported 64-bit
architectures. Modify custom 'set-dynamic-linker-file-name phase to use
the glibc-dynamic-linker for the selected system, and to substitute more
locations.
2022-02-15 11:43:23 +02:00
Lars-Dominik Braun
ae03f40138
gnu: Add python-mt-940.
* gnu/packages/python-xyz.scm (python-mt-940): New variable.
2022-02-15 10:38:36 +01:00
Lars-Dominik Braun
b5853e0897
gnu: trash-cli: Use pytest for testing.
Running setup.py overwrites the wrappers created by the 'wrap phase.

Fixes: <https://issues.guix.gnu.org/53695>

* gnu/packages/shellutils.scm (trash-cli)[arguments]: Replace 'check
phase with call to pytest.
2022-02-15 10:38:36 +01:00
Ludovic Courtès
8d472e9314
doc: Move build commands to @example for clarity.
* doc/contributing.texi (Building from Git): Tweak so that all the
commands appear in @example boxes.  Show --localstatedir=/var instead of
--localstatedir=@var{directory}.
2022-02-15 10:29:09 +01:00
Josselin Poiret
cfa6fdc54c
doc: Clarify the Swap Space examples, and include an helper example.
* doc/guix.texi (Swap Space): The examples referred to variables
defined outside of the snippets, and so were not very informative for
people without much Guile knowledge.  Instead, refer to mapped-devices
for the first, and use the new helper
file-systme-mount-point-predicate for the second.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-15 10:14:18 +01:00
Josselin Poiret
0055a803e2
system: Add helper file-system-mount-point-predicate.
* gnu/system/file-systems.scm (file-system-mount-point-predicate): Add
it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-15 10:14:14 +01:00
Ludovic Courtès
7f6dd3be3d
gexp: 'computed-file' always uses a native Guile.
Fixes a regression whereby, when cross-compiling, 'computed-file' would
use a cross-compiled Guile as its builder, which would fail to run.

Regression introduced in af57d1bf6c (the
problem had always been there but was hidden before behind the (not guile)
condition.)

* guix/gexp.scm (computed-file-compiler): For 'guile', pass #:target #f.
* tests/gexp.scm ("lower-object, computed-file, #:target"): New test.
2022-02-15 09:33:59 +01:00
Jai Vetrivelan
7d580f1c2c
gnu: welle-io: Update to 2.4.
* gnu/packages/radio.scm (welle-io): Update to 2.4.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-02-15 09:19:36 +01:00
Marius Bakke
b5d472ef5d
gnu: python-gffutils: Update to 0.10.1.
* gnu/packages/bioinformatics.scm (python-gffutils): Update to 0.10.1.
[arguments]: Remove obsolete phase.  Respect TESTS? in check phase while at
it.
2022-02-15 00:21:16 +01:00
Marius Bakke
48daa39724
gnu: python-argh: Fix test failure.
* gnu/packages/python-xyz.scm (python-argh)[arguments]: Add patch-tests phase
and override check phase.
2022-02-15 00:21:16 +01:00
Marius Bakke
f6350f003e
gnu: python-pyelftools: Update to 0.28.
* gnu/packages/python-xyz.scm (python-pyelftools): Update to 0.28.
[source]: Change to GIT-FETCH.
[source](snippet): New field.
[arguments]: Override check phase.
2022-02-15 00:21:16 +01:00
Marius Bakke
b5f7140151
gnu: python-warcio: Fix test failure.
* gnu/packages/python-web.scm (python-warcio)[arguments]: Invoke pytest
directly instead of going through setup.py.  Skip three more tests.
2022-02-15 00:21:15 +01:00
Marius Bakke
d21a7695e6
gnu: python-drmaa: Remove unused input.
* gnu/packages/python-xyz.scm (python-drmaa)[native-inputs]: Remove.
2022-02-15 00:21:15 +01:00
Marius Bakke
5e244cd712
gnu: python-drmaa: Fix build failure.
* gnu/packages/python-xyz.scm (python-drmaa)[arguments]: Disable sanity
checks.
2022-02-15 00:21:15 +01:00
Marius Bakke
aae5efb6d4
gnu: python-psutil: Update to 5.9.0.
* gnu/packages/python-xyz.scm (python-psutil): Update to 5.9.0.
2022-02-15 00:21:15 +01:00
Nicolas Goaziou
208c607854
gnu: emacs-which-key: Update to 3.6.0.
* gnu/packages/emacs-xyz.scm (emacs-which-key): Update to 3.6.0.
2022-02-15 00:16:29 +01:00
Ricardo Wurmus
15cf09fc69
profiles: texlive-font-maps: Create ls-R file.
* guix/profiles.scm (texlive-font-maps): Run mktexlsr on resulting tree to
provide ls-R file.
2022-02-14 23:14:42 +01:00
Petr Hodina
41000d16c5
gnu: Add nitrokey-app.
* gnu/packages/crates-io.scm (nitrokey-app): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-14 15:52:37 +01:00
Petr Hodina
26d0f1ec3b
gnu: Add cppcodec.
* gnu/packages/crates-io.scm (cppcodec): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-14 15:52:37 +01:00
Petr Hodina
aff2ba67e2
gnu: Add libnitrokey.
* gnu/packages/security-token.scm (libnitrokey): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-14 15:52:37 +01:00
Zhu Zihao
de74438909
gnu: fcitx5-gtk: Split IM module output for different version of GTK.
* gnu/packages/fcitx5.scm (fcitx5-gtk)[arguments]: Use G-Expression.

<phases>: Split input method module into different outputs for GTK2, GTK3 and GTK4.

Now default output only provides GLib client of Fcitx5.

[inputs]: Use label-less style inputs.
[outputs]: Add new "gtk3" output.

[synopsis]: Fix typo.
[description]: Describe the functionality of each output.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-14 15:52:37 +01:00
Zhu Zihao
6616f04412
gnu: fcitx5-gtk: Add GTK 4 support.
* gnu/packages/fcitx5.scm (fcitx5-gtk)[arguments]:
<configure-flags>: Enable GTK 4 IM module.
<phases>: In 'patch-install-prefix', patch the install prefix of GTK 4 IM
module.
[inputs]: Add GTK 4.
[outputs]: Add 'gtk4'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-14 15:52:37 +01:00
Cees de Groot
d59f7effcf
gnu: elixir: Fix regex for ERTS_BIN substitution.
* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
change "ERTS_BIN" regexp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-14 15:52:36 +01:00
Ludovic Courtès
d5353e2470
gnu: elixir: Fix file name argument to 'search-input-file'.
Reported by John Hamelink <me@johnhame.link>
and Cees de Groot <cg@evrl.com>.

Regression introduced in 3da297997d.

* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
search for "/bin/sh", not "sh".
2022-02-14 15:52:36 +01:00
Ludovic Courtès
054ec2e242
pull: '--list-generations' pipes its output to the pager.
* guix/scripts/pull.scm (process-query): For 'list-generations queries,
use 'with-paginated-output-port'.
(display-news-entry-title): Pass second argument to 'highlight'.
(display-news-entry): Pass second argument to 'dim'.
2022-02-14 15:52:36 +01:00
Ludovic Courtès
5b6e31b020
ui: 'display-generation' uses color when talking to a pager.
This makes sure that, say, 'guix pull -l' benefits from colors when its
output is piped to a pager, as long as the underlying terminal supports
it.

* guix/ui.scm (display-generation): Add second argument to 'highlight'.
2022-02-14 15:52:36 +01:00
Ludovic Courtès
7ffcee1937
ui: 'with-paginated-output-port' gives access to the wrapped port.
* guix/ui.scm (pager-port-mapping): New variable.
(pager-wrapped-port): New procedure.
(call-with-paginated-output-port): Parameterize 'pager-port-mapping'.
2022-02-14 15:52:36 +01:00
Ludovic Courtès
b9df2e2b4d
pull: '--list-generations' lists packages only with '--details'.
* guix/scripts/pull.scm (show-help, %options): Add "--details".
(process-query): Honor it.
* doc/guix.texi (Invoking guix pull): Document it.
2022-02-14 15:52:36 +01:00
Ludovic Courtès
ee230f15c6
gnu: Remove glibc@2.2.5 and gcc-2.95-wrapper.
This reverts commits a95924c9ac and
defa85b265, which were used to build
nhc98@1.22 but are no longer needed.

* gnu/packages/base.scm (glibc-2.2.5): Remove.
* gnu/packages/commencement.scm (gcc-2.95-wrapper): Remove.
(glibc-mesboot0, gcc-mesboot0, binutils-mesboot): Keep private.
2022-02-14 15:52:35 +01:00
Ludovic Courtès
d9df65514c
gnu: ghc@4: Build without referring to packages in commencement.scm.
* gnu/packages/haskell.scm (ghc-4)[arguments]: Remove #:implicit-inputs?.
In 'bootstrap' phase, pass '-optc-D_GNU_SOURCE=1'.  Use
'search-input-file' to locate lib{bfd,iberty}.a, and 'which' for cpp.
Patch 'mk/config.mk.in'.  In 'configure' phase, emit "config.cache".
In 'make-boot' phase, replace "CLK_TCK" in 'nHandle.c'.
[native-inputs]: Remove now-implicit inputs; remove GLIBC-2.2.5,
GCC-MESBOOT0, and BINUTILS-MESBOOT.  Add GCC-2.95 and BINUTILS-2.33.
Remove input labels.
2022-02-14 15:52:35 +01:00
Ludovic Courtès
6ef0cd9ade
gnu: ghc@4: Use 'search-patches'.
* gnu/packages/haskell.scm (ghc-4)[source]: Use 'search-patches'.
2022-02-14 15:52:35 +01:00