Commit graph

75064 commits

Author SHA1 Message Date
Mark H Weaver
15c4b98daa
gnu: icecat: Update to 78.8.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2021-23968, CVE-2021-23969, CVE-2021-23973, and
CVE-2021-23978.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update upstream source hash.
2021-02-24 00:30:40 -05:00
Nicolas Goaziou
c418c6b64c
gnu: emacs-csv-mode: Update to 1.15.
* gnu/packages/emacs-xyz.scm (emacs-csv-mode): Update to 1.15.
2021-02-24 01:18:33 +01:00
Raghav Gururajan
22ba2bb83c
gnu: profanity: Disable static libraries.
* gnu/packages/messaging.scm (profanity) [arguments]<#:configure-flag>: Add --disable-static.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-02-24 00:50:45 +01:00
Raghav Gururajan
dcfd7c7bc9
gnu: profanity: Add missing inputs.
* gnu/packages/messaging.scm (profanity) [inputs]: Add libgcrypt.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-02-24 00:50:44 +01:00
Raghav Gururajan
1be08b1e01
gnu: libstrophe: Disable static libraries.
* gnu/packages/messaging.scm (libstrope)[arguments]: Add --disable-static
configure flag.  Patch Makefile.am to make tests link correctly.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>

libstrophe oneline
2021-02-24 00:50:36 +01:00
Raghav Gururajan
22f303d70b
gnu: libstrophe: Update to 0.10.1.
* gnu/packages/messaging.scm (libstrophe) [version]: Update to 0.10.1.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-02-24 00:50:35 +01:00
Raghav Gururajan
93dc9dc333
gnu: libmesode: Disable static libraries.
* gnu/packages/messaging.scm (libmesode)[arguments]: Add --disable-static
configure flag.  Patch Makefile.am to make tests link correctly.
2021-02-24 00:49:26 +01:00
Raghav Gururajan
266a37285c
gnu: libmesode: Update source, home-page URIs.
* gnu/packages/messaging.scm (libmesode) [source]: Update to new
upstream URI.
[home-page]: Same.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-02-24 00:40:14 +01:00
Dan Frumin
46c5ae03ce
gnu: Add oshu.
* gnu/packages/games.scm (oshu): New variable.

Co-authored-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-02-24 00:37:37 +01:00
Leo Prikler
a1fd8f01b2
guix: renpy-build-system: Quote data directory.
This prevents generated launchers and desktop files from inadvertently
crashing if the directory name contains a space.

* gnu/build/renpy-build-system.scm (install, install-desktop-file): Use ~s
to format data directory.
2021-02-24 00:37:37 +01:00
Björn Höfling
53c40b3c77
gnu: asciidoc: Update source URI.
* gnu/packages/documentation.scm (asciidoc)[source]: Update URI.

This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46706>.

They moved (and redirected) the repository to the new location
<https://github.com/asciidoc-py/asciidoc-py>. Here they changed the old
commits in-place using now Python3, which caused the hash mismatch.

The untouched Python2 version is still found under the ..-py2 repository.
2021-02-23 23:42:58 +01:00
Alexandros Theodotou
3fc49dae18
gnu: redkite: Update to 1.3.0.
* gnu/packages/audio.scm (redkite): Update to 1.3.0.
[propagated-inputs]: Move cairo from inputs.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 22:19:11 +01:00
Alexandros Theodotou
0bb40f8fc5
gnu: geonkick: Update to 2.7.0.
* gnu/packages/music.scm (geonkick): Update to 2.7.0.
[inputs]: Remove cairo (included in redkite).
[home-page]: Update URL.
[source]: Update repository URL.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 22:18:28 +01:00
Alexandros Theodotou
1a2a0245cf
gnu: zrythm: Update to 1.0.0-alpha.12.0.1.
* gnu/packages/music.scm (zrythm): Update to 1.0.0-alpha.12.0.1.
[inputs]: Add pulseaudio.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 22:16:16 +01:00
Christopher Baines
eec127822a
gnu: guix-build-coordinator: Update to 0-19.f9a257e.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-19.f9a257e.
2021-02-23 20:19:16 +00:00
Leo Famulari
56733080c4
packages: Improve the docstring of PACKAGE/INHERIT.
* guix/packages.scm (package/inherit): Try to clarify the docstring.
2021-02-23 14:12:34 -05:00
Leo Famulari
84e082e317
gnu: Python: Fix CVE-2021-3177.
* gnu/packages/patches/python-3.8-CVE-2021-3177.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-3.8)[replacement]: New field.
(python-3.8/fixed): New variable.
2021-02-23 14:12:33 -05:00
Alexandros Theodotou
c60ab40630
gnu: Add midicomp.
* gnu/packages/audio.scm (midicomp): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 20:02:52 +01:00
Ricardo Wurmus
5d5bbd6fcc
gnu: Add star-for-pigx.
This is a follow-up to commit f1f6e49190.

* gnu/packages/bioinformatics.scm (star-for-pigx): New variable.
(pigx-rnaseq, pigx-scrnaseq)[inputs]: Replace star with star-for-pigx.
2021-02-23 19:40:59 +01:00
Nicolas Goaziou
a31a308245
gnu: grammalecte: Update to 2.1.1.
* gnu/packages/dictionaries.scm (grammalecte): Update to 2.1.1.
2021-02-23 19:01:50 +01:00
Nicolas Goaziou
b158341dd4
gnu: pwsafe-cli: Fix version (again).
* gnu/packages/password-utils.scm (pwsafe-cli)[version]: Actual version is
0.2.0, not 0.2.1.

This is a followup to 9d76ff4304.
2021-02-23 18:36:00 +01:00
Nicolas Goaziou
9d76ff4304
gnu: pwsafe-cli: Fix version.
* gnu/packages/password-utils.scm (pwsafe-cli)[version]: Use 0.2.1 instead of
0.
2021-02-23 18:30:22 +01:00
Nicolas Goaziou
aac6dd5bd6
gnu: pwsafe-cli: Small fixes.
* gnu/packages/password-utils.scm (pwsafe-cli): Fix indentation.
[inputs]: Re-order alphabetically.
[description]: Use a full sentence.
2021-02-23 18:27:45 +01:00
Nicolas Goaziou
484c56593b
gnu: pwsafe-cli: Fix license.
* gnu/packages/password-utils.scm (pwsafe-cli)[license]: Use GPL2+.
2021-02-23 18:23:43 +01:00
Stefan Reichör
33a212bf88
gnu: Add pwsafe-cli.
* gnu/packages/password-utils.scm (pwsafe-cli): New variable.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-02-23 16:54:45 +01:00
Alexey Abramov via Guix-patches via
892d395152
gnu: emacs-oauth2: Fix source location.
* gnu/packages/emacs-xyz.scm (emacs-oauth2): Replace .el extension with .tar

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 15:52:23 +01:00
raid5atemyhomework
0a0b0148e5
doc: Expand sane-service-type documentation.
* doc/guix.texi (sane-service-type): Move from between documentation
about geoclue, expand slightly.
(sane-backends-minimal): New description.
(sane-backends): New description, new example.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 15:41:46 +01:00
Ludovic Courtès
0a912b3a43
store: Micro-optimize object cache lookup.
This avoids a closure allocation when 'lookup-cached-object' is called.

* guix/store.scm (lookup-cached-object): Avoid optional/keyword
arguments and inline.
(%mcached): Adjust accordingly.
2021-02-23 15:24:49 +01:00
Ludovic Courtès
fcde4e10b8
gexp: Reduce allocations in 'gexp-attribute'.
* guix/gexp.scm (gexp-attribute): Use 'fold' and 'fold/tree' instead of
'append-map'.
2021-02-23 15:24:49 +01:00
Ludovic Courtès
c8bd5fa59c
gexp: Reduce allocations while traversing lists.
This reduces the total amount of memory allocated by 8% when running
"guix build qemu -d --no-grafts".

* guix/gexp.scm (fold/tree): New procedure.
(gexp-inputs)[interesting?]: New procedure.
[add-reference-inputs]: Change (lst ...) clause to (? pair? lst), and
use 'fold/tree' to recurse into it.
(gexp-inputs)[add-reference-output]: Likewise, and remove
plain (lst ...) clause.
Call 'fold'.
(gexp->sexp)[reference->sexp]: In the list case, avoid boxing and
recursive call when the object has a plain non-aggregate type.
2021-02-23 15:24:49 +01:00
Ludovic Courtès
b57de6fea1
gexp: Micro-optimize 'gexp->sexp' and 'lower-inputs'.
* guix/gexp.scm (lower-inputs, gexp->sexp): Change keyword parameters to
positional parameters.  Adjust callers accordingly.
* tests/gexp.scm (gexp->sexp*, "gexp->file"): Adjust accordingly.
2021-02-23 15:24:48 +01:00
Ludovic Courtès
a26006ff72
gexp: Keep 'lower-inputs' private.
It had been made public in 6b6298ae39 but
it's no longer needed since 779aa003fb.

* guix/gexp.scm (lower-inputs): Do not export.
2021-02-23 15:24:48 +01:00
Ludovic Courtès
4fa9d48fd4
gexp: 'gexp-inputs' returns both native and non-native inputs.
This avoids double traversal of references and extra bookkeeping,
thereby further reducing memory allocations.

* guix/gexp.scm (lower-gexp): Include only one call to 'lower-inputs'.
(gexp-inputs): Remove #:native? parameter.
[set-gexp-input-native?]: New procedure.
[add-reference-inputs]: Use it.
(gexp-native-inputs): Remove.
* tests/gexp.scm (gexp-native-inputs): Remove.
(gexp-input->tuple): Include 'gexp-input-native?'.
("let-system")
("let-system, nested")
("ungexp + ungexp-native")
("ungexp + ungexp-native, nested")
("ungexp + ungexp-native, nested, special mixture")
("input list")
("input list + ungexp-native")
("input list splicing")
("input list splicing + ungexp-native-splicing")
("gexp list splicing + ungexp-splicing"): Adjust accordingly.
2021-02-23 15:24:48 +01:00
Ludovic Courtès
fc6d6aee66
gexp: 'gexp-inputs' returns a list of <gexp-input> records.
This slightly reduces memory allocation.

* guix/gexp.scm (lower-inputs): Expect a list of <gexp-input> rather
than a list of tuples.
(lower-reference-graphs)[tuple->gexp-input]: New procedure.
Use it.
(gexp-inputs): Return a list of <gexp-input> rather than a list of
tuples.
* tests/gexp.scm (gexp-input->tuple): New procedure.
("one input package")
("one input package, dotted list")
("one input origin")
("one local file")
("one local file, symlink")
("one plain file")
("two input packages, one derivation, one file")
("file-append")
("file-append, output")
("file-append, nested")
("let-system")
("let-system, nested")
("ungexp + ungexp-native")
("ungexp + ungexp-native, nested")
("ungexp + ungexp-native, nested, special mixture")
("input list")
("input list + ungexp-native")
("input list splicing")
("input list splicing + ungexp-native-splicing")
("gexp list splicing + ungexp-splicing"): Adjust accordingly.
2021-02-23 15:24:48 +01:00
Ludovic Courtès
bde7929bd0
gexp: Micro-optimize sexp serialization.
* guix/gexp.scm (sexp->string): New procedure.
(gexp->derivation): Use it instead of 'object->string'.
2021-02-23 15:24:48 +01:00
Ludovic Courtès
70b33d8898
store: Object cache profiling shows the number of entries.
* guix/store.scm (record-cache-lookup!): Add 'size' variable; keep it
up-to-date and display it.
2021-02-23 15:24:47 +01:00
Ludovic Courtès
db45712a67
grafts: Inline 'grafting?' and 'set-grafting'.
As for 'current-target-system' & co., this makes sure we don't
needlessly allocate closures.

* guix/grafts.scm (grafting?, set-grafting): Inline.
2021-02-23 15:24:47 +01:00
Efraim Flashner
3c548c3e0e
gnu: ruby-rails: Update to 6.1.3.
* gnu/packages/rails.scm (ruby-activemodel, ruby-activerecord,
ruby-actionview, ruby-actionpack, ruby-actioncable, ruby-activejob,
ruby-activestorage, ruby-actionmailer, ruby-railties, ruby-rails):
Update to 6.1.3.
(ruby-actiontext, ruby-actionmailbox): New variables.
(ruby-actioncable)[propagated-inputs]: Add ruby-activesupport.
(ruby-activestorage)[propagated-inputs]: Add ruby-activejob,
ruby-activesupport, ruby-mimemagic.
(ruby-actionmailer)[propagated-inputs]: Add ruby-activesupport.
(ruby-railties)[propagated-inputs]: Add ruby-rake.
(ruby-rails)[propagated-inputs]: Add ruby-actionmailbox,
ruby-actiontext.
* gnu/packages/ruby.scm (ruby-activesupport): Update to 6.1.3.
[propagated-inputs]: Add ruby-zeitwerk.
[home-page]: Use https.
2021-02-23 16:04:27 +02:00
Efraim Flashner
c2fdc528dd
gnu: ruby-rack: Update to 2.2.3.
* gnu/packages/ruby.scm (ruby-rack): Update to 2.2.3.
[source]: Remove patch. Add snippet.
[arguments]: Adjust custom 'fix-tests phase. Remove 'make-files-writable
phase.
[native-inputs]: Remove ruby-minitest-sprint, which. Add
ruby-minitest-global-expectations.
[propagated-inputs]: Remove ruby-concurrent.
* gnu/packages/patches/ruby-rack-ignore-failing-test.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-02-23 16:04:27 +02:00
Efraim Flashner
8bad3c8ddf
gnu: Add ruby-zeitwerk.
* gnu/packages/ruby.scm (ruby-zeitwerk): New variable.
2021-02-23 16:04:27 +02:00
Efraim Flashner
fa0a244138
gnu: ruby-web-console: Update to 4.1.0.
* gnu/packages/rails.scm (ruby-web-console): Update to 4.1.0.
2021-02-23 16:04:27 +02:00
Efraim Flashner
ebd8e447e9
gnu: ruby-tzinfo-data: Update to 1.2021.1.
* gnu/packages/ruby.scm (ruby-tzinfo-data): Update to 1.2021.1.
[source]: Remove patch.
[arguments]: Add custom 'patch-source, 'pre-check phases.
[native-inputs]: Add IANA timezone data files.
* gnu/packages/patches/ruby-tzinfo-data-ignore-broken-test.patch: Remove
file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-02-23 16:04:27 +02:00
Efraim Flashner
76e1093b2b
gnu: ruby-tzinfo: Update to 2.0.4.
* gnu/packages/ruby.scm (ruby-tzinfo): Update to 2.0.4.
[source]: Download using git-fetch.
[arguments]: Add custom 'pre-check, 'check phases.
[propagated-inputs]: Remove ruby-thread-safe, add ruby-concurrent.
[native-inputs]: Add ruby-simplecov.
2021-02-23 16:04:27 +02:00
Efraim Flashner
6519e61129
gnu: ruby-rails-html-sanitizer: Update to 1.3.0.
* gnu/packages/rails.scm (ruby-rails-html-sanitizer): Update to 1.3.0.
2021-02-23 16:04:26 +02:00
Efraim Flashner
945d5d039a
gnu: ruby-rails-dom-testing: Update to 2.0.3.
* gnu/packages/rails.scm (ruby-rails-dom-testing): Update to 2.0.3.
2021-02-23 16:04:26 +02:00
Efraim Flashner
8bb7ebc3d8
gnu: ruby-loofah: Update to 2.3.1.
* gnu/packages/ruby.scm (ruby-loofah): Update to 2.3.1.
[arguments]: Adjust custom 'remove-unnecessary-dependencies phase for
upstream changes.
2021-02-23 16:04:26 +02:00
Efraim Flashner
ab4b6ae6af
gnu: ruby-mail: Update to 2.7.1.
* gnu/packages/ruby.scm (ruby-mail): Update to 2.7.1.
[propagated-inputs]: Remove ruby-mime-types, add ruby-mini-mime.
[arguments]: Adjust comment about skipping tests.
2021-02-23 16:04:26 +02:00
Efraim Flashner
ae17c6c31d
gnu: Add ruby-mini-mime.
* gnu/packages/ruby.scm (ruby-mini-mime): New variable.
2021-02-23 16:04:26 +02:00
Efraim Flashner
b76723041b
gnu: ruby-protobuf: Add missing input.
* gnu/packages/protobuf.scm (ruby-protobuf)[propagated-inputs]: Add
ruby-thread-safe.
2021-02-23 16:04:23 +02:00
Greg Hogan
25f00a2e44
gnu: stockfish: Update to 13.
* gnu/packages/games.scm (stockfish): Update to 13.
[inputs]: Update neural network file.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23 13:53:10 +01:00