Commit graph

90912 commits

Author SHA1 Message Date
Philip McGrath
df7d787ba4
guix: node-build-system: Add avoid-node-gyp-rebuild phase.
Packages with native addons currently try to write to store paths
when used as dependecies.  This patch adds a phase to replace that
behaviour with a no-op.

* guix/build/node-build-system.scm (avoid-node-gyp-rebuild): New
variable.
(%standard-phases): Add 'avoid-node-gyp-rebuild' after 'install'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-01-09 02:07:11 +01:00
Philip McGrath
2ef3fe9f35
guix: node-build-system: Add JSON utilities.
This commit adds several utility functions for non-destructive
transformation of the JSON representation used by (guix build json),
particularly for purely functional update of JSON objects.  They ought
to eventually be exported from their own module, but for now are kept
private to allow experimentation.

* guix/build/node-build-system.scm (assoc-ref*, jsobject-ref, alist-pop)
(alist-update, jsobject-update*, jsobject-union): New variables.
(with-atomic-json-file-replacement): New public variable.
(module-name, build, patch-dependencies): Use them.  Do not resort to
unsafe alist primitives from Guile core.

Co-authored-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-01-09 02:07:11 +01:00
Philip McGrath
75416be16b
guix: node-build-system: Add implicit libuv input.
* guix/build-system/node.scm (lower): Add the version of libuv
used as an input to the #:node package as an additional implicit
input, so that packages needing libuv always get the correct version.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-01-09 02:07:11 +01:00
Philip McGrath
5add4af6fc
guix: node-build-system: Add delete-lockfiles phase.
Guix does not use any of these lock files to determine the package versions
used during the build, so they only serve to cause problems.

* guix/build/node-build-system.scm (delete-lockfiles): New variable.
(%standard-phases): Add 'delete-lockfiles' after 'patch-dependencies'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-01-09 02:07:10 +01:00
Vagrant Cascadian
3e47387805
gnu: trayer-srg: Fix spelling.
* gnu/packages/wm.scm (trayer-srg)[description]: Fix spelling of
  "environments".
2022-01-08 16:39:46 -08:00
Vagrant Cascadian
a3b51fedef
gnu: texlive-hyphen-macedonian: Fix spelling.
* gnu/packages/tex.scm (texlive-hyphen-macedonian)[description]: Fix spelling
  of "hyphenation".
2022-01-08 16:39:42 -08:00
Vagrant Cascadian
813896b222
gnu: rust-1.40: Fix spelling.
* gnu/packages/rust.scm (rust-1.40)[synopsis]: Fix spelling of "programming".
2022-01-08 16:39:37 -08:00
Vagrant Cascadian
7d7b579531
gnu: sbcl-glsl-toolkit: Fix grammar.
* gnu/packages/lisp-xyz.scm (sbcl-glsl-toolkit)[description]: Fix grammar.
2022-01-08 16:39:31 -08:00
Vagrant Cascadian
84f6a80ca6
gnu: r-intergraph: Fix grammar.
* gnu/packages/cran.scm (r-intergraph)[description]: Fix grammar.
2022-01-08 16:39:25 -08:00
Tobias Geerinckx-Rice
61cd7853d1
gnu: tintin++: Update to 2.02.12.
* gnu/packages/games.scm (tintin++): Update to 2.02.12.
2022-01-09 01:36:38 +01:00
Tobias Geerinckx-Rice
1e18f88740
gnu: srain: Update to 1.3.1.
* gnu/packages/irc.scm (srain): Update to 1.3.1.
2022-01-09 01:36:38 +01:00
Tobias Geerinckx-Rice
bd6d239cfb
gnu: srain: Fix build.
* gnu/packages/irc.scm (srain)[inputs]: Downgrade libsoup to libsoup-minimal-2.
2022-01-09 01:36:38 +01:00
Tobias Geerinckx-Rice
924352ab22
gnu: thermald: Update to 2.4.7.
* gnu/packages/admin.scm (thermald): Update to 2.4.7.
2022-01-09 01:36:38 +01:00
Chris Marusich
195bb1fb9d
gnu: guix: Update to e427593.
* gnu/packages/package-management.scm (guix): Update to e427593.
2022-01-08 15:57:20 -08:00
Chris Marusich
e427593c3f
gnu: guix: Update to dc2b901.
* gnu/packages/package-management.scm (guix): Update to dc2b901.
2022-01-08 15:55:46 -08:00
Chris Marusich
dc2b90109b
services: set-xorg-configuration: Use target-x86-64?.
* gnu/services/xorg.scm (set-xorg-configuration)[login-manager-service-type]:
Use target-x86-64? from (guix utils) to decide if the system is an x86_64
system instead of comparing the strings ourselves.
2022-01-08 15:51:37 -08:00
Chris Marusich
6a2050b1e1
tests: Fix file-needed/recursive on powerpc64le-linux.
Fixes: <https://issues.guix.gnu.org/52940>.

* tests/gremlin.scm (file-needed/recursive): Consider two entries to be
equivalent not when they are the same string, but rather when they refer to
the same file.
[ground-truth]: In addition to strings that begin with "linux-vdso.so", remove
strings that begin with "linux-vdso64.so".
2022-01-08 15:51:22 -08:00
Ludovic Courtès
5c354c204d
services: networking: Add netmask to loopback address.
Previously, we would get a fishy 127.0.0.1/0 interface:

  $ ip a show dev lo
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
	 valid_lft forever preferred_lft forever
      inet 127.0.0.1/0 scope global lo
	 valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
	 valid_lft forever preferred_lft forever

With this change, we get nothing but the "/8" version:

  $ ip a show dev lo
  1: lo: <LOOPBACK,MULTICAST,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope global lo
	 valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
	 valid_lft forever preferred_lft forever

Reported by Yann Dupont <Yann.Dupont@univ-nantes.fr>.

* gnu/services/base.scm (assert-valid-address): Remove special cases for
127.0.0.1 and ::1.
(%loopback-static-networking): Add "/8".
2022-01-08 23:27:42 +01:00
paladhammika
c487b05d5f
gnu: Add python-astral.
* gnu/packages/astronomy.scm (python-astral): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-08 23:27:42 +01:00
Vinicius Monego
1972cb0ea8
gnu: Add kid3.
* gnu/packages/kde-multimedia.scm (kid3): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-08 23:27:42 +01:00
Giacomo Leidi
98a7d68eb4
gnu: Add python-markdownify.
* gnu/packages/markup.scm (python-markdownify): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-08 23:27:42 +01:00
Tobias Geerinckx-Rice
c612b619cc
gnu: tlp: Remove obsolete #t returns.
* gnu/packages/linux.scm (tlp)[arguments]:
Don't explicitly return #t from phases.
2022-01-08 21:57:53 +01:00
Tobias Geerinckx-Rice
7ed3e2606b
gnu: httpfs2: Prepare for cross-compilation.
* gnu/packages/file-systems.scm (httpfs2)[arguments]: Use CC-FOR-TARGET.
2022-01-08 21:57:53 +01:00
Tobias Geerinckx-Rice
f7f88a85d7
gnu: httpfs2: Use G-expressions.
* gnu/packages/file-systems.scm (httpfs2)[arguments]:
Rewrite as G-expressions.
2022-01-08 21:57:53 +01:00
Nicolas Goaziou
ef58bc1524
gnu: tlpui: Update to 1.5.0.
* gnu/packages/linux.scm (tlpui): Update to 1.5.0.
2022-01-08 17:47:46 +01:00
Nicolas Goaziou
1a37bc5347
gnu: tlp: Update to 1.5.0.
* gnu/packages/linux.scm (tlp): Update to 1.5.0.
2022-01-08 17:45:41 +01:00
Nicolas Goaziou
6c12f62f6a
gnu: giac: Update to 1.7.0-45.
* gnu/packages/algebra.scm (giac): Update to 1.7.0-45.
[inputs]: Remove labels.
[native-inputs]: Remove labels.
2022-01-08 17:39:26 +01:00
Nicolas Goaziou
3873e66ab0
gnu: emacs-with-editor: Update to 3.1.1.
* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 3.1.1.
2022-01-08 17:31:13 +01:00
Nicolas Goaziou
69d72cda28
gnu: emacs-vertico: Update to 0.19.
* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.19.
2022-01-08 17:29:30 +01:00
Nicolas Goaziou
bcac65f428
gnu: emacs-trashed: Update to 2.1.3.
* gnu/packages/emacs-xyz.scm (emacs-trashed): Update to 2.1.3.
2022-01-08 17:27:14 +01:00
Nicolas Goaziou
e359b665e9
gnu: emacs-typit: Update to 0.2.2.
* gnu/packages/emacs-xyz.scm (emacs-typit): Update to 0.2.2.
2022-01-08 17:25:05 +01:00
Nicolas Goaziou
206483fef5
gnu: emacs-rustic: Update to 2.4.
* gnu/packages/emacs-xyz.scm (emacs-rustic): Update to 2.4.
2022-01-08 17:22:54 +01:00
Nicolas Goaziou
7d2fc12f0b
gnu: emacs-orgit: Update to 1.7.2.
* gnu/packages/emacs-xyz.scm (emacs-orgit): Update to 1.7.2.
2022-01-08 17:21:01 +01:00
Nicolas Goaziou
fafa4e6382
gnu: emacs-goto-chg: Update to 1.7.5.
* gnu/packages/emacs-xyz.scm (emacs-goto-chg): Update to 1.7.5.
2022-01-08 17:19:06 +01:00
Nicolas Goaziou
9c0de08e4c
gnu: emacs-devdocs: Update to 0.3.
* gnu/packages/emacs-xyz.scm (emacs-devdocs): Update to 0.3.
2022-01-08 17:16:37 +01:00
Nicolas Goaziou
22b3d15257
gnu: emacs-posframe: Update to 1.1.5.
* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 1.1.5.
2022-01-08 17:16:28 +01:00
Nicolas Goaziou
95eb4a676a
gnu: asymptote: Update to 2.75.
* gnu/packages/plotutils.scm (asymptote): Update to 2.75.
2022-01-08 17:12:38 +01:00
Christopher Baines
f4e8726204
gnu: laminar: Update to 1.1.
* gnu/packages/ci.scm (laminar): Update to 1.1.
[native-inputs]: Update ansi_up to 4.0.4.
2022-01-08 11:08:47 +00:00
Christopher Baines
f2f8d8cbd6
gnu: patchwork: Update to 3.0.4.
* gnu/packages/patchutils.scm (patchwork): Update to 3.0.4.
[propagated-inputs]: Use Django 3.2.
2022-01-08 11:08:14 +00:00
Marius Bakke
1ee120a31b
gnu: emacs-clang-rename: Remove input labels.
* gnu/packages/llvm.scm (emacs-clang-rename)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
2022-01-08 11:38:47 +01:00
Marius Bakke
6a9d0560ab
gnu: emacs-clang-format: Remove input labels.
* gnu/packages/llvm.scm (emacs-clang-format)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
2022-01-08 11:38:47 +01:00
Marius Bakke
2db689b669
gnu: python-clang: Add 13.
* gnu/packages/llvm.scm (python-clang-13): New variable.
2022-01-08 11:38:47 +01:00
Marius Bakke
e424264394
gnu: python-clang: Remove input labels.
* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use
SEARCH-INPUT-FILE instead of label.
2022-01-08 11:38:47 +01:00
Marius Bakke
c94202ac38
gnu: ungoogled-chromium: Build with Clang 13.
* gnu/packages/chromium.scm (%arch-patches): Remove obsolete.
(ungoogled-chromium)[native-inputs]: Change from CLANG-12 to CLANG-13.
2022-01-08 11:38:47 +01:00
Marius Bakke
e85e595628
gnu: clang@13: Install CFI ignorelist.
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Adjust
symlink-cfi_blacklist phase to work with the renamed "ignorelist" in
clang-runtime@13.  Rename phase to match.
* gnu/packages/llvm.scm (clang-13)[arguments]: Remove.
2022-01-08 11:38:47 +01:00
Marius Bakke
f8601b4289
gnu: python-llvmlite: Remove unused patch.
* gnu/packages/llvm.scm (python-llvmlite)[inputs]: Remove patch from the
custom LLVM variant, because the custom patch phase was defunct and the patch
no longer applies.
2022-01-08 11:38:46 +01:00
Marius Bakke
b62d2fd95d
gnu: lldb: Simplify inputs.
* gnu/packages/llvm.scm (lldb)[inputs]: Remove labels.
2022-01-08 11:38:46 +01:00
Marius Bakke
a05e573d60
gnu: lld: Update to 13.0.0.
* gnu/packages/llvm.scm (lld): Update to 13.0.0.
[inputs]: Change from LLVM-12 to LLVM-13.
2022-01-08 11:38:46 +01:00
Marius Bakke
3191dacc66
gnu: libunwind-headers: Update to 13.0.0.
* gnu/packages/llvm.scm (libunwind-headers): Update to 13.0.0.
2022-01-08 11:38:46 +01:00
Eric Bavier
1ea3f1d17a
gnu: c-vise: Update to 2.4.0.
* gnu/packages/debug.scm (c-vise)[source]: Update to 2.4.0.
[inputs]: Use list syntax.  Add python-chardet.
2022-01-07 21:53:26 -06:00