Commit graph

61061 commits

Author SHA1 Message Date
Ludovic Courtès
9744cc7b46
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'.
2020-05-25 00:00:28 +02:00
Ludovic Courtès
872898f768
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.
2020-05-25 00:00:28 +02:00
Ludovic Courtès
8d1d56578a
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.
2020-05-25 00:00:28 +02:00
Ludovic Courtès
9b049de84e
channels: 'latest-channel-instances' doesn't leak internal state.
* guix/channels.scm (latest-channel-instances): Remove
'previous-channels' argument.  Introduce 'loop' and use it.
2020-05-25 00:00:28 +02:00
Ludovic Courtès
c098c11be8
git: Add 'commit-relation'.
* guix/git.scm (commit-relation): New procedure.
* tests/git.scm ("commit-relation"): New test.
2020-05-25 00:00:28 +02:00
Ludovic Courtès
86ac14b2f3
gnu: protonvpn-cli: Tweak description.
* gnu/packages/vpn.scm (protonvpn-cli)[description]: Tweak.
2020-05-25 00:00:28 +02:00
Ryan Prior
c873980d18
gnu: Add protonvpn-cli.
* gnu/packages/vpn.scm (protonvpn-cli): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-25 00:00:28 +02:00
Jack Hill
f81ce752b3
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>
2020-05-25 00:00:27 +02:00
Jack Hill
b7e1e556b2
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>
2020-05-25 00:00:27 +02:00
Chris Bøg
3142191da6
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>
2020-05-25 00:00:27 +02:00
Tim Gesthuizen via Guix-patches via
9b572aba85
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>
2020-05-24 23:31:55 +02:00
Nicolas Goaziou
cf0abc23e8
gnu: emacs-auctex: Update to 12.2.2.
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 12.2.2.
2020-05-24 22:37:03 +02:00
Jan (janneke) Nieuwenhuizen
0cbb5390e4
doc: Update to the new 'grub-theme' procedure.
This is a follow-up commit to 9cdb10d52e:
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.
2020-05-24 22:36:19 +02:00
Efraim Flashner
2ae11cd0a4
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.
2020-05-24 23:12:50 +03:00
Efraim Flashner
75c5b027ae
gnu: python-efl: Update to 1.24.0.
* gnu/packages/enlightenment.scm (python-efl): Update to 1.24.0.
2020-05-24 23:12:49 +03:00
Efraim Flashner
1157bee478
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
2020-05-24 23:12:49 +03:00
Christopher Baines
bdc7f72fe4
gnu: go-github-com-kr-pretty: Fix source sha256.
This follows on from 618df2e335, which left the
hash suspiciously similar to the previous value.

* gnu/packages/golang.scm (go-github-com-kr-pretty): Change the sha256 hash.
2020-05-24 20:48:14 +01:00
Royce Strange
1576acbe09
build: Add missing twinkle patch to gnu/local.mk.
This follows up on e5463baf2c.

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

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-24 19:32:16 +02:00
Tobias Geerinckx-Rice
4492981706
gnu: pidgin: Fix build with Meson network-manager.
This is a follow-up commit to 255ff74f3a:
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.
2020-05-24 16:16:14 +02:00
Efraim Flashner
dfc426582f
gnu: nano: Update to 4.9.3.
* gnu/packages/nano.scm (nano): Update to 4.9.3.
2020-05-24 10:18:01 +03:00
Marius Bakke
b1affd4778
gnu: redshift-wayland: Install redshift.desktop.
* gnu/packages/xdisorg.scm (redshift-wayland)[arguments]: New field.
2020-05-24 00:01:15 +02:00
Christopher Baines
21d3b765d9
gnu: local.mk: Remove absent patch.
This follows on from 899ffa1381.

* gnu/local.mk (dist_patch_DATA): Remove
packages/patches/deja-dup-use-ref-keyword-for-iter.patch.
2020-05-23 22:54:46 +01:00
Brice Waegeneire
e24d311f9c
gnu: gnome-shell: Use libnma.
* gnu/packages/gnome.scm (gnome-shell)[inputs]: Add 'libnma'.
2020-05-23 21:47:53 +02:00
Brice Waegeneire
79d7b5277f
gnu: dconf: Appease 'guix lint'.
* gnu/packages/gnome.scm (dconf)[homepage]: Avoid permanent redirect.
2020-05-23 21:47:23 +02:00
Brice Waegeneire
899ffa1381
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.
2020-05-23 21:45:50 +02:00
Brice Waegeneire
6039031a1a
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'.
2020-05-23 21:45:43 +02:00
Brice Waegeneire
96ae71f56b
gnu: umockdev: Update to 0.14.1.
* gnu/packages/check.scm (umockdev) Update to 0.14.1.
2020-05-23 21:43:18 +02:00
Brice Waegeneire
07b1f6dcee
gnu: umockdev: Add 'gobject-introspection'.
* gnu/packages/check.scm (umockdev)[native-inuputs]: Add
'gobject-introspection'.
2020-05-23 21:43:14 +02:00
Lars-Dominik Braun
51443772b8
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>
2020-05-23 21:19:13 +02:00
Ryan Prior via Guix-patches via
c265d78640
gnu: Add python-epc.
* gnu/packages/python-xyz.py (python-epc): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-23 21:19:13 +02:00
Ryan Prior via Guix-patches via
1348e51237
gnu: Add python-sexpdata.
* gnu/packages/python-xyz.scm (python-sexpdata): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-23 21:19:13 +02:00
Ryan Prior via Guix-patches via
01e81309c0
gnu: Add python-importmagic.
* gnu/packages/python-xyz.el (python-importmagic): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-23 21:19:13 +02:00
Jonathan Brielmaier
964ba6567d
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>
2020-05-23 21:19:13 +02:00
Michael Rohleder
4c1f5ea34c
gnu: mediainfo: Update to 20.03.
* gnu/packages/video.scm (mediainfo): Update to 20.03.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-23 16:29:29 +02:00
Michael Rohleder
7ae5d7d795
gnu: libmediainfo: Update to 20.03.
* gnu/packages/video.scm (libmediainfo): Update to 20.03.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-23 16:29:29 +02:00
zimoun
881eaae1ab
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>
2020-05-23 16:29:29 +02:00
Ludovic Courtès
197c07a847
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'.
2020-05-23 16:29:29 +02:00
Ludovic Courtès
0459649e3e
gnu: guile-gcrypt: Update to 0.3.0.
* gnu/packages/gnupg.scm (guile-gcrypt): Update to 0.3.0.
2020-05-23 16:29:29 +02:00
Vincent Legoll
dc1aede30a
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>
2020-05-23 15:37:58 +02:00
Vincent Legoll
39939e30cf
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>
2020-05-23 15:37:58 +02:00
Vincent Legoll
9927e5b11b
build: Add a comment above the sysvinit section.
* nix/local.mk (sysvinitservicedir): Add a comment.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-23 15:37:58 +02:00
Tobias Geerinckx-Rice
6d2155168f
gnu: spice-protocol: Update to 0.14.2.
* gnu/packages/spice.scm (spice-protocol): Update to 0.14.2.
[arguments]: Install COPYING manually now.
2020-05-23 15:37:57 +02:00
Tobias Geerinckx-Rice
d2bc9f0e7d
gnu: qtractor: Update to 0.9.14.
* gnu/packages/music.scm (qtractor): Update to 0.9.14.
[source]: Fetch over HTTPS.
2020-05-23 15:37:57 +02:00
Tobias Geerinckx-Rice
99f80e5ccd
gnu: polybar: Update to 3.4.3.
* gnu/packages/wm.scm (polybar): Update to 3.4.3.
2020-05-23 15:37:57 +02:00
Tobias Geerinckx-Rice
9fdf982b41
gnu: inxi: Update to 3.1.00-1.
* gnu/packages/admin.scm (inxi-minimal): Update to 3.1.00-1.
2020-05-23 15:37:57 +02:00
Marius Bakke
22070ad1ff
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.
2020-05-23 15:31:14 +02:00
Marius Bakke
e7b2ac1cd8
gnu: Add libglvnd.
* gnu/packages/gl.scm (libglvnd): New public variable.
2020-05-23 14:04:48 +02:00
Nicolas Goaziou
28e9a1118b
gnu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" references.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)[arguments]: Fix more
python3 locations.
2020-05-23 09:45:14 +02:00
Vinicius Monego
b2d8118616
gnu: Add emacs-fountain-mode.
* gnu/packages/emacs-xyz.scm (emacs-fountain-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-05-23 09:17:33 +02:00
Leo Famulari
05e1edf222
gnu: dav1d: Update to 0.7.0.
* gnu/packages/video.scm (dav1d): Update to 0.7.0.
2020-05-22 19:33:20 -04:00