jackhill/guix/guix.git
4 years agodoc: Fix typos.
zimoun [Fri, 22 May 2020 00:03:42 +0000 (02:03 +0200)]
doc: Fix typos.

* doc/guix.texi: Fix typos.
* doc/contributing.texi: Fix typos.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
4 years agognu: Add emacs-interleave.
Ryan Desfosses [Mon, 25 May 2020 11:40:20 +0000 (13:40 +0200)]
gnu: Add emacs-interleave.

* gnu/packages/emacs-xyz.scm (emacs-interleave): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: tensorflow: Fix build with python-3.8.
Efraim Flashner [Mon, 25 May 2020 11:20:53 +0000 (14:20 +0300)]
gnu: tensorflow: Fix build with python-3.8.

* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Also import
python-version from python-build-system. Adjust 'python3.7-compatibility
to also add python-3.8 compatibility. Adjust 'install-python to not
hardcode the python version.

4 years agognu: efl: Update to 1.24.2.
Efraim Flashner [Mon, 25 May 2020 11:16:38 +0000 (14:16 +0300)]
gnu: efl: Update to 1.24.2.

* gnu/packages/enlightenment.scm (efl): Update to 1.24.2.

4 years agognu: emacs-helm-emms: Update to 20200322.
Pierre Neidhardt [Mon, 25 May 2020 08:55:45 +0000 (10:55 +0200)]
gnu: emacs-helm-emms: Update to 20200322.

* gnu/packages/emacs-xyz.scm (emacs-helm-emms): Update to 20200322.

4 years agoUpdating python-argon2-cffi to 20.1.0
Josh Marshall [Sun, 24 May 2020 22:47:53 +0000 (18:47 -0400)]
Updating python-argon2-cffi to 20.1.0

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: enlightenment: Fix screen unlocking.
Efraim Flashner [Mon, 25 May 2020 06:01:48 +0000 (09:01 +0300)]
gnu: enlightenment: Fix screen unlocking.

Without this the password is never collected and checked.

* gnu/packages/patches/enlightenment-fix-setuid-path.patch: Fix patch so
that it collects the entered password.

4 years agognu: libexif: Update to 0.6.22 [security fixes].
Marius Bakke [Sun, 24 May 2020 22:12:06 +0000 (00:12 +0200)]
gnu: libexif: Update to 0.6.22 [security fixes].

This fixes CVE-2020-13114, CVE-2020-13113, CVE-2020-13112, CVE-2020-0093,
CVE-2019-9278, and CVE-2020-12767.

* gnu/packages/patches/libexif-CVE-2016-6328.patch,
gnu/packages/patches/libexif-CVE-2017-7544.patch,
gnu/packages/patches/libexif-CVE-2018-20030.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/photo.scm (libexif): Update to 0.6.22.
[source](uri): Adjust for upstream GitHub migration.

4 years agognu: libgphoto2: Update to 2.5.25.
Marius Bakke [Sun, 24 May 2020 21:56:02 +0000 (23:56 +0200)]
gnu: libgphoto2: Update to 2.5.25.

* gnu/packages/photo.scm (libgphoto2): Update to 2.5.25.

4 years agopull: Protect against downgrade attacks.
Ludovic Courtès [Wed, 20 May 2020 21:18:09 +0000 (23:18 +0200)]
pull: Protect against downgrade attacks.

* guix/scripts/pull.scm (%default-options): Add 'validate-pull'.
(%options, show-help): Add '--allow-downgrades'.
(warn-about-backward-updates): New procedure.
(guix-pull): Pass #:current-channels and #:validate-pull to
'latest-channel-instances'.
* guix/channels.scm (ensure-forward-channel-update): Add hint for
when (channel-commit channel) is true.
* doc/guix.texi (Invoking guix pull): Document '--allow-downgrades'.

4 years agochannels: 'latest-channel-instances' guards against non-forward updates.
Ludovic Courtès [Wed, 20 May 2020 20:15:54 +0000 (22:15 +0200)]
channels: 'latest-channel-instances' guards against non-forward updates.

* guix/channels.scm (latest-channel-instance): Add #:starting-commit and
pass it to 'update-cached-checkout'.  Return the commit relation as a
second value.
(ensure-forward-channel-update): New procedure.
(latest-channel-instances): Add #:current-channels and #:validate-pull.
[current-commit]: New procedure.
Pass #:starting-commit to 'latest-channel-instance'.  When the returned
relation is true, call VALIDATE-PULL.
(latest-channel-derivation): Add #:current-channels and #:validate-pull.
Pass them to 'latest-channel-instances*'.
* tests/channels.scm ("latest-channel-instances #:validate-pull"): New
test.

4 years agogit: 'update-cached-checkout' returns the commit relation.
Ludovic Courtès [Wed, 20 May 2020 15:57:54 +0000 (17:57 +0200)]
git: 'update-cached-checkout' returns the commit relation.

* guix/git.scm (update-cached-checkout): Add #:starting-commit
parameter.  Call 'commit-relation' when #:starting-commit is true.
Always return the relation or #f as the third value.
(latest-repository-commit): Adjust accordingly.
* guix/import/opam.scm (get-opam-repository): Likewise.
* tests/channels.scm ("latest-channel-instances includes channel dependencies")
("latest-channel-instances excludes duplicate channel dependencies"):
Update mock of 'update-cached-checkout' accordingly.

4 years agochannels: 'latest-channel-instances' doesn't leak internal state.
Ludovic Courtès [Wed, 20 May 2020 13:55:37 +0000 (15:55 +0200)]
channels: 'latest-channel-instances' doesn't leak internal state.

* guix/channels.scm (latest-channel-instances): Remove
'previous-channels' argument.  Introduce 'loop' and use it.

4 years agogit: Add 'commit-relation'.
Ludovic Courtès [Wed, 20 May 2020 11:01:26 +0000 (13:01 +0200)]
git: Add 'commit-relation'.

* guix/git.scm (commit-relation): New procedure.
* tests/git.scm ("commit-relation"): New test.

4 years agognu: protonvpn-cli: Tweak description.
Ludovic Courtès [Sun, 24 May 2020 20:05:11 +0000 (22:05 +0200)]
gnu: protonvpn-cli: Tweak description.

* gnu/packages/vpn.scm (protonvpn-cli)[description]: Tweak.

4 years agognu: Add protonvpn-cli.
Ryan Prior [Thu, 21 May 2020 03:28:11 +0000 (22:28 -0500)]
gnu: Add protonvpn-cli.

* gnu/packages/vpn.scm (protonvpn-cli): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: guile-dsv: Build with Guile 3.0.
Jack Hill [Sat, 23 May 2020 22:50:39 +0000 (18:50 -0400)]
gnu: guile-dsv: Build with Guile 3.0.

* gnu/packages/guile-xyz.scm (guile-dsv)[inputs]: Replace guile-2.2 with
  guile-3.0.
  [propagated-inputs]: Replace guile2.2-lib with guile-lib.
  [arguments]: Add "configure support guile3.0" phase.
  (guile2.2-dsv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: guile-dsv: Wrap script.
Jack Hill [Sat, 23 May 2020 22:50:38 +0000 (18:50 -0400)]
gnu: guile-dsv: Wrap script.

* gnu/packages/guile-xyz.scm (guile-dsv)[arguments]: Add "wrap program"
  phase. Import target-guile-effective-version from guile-build-system for use
  in new phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agodoc: cookbook: Add subsection about session locking with xss-lock.
Chris Bøg [Sun, 24 May 2020 10:44:44 +0000 (12:44 +0200)]
doc: cookbook: Add subsection about session locking with xss-lock.

* doc/guix-cookbook.texi (Session lock): New node.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: pwsafe: Update to 3.52.0.
Tim Gesthuizen via Guix-patches via [Sun, 24 May 2020 18:58:23 +0000 (20:58 +0200)]
gnu: pwsafe: Update to 3.52.0.

* gnu/packages/password-utils.scm (pwsafe): Update to 3.52.0.
[arguments]: Remove obsolete work-arounds.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: emacs-auctex: Update to 12.2.2.
Nicolas Goaziou [Sun, 24 May 2020 20:37:03 +0000 (22:37 +0200)]
gnu: emacs-auctex: Update to 12.2.2.

* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 12.2.2.

4 years agodoc: Update to the new 'grub-theme' procedure.
Jan (janneke) Nieuwenhuizen [Sun, 24 May 2020 20:27:32 +0000 (22:27 +0200)]
doc: Update to the new 'grub-theme' procedure.

This is a follow-up commit to 9cdb10d52e34f7e8fa3b6238fe268646a4bbb877:
gnu: grub: Allow a PNG image and replace "aspect-ratio" with "resolution".

* doc/guix.texi (Bootloader Configuration): Describe and use the 'grub-theme'
procedure instead of the removed '%default-theme' variable.

4 years agognu: enlightenment: Update to 0.24.0.
Efraim Flashner [Mon, 11 May 2020 07:12:32 +0000 (10:12 +0300)]
gnu: enlightenment: Update to 0.24.0.

* gnu/packages/enlightenment.scm (enlightenment): Update to 0.24.0.
[arguments]: Change configure-flags to hardcode efl binary locations.
Remove custom 'fix-dot-desktop-creation phase. Update 'set-system-actions
phase.
* gnu/packages/patches/enlightenment-fix-setuid-path.patch: Update for
new upstream version.
* gnu/services/desktop.scm (enlightenment-setuid-programs): Same.

4 years agognu: python-efl: Update to 1.24.0.
Efraim Flashner [Sun, 3 May 2020 06:26:15 +0000 (09:26 +0300)]
gnu: python-efl: Update to 1.24.0.

* gnu/packages/enlightenment.scm (python-efl): Update to 1.24.0.

4 years agognu: efl: Update to 1.24.1.
Efraim Flashner [Sun, 3 May 2020 06:23:44 +0000 (09:23 +0300)]
gnu: efl: Update to 1.24.1.

* gnu/packages/enlightenment.scm (efl): Update to 1.24.1.
[propagated-inputs]: Remove bullet. Add libpng. Move libtiff, libwebp,
util-linux:lib ...
[inputs]: ... to here. Add openjpeg. Remove libxp.
[arguments]: In configure-flags disable scim, enable avahi, glib. Use
setuid mount/umount binaries. Rename hardcode-libcurl-location to
hardcode-dynamic-libraries and add pulseaudio, libsndfile.

squash! efl-1.24.1

4 years agognu: go-github-com-kr-pretty: Fix source sha256.
Christopher Baines [Sun, 24 May 2020 19:48:14 +0000 (20:48 +0100)]
gnu: go-github-com-kr-pretty: Fix source sha256.

This follows on from 618df2e335acb49a27ca014b555ede34f79503f3, which left the
hash suspiciously similar to the previous value.

* gnu/packages/golang.scm (go-github-com-kr-pretty): Change the sha256 hash.

4 years agobuild: Add missing twinkle patch to gnu/local.mk.
Royce Strange [Sun, 24 May 2020 08:57:19 +0000 (03:57 -0500)]
build: Add missing twinkle patch to gnu/local.mk.

This follows up on e5463baf2ce21cd2abc7ac5576401ae7ee7eb28c.

* gnu/local.mk (dist_patch_DATA): Add twinkle-bcg729.patch.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: pidgin: Fix build with Meson network-manager.
Tobias Geerinckx-Rice [Sun, 24 May 2020 14:09:36 +0000 (16:09 +0200)]
gnu: pidgin: Fix build with Meson network-manager.

This is a follow-up commit to 255ff74f3ab514a76068f6cfccc7f8dbcf8b7f3f:
building network-manager with Meson breaks users of NetworkManager.pc.

* gnu/packages/messaging.scm (pidgin)[source]: Add pidgin-libnm.patch.
Force re-bootstrapping in a new snippet.
[native-inputs]: Add autoconf, automake, and libtool.
* gnu/packages/patches/pidgin-libnm.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: nano: Update to 4.9.3.
Efraim Flashner [Sun, 24 May 2020 07:18:01 +0000 (10:18 +0300)]
gnu: nano: Update to 4.9.3.

* gnu/packages/nano.scm (nano): Update to 4.9.3.

4 years agognu: redshift-wayland: Install redshift.desktop.
Marius Bakke [Sat, 23 May 2020 22:01:15 +0000 (00:01 +0200)]
gnu: redshift-wayland: Install redshift.desktop.

* gnu/packages/xdisorg.scm (redshift-wayland)[arguments]: New field.

4 years agognu: local.mk: Remove absent patch.
Christopher Baines [Sat, 23 May 2020 21:54:46 +0000 (22:54 +0100)]
gnu: local.mk: Remove absent patch.

This follows on from 899ffa1381afbf5f955aeba4839e920b3d910953.

* gnu/local.mk (dist_patch_DATA): Remove
packages/patches/deja-dup-use-ref-keyword-for-iter.patch.

4 years agognu: gnome-shell: Use libnma.
Brice Waegeneire [Sat, 23 May 2020 19:47:53 +0000 (21:47 +0200)]
gnu: gnome-shell: Use libnma.

* gnu/packages/gnome.scm (gnome-shell)[inputs]: Add 'libnma'.

4 years agognu: dconf: Appease 'guix lint'.
Brice Waegeneire [Thu, 21 May 2020 13:54:02 +0000 (15:54 +0200)]
gnu: dconf: Appease 'guix lint'.

* gnu/packages/gnome.scm (dconf)[homepage]: Avoid permanent redirect.

4 years agognu: deja-dup: Update to 40.6.
Brice Waegeneire [Thu, 21 May 2020 22:34:41 +0000 (00:34 +0200)]
gnu: deja-dup: Update to 40.6.

* gnu/packages/gnome.scm (deja-dup): Update to 40.6.
[origin]: Use gitlab.gnome.org since the project migrated away from
launchpad.
[home-page]: Use 'wiki.gnome.org' instead of 'launchpad.net'.
[build-system]: Switch to 'meson-build-system' because upstream removed
cmake support.
[arguments]: Enable tests.  Remove arguments 'modules',
'imported-modules' and 'test-target'.  Use argument 'glib-or-gtk?'.
Replace configure-flags to only adjust 'RUN_PATH'.  Use standard phases
for 'configure' and 'check'.  Adjust and rename phase
'patch-lockfile-deletion' to 'patch-paths'.  Add phases
'patch-libgpg-error' and 'skip-gtk-update-icon-cache'.
[inputs]: Remove 'libpeas', 'gobject-introspection'.  Replace 'python-2'
and 'python2-pygobject' with python-3 versions. Add 'json-glib',
'libsoup' and 'libgpg-error'.
[native-inputs]: Remove 'cmake-minimal' and 'intltool'.  Add
'appstream-glib','desktop-file-utils', 'glib:bin' and
'gobject-introspection'.
* gnu/packages/patches/deja-dup-use-ref-keyword-for-iter.patch: Delete
file.

4 years agognu: upower: Enable tests.
Brice Waegeneire [Thu, 21 May 2020 15:04:23 +0000 (17:04 +0200)]
gnu: upower: Enable tests.

* gnu/packages/gnome.scm (upower)[arguments]: Enable tests and add
phases 'pre-check'.
[native-inputs]: Add 'python-pygobject', 'python-dbus',
'python-dbusmock' and 'umockdev'.

4 years agognu: umockdev: Update to 0.14.1.
Brice Waegeneire [Thu, 21 May 2020 15:01:37 +0000 (17:01 +0200)]
gnu: umockdev: Update to 0.14.1.

* gnu/packages/check.scm (umockdev) Update to 0.14.1.

4 years agognu: umockdev: Add 'gobject-introspection'.
Brice Waegeneire [Thu, 21 May 2020 14:55:21 +0000 (16:55 +0200)]
gnu: umockdev: Add 'gobject-introspection'.

* gnu/packages/check.scm (umockdev)[native-inuputs]: Add
'gobject-introspection'.

4 years agognu: python-argcomplete: Update to 1.11.1.
Lars-Dominik Braun [Tue, 19 May 2020 07:24:03 +0000 (09:24 +0200)]
gnu: python-argcomplete: Update to 1.11.1.

* gnu/packages/python-xyz.scm (python-argcomplete)[version]: Update to 1.11.1.
[arguments]: Remove, obsolete.
[inputs]: Remove as well.
* gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add python-epc.
Ryan Prior via Guix-patches via [Sun, 17 May 2020 18:41:59 +0000 (18:41 +0000)]
gnu: Add python-epc.

* gnu/packages/python-xyz.py (python-epc): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add python-sexpdata.
Ryan Prior via Guix-patches via [Sun, 17 May 2020 18:41:54 +0000 (18:41 +0000)]
gnu: Add python-sexpdata.

* gnu/packages/python-xyz.scm (python-sexpdata): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: Add python-importmagic.
Ryan Prior via Guix-patches via [Sun, 17 May 2020 18:41:48 +0000 (18:41 +0000)]
gnu: Add python-importmagic.

* gnu/packages/python-xyz.el (python-importmagic): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: icedove: Add a desktop file.
Jonathan Brielmaier [Thu, 14 May 2020 11:49:53 +0000 (13:49 +0200)]
gnu: icedove: Add a desktop file.

* gnu/packages/gnuzilla.scm (icedove)[phases]: Add install-desktop-file phase.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: mediainfo: Update to 20.03.
Michael Rohleder [Thu, 21 May 2020 21:37:13 +0000 (23:37 +0200)]
gnu: mediainfo: Update to 20.03.

* gnu/packages/video.scm (mediainfo): Update to 20.03.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: libmediainfo: Update to 20.03.
Michael Rohleder [Thu, 21 May 2020 21:32:19 +0000 (23:32 +0200)]
gnu: libmediainfo: Update to 20.03.

* gnu/packages/video.scm (libmediainfo): Update to 20.03.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoguix package: Support multiple profiles with '--list-installed'.
zimoun [Thu, 21 May 2020 21:43:06 +0000 (23:43 +0200)]
guix package: Support multiple profiles with '--list-installed'.

* guix/scripts/package.scm (process-query): List installed multiple profiles.
* tests/guix-package-net.sh: Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agotests: Use a #:prefix for (gcrypt hash).
Ludovic Courtès [Sat, 23 May 2020 13:45:22 +0000 (15:45 +0200)]
tests: Use a #:prefix for (gcrypt hash).

* tests/packages.scm: Use #:prefix instead of #:hide for (gcrypt hash).
This accomodates for 'sha512' syntax literal matches with Guile-Gcrypt 0.3.0,
which exports 'sha512' in addition to 'sha256'.

4 years agognu: guile-gcrypt: Update to 0.3.0.
Ludovic Courtès [Sat, 23 May 2020 13:44:53 +0000 (15:44 +0200)]
gnu: guile-gcrypt: Update to 0.3.0.

* gnu/packages/gnupg.scm (guile-gcrypt): Update to 0.3.0.

4 years agoguix-install.sh: Fix ‘systemctl not found’ error message at probe.
Vincent Legoll [Sun, 17 May 2020 17:17:00 +0000 (19:17 +0200)]
guix-install.sh: Fix ‘systemctl not found’ error message at probe.

* etc/guix-install.sh (chk_init_sys): Redirect systemctl errors to
/dev/null.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agoguix-install.sh: Add xz to requirements.
Vincent Legoll [Sun, 17 May 2020 17:16:59 +0000 (19:16 +0200)]
guix-install.sh: Add xz to requirements.

* etc/guix-install.sh (REQUIRE): Add xz to requirements list.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agobuild: Add a comment above the sysvinit section.
Vincent Legoll [Sun, 17 May 2020 17:16:58 +0000 (19:16 +0200)]
build: Add a comment above the sysvinit section.

* nix/local.mk (sysvinitservicedir): Add a comment.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: spice-protocol: Update to 0.14.2.
Tobias Geerinckx-Rice [Fri, 22 May 2020 00:00:32 +0000 (02:00 +0200)]
gnu: spice-protocol: Update to 0.14.2.

* gnu/packages/spice.scm (spice-protocol): Update to 0.14.2.
[arguments]: Install COPYING manually now.

4 years agognu: qtractor: Update to 0.9.14.
Tobias Geerinckx-Rice [Thu, 21 May 2020 23:52:49 +0000 (01:52 +0200)]
gnu: qtractor: Update to 0.9.14.

* gnu/packages/music.scm (qtractor): Update to 0.9.14.
[source]: Fetch over HTTPS.

4 years agognu: polybar: Update to 3.4.3.
Tobias Geerinckx-Rice [Thu, 21 May 2020 23:44:00 +0000 (01:44 +0200)]
gnu: polybar: Update to 3.4.3.

* gnu/packages/wm.scm (polybar): Update to 3.4.3.

4 years agognu: inxi: Update to 3.1.00-1.
Tobias Geerinckx-Rice [Thu, 21 May 2020 20:33:22 +0000 (22:33 +0200)]
gnu: inxi: Update to 3.1.00-1.

* gnu/packages/admin.scm (inxi-minimal): Update to 3.1.00-1.

4 years agognu: redshift: Build and install redshift-gtk in a separate output.
Marius Bakke [Sat, 23 May 2020 13:31:14 +0000 (15:31 +0200)]
gnu: redshift: Build and install redshift-gtk in a separate output.

This also installs a redshift.desktop file as a side-effect.

* gnu/packages/xdisorg.scm (redshift)[outputs, arguments]: New fields.

4 years agognu: Add libglvnd.
Marius Bakke [Sat, 23 May 2020 12:04:48 +0000 (14:04 +0200)]
gnu: Add libglvnd.

* gnu/packages/gl.scm (libglvnd): New public variable.

4 years agognu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" references.
Nicolas Goaziou [Sat, 23 May 2020 07:43:51 +0000 (09:43 +0200)]
gnu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" references.

* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)[arguments]: Fix more
python3 locations.

4 years agognu: Add emacs-fountain-mode.
Vinicius Monego [Sat, 23 May 2020 00:51:41 +0000 (21:51 -0300)]
gnu: Add emacs-fountain-mode.

* gnu/packages/emacs-xyz.scm (emacs-fountain-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: dav1d: Update to 0.7.0.
Leo Famulari [Fri, 22 May 2020 23:18:24 +0000 (19:18 -0400)]
gnu: dav1d: Update to 0.7.0.

* gnu/packages/video.scm (dav1d): Update to 0.7.0.

4 years agognu: libavif: Update to 0.7.3.
Leo Famulari [Fri, 22 May 2020 23:09:55 +0000 (19:09 -0400)]
gnu: libavif: Update to 0.7.3.

* gnu/packages/image.scm (libavif): Update to 0.7.3.

4 years agognu: libaom: Update to 2.0.0
Arne Babenhauserheide [Fri, 22 May 2020 13:17:32 +0000 (15:17 +0200)]
gnu: libaom: Update to 2.0.0

* gnu/packages/video.scm (libaom): Update to 2.0.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: git-annex: Update to 8.20200522.
Kyle Meyer [Fri, 22 May 2020 18:12:50 +0000 (14:12 -0400)]
gnu: git-annex: Update to 8.20200522.

* gnu/packages/haskell-apps.scm (git-annex): Update to 8.20200522.
[source]: Remove patch that is now in a release.
* gnu/packages/patches/git-annex-S3v4.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: Syncthing: Update to 1.5.0.
Leo Famulari [Thu, 21 May 2020 16:56:58 +0000 (12:56 -0400)]
gnu: Syncthing: Update to 1.5.0.

* gnu/packages/syncthing.scm (syncthing): Update to 1.5.0.
[inputs]: Replace go-gopkg.in-ldap.v2 with go-github-com-go-ldap-ldap.

4 years agognu: Change name of Go ldap package and update to 3.1.7.
Leo Famulari [Fri, 22 May 2020 20:32:08 +0000 (16:32 -0400)]
gnu: Change name of Go ldap package and update to 3.1.7.

* gnu/packages/syncthing.scm (go-gopkg.in-ldap.v2): Replace with ...
(go-github-com-go-ldap-ldap): ... new variable.

4 years agognu: Change name of Go asn1-ber package and update to 1.3.1.
Leo Famulari [Fri, 22 May 2020 19:04:01 +0000 (15:04 -0400)]
gnu: Change name of Go asn1-ber package and update to 1.3.1.

* gnu/packages/syncthing.scm (go-gopkg.in-asn1-ber.v1): Replace with ...
(go-github-com-go-asn1-ber-asn1-ber): ... new variable.
[arguments]: Remove custom 'check' phase.

4 years agognu: go-github-com-lucas-clemente-quic-go: Update to 0.14.4.
Leo Famulari [Thu, 21 May 2020 16:56:37 +0000 (12:56 -0400)]
gnu: go-github-com-lucas-clemente-quic-go: Update to 0.14.4.

* gnu/packages/golang.scm (go-github-com-lucas-clemente-quic-go): Update
to 0.14.4.
[propagated-inputs]: Add go-github-com-marten-seemann-chacha20.

4 years agognu: Add go-github-com-marten-seemann-chacha20.
Leo Famulari [Thu, 21 May 2020 18:20:39 +0000 (14:20 -0400)]
gnu: Add go-github-com-marten-seemann-chacha20.

* gnu/packages/golang.scm (go-github-com-marten-seemann-chacha20): New variable.

4 years agognu: go-github-com-marten-seemann-qtls: Update to 0.4.1.
Leo Famulari [Thu, 21 May 2020 18:20:05 +0000 (14:20 -0400)]
gnu: go-github-com-marten-seemann-qtls: Update to 0.4.1.

* gnu/packages/golang.scm (go-github-com-marten-seemann-qtls): Update to 0.4.1.

4 years agognu: Add go-github-com-twmb-murmur3.
Leo Famulari [Thu, 21 May 2020 16:55:10 +0000 (12:55 -0400)]
gnu: Add go-github-com-twmb-murmur3.

* gnu/packages/golang.scm (go-github-com-calmh-murmur3): Replace with ...
(go-github-com-twmb-murmur3): ... new variable.
(go-github-com-willf-bloom): Use go-github-com-twmb-murmur3.

4 years agognu: go-github-com-jackpal-gateway: Update to 1.0.6.
Leo Famulari [Thu, 21 May 2020 16:46:20 +0000 (12:46 -0400)]
gnu: go-github-com-jackpal-gateway: Update to 1.0.6.

* gnu/packages/syncthing.scm (go-github-com-jackpal-gateway): Update to 1.0.6.

4 years agognu: go-github-com-kr-pretty: Update to 0.2.0.
Leo Famulari [Thu, 21 May 2020 16:45:23 +0000 (12:45 -0400)]
gnu: go-github-com-kr-pretty: Update to 0.2.0.

* gnu/packages/golang.scm (go-github-com-kr-pretty): Update to 0.2.0.

4 years agognu: go-golang-org-x-crypto: Update to 0.0.0-5.2aa609c.
Leo Famulari [Thu, 21 May 2020 16:43:36 +0000 (12:43 -0400)]
gnu: go-golang-org-x-crypto: Update to 0.0.0-5.2aa609c.

* gnu/packages/golang.scm (go-golang-org-x-crypto): Update to
0.0.0-5.2aa609c.

4 years agognu: go-golang-org-x-sys: Update to 0.0.0-6.c709ea0.
Leo Famulari [Thu, 21 May 2020 16:44:15 +0000 (12:44 -0400)]
gnu: go-golang-org-x-sys: Update to 0.0.0-6.c709ea0.

* gnu/packages/golang.scm (go-golang-org-x-sys): Update to 0.0.0-6.c709ea0.

4 years agognu: gnome-control-center: Use 'libnma'.
Brice Waegeneire [Fri, 22 May 2020 13:15:56 +0000 (15:15 +0200)]
gnu: gnome-control-center: Use 'libnma'.

* gnu/packages/gnome.scm (gnome-control-center)[inputs]: Add 'libnma'.

4 years agognu: gnome-initial-setup: Use 'libnma'.
Brice Waegeneire [Fri, 22 May 2020 13:13:35 +0000 (15:13 +0200)]
gnu: gnome-initial-setup: Use 'libnma'.

* gnu/packages/gnome.scm (gnome-initial-setup)[inputs]: Replace
'network-manager-applet' with 'libnma'.

4 years agognu: network-manager-applet: Appease guix lint.
Brice Waegeneire [Mon, 11 May 2020 17:53:11 +0000 (19:53 +0200)]
gnu: network-manager-applet: Appease guix lint.

* gnu/packages/gnome.scm (network-manager-applet)[home-page]: Replace
with permanent redirect URL.

4 years agognu: network-manager-applet: Update to 1.16.0.
Brice Waegeneire [Mon, 11 May 2020 14:59:17 +0000 (16:59 +0200)]
gnu: network-manager-applet: Update to 1.16.0.

* gnu/packages/gnome.scm (netowrk-manager-applet): Update to 1.16.0.
[arguments]: Remove 'configure-flags'.
[inputs]: Add 'libnma', remove 'iso-codes' and
'mobile-broadband-provider-info'.

4 years agognu: network-manager-vpnc: Use 'libnma'.
Brice Waegeneire [Mon, 11 May 2020 17:37:17 +0000 (19:37 +0200)]
gnu: network-manager-vpnc: Use 'libnma'.

* gnu/packages/gnome.scm (network-manager-vpnc)[arguments]: Add
configure flag '--with-libnm-glib=no'.
[inputs]: Replace 'network-manager-applet' with 'libnma'.

4 years agognu: network-manager-openconnect: Use libnma.
Brice Waegeneire [Mon, 11 May 2020 16:36:10 +0000 (18:36 +0200)]
gnu: network-manager-openconnect: Use libnma.

* gnu/packages/gnome.scm (network-manager-openconnect)[native-inputs]:
Replace 'network-manager-applet' by 'libnma'.

4 years agognu: network-manager-openvpn: Update to 1.8.12.
Brice Waegeneire [Mon, 11 May 2020 14:36:21 +0000 (16:36 +0200)]
gnu: network-manager-openvpn: Update to 1.8.12.

* gnu/packages/gnome.scm (network-manager-openvpn): Update to 1.8.12.
[inputs]: Replace 'network-manager-applet' with 'libnma'.

4 years agognu: libnma: Adjust indentation.
Brice Waegeneire [Mon, 11 May 2020 14:34:50 +0000 (16:34 +0200)]
gnu: libnma: Adjust indentation.

* gnu/packages/gnome.scm (libnma): Adjust indentation.

4 years agognu: libnma: Update inputs.
Brice Waegeneire [Mon, 11 May 2020 14:30:55 +0000 (16:30 +0200)]
gnu: libnma: Update inputs.

* gnu/packages/gnome.scm (libnam)[arguments]: Remove 'glib-or-gtk?' and
add phase 'patch-docbook-xml'.
[native-inputs]: Add 'docboock-xml-4.3' and 'vala'.
[inputs]: Remove 'adwaita'icon-theme'.

squash! gnu: libnma: Update inputs and licenses.

4 years agognu: libnma: Update to 1.8.28.
Brice Waegeneire [Mon, 11 May 2020 14:26:39 +0000 (16:26 +0200)]
gnu: libnma: Update to 1.8.28.

* gnu/packages/gnome.scm (libnma): Update to 1.8.28.

4 years agognu: modem-manager: Update to 1.12.10.
Brice Waegeneire [Mon, 11 May 2020 14:11:16 +0000 (16:11 +0200)]
gnu: modem-manager: Update to 1.12.10.

* gnu/packages/freedesktop.scm (modem-manager): Update to 1.12.10.
[arguments]: Remove arguments '--disable-more-warnings'.

4 years agognu: network-manager: Appease guix lint.
Brice Waegeneire [Mon, 11 May 2020 14:45:24 +0000 (16:45 +0200)]
gnu: network-manager: Appease guix lint.

* gnu/packages/gnome.scm (network-manager)[home-page]: Use the permenant
redirect URL.
* gnu/packages/patches/nm-plugin-path.patch: Renamed to
'gnu/packages/patches/network-manager-plugin-path.patch'.

4 years agognu: network-manager: Switch to meson-build-system.
Brice Waegeneire [Mon, 11 May 2020 13:39:57 +0000 (15:39 +0200)]
gnu: network-manager: Switch to meson-build-system.

4 years agognu: network-manager: Add iwd support.
Brice Waegeneire [Mon, 11 May 2020 07:07:17 +0000 (09:07 +0200)]
gnu: network-manager: Add iwd support.

4 years agognu: network-manager: Update to 1.24.0.
Brice Waegeneire [Sat, 9 May 2020 16:48:35 +0000 (18:48 +0200)]
gnu: network-manager: Update to 1.24.0.

* gnu/packages/gnome.scm (network-manager): Update to 1.24.0.

4 years agognu: guile-fibers: Add patch to fix resource leak.
Caleb Ristvedt [Fri, 22 May 2020 01:30:58 +0000 (20:30 -0500)]
gnu: guile-fibers: Add patch to fix resource leak.

guile-fibers@1.0.0 has a resource leak where run-fibers will only destroy one
scheduler, but it creates as many as there are cpu cores by default (see
https://github.com/wingo/fibers/issues/36).  This causes the tests to fail on
systems with many cores, and can cause guile to crash under certain
circumstances.  This fixes that resource leak.  At present neither git master
nor the latest release has fixed this yet.

* gnu/packages/patches/guile-fibers-destroy-peer-schedulers.patch: New patch.
* gnu/local.mk: Add it to the list of patches.
* gnu/packages/guile-xyz.scm (guile-fibers): Use it.

4 years agognu: bash: Do not autoload (gcrypt hash).
Ludovic Courtès [Fri, 22 May 2020 16:34:22 +0000 (18:34 +0200)]
gnu: bash: Do not autoload (gcrypt hash).

Fixes <https://bugs.gnu.org/41457>.
Reported by Matias Jose Seco Baccanelli <matias_jose_seco@autoproduzioni.net>.

* gnu/packages/bash.scm: Avoid #:autoload for (gcrypt hash).  On Guile 2.2,
autoloading would bring it not only the 'port-sha256' binding (as on
3.0) but also the 'sha256' binding.  As a result, use of 'sha256' in the
'origin' form wouldn't match.

4 years agognu: Add glabels.
Vinicius Monego [Fri, 22 May 2020 15:45:19 +0000 (17:45 +0200)]
gnu: Add glabels.

* gnu/packages/gnome.scm (glabels): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agodoc: Update 'Bootstrapping' for further binary seed reduction.
Jan Nieuwenhuizen [Tue, 18 Feb 2020 10:36:37 +0000 (11:36 +0100)]
doc: Update 'Bootstrapping' for further binary seed reduction.

* doc/images/gcc-core-mesboot0-graph.dot: New image, replacing
* doc/images/gcc-mesboot0-bag-graph.dot: ... remove file.
* doc/local.mk (DOT_FILES): Update for new image file.
* doc/guix.texi (Reduced Binary Seed Bootstrap): Use it in updated description
of further reduction of the trusted computing base.

4 years agognu: freeipmi: Don't build static libraries.
Efraim Flashner [Fri, 22 May 2020 08:00:06 +0000 (11:00 +0300)]
gnu: freeipmi: Don't build static libraries.

This shrinks the size of the package by about 33%.

* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Add configure-flag to
disable static libraries.

4 years agognu: freeipmi: Update to 1.6.5.
Efraim Flashner [Fri, 22 May 2020 07:55:09 +0000 (10:55 +0300)]
gnu: freeipmi: Update to 1.6.5.

* gnu/packages/freeipmi.scm (freeipmi): Update to 1.6.5.

4 years agognu: llvm: Remove unused 'package-elisp-from-package' procedure.
Ludovic Courtès [Thu, 21 May 2020 22:25:26 +0000 (00:25 +0200)]
gnu: llvm: Remove unused 'package-elisp-from-package' procedure.

This private procedure had been unused since
3a3d4d9d545028cda846ae827a60249f7162d34e.

* gnu/packages/llvm.scm (package-elisp-from-package): Remove.

4 years agoupstream: Use 'origin-hash'.
Ludovic Courtès [Thu, 21 May 2020 22:24:35 +0000 (00:24 +0200)]
upstream: Use 'origin-hash'.

* guix/upstream.scm (update-package-source): Use 'origin-hash' instead
of 'origin-sha256'.

4 years agolint: archival: Use 'origin-hash'.
Ludovic Courtès [Thu, 21 May 2020 22:23:15 +0000 (00:23 +0200)]
lint: archival: Use 'origin-hash'.

* guix/lint.scm (check-archival): Use 'origin-hash' instead of
'origin-sha256', removing hard-coded "sha256".

4 years agopackages: Introduce <content-hash> and use it in <origin>.
Ludovic Courtès [Tue, 19 May 2020 13:55:08 +0000 (15:55 +0200)]
packages: Introduce <content-hash> and use it in <origin>.

* guix/packages.scm (<content-hash>): New record type.
(define-content-hash-constructor, build-content-hash)
(content-hash): New macros.
(print-content-hash): New procedure.
(<origin>): Rename constructor to '%origin'.
[sha256]: Remove field.
[hash]: New field.  Adjust users.
(origin-compatibility-helper, origin): New macros.
(origin-sha256): New deprecated procedure.
(origin->derivation): Adjust accordingly.
* tests/packages.scm ("package-source-derivation, origin, sha512"): New
test.
* guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax
matching.
* tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users.
* tests/derivations.scm: Likewise.
* tests/store.scm: Likewise.
* tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field
with the right length.
* gnu/packages/aspell.scm (aspell-dictionary)
(aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for
proper syntax matching.
* gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'.
* gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'.
* gnu/packages/readline.scm (readline-patch): Likewise.
* gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to
'sha256-bv'.
* guix/import/utils.scm: Hide (gcrypt hash) 'sha256'.

4 years agopackages: Add 'base64' macro.
Ludovic Courtès [Mon, 18 May 2020 21:21:36 +0000 (23:21 +0200)]
packages: Add 'base64' macro.

* guix/packages.scm (define-compile-time-decoder): New macro.
(base32): Redefine in terms of it.
(base64): New macro.

4 years agoguix hash, guix download: Support base64 format.
Ludovic Courtès [Mon, 18 May 2020 20:25:13 +0000 (22:25 +0200)]
guix hash, guix download: Support base64 format.

* guix/scripts/download.scm (show-help, %options): Support "base64"
format.
* guix/scripts/hash.scm (show-help, %options): Likewise.
* tests/guix-hash.sh: Test it.
* doc/guix.texi (Invoking guix hash): Document it.