Commit graph

70896 commits

Author SHA1 Message Date
Jonathan Brielmaier
47c8a9dacd
gnu: icedove: Update to 78.6.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 78.6.0.
2020-12-16 19:48:03 +01:00
Nicolas Goaziou
2eb3b91b55
gnu: Add emacs-project.
* gnu/packages/emacs-xyz.scm (emacs-project): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-16 18:26:47 +01:00
Nicolas Goaziou
c81a21ac2a
gnu: Add emacs-xref.
* gnu/packages/emacs-xyz.scm (emacs-xref): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-16 18:25:31 +01:00
Nicolas Goaziou
ab155471de
gnu: emacs-org-caldav: Make description a full sentence.
* gnu/packages/emacs-xyz.scm (emacs-org-caldav)[description]: Make it a full
sentence.
2020-12-16 15:14:49 +01:00
Nicolas Goaziou
6bbcfb73cd
gnu: emacs-org-caldav: Update to 0.0.0-2-8569941.
* gnu/packages/emacs-xyz.scm (emacs-org-caldav): Update to 0.0.0-2-8569941.
2020-12-16 15:13:37 +01:00
Jonathan Brielmaier
b358a94e74
gnu: python-internetarchive: Fix typo.
* gnu/packages/web.scm (python-internetarchive): Fix typo.
2020-12-16 09:58:34 +01:00
Michael Rohleder
18f372bb57
gnu: obs: Update to 26.1.0.
* gnu/packages/video.scm (obs): Update to 26.1.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-16 01:30:31 -05:00
Mark H Weaver
831af1fd48
gnu: webkitgtk: Update to 2.30.4.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.30.4.
2020-12-15 22:09:30 -05:00
Leo Famulari
c7ed031d0c
gnu: Add libcaption.
* gnu/packages/video.scm (libcaption): New variable.
2020-12-15 22:07:09 -05:00
Leo Famulari
9bbb4fa145
gnu: Add bootterm.
* gnu/packages/terminals.scm (bootterm): New variable.
2020-12-15 21:52:40 -05:00
Brett Gilio
9581440895
gnu: emacs-telega: Update homepage.
* gnu/packages/emacs-xyz.scm (emacs-doom-modeline)[home-page]: Use updated URL.
2020-12-15 18:26:17 -06:00
Brett Gilio
3f5db461ea
gnu: emacs-telega: Update to 0.7.1-1.
* gnu/packages/emacs-xyz.scm (emacs-telega): Update to 0.7.1-1.
2020-12-15 18:25:36 -06:00
Lars-Dominik Braun
f14bb29def
import: cran: Use CRAN’s canonical URL as home-page.
* guix/import/cran.scm (%cran-canonical-url): New variable.
(description->package): Construct home-page using canonical URL.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-15 22:34:30 +00:00
Hendursaga
0510ca15aa
gnu: Add cfunge.
* gnu/packages/esolangs.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 16:59:01 -05:00
Boris A. Dekshteyn
cf066b7a4e
gnu: foo2zjs: Fix installation.
* gnu/packages/cups.scm (foo2zjs)[inputs]: Add coreutils and sed.
[arguments]: Add new phases ''make-install-dirs', 'wrap-wrappers', and
'install-cups-filters-symlinks'.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 16:51:24 -05:00
Ludovic Courtès
d88ff09ea3
services: 'references-file' depends on Guile-Gcrypt.
Regression introduced in 6a060ff27f.

Reported by clone11 on #guix.

* gnu/services/base.scm (references-file): Wrap gexp in 'with-extensions'.
2020-12-15 22:29:55 +01:00
Zheng Junjie
a387cbab4f
gnu: Add Okular.
* gnu/packages/kde.scm (okular): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 15:35:28 -05:00
Mark H Weaver
a0c40af447
gnu: icecat: Update to 78.6.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2020-16042, CVE-2020-26971, CVE-2020-26973,
CVE-2020-26974, CVE-2020-26978, CVE-2020-35111, CVE-2020-35112, and
CVE-2020-35113.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to new version.
2020-12-15 13:12:48 -05:00
Mark H Weaver
a531055b0b
gnu: yelp-tools: Restore a comment.
* gnu/packages/gnome.scm (yelp-tools)[propagated-inputs]: Restore a
comment deleted in commit 416b1b9f56.
2020-12-15 13:12:45 -05:00
Mark H Weaver
359f841c5d
gnu: gobject-introspection: Restore a comment.
* gnu/packages/glib.scm (gobject-introspection)[propagated-inputs]: Restore a
comment deleted in commit c3264f9e10.
2020-12-15 13:12:42 -05:00
Mark H Weaver
740c0f37f9
gnu: youtube-dl: Avoid using pre-generated code.
* gnu/packages/video.scm (youtube-dl)[source]: Add 'snippet' to delete
pre-generated files.
[arguments]: Add 'build-generated-files' phase.
[native-inputs]: New field, to add 'zip'.
2020-12-15 13:12:35 -05:00
Nicolas Goaziou
aeb11754e0
gnu: emacs-ivy-posframe: Update to 0.5.5.
* gnu/packages/emacs-xyz.scm (emacs-ivy-posframe): Update to 0.5.5.
2020-12-15 17:50:30 +01:00
Ludovic Courtès
7530e491b5
deduplicate: Create the '.links' directory lazily.
This avoids repeated (mkdir-p "/gnu/store/.links") calls when
deduplicating lots of files.

* guix/store/deduplication.scm (deduplicate): Remove initial call to
'mkdir-p'.  Add ENOENT case in 'link' exception handler.  Reindent.
* tests/store-deduplication.scm ("deduplicate, ENOSPC"): Check
for (<= links 4) to account for the initial 'link' call.
2020-12-15 17:32:12 +01:00
Ludovic Courtès
9e6fe0e08f
database: Honor 'SOURCE_DATE_EPOCH'.
* guix/store/database.scm (timestamp): New procedure.
(sqlite-register): Use it as the default for #:time.
(register-items): Likewise for #:registeration-time.
2020-12-15 17:32:11 +01:00
Ludovic Courtès
3169c93903
database: Remove 'register-path'.
* guix/store/database.scm (register-path): Remove.
* tests/store-database.scm ("register-path"): Rename to...
("register-items"): ... this, and use 'register-items' instead of
'register-path'.
("register-path, directory"): Rename to...
("register-items, directory"): ... this, and use 'register-items'
instead of 'register-path'.
("register-path with unregistered references"): Rename to...
("sqlite-register with unregistered references"): ... this.
2020-12-15 17:32:11 +01:00
Ludovic Courtès
1574bd82bb
system: 'init' does not recompute the hash of each store item.
Fixes <https://bugs.gnu.org/44760>.

Previously, the 'register-path' call would re-traverse ITEM to compute
its nar hash, even though that hash is already known in the initial
store.  This patch also avoids repeated opening/closing of the
database.

* guix/store/database.scm (call-with-database): Export.
* guix/scripts/system.scm (copy-item): Add 'db' parameter.  Call
'sqlite-register' instead of 'register-path'.
(copy-closure): Remove redundant call to 'references*'.  Call
'call-with-database' and pass the database to 'copy-item'.
2020-12-15 17:32:11 +01:00
Ludovic Courtès
0682cc5936
database: Remove #:deduplicate? and #:reset-timestamps? from 'register-path'.
* guix/store/database.scm (register-path): Remove #:deduplicate?
and #:reset-timestamps?.
* guix/scripts/system.scm (copy-item): Adjust accordingly.
* tests/store-database.scm ("register-path")
("register-path, directory"): Call 'reset-timestamps'.
2020-12-15 17:32:11 +01:00
Ludovic Courtès
cd6c5ddfc8
guix system: 'init' copies, resets timestamps, and deduplicates at once.
Partly fixes <https://bugs.gnu.org/44760>.

* guix/build/store-copy.scm (copy-store-item): New procedure.
(populate-store): Use it instead of the inline 'copy-recursively' call.
* guix/scripts/system.scm (copy-item): Likewise.
Pass #:reset-timestamps? and #:deduplicate? to 'register-path'.
2020-12-15 17:32:11 +01:00
Ludovic Courtès
0793833c59
database: Remove #:deduplicate? from 'register-items'.
It is now up to the caller to deduplicate store contents.

* guix/store/database.scm (register-items): Remove #:deduplicate?
parameter and call to 'deduplicate'.
(register-path): Call 'deduplicate' when #:deduplicate? is true.
* gnu/build/image.scm (register-closure): Adjust call accordingly.
* gnu/build/vm.scm (register-closure): Likewise.
* guix/nar.scm (finalize-store-file): Likewise.
* guix/scripts/pack.scm (store-database): Likewise.
2020-12-15 17:32:11 +01:00
Ludovic Courtès
2aa512ec28
image: 'register-closure' leaves it up to the caller to deduplicate.
* gnu/build/image.scm (register-closure): Remove #:deduplicate?
parameter and pass #:deduplicate? #f to 'register-items'.
(initialize-root-partition): Adjust accordingly.
* gnu/build/vm.scm (register-closure, root-partition-initializer):
Likewise.
2020-12-15 17:32:10 +01:00
Ludovic Courtès
6a060ff27f
store-copy: 'populate-store' can optionally deduplicate files.
Until now deduplication was performed as an additional pass after
copying files, which involve re-traversing all the files that had just
been copied.

* guix/store/deduplication.scm (copy-file/deduplicate): New procedure.
* tests/store-deduplication.scm ("copy-file/deduplicate"): New test.
* guix/build/store-copy.scm (populate-store): Add #:deduplicate?
parameter and honor it.
* tests/gexp.scm ("gexp->derivation, store copy"): Pass #:deduplicate? #f
to 'populate-store'.
* gnu/build/image.scm (initialize-root-partition): Pass #:deduplicate?
to 'populate-store'.  Pass #:deduplicate? #f to 'register-closure'.
* gnu/build/vm.scm (root-partition-initializer): Likewise.
* gnu/build/install.scm (populate-single-profile-directory): Pass
 #:deduplicate? #f to 'populate-store'.
* gnu/build/linux-initrd.scm (build-initrd): Likewise.
* guix/scripts/pack.scm (self-contained-tarball)[import-module?]: New
procedure.
[build]: Pass it as an argument to 'source-module-closure'.
* guix/scripts/pack.scm (squashfs-image)[build]: Wrap in
'with-extensions'.
* gnu/system/linux-initrd.scm (expression->initrd)[import-module?]: New
procedure.
[builder]: Pass it to 'source-module-closure'.
* gnu/system/install.scm (cow-store-service-type)[import-module?]: New
procedure.  Pass it to 'source-module-closure'.
2020-12-15 17:32:10 +01:00
Ludovic Courtès
dea1ee1fd7
database: Remove #:reset-timestamps? from 'register-items'.
The assumption now is that the caller took care of resetting timestamps
and permissions.

* guix/store/database.scm (register-items): Remove #:reset-timestamps?
parameter and the call to 'reset-timestamps'.
(register-path): Adjust accordingly and add call to 'reset-timestamps'.
* gnu/build/image.scm (register-closure): Remove #:reset-timestamps?
parameter to 'register-items'.
* gnu/build/vm.scm (register-closure): Likewise.
* guix/nar.scm (finalize-store-file): Adjust accordingly.
* guix/scripts/pack.scm (store-database)[build]: Likewise.
2020-12-15 17:32:10 +01:00
Ludovic Courtès
0f15fd5c12
image: 'register-closure' assumes already-reset timestamps.
* gnu/build/image.scm (register-closure): Remove #:reset-timestamps?
parameter.  Pass #:reset-timestamps? #f to 'register-items'.
(initialize-root-partition): Adjust accordingly.
* gnu/build/vm.scm (register-closure, root-partition-initializer):
Likewise.
2020-12-15 17:32:10 +01:00
Ludovic Courtès
7b8d239ec2
store-copy: 'populate-store' resets timestamps.
Until now, 'populate-store' would reset permissions but not timestamps,
so callers would resort to going through an extra directory traversal to
reset timestamps.

* guix/build/store-copy.scm (reset-permissions): Remove.
(copy-recursively): New procedure.
(populate-store): Pass #:keep-permissions? to 'copy-recursively'.
Remove call to 'reset-permissions'.
* tests/gexp.scm ("gexp->derivation, store copy"): In BUILD-DRV, check
whether 'populate-store' canonicalizes permissions and timestamps.
* gnu/build/image.scm (initialize-root-partition): Pass #:reset-timestamps? #f
to 'register-closure'.
* gnu/build/vm.scm (root-partition-initializer): Likewise.
2020-12-15 17:32:10 +01:00
Ludovic Courtès
2718c29c3f
nar: Deduplicate files right as they are restored.
This avoids having to traverse and re-read the files that we have just
restored, thereby reducing I/O.

* guix/serialization.scm (dump-file): New procedure.
(restore-file): Add #:dump-file parameter and honor it.
* guix/store/deduplication.scm (tee, dump-file/deduplicate): New
procedures.
* guix/nar.scm (restore-one-item): Pass #:dump-file to 'restore-file'.
(finalize-store-file): Pass #:deduplicate? #f to 'register-items'.
* tests/nar.scm <top level>: Call 'setenv' to set "NIX_STORE".
2020-12-15 17:32:09 +01:00
Ludovic Courtès
ed7d02f7c1
serialization: 'restore-file' sets canonical timestamp and permissions.
* guix/serialization.scm (restore-file): Set the permissions and mtime
of FILE.
* guix/nar.scm (finalize-store-file): Pass #:reset-timestamps? #f to
'register-items'.
* tests/nar.scm (rm-rf): Add 'chmod' calls to ensure files are writable.
("write-file + restore-file with symlinks"): Ensure every file in OUTPUT
passes 'canonical-file?'.
* tests/guix-archive.sh: Run "chmod -R +w" before "rm -rf".
2020-12-15 17:32:09 +01:00
Ludovic Courtès
465d2cb286
serialization: 'fold-archive' notifies about directory processing completion.
* guix/serialization.scm (fold-archive): Call PROC with a
'directory-complete tag when done with a directory.
(restore-file): Handle it.
* guix/scripts/archive.scm (list-contents): Likewise.
* guix/scripts/challenge.scm (archive-contents): Likewise.
* tests/nar.scm ("write-file-tree + fold-archive"): Adjust accordingly.
2020-12-15 17:32:09 +01:00
Ludovic Courtès
7a2897149d
Revert "gnu: grub: Fix unicode font loading when booting over TFTP."
This reverts commit 03fb57ff77, which
breaks most system tests.  Specifically, grub.cfg.drv fails to build:

  ERROR: In procedure canonicalize-path:
  In procedure canonicalize-path: No such file or directory
2020-12-15 17:32:09 +01:00
divoplade
190187326a
gnu: Add ocaml-reactivedata.
* gnu/packages/ocaml.scm (ocaml-reactivedata): Add ocaml-reactivedata.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-12-15 15:46:01 +01:00
Michael Rohleder
1962c6b286
gnu: maven-wagon-http: Disable a failing test.
* gnu/packages/maven.scm (maven-wagon-http)[arguments]: Add
HugeFileDownloadTest to excluded tests.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-12-15 15:06:51 +01:00
Julien Lepiller
954e4cf6a4
offload: Print warning in context.
* guix/scripts/offload.scm (build-machine): Add `location` field.
(build-machine-system): Print location with warning.
2020-12-15 15:04:06 +01:00
Efraim Flashner
8c0751505b
gnu: iproute: Fix cross compiling.
* gnu/packages/linux.scm (iproute)[arguments]: Set CC and HOSTCC in
make-flags. Add custom phase to replace the value for PKG_CONFIG in
hand-written configure script.
2020-12-15 12:28:36 +02:00
Efraim Flashner
7d9d474dd2
gnu: Add rust-ndarray-0.12.
* gnu/packages/crates-io.scm (rust-ndarray-0.12): New variable.
* gnu/packages/patches/rust-ndarray-remove-blas-src-dep.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2020-12-15 10:57:37 +02:00
Efraim Flashner
f18f86c981
gnu: rust-cblas-sys-0.1: Don't skip build.
* gnu/packages/crates-io.scm (rust-cblas-sys-0.1)[arguments]: Don't skip
build.
2020-12-15 10:57:37 +02:00
Efraim Flashner
d07d68b087
gnu: Add rust-handlegraph-0.3.
* gnu/packages/crates-io.scm (rust-handlegraph-0.3): New variable.
2020-12-15 10:57:36 +02:00
Ryan Prior
980013c503
gnu: esbuild: Update to 0.8.23.
* gnu/packages/web.scm (esbuild): Update to 0.8.23.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 03:09:26 -05:00
Leo Famulari
c33df8ab95
gnu: ffmpeg-2.8: Remove extraneous inputs.
These inputs are not used by FFmpeg 2.

* gnu/packages/video.scm (ffmpeg-2.8)[inputs]: Remove dav1d, libaom,
rav1e, and srt.
2020-12-15 03:01:28 -05:00
Leo Prikler
54d8326806
gnu: ffmpeg-4.2: Remove extraneous input rav1e.
* gnu/packages/video.scm (ffmpeg-4.2)[inputs]: Remove rav1e.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 03:01:25 -05:00
Giacomo Leidi
e779dc8be0
gnu: Add python-sanic.
* gnu/packages/python-web.scm (python-sanic): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 01:55:38 -05:00
Giacomo Leidi
7ae4571684
gnu: Add python-pytest-sanic.
* gnu/packages/python-check.scm (python-pytest-sanic): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-15 01:55:38 -05:00