Commit Graph

42391 Commits

Author SHA1 Message Date
Ludovic Courtès 9c074f61ef
scripts: GC hint suggests 'guix gc -d 1m'.
* guix/scripts.scm (warn-about-disk-space): Suggest 'guix gc -d'.
2019-04-10 17:09:47 +02:00
Ludovic Courtès 96b8c2e6e2
guix gc: Add '--delete-generations'.
* guix/scripts/gc.scm (show-help, %options): Add
'--delete-generations'.  Change '--delete' shorthand to '-D'.
(delete-old-generations): New procedure.
(guix-gc)[delete-generations]: New procedure.
Call it when ACTION is 'collect-garbage' and OPTS contains
'delete-generations.
* doc/guix.texi (Invoking guix gc): Document it.
2019-04-10 17:09:47 +02:00
Ludovic Courtès c872b952c5
profiles: Add 'generation-profile'.
* guix/profiles.scm (%profile-generation-rx): New variable.
(generation-profile): New procedure.
2019-04-10 17:09:47 +02:00
Ludovic Courtès bacf980c76
guix gc: Add '--list-roots'.
* guix/scripts/gc.scm (show-help, %options): Add '--list-roots'.
(guix-gc)[list-roots]: New procedure.
Handle '--list-roots'.
* tests/guix-gc.sh: Test it.
* doc/guix.texi (Invoking guix gc): Document it.
2019-04-10 17:09:47 +02:00
Ludovic Courtès 72eda0624b
Add (guix store roots).
* guix/store/roots.scm, tests/store-roots.scm: New files.
* Makefile.am (STORE_MODULES): Add guix/store/roots.scm.
(SCM_TESTS): Add tests/store-roots.scm.
2019-04-10 17:09:47 +02:00
Ludovic Courtès 08d0f950b3
pull: Remove duplicate '--dry-run' description.
Reported by pkill9.

* guix/scripts/pull.scm (show-help): Remove duplicate '--dry-run'
description.
2019-04-10 17:09:47 +02:00
Ludovic Courtès 238589e566
ui: Highlight diagnostic format string arguments.
* guix/ui.scm (highlight-argument): New macro.
(%highlight-argument): New procedure.
(define-diagnostic): Use 'highlight-argument'.
2019-04-10 17:09:47 +02:00
Ludovic Courtès a7ae18b1b9
ui: Colorize hints.
* guix/ui.scm (%info-colors): Remove CYAN.
(%hint-colors): New variable.
(display-hint): Adjust so that the "hint:" prefix is colorized.
2019-04-10 17:09:46 +02:00
宋文武 eff3a9b2dd
gnu: Add public-inbox.
* gnu/packages/mail.scm (public-inbox): New variable.
2019-04-10 19:22:01 +08:00
宋文武 b968bf75ef
gnu: Add perl-plack-middleware-deflater.
* gnu/packages/web.scm (perl-plack-middleware-deflater): New variable.
2019-04-10 19:00:18 +08:00
宋文武 9b8df3e892
gnu: Add perl-search-xapian.
* gnu/packages/search.scm (perl-search-xapian): New variable.
2019-04-10 19:00:18 +08:00
宋文武 49cb1cf950
gnu: Add perl-danga-socket.
* gnu/packages/networking.scm (perl-danga-socket): New variable.
2019-04-10 19:00:18 +08:00
宋文武 c231ffd67d
gnu: Add perl-sys-syscall.
* gnu/packages/perl.scm (perl-sys-syscall): New variable.
2019-04-10 19:00:18 +08:00
宋文武 46ecacb0c6
gnu: Add perl-filesys-notify-simple.
* gnu/packages/perl.scm (perl-filesys-notify-simple): New variable.
2019-04-10 19:00:18 +08:00
宋文武 1a4c9c2b30
gnu: Add perl-devel-leak.
* gnu/packages/perl.scm (perl-devel-leak): New variable.
2019-04-10 19:00:18 +08:00
宋文武 944d3b4b01
gnu: Add perl-email-address-xs.
* gnu/packages/mail.scm (perl-email-address-xs): New variable.
2019-04-10 19:00:18 +08:00
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