Commit Graph

42375 Commits

Author SHA1 Message Date
Ludovic Courtès 9e1e046040
ui: Colorize diagnostics.
* guix/ui.scm (define-diagnostic): Add 'colors' parameter and pass it to
'print-diagnostic-prefix'.
(warning, info, report-error): Add extra argument.
(%warning-colors, %info-colors, %error-colors): New variables.
(print-diagnostic-prefix): Add #:colors parameter and honor it.
2019-04-10 12:40:59 +02:00
Ludovic Courtès 402627714b
ui: Diagnostic procedures can display error location.
* guix/ui.scm (define-diagnostic): Add optional 'location' parameter.
Pass it to 'print-diagnostic-prefix'.
(print-diagnostic-prefix): Add optional 'location' parameter and honor
it.
(report-load-error): Use 'report-error' and 'warning' instead
of (format (current-error-port) …).
2019-04-10 12:40:59 +02:00
Ludovic Courtès cc3697d543
ui: Factorize 'print-diagnostic-prefix'.
* guix/ui.scm (define-diagnostic): Emit call to 'print-diagnostic-prefix'.
(print-diagnostic-prefix): New procedure.
2019-04-10 12:40:59 +02:00
Ludovic Courtès 26a2021a1f
ui: Make diagnostic message prefix translatable.
* guix/ui.scm (define-diagnostic): Expect PREFIX to be enclosed in
'G_'.   Emit call to 'gettext' on PREFIX.
(warning, info, report-error): Wrap prefix in 'G_'.
2019-04-10 12:40:59 +02:00
Ludovic Courtès 32813e8440
ui: Fix i18n for diagnostic messages.
Until now, we'd pass 'gettext' the "augmented" format string, which
'gettext' would not find in message catalogs.  Now we pass it FMT as is,
which is what catalogs contain.

* guix/ui.scm (define-diagnostic)[augmented-format-string]: Remove.
Emit one 'format' call to print the prefix, and a second one to print
the actual message.
2019-04-10 12:40:59 +02:00
Ludovic Courtès 5d9f9ad631
Add (guix colors).
* guix/colors.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/ui.scm (color-table, color, colorize-string): Remove.
* guix/status.scm (isatty?*, color-output? color-rules): Remove.
2019-04-10 12:40:58 +02:00
Ludovic Courtès 95207e70d5
store: 'with-store' expands to a single procedure call.
* guix/store.scm (call-with-store): New procedure.
(with-store): Write in terms of 'call-with-store'.
2019-04-10 12:40:58 +02:00
Ludovic Courtès 5c32857f91
doc: Adjust desktop instructions for GDM.
* gnu/system/examples/desktop.tmpl: Adjust comment that referred to SLiM.
2019-04-10 12:40:58 +02:00
Ludovic Courtès 21b3c0ca87
guix package: Use absolute file names in search path recommendations.
Suggested by Chris Marusich.

* guix/scripts/package.scm (absolutize): New procedure.
(display-search-paths): Use it.
2019-04-10 12:40:58 +02:00
Marius Bakke 6b11da7db2
gnu: nginx: Update to 1.15.11.
* gnu/packages/web.scm (nginx): Update to 1.15.11.
2019-04-09 19:52:08 +02:00
Marius Bakke bd81002c09
gnu: miniupnpc: Update to 2.1.20190408.
* gnu/packages/upnp.scm (miniupnpc): Update to 2.1.20190408.
2019-04-09 19:51:41 +02:00
Marius Bakke 012492aab9
gnu: samba: Update to 4.10.2 [security fixes].
This release fixes CVE-2019-3870 and CVE-2019-3880.

* gnu/packages/samba.scm (samba): Update to 4.10.2.
2019-04-09 19:48:46 +02:00
Marius Bakke 46d072f02a
gnu: libsoup: Update to 2.66.1.
* gnu/packages/gnome.scm (libsoup): Update to 2.66.1.
2019-04-09 19:46:50 +02:00
Marius Bakke d85130037d
gnu: WebKitGTK: Update to 2.24.1 [fixes CVE-2019-6251].
* gnu/packages/webkit.scm (webkitgtk-2.24): Update to 2.24.1.
2019-04-09 19:46:17 +02:00
Ivan Petkov 1d3acde508
build-system/cargo: refactor phases to successfully build
* guix/build-system/cargo.scm (%cargo-build-system-modules):
Add (json parser).
(cargo-build):
[vendor-dir]: Define flag and pass it to builder code.
[cargo-test-flags]: Likewise.
[skip-build?]: Likewise.
* guix/build/cargo-build/system.scm (#:use-module): use (json parser).
(package-name->crate-name): Delete it.
(manifest-targets): Add it.
(has-executable-target?): Add it.
(configure): Add #:vendor-dir name and use it.
Don't touch Cargo.toml.
Don't symlink to duplicate inputs.
Remove useless registry line from cargo config.
Define RUSTFLAGS to lift lint restrictions.
(build): Add #:skip-build? flag and use it.
(check): Likewise.
Add #:cargo-test-flags and pass it to cargo.
(install): Factor source logic to install-source.
Define #:skip-build? flag and use it.
Only install if executable targets are present.
(install-source): Copy entire crate directory not just src.
[generate-checksums] pass dummy file for unused second argument.
(%standard-phases): Add install-source phase.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-04-09 03:09:00 -07:00
Rutger Helling 23635b2ee9
gnu: weston: Update to 6.0.0.
* gnu/packages/freedesktop.scm (weston): Update to 6.0.0.
[build-system]: Build with meson-build-system.
[inputs]: Add colord, lcms, libevdev, libjpeg, libva, libwebp, libxml2 and
pango.
[arguments]: Adjust to Meson.
2019-04-09 12:00:20 +02:00
Vagrant Cascadian 3542266a69
gnu: electron-cash: Update to 4.0.1.
* gnu/packages/finance (electron-cash): Update to 4.0.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-09 10:40:34 +02:00
Vagrant Cascadian 37cff994a6
gnu: python-trezor-agent: Update to 0.13.1.
* gnu/packages/finance (python-trezor-agent): Update to 0.13.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-09 10:40:32 +02:00
Vagrant Cascadian 52311b51d1
gnu: python-keepkey: Update to 6.0.3.
* gnu/packages/finance (python-keepkey): Update to 6.0.3.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-09 10:40:30 +02:00
Vagrant Cascadian 4df33c32d0
gnu: python-trezor: Update to 0.11.2.
* gnu/packages/finance (python-trezor): Update to 0.11.2.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-09 10:40:28 +02:00
Arun Isaac 50771f5bdf
gnu: guile-email: Update to 0.1.0.
* gnu/packages/guile-xyz.scm (guile-email): Update to 0.1.0.
2019-04-09 14:02:52 +05:30
Arun Isaac 356b32b928
gnu: Add gnucap.
* gnu/packages/engineering.scm (gnucap): New variable.
2019-04-09 13:12:24 +05:30
Leo Famulari 36dbad3858
gnu: GIMP: Update to 2.10.10.
* gnu/packages/gimp.scm (gimp): Update to 2.10.10.
2019-04-08 16:34:33 -04:00
Efraim Flashner 2afb79392d
openshot: Unbundle font.
* gnu/packages/video.scm (openshot)[source]: Add snippet to remove
bundled font.
[inputs]: Add font-ubuntu.
[arguments]: Add custom 'patch-font-location to patch the search path
for the unbundled font.
2019-04-08 21:48:22 +03:00
Efraim Flashner a512aa9181
gnu: openshot: Use wrap-qt-program.
* gnu/packages/video.scm (openshot)[arguments]: Add more modules.
Adjust custom 'wrap-program phase to use wrap-qt-program.
2019-04-08 21:48:22 +03:00
Efraim Flashner fc83a8913a
gnu: openshot: Update to 2.4.4.
* gnu/packages/video.scm (openshot): Update to 2.4.4.
2019-04-08 21:48:22 +03:00
Efraim Flashner 4994174fa0
gnu: libopenshot: Update to 0.2.3.
* gnu/packages/video.scm (libopenshot): Update to 0.2.3.
2019-04-08 21:48:21 +03:00
Efraim Flashner 799298ebf3
gnu: libopenshot-audio: Update to 0.1.8.
* gnu/packages/audio.scm (libopenshot-audio): Update to 0.1.8.
2019-04-08 21:48:21 +03:00
Oleg Pykhalov 46a7ad4698
gnu: zabbix-agentd: Update to 4.2.0.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 4.2.0.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-04-08 15:32:02 +02:00
Ricardo Wurmus 697eb65da6
gnu: Add eigen-for-tensorflow.
* gnu/packages/algebra.scm (eigen-for-tensorflow): New variable.
2019-04-08 14:42:00 +02:00
Ricardo Wurmus 42ef29c881
gnu: Add jsoncpp-for-tensorflow.
* gnu/packages/serialization.scm (jsoncpp-for-tensorflow): New variable.
2019-04-08 14:41:56 +02:00
Ricardo Wurmus 1eeae57b6f
gnu: Add python-protobuf-next.
* gnu/packages/protobuf.scm (python-protobuf-next): New variable.
2019-04-08 14:41:43 +02:00
Ricardo Wurmus 39bb4937b9
gnu: Add gemmlowp-for-tensorflow.
* gnu/packages/machine-learning.scm (gemmlowp-for-tensorflow): New variable.
2019-04-08 14:40:46 +02:00
Pierre Langlois 857fabcd0b
gnu: mu: Update to 1.2.
* gnu/packages/mail.scm (mu): Update to 1.2.
[inputs]: Use gmime 3.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-04-08 12:42:14 +02:00
Ludovic Courtès 8d75e20e4b
installer: Use 'append' and 'list' instead of 'cons*'.
* gnu/installer/services.scm (system-services->configuration): Use
'append' and 'list' instead of 'cons*'.
2019-04-08 10:42:51 +02:00
Ludovic Courtès 469e56b4af
installer: Generate 'set-xorg-configuration' snippet.
* gnu/installer/services.scm (system-services->configuration): Add
'set-xorg-configuration' service.
* gnu/installer/steps.scm (format-configuration): Add 'xorg' service
module.
2019-04-08 10:42:51 +02:00
Ludovic Courtès 7422f5dae1
installer: Xfce service uses the 'service' form.
* gnu/installer/services.scm (%system-services): Adjust Xfce snippet to
use the 'service' form.
2019-04-08 10:42:51 +02:00
Timo Eisenmann 3df69aaf63
gnu: mpv: Set absolute path to 'youtube-dl'.
* gnu/packages/video.scm (mpv)[arguments]: Add phase 'patch-paths' to
substitute in the absolute path to 'youtube-dl'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-08 10:42:51 +02:00
Ludovic Courtès b227457f62
licenses: Remove 'bsd-style'.
This procedure had been deprecated since March 2015.

* guix/licenses.scm (bsd-style): Remove.
2019-04-08 10:42:51 +02:00
Ludovic Courtès adb223b8ba
gnu: scalapack: Use 'non-copyleft' as the license.
* gnu/packages/maths.scm (scalapack)[license]: Use LICENSE:NON-COPYLEFT.
2019-04-08 10:42:51 +02:00
Ludovic Courtès 4f6172f1c5
gnu: sbcl-trivial-backtrace: Fix 'license' field.
This is a followup to 977b0db4c0.

* gnu/packages/lisp.scm (sbcl-trivial-backtrace)[license]: Change to
LICENSE:EXPAT.
2019-04-08 10:42:50 +02:00
Ludovic Courtès 6624df5bb9
gnu: guix: Update to d78bfd2.
* gnu/packages/package-management.scm (guix): Update to d78bfd2.
2019-04-08 10:42:50 +02:00
Rutger Helling bf71ac09e5
gnu: wireguard: Update to 0.0.20190406.
* gnu/packages/vpn.scm (wireguard): Update to 0.0.20190406.
2019-04-08 08:49:09 +02:00
Mark H Weaver 87483b907d
gnu: linux-libre: Update to 5.0.7.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.0.7.
(%linux-libre-hash): Update hash.
2019-04-08 00:55:26 -04:00
Mark H Weaver 4b2cc0b649
gnu: linux-libre@4.19: Update to 4.19.34.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.34.
(%linux-libre-4.19-hash): Update hash.
2019-04-08 00:27:55 -04:00
Mark H Weaver 68f206e60e
gnu: linux-libre@4.14: Update to 4.14.111.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.111.
(%linux-libre-4.14-hash): Update hash.
2019-04-08 00:26:13 -04:00
Mark H Weaver bf5bd51f8d
gnu: linux-libre@4.9: Update to 4.9.168.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.168.
2019-04-08 00:25:16 -04:00
Marius Bakke 0e2b0b05ac
gnu: openjpeg: Replace with 2.3.1 [security fixes].
This release includes many security fixes, including CVE-2018-5785 and
CVE-2018-CVE-2018-6616.  See
<https://github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md> for details.

* gnu/packages/image.scm (openjpeg)[replacement]: New field.
(openjpeg-2.3.1): New public variable.
2019-04-07 23:56:47 +02:00
Marius Bakke 6130b97440
gnu: miniupnpc: Update to 2.1.20190403.
* gnu/packages/upnp.scm (miniupnpc): Update to 2.1.20190403.
2019-04-07 23:56:47 +02:00
Marius Bakke e248b10b39
gnu: samba: Update to 4.10.1.
* gnu/packages/samba.scm (samba): Update to 4.10.1.
2019-04-07 23:56:47 +02:00