Commit graph

75053 commits

Author SHA1 Message Date
Alexandros Theodotou
634dacd27a
gnu: Add fluida-lv2.
* gnu/packages/music.scm (fluida-lv2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-06 11:41:48 +01:00
Maxime Devos
c05ceaf2b6
tests: do not hard code HTTP ports
Previously, test cases could fail if some process was listening
at a hard-coded port.  This patch eliminates most of these potential
failures, by automatically assigning an unbound port.  This should
allow for building multiple guix trees in parallel outside a build
container, though this is currently untested.

The test "home-page: Connection refused" in tests/lint.scm still
hardcodes port 9999, however.

* guix/tests/http.scm
  (http-server-can-listen?): remove now unused procedure.
  (%http-server-port): default to port 0, meaning the OS
  will automatically choose a port.
  (open-http-server-socket): remove the false statement claiming
  this procedure is exported and also return the allocated port
  number.
  (%local-url): raise an error if the port is obviously unbound.
  (call-with-http-server): set %http-server-port to the allocated
  port while the thunk is called.
* tests/derivations.scm: adjust test cases to use automatically
  assign a port.  As there is no risk of a port conflict now,
  do not make any tests conditional upon 'http-server-can-listen?'
  anymore.
* tests/elpa.scm: likewise.
* tests/lint.scm: likewise, and add a TODO comment about a port
  that is still hard-coded.
* tests/texlive.scm: likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-06 11:41:48 +01:00
Ludovic Courtès
3182539875
Revert "tests: Refer to '%derivation-cache' in the right module."
This reverts commit b1248016e0, which was
a mistake: the two '%derivation-cache' are two different things.  It
broke tests that use 'call-with-external-store'.
2021-03-06 11:41:48 +01:00
Nicolas Goaziou
ae6d19e7d6
gnu: texmacs: Update to 1.99.19.
* gnu/packages/text-editors.scm (texmacs): Update to 1.99.19.
2021-03-06 11:36:51 +01:00
Nicolas Goaziou
eab6776ecd
gnu: emacs-modus-themes: Update to 1.2.3.
* gnu/packages/emacs-xyz.scm (emacs-modus-themes): Update to 1.2.3.
2021-03-06 11:21:40 +01:00
Léo Le Bouter
090456dacb
gnu: ytnef: Fix CVE-2021-3403 and CVE-2021-3404.
* gnu/packages/patches/ytnef-CVE-2021-3403.patch,
gnu/packages/patches/ytnef-CVE-2021-3404.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/mail.scm (ytnef): Apply them.
2021-03-06 04:47:10 +01:00
Léo Le Bouter
6f873731a0
gnu: zstd: Update to 1.4.9 [security fixes].
Fixes CVE-2021-24031 and CVE-2021-24032.

* gnu/packages/compression.scm (zstd-1.4.9): New variable.
* gnu/packages/compression.scm (zstd): Update to 1.4.9.
[replacement]: Graft with 'zstd-1.4.9'.
2021-03-06 02:42:34 +01:00
Tobias Geerinckx-Rice
1462a11dbb
gnu: verilator: Update to 4.110.
* gnu/packages/fpga.scm (verilator): Update to 4.110.
2021-03-06 01:23:42 +01:00
Tobias Geerinckx-Rice
faaf7ef335
gnu: fsarchiver: Update to 0.8.6.
* gnu/packages/file-systems.scm (fsarchiver): Update to 0.8.6.
2021-03-06 01:23:42 +01:00
Tobias Geerinckx-Rice
cacab6853d
gnu: qtmips: Update to 0.7.5.
* gnu/packages/emulators.scm (qtmips): Update to 0.7.5.
2021-03-06 01:23:41 +01:00
Tobias Geerinckx-Rice
c8cbd369eb
gnu: vim-full: Remove duplicate 'make-flags'.
Fixes <https://bugs.gnu.org/46580>.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>

* gnu/packages/vim.scm (vim-full)[arguments]: Remove duplicate
'make-flags'.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-03-06 01:22:51 +01:00
Tobias Geerinckx-Rice
170cf035ce
gnu: libmd: Update to 1.0.3.
* gnu/packages/crypto.scm (libmd): Update to 1.0.3.
2021-03-06 01:22:51 +01:00
Tobias Geerinckx-Rice
1582f12233
gnu: epson-inkjet-printer-escpr: Update to 1.7.9.
* gnu/packages/cups.scm (epson-inkjet-printer-escpr): Update to 1.7.9.
2021-03-06 01:22:50 +01:00
Léo Le Bouter
373e5fc967
gnu: Add gfeeds.
* gnu/packages/syndication.scm (gfeeds): New variable.
2021-03-06 00:14:32 +01:00
Léo Le Bouter
3218f02de4
gnu: Add python-listparser.
* gnu/packages/python-xyz.scm (python-listparser): New variable.
2021-03-06 00:14:32 +01:00
Léo Le Bouter
db5a70c81d
gnu: Add python-readability.
* gnu/packages/python-xyz.scm (python-readability): New variable.
2021-03-06 00:14:32 +01:00
Tobias Geerinckx-Rice
ae2231559c
gnu: hplip: Update to 3.21.2.
* gnu/packages/cups.scm (hplip): Update to 3.21.2.
* gnu/packages/patches/hplip-remove-imageprocessor.patch: Adapt.
2021-03-06 00:07:46 +01:00
Léo Le Bouter
04d780b5c6
gnu: openscad: Disable failing tests with cgal@5.2 input.
* gnu/packages/engineering.scm (openscad)[arguments]: Add more disable tests in
'check phase.
2021-03-05 23:51:57 +01:00
Léo Le Bouter
fc193b6518
gnu: cgal: Update to 5.2 [security fixes].
* gnu/packages/patches/cgal-security-pr-5371.patch: New patch. Downloaded from
<https://patch-diff.githubusercontent.com/raw/CGAL/cgal/pull/5371.patch>, with
hunks on files matching pattern "*Convex_decomposition_3*" removed because
they don't exist in cgal's released sources.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/graphics.scm (cgal): Update to 5.2.
[source]: Apply patch.
2021-03-05 23:51:57 +01:00
Christopher Baines
a714af38d5
gnu: guix: Update to 112692c.
* gnu/packages/package-management.scm (guix): Update to 112692c.
2021-03-05 21:55:47 +00:00
Julien Lepiller
c6ada4914d
gnu: camlboot: Fix typo in properties.
* gnu/packages/ocaml.scm (camlboot)[properties]: Add missing pair of
parenthesis.
2021-03-05 22:38:19 +01:00
Christopher Baines
112692c0d5
guix: Split (guix substitutes) from (guix scripts substitute).
This means there's a module for working with substitutes, rather than all the
code sitting in the script. The need for this can be seen with the weather and
challenge scripts, that now don't have to use code from the substitute script,
but can instead use the substitute module.

The separation here between the actual functionality of the substitute script
and the underlying functionality used both there and elsewhere should make
maintenance easier moving forward.

This commit just moves code, none of the code should have been changed
significantly.

* guix/scripts/substitute.scm (%narinfo-cache-directory, %narinfo-ttl,
%narinfo-negative-ttl, %narinfo-transient-error-ttl, %unreachable-hosts): Move
variables to guix/substitutes.scm.
(narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
read-to-eof, call-with-connection-error-handling, fetch-narinfos,
lookup-narinfos, lookup-narinfos/diverse): Move procedures to
guix/substitutes.scm.
* guix/substitutes.scm: New file.
* Makefile.am: Add it.
* guix/narinfo.scm: Remove redundant module.
* guix/scripts/challenge.scm: Change (guix scripts substitute) to (guix
substitutes).
* guix/scripts/weather.scm: Change (guix scripts substitute) to (guix
substitutes).
2021-03-05 21:06:03 +00:00
Brice Waegeneire
23c6be1d3d
gnu: network-manager-applet: Update to 1.20.0.
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.20.0.
2021-03-05 21:44:51 +01:00
Sébastien Lerique
0055f6a8a3
gnu: network-manager-applet: Activate support for libappindicator.
* gnu/packages/gnome.scm (network-manager-applet): Activate support for
libappindicator.
[arguments]: Add #:configure-flags.
[inputs]: Add "libappindicator".

Signed-off-by: Brice Waegeneire <brice@waegenei.re>
2021-03-05 21:44:32 +01:00
Leo Famulari
fa7f4781ca
gnu: Audacity: Fix a crash on foreign distros.
Without the wrap phase, Audacity crashes like this when trying to use the "Open
file" dialog:

(audacity:28276): GLib-GIO-ERROR **: 14:14:55.211: Settings schema 'org.gtk.Settings.FileChooser' is not installed

* gnu/packages/audio.scm (audacity)[arguments]: Add (guix build
glib-or-gtk-build-system) to #:imported-modules. Adjust #:modules accordingly.
Add phases 'glib-or-gtk-wrap'.
2021-03-05 14:54:54 -05:00
Tobias Geerinckx-Rice
41b984ccfc
gnu: pencil2d: Update to 0.6.6.
* gnu/packages/animation.scm (pencil2d): Update to 0.6.6.
2021-03-05 19:07:31 +01:00
Tobias Geerinckx-Rice
b9610b2420
gnu: libburn: Update to 1.5.4.
* gnu/packages/cdrom.scm (libburn): Update to 1.5.4.
2021-03-05 19:07:31 +01:00
Tobias Geerinckx-Rice
d0f4283c44
pull: Expand help text for --{url,commit,branch}.
* guix/scripts/pull.scm (show-help): Document that ‘--url’, ‘--commit’,
and ‘--branch’ affect only the ‘guix’ channel (for now?).
2021-03-05 19:07:31 +01:00
Nicolas Goaziou
e539449397
gnu: denemo: Update to 2.5.0.
* gnu/packages/music.scm (denemo): Update to 2.5.0.
2021-03-05 17:44:07 +01:00
Daniel Brooks
3aa65ce266
gnu: youtube-dl: Update to 2021-03-03.
gnu/packages/video.scm (youtube-dl): Update to 2021-03-03.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:27:24 +01:00
Xinglu Chen
be2b2e884b
gnu: Add emacs-envrc.
* gnu/packages/emacs-xyz.scm (emacs-envrc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:26:19 +01:00
Stefan Reichör
e693927a74
gnu: Add lr.
* gnu/packages/admin.scm (lr): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:23:18 +01:00
Stefan Reichör
697a4c464d
gnu: Add emacs-springboard.
* gnu/packages/emacs-xyz.scm (emacs-springboard): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:20:01 +01:00
Stefan Reichör
1fe75f8397
gnu: Add emacs-multifiles.
* gnu/packages/emacs-xyz.scm (emacs-multifiles): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:15:39 +01:00
John Soo
92894e64a0
gnu: emacs-eglot: Add missing dependency.
* gnu/packages/emacs-xyz.scm (emacs-eglot):[arguments] Add dependency.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:03:10 +01:00
John Soo
ad0c8f7eaa
gnu: Add emacs-eldoc.
* gnu/packages/emacs-xyz.scm (emacs-eldoc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:02:47 +01:00
Tobias Geerinckx-Rice
81aa2fa4ae
gnu: php: Update to 7.4.16 [security fixes].
* gnu/packages/php.scm (php): Update to 7.4.16.
[arguments]: Patch failing new test.
2021-03-05 16:12:31 +01:00
Mădălin Ionel Patrașcu
297531ef58
gnu: Add r-circrnaprofiler.
* gnu/packages/bioconductor.scm (r-circrnaprofiler): New variable.
2021-03-05 16:07:06 +01:00
Mădălin Ionel Patrașcu
1353e53605
gnu: Add r-universalmotif.
* gnu/packages/bioconductor.scm (r-universalmotif): New variable.
2021-03-05 16:07:06 +01:00
Mădălin Ionel Patrașcu
dfbbc73670
gnu: Add r-rcppthread.
* gnu/packages/cran.scm (r-rcppthread): New variable.
2021-03-05 16:07:03 +01:00
Julien Lepiller
58277e68d4
gnu: camlboot: Raise max-silent-time timeout value to 4 hours.
* gnu/packages/ocaml.scm (camlboot)[properties]: Add a 'max-silent-time'
property, with a value of 4 hours.
2021-03-05 15:53:36 +01:00
Ricardo Wurmus
f5c3e8e2ec
gnu: Add r-cellchat.
* gnu/packages/bioinformatics.scm (r-cellchat): New variable.
2021-03-05 15:04:15 +01:00
Ricardo Wurmus
c0c3f7466c
gnu: Add r-gg-gap.
* gnu/packages/cran.scm (r-gg-gap): New variable.
2021-03-05 15:04:15 +01:00
Felix Gruber
b2a94e59b8
gnu: virtualpg: Update to 2.0.1.
* gnu/packages/geo.scm (virtualpg): Update to 2.0.1.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-03-05 13:47:43 +01:00
Philip McGrath
d2278beb10
gnu: racket: Update to 8.0.
* gnu/packages/scheme.scm (racket): Update to 8.0.
[arguments]: Add #:configure-flags.  Add 'patch-chez-configure' phase.
[inputs]: Add "zlib", "zlib:static", "lz4", and "lz4:static".
[synopsis, description]: Tweak.
(racket-minimal): Update to 8.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-05 12:49:28 +01:00
Ludovic Courtès
b1248016e0
tests: Refer to '%derivation-cache' in the right module.
* guix/tests.scm (call-with-external-store): Fix module name for
'%derivation-cache'.
2021-03-05 12:49:28 +01:00
Ludovic Courtès
9d349afaa1
download: 'url-fetch/tarbomb' and 'url-fetch/zipbomb' refer to native tools.
* guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use
'ungexp-native' instead of 'ungexp' when referring to the decompression
tools.
2021-03-05 12:49:28 +01:00
Ludovic Courtès
6de3ef0d5e
gexp: Honor #:target in 'compiled-modules'.
* guix/gexp.scm (compiled-modules): Pass #:target to 'gexp->derivation'.
2021-03-05 12:49:28 +01:00
Ludovic Courtès
c19304d2d2
doc: Refer to the right node for '--keep-failed'.
* doc/guix.texi (Invoking guix-daemon, Debugging Build Failures): Refer
to "Common Build Options" for '--keep-failed'.
2021-03-05 12:49:27 +01:00
Ludovic Courtès
90ea8b16eb
profiles: 'package->manifest-entry' preserves transformations by default.
Previously, transformations applied from a manifest (rather than via
"guix install") would be lost.  This change fixes that and simplifies
things.

Reported by zimoun at
<https://lists.gnu.org/archive/html/guix-devel/2021-02/msg00153.html>.

* guix/profiles.scm (default-properties): New procedure.
(package->manifest-entry): Use it for #:properties.
* guix/scripts/pack.scm (guix-pack)[with-transformations]: Remove.
Remove caller.
* guix/scripts/package.scm (transaction-upgrade-entry): Remove calls to
'manifest-entry-with-transformations'.
* tests/guix-package.sh: Add test.
* tests/transformations.scm ("options->transformation + package->manifest-entry"):
New test.
2021-03-05 12:49:27 +01:00