Commit graph

72691 commits

Author SHA1 Message Date
Marius Bakke
7982e250a0
gnu: cppunit: Update to 1.15.1.
* gnu/packages/check.scm (cppunit): Update to 1.15.1.
2020-12-20 16:30:41 +01:00
Marius Bakke
a0372480f0
gnu: xcb-util-errors: Build with Python 3.
* gnu/packages/xorg.scm (xcb-util-errors)[native-inputs]: Change from PYTHON-2
to PYTHON-WRAPPER.
2020-12-20 16:30:41 +01:00
Marius Bakke
704b7861df
gnu: MariaDB: Fix 'mariadb_config' output to refer to correct directories.
This fixes a regression introduced in ce29031a23
where 'mariadb_config' would return libdir and plugindir relative to the
location of the 'mariadb_config' program (which lives in a separate output).

While at it, fix a couple other wrong references, and a another regression
related to test installation.

* gnu/packages/databases.scm (mariadb)[arguments]: Patch "mariadb_config.c.in"
so that it falls back to old behavior.  Patch 'mariadb.pc.in' and
'mariadb_connector_c.cmake' to cope with absolute directory names. In
 #:configure-flags, don't set INSTALL_MYSQLTESTDIR, but delete the installed
tests with a phase.
2020-12-20 16:12:50 +01:00
Marius Bakke
e693617f55
gnu: PostgreSQL: Do not embed references to build tools.
Fixes <https://bugs.gnu.org/25527>.

* gnu/packages/databases.scm (postgresql-13)[arguments]: In #:configure-flags,
provide non-absolute references to the build tools.
2020-12-20 16:06:49 +01:00
Tobias Geerinckx-Rice
58f025619d
gnu: kitty: Update to 0.19.3.
* gnu/packages/terminals.scm (kitty): Update to 0.19.3.
2020-12-20 15:48:26 +01:00
Tobias Geerinckx-Rice
8a352094f6
gnu: nginx-documentation: Update to 1.19.6-2636-a0824dab33ff.
* gnu/packages/web.scm (nginx-documentation): Update to 1.19.6-2636-a0824dab33ff.
2020-12-20 15:48:25 +01:00
Tobias Geerinckx-Rice
30a9ece4b2
gnu: nginx: Update to 1.19.6.
* gnu/packages/web.scm (nginx): Update to 1.19.6.
2020-12-20 15:48:24 +01:00
Tobias Geerinckx-Rice
db72ba8b7b
gnu: openvpn: Update to 2.4.10.
* gnu/packages/vpn.scm (openvpn): Update to 2.4.10.
2020-12-20 15:48:23 +01:00
Tobias Geerinckx-Rice
33c140e0fb
gnu: lighttpd: Update to 1.4.57.
* gnu/packages/web.scm (lighttpd): Update to 1.4.57.
2020-12-20 15:48:23 +01:00
Tobias Geerinckx-Rice
04d50f0abf
gnu: protonvpn-cli: Update to 2.2.6.
* gnu/packages/vpn.scm (protonvpn-cli): Update to 2.2.6.
2020-12-20 15:48:22 +01:00
Tobias Geerinckx-Rice
fee91b8703
gnu: straw-viewer: Update to 0.1.2.
* gnu/packages/video.scm (straw-viewer): Update to 0.1.2.
2020-12-20 15:12:33 +01:00
Tobias Geerinckx-Rice
63728e67fd
gnu: youtube-viewer: Update to 3.8.0.
* gnu/packages/video.scm (youtube-viewer): Update to 3.8.0.
2020-12-20 15:12:33 +01:00
Tobias Geerinckx-Rice
096606d9ca
gnu: youtube-dl: Update to 2020.12.14.
* gnu/packages/video.scm (youtube-dl): Update to 2020.12.14.
2020-12-20 15:12:32 +01:00
Pierre Neidhardt
79fdae1242
gnu: emacs-helm-selector: Update to 0.5.
* gnu/packages/emacs-xyz.scm (emacs-helm-selector): Update to 0.5.
2020-12-20 14:56:40 +01:00
Ryan Prior
36e47069d0
gnu: esbuild: Update to 0.8.24.
* gnu/packages/web.scm (esbuild): Update to 0.8.24.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-12-20 14:43:06 +02:00
Efraim Flashner
53b51b44fd
gnu: vim: Automatically find vim plugins.
* gnu/packages/vim.scm (vim)[arguments]: Add new 'install-guix.vim phase
to install vendor specific vimrc.
* gnu/packages/aux-files/guix.vim: New file.
* Makefile.am (AUX_FILES): Register it.
2020-12-20 12:52:51 +02:00
Leo Prikler
caee6ec7c8
gnu: komikku: Update to 0.24.0.
* gnu/packages/gnome.scm (komikku): Update to 0.24.0.
[inputs] Replace python-cloudscraper with python-requests.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-12-20 12:34:35 +02:00
Mathieu Othacehe
ee94cd265e
scripts: discover: Remove previous cache file.
Partially fixes <https://issues.guix.gnu.org/45302>.

* guix/scripts/discover.scm (guix-discover): Remove previous cache files.
2020-12-20 10:56:45 +01:00
Ludovic Courtès
f9978346e7
avahi: Remove poll timeout when possible.
Fixes <https://issues.guix.gnu.org/45314>.

* guix/avahi.scm (avahi-browse-service-thread): Change timeout default value
to false when no "stop-loop?" procedure is passed. Adapt "iterate-simple-poll"
call accordingly.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-12-20 10:40:57 +01:00
Ludovic Courtès
e03552d5d4
gnu: guix: Update to 4f621a2.
* gnu/packages/package-management.scm (guix): Update to 4f621a2.
2020-12-20 00:01:37 +01:00
Ludovic Courtès
4f621a2b00
maint: Require Guile >= 2.2.6.
* configure.ac: For Guile 2.2, require 2.2.6 or later.
* guix/gexp.scm (define-syntax-parameter-once): Remove.
Use 'define-syntax-parameter' instead.
* guix/mnoads.scm: Likewise.
* guix/inferior.scm (proxy)[select*]: Remove.
* guix/scripts/publish.scm <top level>: Remove replacement for (@@ (web
http) read-header-line).
* guix/store/deduplication.scm (counting-wrapper-port): Remove.
(nar-sha256): Call 'port-position' on PORT to compute SIZE.
2020-12-19 23:25:01 +01:00
Ludovic Courtès
c7c7f068c1
daemon: Delegate deduplication to 'guix substitute'.
This removes the main source of latency between subsequent downloads.

* nix/libstore/build.cc (SubstitutionGoal::tryToRun): Add a
"deduplicate" key to ENV.
(SubstitutionGoal::finished): Remove call to 'optimisePath'.
* guix/scripts/substitute.scm (process-substitution)[destination-in-store?]
[dump-file/deduplicate*]: New variables.
Pass #:dump-file to 'restore-file'.
* guix/scripts/substitute.scm (guix-substitute)[deduplicate?]: New
variable.
Pass #:deduplicate? to 'process-substitution'.
* guix/serialization.scm (dump-file): Export and augment 'dump-file'.
2020-12-19 23:25:01 +01:00
Ludovic Courtès
3c799ccb98
tests: Make sure substituted items are deduplicated.
* tests/store.scm ("substitute, deduplication"): New test.
2020-12-19 23:25:01 +01:00
Ludovic Courtès
15cf28fbb4
daemon: Do not reset timestamps and permissions on substituted items.
'guix substitute' now takes care of it via 'restore-file'.

* nix/libstore/build.cc (SubstitutionGoal::finished): Remove call to
'canonicalisePathMetaData'.
2020-12-19 23:25:01 +01:00
Ludovic Courtès
77a1efed9e
tests: Check the mtime and permissions of substituted items.
* tests/store.scm ("substitute")
("substitute + build-things with output path")
("substitute + build-things with specific output"): Call 'canonical-file?'.
* tests/substitute.scm ("substitute, authorized key"): Check the mtime
and permissions of "substitute-retrieved".
2020-12-19 23:25:01 +01:00
Ludovic Courtès
9dfa20a22a
daemon: Let 'guix substitute' perform hash checks.
This way, the hash of the store item can be computed as it is restored,
thereby avoiding an additional file tree traversal ('hashPath' call)
later on in the daemon.  Consequently, it should reduce latency between
subsequent substitute downloads.

This is a followup to 5ff521452b.

* guix/scripts/substitute.scm (narinfo-hash-algorithm+value): New
procedure.
(process-substitution): Wrap INPUT into a hash input port, 'hashed', and
read from it.  Compare the actual and expected hashes, and print a
"hash-mismatch" status line when they differ.  When they match, print
not just "success" but also the nar hash and size.
* nix/libstore/build.cc (class SubstitutionGoal)[expectedHashStr]:
Remove.
(SubstitutionGoal::finished): Tokenize 'status'.  Parse it and handle
"success" and "hash-mismatch" accordingly.  Call 'hashPath' only when
the returned hash is not SHA256.
(SubstitutionGoal::handleChildOutput): Remove 'expectedHashStr'
handling.
* tests/substitute.scm ("substitute, invalid hash"): Rename to...
("substitute, invalid narinfo hash"): ... this.
("substitute, invalid hash"): New test.
2020-12-19 23:25:00 +01:00
Ludovic Courtès
6d955f1731
tests: Check the build trace for hash mismatches on substitutes.
* tests/store.scm ("substitute, corrupt output hash, build trace"): New
test.
2020-12-19 23:25:00 +01:00
Marius Bakke
f6f6e1efee
gnu: serf: Build with Python 3.
* gnu/packages/patches/serf-python3.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/web.scm (serf)[source](patches): New field.
[arguments]: Remove #:scons.
2020-12-19 22:53:00 +01:00
Marius Bakke
ae7033ff5f
gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
Add a file name for the "scipy-sphinx-time" input.
2020-12-19 22:53:00 +01:00
Marius Bakke
3e83e8f431
gnu: perl-pod-simple: Update to 3.42.
* gnu/packages/perl.scm (perl-pod-simple): Update to 3.42.
2020-12-19 22:53:00 +01:00
Marius Bakke
4c4d1f6952
gnu: llvm: Update download URI.
New and old releases are now only available on GitHub.

* gnu/packages/llvm.scm (llvm-uri): Remove "releases.llvm.org".
2020-12-19 22:53:00 +01:00
Marius Bakke
ce7b18837c
gnu: perl-json-maybexs: Update to 1.004003.
* gnu/packages/perl.scm (perl-json-maybexs): Update to 1.004003.
[native-inputs]: Remove PERL-TEST-WITHOUT-MODULE.  Add PERL-TEST-NEEDS.
2020-12-19 22:52:59 +01:00
Marius Bakke
4f9fa274d4
gnu: perl-cpanel-json-xs: Update to 4.25.
* gnu/packages/perl.scm (perl-cpanel-json-xs): Update to 4.25.
2020-12-19 22:52:59 +01:00
Marius Bakke
f899532302
gnu: perl-common-sense: Update to 3.75.
* gnu/packages/perl.scm (perl-common-sense): Update to 3.75.
2020-12-19 22:52:59 +01:00
Marius Bakke
20d35eac53
gnu: ltrace: Build with elfutils instead of libelf.
* gnu/packages/linux.scm (ltrace)[inputs]: Change from LIBELF to ELFUTILS.
2020-12-19 22:52:59 +01:00
Marius Bakke
7405593222
gnu: inkscape: Build with Python 3.
* gnu/packages/inkscape.scm (inkscape)[inputs]: Change from PYTHON-2 to
PYTHON-WRAPPER.
2020-12-19 22:27:17 +01:00
Marius Bakke
250a2ac21f
gnu: LLVM: Build with Python 3.
* gnu/packages/llvm.scm (llvm-11)[native-inputs]: Change from PYTHON-2 to
PYTHON-WRAPPER.
2020-12-19 22:27:17 +01:00
Marius Bakke
01f1bca859
gnu: LLVM@10: Re-apply 10.0.1 update.
This is a fixup for the merge in 5e2140511c as
well as the previous fixup in e37c575723 which
partially reverted the LLVM@10 update from 66e3812e2f.

* gnu/packages/llvm.scm (llvm-10): Update to 10.0.1.
2020-12-19 22:27:17 +01:00
Marius Bakke
39299b9345
gnu: perl-pod-coverage: Propagate perl-pod-parser.
Pod::Parser is no longer part of the Perl standard library as of 5.32.0.

* gnu/packages/perl.scm (perl-pod-coverage)[propagated-inputs]: Add
PERL-POD-PARSER.
2020-12-19 22:27:17 +01:00
Leo Famulari
66b5bc3191
gnu: linux-libre: Update to 5.10.1.
* gnu/packages/aux-files/linux-libre/5.10-arm.conf,
gnu/packages/aux-files/linux-libre/5.10-arm64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
* gnu/packages/linux.scm (linux-libre-5.10-version, deblob-scripts-5.10,
linux-libre-5.10-pristine-source, linux-libre-5.10-source,
linux-libre-headers-5.10, linux-libre-5.10): New variables.
(linux-libre-version, linux-libre-pristine-source, linux-libre-source,
linux-libre, linux-libre-with-bpf): Update to 5.10.1.
2020-12-19 16:06:09 -05:00
Sharlatan Hellseher
10c06966af
gnu: Add cl-qmynd.
* gnu/packages/lisp-xyz.scm (cl-qmynd, ecl-qmynd, sbcl-qmynd): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2020-12-19 19:01:29 +01:00
Guillaume Le Vaillant
b8d4568b11
gnu: sbcl-nibbles: Update to 0.14-1.8e6b9b4.
* gnu/packages/lisp-xyz.scm (sbcl-nibbles): Update to 0.14-1.8e6b9b4.
2020-12-19 18:40:29 +01:00
Guillaume Le Vaillant
bfe2f67e91
gnu: sbcl-lzlib: Update to 1.1-2.cad10f5.
* gnu/packages/lisp-xyz.scm (sbcl-lzlib): Update to 1.1-2.cad10f5.
2020-12-19 18:29:13 +01:00
Guillaume Le Vaillant
dd4dff0cb2
gnu: sbcl-cl-octet-streams: Update to 1.2.
* gnu/packages/lisp-xyz.scm (sbcl-cl-octet-streams): Update to 1.2.
2020-12-19 18:27:11 +01:00
Nicolas Goaziou
1e4785452c
gnu: freedroid: Use HTTPS home page URI.
* gnu/packages/games.scm (freedroid)[home-page]: Use HTTPS URI.
2020-12-19 16:06:18 +01:00
Nicolas Goaziou
ef7eaeedc0
gnu: fpc: Use HTTPS home page URI.
* gnu/packages/pascal.scm (fpc)[home-page]: Use HTTPS URI.
2020-12-19 16:06:03 +01:00
Nicolas Goaziou
b27013d20f
gnu: babl: Use HTTPS home page URI.
* gnu/packages/gimp.scm (babl)[home-page]: Use HTTPS URI.
2020-12-19 16:00:38 +01:00
Nicolas Goaziou
2f4dcff4c2
gnu: arb: Use HTTPS home page URI.
* gnu/packages/algebra.scm (arb)[home-page]: Use HTTPS URI.  Move above
synopsis.
2020-12-19 15:58:01 +01:00
Nicolas Goaziou
ff0725f626
gnu: java-antlr4-runtime: Update home page.
* gnu/packages/java.scm (java-antlr4-runtime)[home-page]: Update it.
2020-12-19 15:54:36 +01:00
Pierre Neidhardt
13d532a911
gnu: emacs-helm-selector: Update to 0.4.
* gnu/packages/emacs-xyz.scm (emacs-helm-selector): Update to 0.4.
2020-12-19 12:30:38 +01:00