jackhill/guix/guix.git
5 years agognu: thefuck: Update to 3.29.
Tobias Geerinckx-Rice [Wed, 5 Jun 2019 23:50:13 +0000 (01:50 +0200)]
gnu: thefuck: Update to 3.29.

* gnu/packages/admin.scm (thefuck): Update to 3.29.

5 years agognu: inxi, inxi-minimal: Update to 3.0.34-1.
Tobias Geerinckx-Rice [Wed, 5 Jun 2019 23:47:23 +0000 (01:47 +0200)]
gnu: inxi, inxi-minimal: Update to 3.0.34-1.

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

5 years agognu: dstat: Update to 0.7.4.
Tobias Geerinckx-Rice [Wed, 5 Jun 2019 23:43:16 +0000 (01:43 +0200)]
gnu: dstat: Update to 0.7.4.

* gnu/packages/admin.scm (dstat): Update to 0.7.4.

5 years agognu: aide: Update to 0.16.2.
Tobias Geerinckx-Rice [Wed, 5 Jun 2019 23:41:13 +0000 (01:41 +0200)]
gnu: aide: Update to 0.16.2.

* gnu/packages/admin.scm (aide): Update to 0.16.2.

5 years agognu: wireless-regdb: Update to 2019.06.03.
Tobias Geerinckx-Rice [Wed, 5 Jun 2019 23:31:09 +0000 (01:31 +0200)]
gnu: wireless-regdb: Update to 2019.06.03.

* gnu/packages/linux.scm (wireless-regdb): Update to 2019.06.03.
[arguments]: Add ‘omit-signature’ phase.
Add FIRMWARE_PATH & REGDB_PUBCERT #:make-flags, removing unused LSB_ID,
DISTRO_PUBKEY & DISTRO_PRIVKEY.  Exdent.

5 years agognu: liburcu: Update to 0.11.1.
Tobias Geerinckx-Rice [Wed, 5 Jun 2019 18:09:52 +0000 (20:09 +0200)]
gnu: liburcu: Update to 0.11.1.

* gnu/packages/datastructures.scm (liburcu): Update to 0.11.1.

5 years agognu: Add qview.
Nicolas Goaziou [Tue, 28 May 2019 22:39:26 +0000 (00:39 +0200)]
gnu: Add qview.

* gnu/packages/image-viewers.scm (qview): New variable.

5 years agoaccounts: Call 'fdatasync' when writing databases.
Ludovic Courtès [Wed, 5 Jun 2019 09:14:41 +0000 (11:14 +0200)]
accounts: Call 'fdatasync' when writing databases.

* gnu/build/accounts.scm (catch-ENOSYS): New macro.
(database-writer): Call 'fdatasync'.

5 years agoaccounts: Close database before renaming it.
Ludovic Courtès [Wed, 5 Jun 2019 09:12:21 +0000 (11:12 +0200)]
accounts: Close database before renaming it.

Fixes <https://bugs.gnu.org/35996>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/build/accounts.scm (database-writer): Move 'close-port' call
before 'rename-file'.

5 years agonar: Really lock store files.
Ludovic Courtès [Mon, 3 Jun 2019 15:18:41 +0000 (17:18 +0200)]
nar: Really lock store files.

Previously, 'lock-store-file' would immediately close the file
descriptor of the '.lock' file, and thus it would immediately release
the lock.

* guix/nar.scm (lock-store-file, unlock-store-file): Remove.
(finalize-store-file): Use 'lock-file' and 'unlock-file' instead.

5 years agoactivation: Lock /etc/.pwd.lock before accessing databases.
Ludovic Courtès [Mon, 3 Jun 2019 15:14:17 +0000 (17:14 +0200)]
activation: Lock /etc/.pwd.lock before accessing databases.

Suggested by Florian Pelz <pelzflorian@pelzflorian.de>
in <http://bugs.gnu.org/35996>.

* gnu/build/accounts.scm (%password-lock-file): New variable.
* gnu/build/activation.scm (activate-users+groups): Wrap calls to
'user+group-databases', 'write-group', etc. into 'with-file-lock'.

5 years agosyscalls: 'with-lock-file' catches ENOSYS.
Ludovic Courtès [Mon, 3 Jun 2019 15:13:30 +0000 (17:13 +0200)]
syscalls: 'with-lock-file' catches ENOSYS.

* guix/build/syscalls.scm (call-with-file-lock): Catch ENOSYS raised by
'lock-file'.

5 years agosyscalls: 'with-file-lock' expands to a call to 'call-with-file-lock'.
Ludovic Courtès [Mon, 3 Jun 2019 14:24:31 +0000 (16:24 +0200)]
syscalls: 'with-file-lock' expands to a call to 'call-with-file-lock'.

* guix/build/syscalls.scm (call-with-file-lock): New procedure.
(with-file-lock): Expand to a call to 'call-with-file-lock'.

5 years agosyscalls: Add 'with-file-lock' macro.
Ludovic Courtès [Mon, 3 Jun 2019 14:23:01 +0000 (16:23 +0200)]
syscalls: Add 'with-file-lock' macro.

* guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock):
Move to...
* guix/build/syscalls.scm: ... here.

5 years agognu: minizip: Do not install crypt.h.
Ludovic Courtès [Wed, 5 Jun 2019 17:14:52 +0000 (19:14 +0200)]
gnu: minizip: Do not install crypt.h.

* gnu/packages/compression.scm (minizip)[arguments]: Add
'remove-crypt-h' phase.

5 years agoguix package: Do not list environment variables that need to be set.
Ludovic Courtès [Wed, 5 Jun 2019 15:33:37 +0000 (17:33 +0200)]
guix package: Do not list environment variables that need to be set.

Fixes <https://bugs.gnu.org/35942>.

* guix/scripts/package.scm (display-search-paths): Rename to...
(display-search-path-hint): ... this.  Adjust callers.
Remove #:kind parameter.  Replace the list of environment variables with
an invitation to source $GUIX_PROFILE/etc/profile or run 'guix package
--search-paths'.

5 years agognu: soil: Update home page.
Marius Bakke [Wed, 5 Jun 2019 17:40:12 +0000 (19:40 +0200)]
gnu: soil: Update home page.

* gnu/packages/gl.scm (soil)[home-page]: Use HTTPS.

5 years agognu: mesa-utils: Update home page.
Marius Bakke [Wed, 5 Jun 2019 17:39:42 +0000 (19:39 +0200)]
gnu: mesa-utils: Update home page.

* gnu/packages/gl.scm (mesa-utils)[home-page]: Use HTTPS.

5 years agognu: debootstrap: Workaround for PATH issues.
Vagrant Cascadian [Sun, 2 Jun 2019 18:34:33 +0000 (11:34 -0700)]
gnu: debootstrap: Workaround for PATH issues.

* gnu/packages/debian (debootstrap):
  [arguments]: Substitute PATH to include $PATH.
  [description]: Remove obsolete workaround from description.

5 years agoservices: cups: Create /var/cache on activation.
Alex Griffin [Sun, 2 Jun 2019 21:26:47 +0000 (16:26 -0500)]
services: cups: Create /var/cache on activation.

* gnu/services/cups.scm (%cups-activation): Create /var/cache if it doesn't
exist yet.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agodoc: Fix typo.
Diego Nicola Barbato [Thu, 16 May 2019 11:39:18 +0000 (13:39 +0200)]
doc: Fix typo.

* doc/guix.texi (Invoking guix archive): Remove spurious hyphen in example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Ukrainian Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 09:02:36 +0000 (21:02 +1200)]
gnu: Add Ukrainian Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-ul): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Portuguese Portugal Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 09:01:35 +0000 (21:01 +1200)]
gnu: Add Portuguese Portugal Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-pt-pt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Norwegian Nynorsk Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 09:00:46 +0000 (21:00 +1200)]
gnu: Add Norwegian Nynorsk Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-nn): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Maori Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 08:59:30 +0000 (20:59 +1200)]
gnu: Add Maori Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-mi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Hindi Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 08:58:51 +0000 (20:58 +1200)]
gnu: Add Hindi Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-hi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Finnish Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 08:58:02 +0000 (20:58 +1200)]
gnu: Add Finnish Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-fi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Danish Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 08:56:54 +0000 (20:56 +1200)]
gnu: Add Danish Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-da): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Belarusian Aspell dictionary.
Jens Mølgaard [Wed, 5 Jun 2019 09:10:34 +0000 (21:10 +1200)]
gnu: Add Belarusian Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-be): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: Add Arabic Aspell dictionary.
Jens Mølgaard [Sat, 1 Jun 2019 09:29:30 +0000 (21:29 +1200)]
gnu: Add Arabic Aspell dictionary.

* gnu/packages/aspell.scm (aspell-dict-ar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoinstaller: Always add '%base-initrd-modules' to 'initrd-modules'.
Ludovic Courtès [Wed, 5 Jun 2019 14:38:35 +0000 (16:38 +0200)]
installer: Always add '%base-initrd-modules' to 'initrd-modules'.

Fixes <https://bugs.gnu.org/36099>.
Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>.

* gnu/installer/parted.scm (initrd-configuration): Add
%BASE-INITRD-MODULES to the 'initrd-modules' field.

5 years agoetc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file.
Jack Hill [Mon, 3 Jun 2019 18:42:16 +0000 (14:42 -0400)]
etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file.

This is a followup to 579d17b70dac067f8194ede46513400b91ac136a.

* etc/guix-publish.service.in (Environment): Move GUIX_LOCPATH inside
the quotes.

5 years agognu: aubio: Enable avcodec support.
Kei Kebreau [Wed, 5 Jun 2019 14:25:06 +0000 (10:25 -0400)]
gnu: aubio: Enable avcodec support.

* gnu/packages/audio.scm (aubio)[arguments]: Remove "--disable-avcodec" from
and add "--enable-avcodec" to #:configure-flags.
[inputs]: Add ffmpeg.

5 years agognu: guile-sdl2: Update to 0.4.0.
Ricardo Wurmus [Wed, 5 Jun 2019 13:47:01 +0000 (15:47 +0200)]
gnu: guile-sdl2: Update to 0.4.0.

* gnu/packages/sdl.scm (guile-sdl2): Update to 0.4.0.

5 years agognu: guile-chickadee: Update to 0.4.0.
Ricardo Wurmus [Wed, 5 Jun 2019 13:42:50 +0000 (15:42 +0200)]
gnu: guile-chickadee: Update to 0.4.0.

* gnu/packages/game-development.scm (guile-chickadee): Update to 0.4.0.
[arguments]: Remove.

5 years agognu: guile-gi: Update to 0.0.1-1.26e8852.
Jan Nieuwenhuizen [Wed, 5 Jun 2019 13:35:46 +0000 (15:35 +0200)]
gnu: guile-gi: Update to 0.0.1-1.26e8852.

* gnu/packages/guile-xyz.scm (guile-gi): Update to 0.0.1-1.26e8852; use
upstream's (spk121's) git in source uri.

5 years agognu: neovim: Update to 0.3.7 [security fixes].
Jonathan Brielmaier [Wed, 5 Jun 2019 13:14:55 +0000 (15:14 +0200)]
gnu: neovim: Update to 0.3.7 [security fixes].

* gnu/packages/vim.scm (neovim): Update to 0.3.7.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
5 years agognu: eolie: Update to 0.9.62.
Ricardo Wurmus [Wed, 5 Jun 2019 09:53:27 +0000 (11:53 +0200)]
gnu: eolie: Update to 0.9.62.

* gnu/packages/gnome.scm (eolie): Update to 0.9.62.

5 years agoetc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.
Jack Hill [Mon, 3 Jun 2019 18:42:16 +0000 (14:42 -0400)]
etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.

Fixes <https://bugs.gnu.org/36074>.

* etc/guix-daemon.service.in: Move the GUIX_LOCPATH environment variable name
inside the quotes.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
5 years agognu: Add emacs-litable.
Oleg Pykhalov [Wed, 5 Jun 2019 07:15:20 +0000 (10:15 +0300)]
gnu: Add emacs-litable.

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

5 years agognu: Add emacs-attrap.
Brian Leung [Mon, 3 Jun 2019 20:16:40 +0000 (22:16 +0200)]
gnu: Add emacs-attrap.

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

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
5 years agognu: Add emacs-dante.
Brian Leung [Mon, 3 Jun 2019 20:15:33 +0000 (22:15 +0200)]
gnu: Add emacs-dante.

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

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
5 years agognu: Add emacs-lcr.
Brian Leung [Mon, 3 Jun 2019 20:15:19 +0000 (22:15 +0200)]
gnu: Add emacs-lcr.

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

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
5 years agognu: Add emacs-whitespace-cleanup-mode.
Brian Leung [Mon, 3 Jun 2019 20:14:28 +0000 (22:14 +0200)]
gnu: Add emacs-whitespace-cleanup-mode.

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

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
5 years agognu: linux-libre: Update to 5.1.7.
Mark H Weaver [Wed, 5 Jun 2019 03:49:44 +0000 (23:49 -0400)]
gnu: linux-libre: Update to 5.1.7.

* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.7.
(%linux-libre-hash): Update hash.

5 years agognu: linux-libre@4.19: Update to 4.19.48.
Mark H Weaver [Wed, 5 Jun 2019 03:48:52 +0000 (23:48 -0400)]
gnu: linux-libre@4.19: Update to 4.19.48.

* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.48.
(%linux-libre-4.19-hash): Update hash.

5 years agognu: openvswitch: Update to 2.11.1.
Marius Bakke [Tue, 4 Jun 2019 16:54:30 +0000 (18:54 +0200)]
gnu: openvswitch: Update to 2.11.1.

* gnu/packages/networking.scm (openvswitch): Update to 2.11.1.

5 years agognu: openvswitch: Update home page.
Marius Bakke [Tue, 4 Jun 2019 16:53:40 +0000 (18:53 +0200)]
gnu: openvswitch: Update home page.

* gnu/packages/networking.scm (openvswitch)[source, home-page]: Use HTTPS.

5 years agognu: polkit: Update to 0.116 [fixes CVE-2019-6133].
Marius Bakke [Tue, 4 Jun 2019 16:25:58 +0000 (18:25 +0200)]
gnu: polkit: Update to 0.116 [fixes CVE-2019-6133].

* gnu/packages/patches/polkit-CVE-2018-19788.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/polkit.scm (polkit): Update to 0.116.
[source](patches): Remove.
[inputs]: Change MOZJS-52 to MOZJS-60.
[arguments]: Add CXXFLAGS=-std=gnu++11 to #:configure-flags.

5 years agognu: e2fsprogs: Update to 1.45.2.
Marius Bakke [Tue, 4 Jun 2019 14:16:31 +0000 (16:16 +0200)]
gnu: e2fsprogs: Update to 1.45.2.

* gnu/packages/linux.scm (e2fsprogs): Update to 1.45.2.

5 years agognu: borg: Update to 1.1.10.
Tobias Geerinckx-Rice [Tue, 4 Jun 2019 15:49:14 +0000 (17:49 +0200)]
gnu: borg: Update to 1.1.10.

* gnu/packages/backup.scm (borg): Update to 1.1.10.
[source]: Remove upstreamed patch.
Remove msgpack and broken references to it.
[arguments]: Add ‘use-system-msgpack’ phase.
* gnu/packages/patches/borg-fix-hard-link-preloading.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

5 years agognu: Mutt: Update to 1.12.0.
Leo Famulari [Tue, 4 Jun 2019 17:38:35 +0000 (13:38 -0400)]
gnu: Mutt: Update to 1.12.0.

* gnu/packages/mail.scm (mutt): Update to 1.12.0.

5 years agognu: MPD: Update to 0.21.9.
Leo Famulari [Tue, 4 Jun 2019 17:32:36 +0000 (13:32 -0400)]
gnu: MPD: Update to 0.21.9.

* gnu/packages/mpd.scm (mpd): Update to 0.21.9.

5 years agognu: Syncthing: Update to 1.1.4.
Leo Famulari [Tue, 4 Jun 2019 17:26:02 +0000 (13:26 -0400)]
gnu: Syncthing: Update to 1.1.4.

* gnu/packages/syncthing.scm (syncthing): Update to 1.1.4.

5 years agognu: go-github-com-oschwald-geoip2-golang: Update to 1.3.0.
Leo Famulari [Tue, 4 Jun 2019 17:25:42 +0000 (13:25 -0400)]
gnu: go-github-com-oschwald-geoip2-golang: Update to 1.3.0.

* gnu/packages/syncthing.scm (go-github-com-oschwald-geoip2-golang):
Update to 1.3.0.

5 years agognu: go-github-com-lib-pq: Update to 1.1.1.
Leo Famulari [Tue, 4 Jun 2019 17:25:22 +0000 (13:25 -0400)]
gnu: go-github-com-lib-pq: Update to 1.1.1.

* gnu/packages/syncthing.scm (go-github-com-lib-pq): Update to 1.1.1.

5 years agognu: go-github-com-mattn-go-isatty: Update to 0.0.7.
Leo Famulari [Tue, 4 Jun 2019 17:24:40 +0000 (13:24 -0400)]
gnu: go-github-com-mattn-go-isatty: Update to 0.0.7.

* gnu/packages/golang.scm (go-github-com-mattn-go-isatty): Update to 0.0.7.
[propagated-inputs]: Add go-golang-org-x-sys-unix.

5 years agognu: wxmaxima: Update to 19.05.7.
Kei Kebreau [Tue, 4 Jun 2019 14:44:14 +0000 (10:44 -0400)]
gnu: wxmaxima: Update to 19.05.7.

* gnu/packages/maths.scm (wxmaxima): Update to 19.05.7.

5 years agognu: maxima: Update to 5.43.0.
Kei Kebreau [Tue, 4 Jun 2019 13:27:45 +0000 (09:27 -0400)]
gnu: maxima: Update to 5.43.0.

* gnu/packages/maths.scm (maxima): Update to 5.43.0.
[arguments]: Adjust "patch-paths" and "post-install" phases.

5 years agognu: python-beautifulsoup4: Propagate python-soupsieve.
Marius Bakke [Tue, 4 Jun 2019 12:44:33 +0000 (14:44 +0200)]
gnu: python-beautifulsoup4: Propagate python-soupsieve.

This is a follow-up to commit abb53e6f871cbf79fe24b7052fb41c8aff2f65ac.

* gnu/packages/python-xyz.scm (python-beautifulsoup4)[native-inputs]: Change
to ...
[propagated-inputs]: ... this.

5 years agognu: ghc-conduit-extra: Update to 1.3.1.1.
Robert Vollmert [Sat, 1 Jun 2019 20:28:41 +0000 (22:28 +0200)]
gnu: ghc-conduit-extra: Update to 1.3.1.1.

* gnu/packages/haskell.scm (ghc-conduit-extra): Update to 1.3.1.1.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
5 years agognu: icecat: Update to 60.7.0-guix2.
Mark H Weaver [Tue, 4 Jun 2019 08:10:04 +0000 (04:10 -0400)]
gnu: icecat: Update to 60.7.0-guix2.

This includes updates to bundled extensions from the upstream
GNU IceCat 60.7.0-gnu1 release.

* gnu/packages/gnuzilla.scm (%icecat-version): Update to 60.7.0-guix2.
(icecat-source)[upstream-icecat-base-version]: Update to 60.7.0.
[upstream-icecat-source, gnuzilla-source]: Update hashes.
[origin]: Remove the substitutions that dealt with debian-specific package
code in the makeicecat script, since that code has been removed upstream.
(icecat)[arguments]: Adapt the 'install-desktop-entry' phase to avoid using
the Debian desktop file, which is no longer included in the IceCat sources.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to upstream changes.

5 years agognu: emacspeak: Update to 50.0.
Kei Kebreau [Tue, 4 Jun 2019 03:04:35 +0000 (23:04 -0400)]
gnu: emacspeak: Update to 50.0.

* gnu/packages/emacs.scm (emacspeak): Update to 50.0.
[arguments]: Simplify "configure" phase and adjust "install" phase.

5 years agodeprecation: Use the 'warning' procedure for diagnostics.
Ludovic Courtès [Mon, 3 Jun 2019 21:00:42 +0000 (23:00 +0200)]
deprecation: Use the 'warning' procedure for diagnostics.

Until now, (guix deprecation) had its own warning mechanism, which was
inconsistent (it did not use colors, etc.)

* guix/deprecation.scm (deprecation-warning-port): Remove
(source-properties->location-string): Remove.
(warn-about-deprecation): Use 'warning' instead of 'format'.
(define-deprecated, define-deprecated/alias): Adjust docstring.
* guix/channels.scm (build-from-source): Refer to 'guix-warning-port'
instead of 'deprecation-warning-port'.

5 years agoAdd (guix diagnostics).
Ludovic Courtès [Mon, 3 Jun 2019 20:58:36 +0000 (22:58 +0200)]
Add (guix diagnostics).

* guix/ui.scm (warning, info, report-error, leave)
(location->string, guix-warning-port, program-name)
(highlight-argument, %highlight-argument, define-diagnostic)
(%warning-color, %info-color, %error-color)
(print-diagnostic-prefix): Move to...
* guix/diagnostics.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.

5 years agoservices: guix-publish: Allow for multi-compression.
Ludovic Courtès [Mon, 3 Jun 2019 20:27:25 +0000 (22:27 +0200)]
services: guix-publish: Allow for multi-compression.

This is a followup to b8fa86adfc01205f1d942af8cb57515eb3726c52.

* guix/deprecation.scm (warn-about-deprecation): Make public.
* gnu/services/base.scm (<guix-publish-configuration>)[compression]: New
field.
[compression-level]: Default to #f.  Add '%' to getter name.
(guix-publish-configuration-compression-level): Define as deprecated.
(default-compression): New procedure.
(guix-publish-shepherd-service)[config->compression-options]: New
procedure.
Use 'match-record' instead of 'match'.
* doc/guix.texi (Base Services): Remove 'compression-level' and document
'compression'.

5 years agognu: gnome-control-center: Set correct file name for the 'passwd' binary.
Florian Pelz [Sun, 2 Jun 2019 18:01:23 +0000 (20:01 +0200)]
gnu: gnome-control-center: Set correct file name for the 'passwd' binary.

* gnu/packages/gnome.scm (gnome-control-center): Substitute correct path to
  passwd.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: cracklib: Install password dictionary.
Florian Pelz [Mon, 3 Jun 2019 05:19:20 +0000 (07:19 +0200)]
gnu: cracklib: Install password dictionary.

* gnu/packages/password-utils.scm (cracklib): Use `make dict`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: python-translate-toolkit: Update home page.
Marius Bakke [Mon, 3 Jun 2019 16:59:06 +0000 (18:59 +0200)]
gnu: python-translate-toolkit: Update home page.

* gnu/packages/python-xyz.scm (python-translate-toolkit)[home-page]: Use HTTPS.

5 years agognu: python-beautifulsoup4: Update to 4.7.1.
Marius Bakke [Mon, 3 Jun 2019 16:32:56 +0000 (18:32 +0200)]
gnu: python-beautifulsoup4: Update to 4.7.1.

* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.7.1.
[native-inputs]: Add PYTHON-SOUPSIEVE.

5 years agognu: python-soupsieve: Fix python2 variant.
Marius Bakke [Mon, 3 Jun 2019 16:31:05 +0000 (18:31 +0200)]
gnu: python-soupsieve: Fix python2 variant.

* gnu/packages/python-xyz.scm (python-soupsieve)[properties]: New field.
(python2-soupsieve): Inherit using STRIP-PYTHON2-VARIANT.
[propagated-inputs]: Inherit from BASE.

5 years agognu: Cython: Update home page.
Marius Bakke [Mon, 3 Jun 2019 15:53:42 +0000 (17:53 +0200)]
gnu: Cython: Update home page.

* gnu/packages/python-xyz.scm (python-cython)[home-page]: Use HTTPS.

5 years agognu: Django: Update to 1.11.21 [fixes CVE-2019-12308, CVE-2019-11358].
Marius Bakke [Mon, 3 Jun 2019 15:46:00 +0000 (17:46 +0200)]
gnu: Django: Update to 1.11.21 [fixes CVE-2019-12308, CVE-2019-11358].

* gnu/packages/django.scm (python-django): Update to 1.11.21.

5 years agognu: OpenSSL@1.1: Update to 1.1.1c.
Marius Bakke [Mon, 3 Jun 2019 15:42:02 +0000 (17:42 +0200)]
gnu: OpenSSL@1.1: Update to 1.1.1c.

* gnu/packages/tls.scm (openssl-next): Update to 1.1.1c.

5 years agognu: gphoto2: Update to 2.5.23.
Marius Bakke [Mon, 3 Jun 2019 15:40:11 +0000 (17:40 +0200)]
gnu: gphoto2: Update to 2.5.23.

* gnu/packages/photo.scm (gphoto2): Update to 2.5.23.

5 years agognu: libgphoto2: Update to 2.5.23.
Marius Bakke [Mon, 3 Jun 2019 15:39:53 +0000 (17:39 +0200)]
gnu: libgphoto2: Update to 2.5.23.

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

5 years agognu: re2: Update to 2019-06-01.
Marius Bakke [Mon, 3 Jun 2019 15:21:14 +0000 (17:21 +0200)]
gnu: re2: Update to 2019-06-01.

* gnu/packages/regex.scm (re2): Update to 2019-06-01.

5 years agognu: xorg-server: Update to 1.20.5.
Marius Bakke [Fri, 31 May 2019 19:51:48 +0000 (21:51 +0200)]
gnu: xorg-server: Update to 1.20.5.

* gnu/packages/xorg.scm (xorg-server): Update to 1.20.5.
(xorg-server-for-tests): Stay on 1.20.4.

5 years agognu: python-cryptography: Update to 2.7.
Marius Bakke [Fri, 31 May 2019 19:49:27 +0000 (21:49 +0200)]
gnu: python-cryptography: Update to 2.7.

* gnu/packages/python-crypto.scm (python-cryptography-vectors,
python-cryptography): Update to 2.7.

5 years agognu: GnuPG: Update to 2.2.16.
Marius Bakke [Fri, 31 May 2019 19:49:08 +0000 (21:49 +0200)]
gnu: GnuPG: Update to 2.2.16.

* gnu/packages/gnupg.scm (gnupg): Update to 2.2.16.

5 years agognu: libsodium: Update to 1.0.18.
Marius Bakke [Fri, 31 May 2019 19:48:49 +0000 (21:48 +0200)]
gnu: libsodium: Update to 1.0.18.

* gnu/packages/crypto.scm (libsodium): Update to 1.0.18.

5 years agognu: Remove libevent@2.0.
Marius Bakke [Thu, 30 May 2019 11:55:44 +0000 (13:55 +0200)]
gnu: Remove libevent@2.0.

* gnu/packages/patches/libevent-2.0-CVE-2016-10195.patch,
gnu/packages/patches/libevent-2.0-CVE-2016-10196.patch,
gnu/packages/patches/libevent-2.0-CVE-2016-10197.patch,
gnu/packages/patches/libevent-2.0-evbuffer-add-use-last-with-datap.patch,
gnu/packages/patches/libevent-dns-tests.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/libevent.scm (libevevent-2.0): Remove variable.

5 years agognu: libevent: Update home page.
Marius Bakke [Thu, 30 May 2019 11:52:26 +0000 (13:52 +0200)]
gnu: libevent: Update home page.

* gnu/packages/libevent.scm (libevent)[home-page]: Use HTTPS.

5 years agoguix: import: simplify recursive import
Robert Vollmert [Mon, 27 May 2019 20:07:31 +0000 (22:07 +0200)]
guix: import: simplify recursive import

This simplifies the logic of recursive-import, intending no
major functional changes. The package import function is no
longer called twice per package. Failed imports now make it
to the package stream as '() instead of #f.

* guix/import/utils.scm (recursive-import): Simplify.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
5 years agolinux-boot: Fix e2fsck warning.
Danny Milosavljevic [Fri, 31 May 2019 11:27:35 +0000 (13:27 +0200)]
linux-boot: Fix e2fsck warning.

* gnu/build/linux-boot.scm (boot-system): Fix e2fsck warning.

5 years agognu: guix: Update to 4a54ed7.
Ludovic Courtès [Sun, 2 Jun 2019 21:30:17 +0000 (23:30 +0200)]
gnu: guix: Update to 4a54ed7.

* gnu/packages/package-management.scm (guix): Update to 4a54ed7.

5 years agognu: WireGuard: Update to 0.0.20190601.
Leo Famulari [Sun, 2 Jun 2019 20:28:15 +0000 (16:28 -0400)]
gnu: WireGuard: Update to 0.0.20190601.

* gnu/packages/vpn.scm (wireguard): Update to 0.0.20190601.

5 years agognu: emacs-google-translate: Update to 0.11.17.
Mathieu Lirzin [Sun, 2 Jun 2019 13:20:08 +0000 (15:20 +0200)]
gnu: emacs-google-translate: Update to 0.11.17.

* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.17.
[source]: Use 'git-fetch' method instead of 'url-fetch'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoimport: hackage: Parse braced properties.
Robert Vollmert [Sat, 1 Jun 2019 22:27:50 +0000 (00:27 +0200)]
import: hackage: Parse braced properties.

This adds partial support for Cabal properties that use curly
braces instead of the layout rule.  See for example
https://hackage.haskell.org/package/cassava/

* guix/import/cabal.scm (read-braced-value): New procedure.
(is-property): Remove.
(is-layout-property, is-braced-property): New variables.
(lex-property): Rename to...
(lex-layout-property): ... this.
(lex-braced-property, lex-property): New procedures.
(lex-token): Add call to 'lex-property'.
* guix/tests/hackage.scm: Test braced description import.
* tests/hackage.scm (test-cabal-multiline-desc): Rename to...
(test-cabal-multiline-layout): ... this.
("hackage->guix-package test multiline desc"): Rename to...
("hackage->guix-package test multiline desc (layout)"): ... this.
(test-cabal-multiline-braced): New variable.
("hackage->guix-package test multiline desc (braced)"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agotests: hackage: Test multiline cabal description.
Robert Vollmert [Sat, 1 Jun 2019 22:27:49 +0000 (00:27 +0200)]
tests: hackage: Test multiline cabal description.

* tests/hackage.scm (test-cabal-multiline-desc): New variable.
("hackage->guix-package test multiline desc"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agotests: Fix hackage tests.
Robert Vollmert [Sat, 1 Jun 2019 22:16:02 +0000 (00:16 +0200)]
tests: Fix hackage tests.

This is a followup to 1cc12357a65e4479c2f4735e915941382ef82d94.

* tests/hackage.scm: ghc-mtl is no longer added as an input.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agosubstitute: Select the best compression methods.
Ludovic Courtès [Fri, 31 May 2019 14:26:08 +0000 (16:26 +0200)]
substitute: Select the best compression methods.

When a server publishes several URLs with different compression methods,
'guix substitute' can now choose the best one among the compression
methods that it supports.

* guix/scripts/substitute.scm (<narinfo>)[uri]: Replace with...
[uris]: ... this.
[compression]: Replace with...
[compressions]: ... this.
[file-size]: Replace with...
[file-sizes]: ... this.
[file-hash]: Replace with...
[file-hashes]: ... this.
(narinfo-maker): Adjust accordingly.  Ensure 'file-sizes' and
'file-hashes' have the right length.
(assert-valid-signature, valid-narinfo?): Use the first element of
'narinfo-uris' in error messages.
(read-narinfo): Expect "URL", "Compression", "FileSize", and "FileHash"
to occur multiple times.
(display-narinfo-data): Call 'select-uri' to determine the file size.
(%compression-methods): New variable.
(supported-compression?, compresses-better?, select-uri): New
procedures.
(process-substitution): Call 'select-uri' to select the URI and
compression.
* guix/scripts/weather.scm (report-server-coverage): Account for all the
values returned by 'narinfo-file-sizes'.
* tests/substitute.scm ("substitute, narinfo with several URLs"): New
test.

5 years agopublish: '--compression' can be repeated.
Ludovic Courtès [Thu, 30 May 2019 16:36:37 +0000 (18:36 +0200)]
publish: '--compression' can be repeated.

This allows 'guix publish' to compress and advertise multiple
compression methods from which users can choose.

* guix/scripts/publish.scm (actual-compression): Rename to...
(actual-compressions): ... this.  Expect REQUESTED to be a list, and
always return a list.
(%default-options): Remove 'compression.
(store-item->recutils): New procedure.
(narinfo-string): Change #:compression to #:compressions (plural).
Adjust accordingly.
(render-narinfo, render-narinfo/cached): Likewise.
(bake-narinfo+nar): Change #:compression to #:compressions.
[compressed-nar-size]: New procedure.
Call 'compress-nar' for each item returned by 'actual-compressions'.
Create a narinfo for each compression.
(effective-compression): New procedure.
(make-request-handler): Change #:compression to #:compressions.
Use 'effective-compression' to determine the applicable compression.
(guix-publish): Adjust handling of '--compression'.
Print a message for each compression that is enabled.
* tests/publish.scm ("/*.narinfo"): Adjust to new narinfo field
ordering.
("/*.narinfo with properly encoded '+' sign"): Likewise.
("/*.narinfo with lzip + gzip"): New test.
("with cache, lzip + gzip"): New test.
* doc/guix.texi (Invoking guix publish): Document it.

5 years agognu: Add guile-srfi-159.
Ludovic Courtès [Sun, 2 Jun 2019 19:45:08 +0000 (21:45 +0200)]
gnu: Add guile-srfi-159.

* gnu/packages/guile-xyz.scm (guile-srfi-159): New variable.

5 years agobuild-system/guile: Display progress report as expected by (guix status).
Ludovic Courtès [Sun, 2 Jun 2019 19:07:24 +0000 (21:07 +0200)]
build-system/guile: Display progress report as expected by (guix status).

* guix/build/guile-build-system.scm (report-build-progress): Use a
format string suitable for (guix status).

5 years agobuild-system/guile: Add #:not-compiled-file-regexp.
Ludovic Courtès [Sun, 2 Jun 2019 18:59:34 +0000 (20:59 +0200)]
build-system/guile: Add #:not-compiled-file-regexp.

* guix/build/guile-build-system.scm (build): Add
 #:not-compiled-file-regexp and honor it.
* guix/build-system/guile.scm (guile-build): Likewise.
(guile-cross-build): Likewise.

5 years agobuild-system/guile: Improve reporting of 'guild compile' failures.
Ludovic Courtès [Sun, 2 Jun 2019 18:57:59 +0000 (20:57 +0200)]
build-system/guile: Improve reporting of 'guild compile' failures.

* guix/build/guile-build-system.scm (invoke-each)[processes]: New
variable.
[wait-for-one-process]: Check PROCESSES and update it.
[fork-and-run-command]: Update PROCESSES.

5 years agognu: Add guile-gi.
Jan Nieuwenhuizen [Fri, 31 May 2019 17:47:21 +0000 (19:47 +0200)]
gnu: Add guile-gi.

* gnu/packages/guile-xyz.scm (guile-gi): New variable.

5 years agognu: faudio: Update to 19.06.
Rutger Helling [Sun, 2 Jun 2019 08:49:26 +0000 (10:49 +0200)]
gnu: faudio: Update to 19.06.

* gnu/packages/audio.scm (faudio): Update to 19.06.

5 years agognu: debootstrap: Update to 114.
Vagrant Cascadian [Sun, 2 Jun 2019 00:57:26 +0000 (17:57 -0700)]
gnu: debootstrap: Update to 114.

* gnu/packages/debian (debootstrap): Update to 114.