Commit graph

87693 commits

Author SHA1 Message Date
Vivien Kraus
e8b2b11b01
gnu: devhelp: Add missing propagated input.
* gnu/packages/gnome.scm (devhelp) [propagated-inputs]: Add
gsettings-desktop-schemas.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-18 14:43:49 +01:00
Simon South
b0eaa4f2d7
gnu: strace: Allow readlink, readlinkat tests to pass.
Modify the invocation of strace's "readlink" and "readlinkat" tests to prevent
them from failing due to an additional system call made by Guix's patched
version of glibc.

* gnu/packages/linux.scm (strace)[source]: Add patch.
[arguments]<#:phases>: Do not disable the "readlink" test now that it can
succeed.
* gnu/packages/patches/strace-readlink-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-18 14:11:43 +01:00
Ludovic Courtès
696b0a3246
gnu: qgpgme: Use 'modify-inputs'.
* gnu/packages/gnupg.scm (qgpgme)[inputs]: Use 'modify-inputs'.
2021-11-18 12:47:49 +01:00
Ludovic Courtès
ffcf4ea9ab
gnu: qgpgme: Depend on a newer GnuPG.
This addresses a test failure in 'testSymmetricEncryptDecrypt':

  FAIL!  : EncryptionTest::testSymmetricEncryptDecrypt() 'QString::fromUtf8(plainText) == QStringLiteral("Hello symmetric World")' returned FALSE. ()
     Loc: [t-encrypt.cpp(188)]

The failure was apparently due to gpg asking for a passphrase for
symmetric decryption.

* gnu/packages/gnupg.scm (gnupg-2.2.32): New variable.
(qgpgme)[native-inputs]: Use it.
2021-11-18 12:38:58 +01:00
Ludovic Courtès
1db174a3ad
gnu: ghc: Rely on a fixed version of Git.
This makes the derivation of ghc equivalent to that found in
e55547bf70.

* gnu/packages/haskell.scm (ghc-8.8)[native-inputs]: Change GIT to
GIT/FIXED.
(ghc-8.10)[native-inputs]: Change GIT-MINIMAL to GIT-MINIMAL/FIXED.
* gnu/packages/version-control.scm (git/fixed): New variable.
2021-11-18 11:39:40 +01:00
Kaelyn Takata
d28a28ff53
gnu: sbcl-cl-webkit: Update to 3.4.0.
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update to 3.4.0, bringing in
  support for libwebkit2gtk-4.1 from webkit 2.34.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-18 09:58:49 +01:00
Jack Hill
9322b4d30d
gnu: gnome-screenshot: Fix build with Meson 0.60.0.
* gnu/packages/patches/gnome-screenshot-meson-0.60.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (gnome-screenshot)[patches]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-18 09:53:16 +01:00
Ludovic Courtès
cdb0e04a76
gnu: python-sgmllib3k: Remove redundant definition.
* gnu/packages/python-xyz.scm (python-sgmllib3k): Adjust description and
remove same-named definition that provided version 1.0.0.
2021-11-18 00:00:16 +01:00
Ludovic Courtès
669d150f48
gnu: graphene: Depend on a fixed version of 'git-minimal'.
* gnu/packages/version-control.scm (git-minimal/fixed): New variable.
* gnu/packages/gtk.scm (graphene)[native-inputs]: Use it instead of
GIT-MINIMAL.
2021-11-17 23:59:09 +01:00
Ludovic Courtès
e77df67cc2
gnu: libsoup: Depend on a fixed version of Samba.
This avoids big rebuilds when Samba is upgraded.

* gnu/packages/samba.scm (samba/fixed): New variable.
* gnu/packages/gnome.scm (libsoup-minimal)[inputs]: Use it instead of
SAMBA.
2021-11-17 23:57:49 +01:00
Ludovic Courtès
3a317f7476
Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
Ricardo Wurmus
e55547bf70
gnu: pdfpc: Replace webkitgtk with webkitgtk-with-libsoup2.
* gnu/packages/pdf.scm (pdfpc)[inputs]: Replace webkitgtk with
webkitgtk-with-libsoup2.
2021-11-17 17:56:18 +00:00
Efraim Flashner
94b76dc85c
gnu: vigra: Build without numpy support.
* gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy.
[arguments]: Add configure-flag to build without vigranumpy.
2021-11-17 17:50:04 +02:00
Efraim Flashner
105b3689d2
gnu: efl: Add missing input.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Add libunwind.
2021-11-17 09:03:35 +02:00
Efraim Flashner
62e707d67c
gnu: julia: Update to 1.6.3.
* gnu/packages/julia.scm (julia): Update to 1.6.3.
2021-11-17 08:45:22 +02:00
Tobias Geerinckx-Rice
02a67810e5
gnu: git: Update to 2.34.0.
* gnu/packages/version-control.scm (git): Update to 2.34.0.
2021-11-17 00:45:48 +01:00
jgart
6ed2c5e2a4
gnu: fennel: Update to 1.0.0.
* gnu/packages/lua.scm (fennel): Update to 1.0.0.
[origin]: Remove unneeded snippet.
[arguments]: Remove custom 'patch-lua-calls, 'install-manpage phases.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 21:04:58 +02:00
Jelle Licht
eb4edd7fde
gnu: emacs-flymake-kondor: Update to 0.1.1-0.389b513.
* gnu/packages/emacs-xyz.scm (emacs-flymake-kondor): Update to 0.1.1-0.389b513.
[propagated-inputs]: Remove emacs-flymake-quickdef.
2021-11-16 17:36:20 +01:00
Ludovic Courtès
7dce1df34b
gnu: Add texlive-xifthen.
* gnu/packages/tex.scm (texlive-xifthen): New variable.
2021-11-16 16:59:52 +01:00
Greg Hogan
912cb917b8
gnu: aws-sdk-cpp: Enable text-to-speech library.
* gnu/packages/cpp.scm (aws-sdk-cpp)[inputs]: Add pulseaudio dependency
so that text-to-speech library is included in the build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:52 +01:00
Greg Hogan
14f540593b
gnu: aws-checksums: Replace patch.
* gnu/packages/c.scm (aws-checksums): Replace patch.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-checksums-cmake-prefix.patch:
Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:52 +01:00
Greg Hogan
963ebbc62c
gnu: aws-c-event-stream: Replace patch.
* gnu/packages/c.scm (aws-c-event-stream): Replace patch.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-event-stream-cmake-prefix.patch:
Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:52 +01:00
Greg Hogan
c769b8c2b5
gnu: aws-sdk-cpp: Update to 1.9.136.
* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.9.136.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patches.
* gnu/packages/patches/aws-sdk-cpp-cmake-prefix.patch,
gnu/packages/patches/aws-sdk-cpp-disable-network-tests.patch,
gnu/packages/patches/aws-sdk-cpp-disable-werror.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
37db6db284
gnu: aws-crt-cpp: Update to 0.17.1.
* gnu/packages/c.scm (aws-crt-cpp): Update to 0.17.1.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-crt-cpp-cmake-prefix.patch,
gnu/packages/patches/aws-crt-cpp-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
d5c9f52a37
gnu: aws-c-mqtt: Replace patch.
* gnu/packages/c.scm (aws-c-mqtt): Replace patch.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-mqtt-cmake-prefix.patch: Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
2d61354788
gnu: aws-c-s3: Update to 0.1.26.
* gnu/packages/c.scm (aws-c-s3): Update to 0.1.26.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-c-s3-cmake-prefix.patch,
gnu/packages/patches/aws-c-s3-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
05be89ac5b
gnu: aws-c-auth: Update to 0.6.4.
* gnu/packages/c.scm (aws-c-auth): Update to 0.6.4.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Add and remove patches.
* gnu/packages/patches/aws-c-auth-install-private-headers.patch:
New file.
* gnu/packages/patches/aws-c-auth-cmake-prefix.patch,
gnu/packages/patches/aws-c-auth-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Add and remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
cff8a12a0a
gnu: aws-c-compression: Update to 0.2.14.
* gnu/packages/c.scm (aws-c-compression): Update to 0.2.14.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-compression-cmake-prefix.patch:
Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
1a0ed46097
gnu: aws-c-http: Update to 0.6.7.
* gnu/packages/c.scm (aws-c-http): Update to 0.6.7.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-c-http-cmake-prefix.patch,
gnu/packages/patches/aws-c-http-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
4ff5cd6b06
gnu: aws-c-cal: Update to 0.5.12.
* gnu/packages/c.scm (aws-c-cal): Update to 0.5.12.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-cal-cmake-prefix.patch: Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
2a32dedfbf
gnu: aws-c-io: Update to 0.10.9.
* gnu/packages/c.scm (aws-c-io): Update to 0.10.9.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-c-io-cmake-prefix.patch,
gnu/packages/patches/aws-c-io-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
5715a07af3
gnu: aws-c-common: Update to 0.6.11.
* gnu/packages/c.scm (aws-c-common): Update to 0.6.11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
cf48bf8607
gnu: s2n: Update to 1.1.0.
* gnu/packages/tls.scm (s2n): Update to 1.1.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Ludovic Courtès
206f2693fd
gnu: guix: Update to 9bbbac6.
* gnu/packages/package-management.scm (guix): Update to 9bbbac6.
2021-11-16 16:59:50 +01:00
Julien Lepiller
0a9a00b34c
gnu: pplacer: Fix build.
* gnu/packages/bioinformatics.scm (pplacer): Add missing input.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
fd9b7f8376
gnu: ocaml4.07-odoc: Fix inputs.
* gnu/packages/ocaml.scm (ocaml4.07-odoc): Fix inputs.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
6347ac8e40
gnu: Add ocaml4.07-bisect-ppx.
* gnu/packages/ocaml.scm (ocaml4.07-bisect-ppx): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
c10ba562be
gnu: ocaml-lwt: Remove unneeded input.
* gnu/packages/ocaml.scm (ocaml-lwt)[native-inputs]: Remove
ocaml-bisect-ppx.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
b531ba4304
gnu: Add ocaml4.07-alcotest.
* gnu/packages/ocaml.scm (ocaml4.07-alcotest): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
8000fc4fa0
gnu: Add ocaml4.07-re.
* gnu/packages/ocaml.scm (ocaml4.07-re): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Ludovic Courtès
9bbbac6783
gnu: Add texlive-latex-textpos.
* gnu/packages/tex.scm (texlive-latex-textpos): New variable.
2021-11-16 14:38:02 +01:00
Ludovic Courtès
e699eb3bcc
gnu: Add texlive-translator.
* gnu/packages/tex.scm (texlive-translator): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2021-11-16 14:38:02 +01:00
Ludovic Courtès
f35976584c
home: Adjust 'guix home import' test for shell aliases.
This is a followup to 4b96998292.

* tests/home-import.scm (match-home-environment-bash-service): Match the
'aliases' field.
2021-11-16 14:38:02 +01:00
Ludovic Courtès
c322d97832
home: services: bash: Emit 'extra-content' first again.
Fixes a regression introduced in
4b96998292 that would less to a
'tests/guix-home.sh' failure.

* gnu/home/services/shells.scm (add-bash-configuration)[file-if-not-empty]:
Move EXTRA-CONTENT first.
2021-11-16 14:38:01 +01:00
Ludovic Courtès
e5d8302b2c
home: services: Fix typo.
Reinstates 4dcec60fa6, minus the
regression it introduced.

* gnu/home/services.scm (compute-on-first-login-script): Use
'program-file', not 'gexp->script'.
2021-11-16 14:37:34 +01:00
Guillaume Le Vaillant
a96add7919
gnu: gnucash: Use webkitgtk-with-libsoup2.
* gnu/packages/gnucash.scm (gnucash)[inputs]: Replace webkitgtk by
  webkitgtk-with-libsoup2.
2021-11-16 14:36:35 +01:00
Ludovic Courtès
472a0e82a5
daemon: Do not deduplicate files smaller than 8 KiB.
Files smaller than 8 KiB typically represent ~70% of the entries in
/gnu/store/.links but only contribute to ~4% of the space savings
afforded by deduplication.

Not considering these files for deduplication speeds up file insertion
in the store and, more importantly, leaves 'removeUnusedLinks' with
fewer entries to traverse, thereby speeding it up proportionally.

Partly fixes <https://issues.guix.gnu.org/24937>.

* config-daemon.ac: Remove symlink hard link check and CAN_LINK_SYMLINK
definition.
* guix/store/deduplication.scm (%deduplication-minimum-size): New
variable.
(deduplicate)[loop]: Do not recurse when FILE's size is below
%DEDUPLICATION-MINIMUM-SIZE.
(dump-port): New procedure.
(dump-file/deduplicate)[hash]: Turn into...
[dump-and-compute-hash]: ... this thunk.
Call 'deduplicate' only when SIZE is greater than
%DEDUPLICATION-MINIMUM-SIZE; otherwise call 'dump-port'.
* nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Drop files where
st.st_size < deduplicationMinSize.
* nix/libstore/local-store.hh (deduplicationMinSize): New declaration.
* nix/libstore/optimise-store.cc (deduplicationMinSize): New variable.
(LocalStore::optimisePath_): Return when PATH is a symlink or smaller
than 'deduplicationMinSize'.
* tests/derivations.scm ("identical files are deduplicated"): Produce
files bigger than %DEDUPLICATION-MINIMUM-SIZE.
* tests/nar.scm ("restore-file-set with directories (signed, valid)"):
Likewise.
* tests/store-deduplication.scm ("deduplicate, below %deduplication-minimum-size"):
New test.
("deduplicate", "deduplicate, ENOSPC"): Produce files bigger than
%DEDUPLICATION-MINIMUM-SIZE.
* tests/store.scm ("substitute, deduplication"): Likewise.
2021-11-16 14:34:28 +01:00
Ludovic Courtès
f39397b210
tests: Factorize 'file=?'.
* guix/tests.scm (file=?): Add optional 'stat' parameter.  Add fast
patch comparing inode numbers.
* tests/gexp.scm ("imported-files with file-like objects"): Remove
'file=?' procedure and use the one from (guix tests).
2021-11-16 14:34:28 +01:00
Vivien Kraus
b4b2bbf4fb
services: openssh: Collect all keys for all users.
Fixes <https://issues.guix.gnu.org/51487>

* gnu/services/ssh.scm (extend-openssh-authorized-keys): ensure that no key is forgotten.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 14:34:28 +01:00
Efraim Flashner
b2f8186590
Revert "home-services: Demonadify 'on-first-login' handling."
This commit breaks building guix home
guix home: error: reference to invalid output 'out' of derivation \
    '/gnu/store/86zc4rijsswmfqnaq8rwixcxjl2zyl1c-on-first-login.drv'

This reverts commit 4dcec60fa6.
2021-11-16 15:31:07 +02:00