Commit graph

39585 commits

Author SHA1 Message Date
Ludovic Courtès
35dcaa119e
self: Produce progress reports compatible with (guix status).
* guix/self.scm (compiled-modules)[build](report-load)
(report-compilation): Write "[M/N]" progress reports.
Use line-buffering.
2019-01-29 12:09:52 +01:00
Ludovic Courtès
3854c6429c
status: Print a progress bar for on-going builds when possible.
* guix/status.scm (print-build-event)[report-build-progress]: New
procedure.
[print-log-line]: Add ID parameter.  Call 'report-build-progress' when
appropriate.
Adjust callers.
2019-01-29 12:09:52 +01:00
Ludovic Courtès
73a8681a16
status: Keep track of build completion as reported by build tools.
* guix/status.scm (<build>)[completion]: New field.
(build): Add #:completion parameter.
(%percentage-line-rx, %fraction-line-rx): New variables.
(update-build): New procedure.
(compute-status): Add 'build-log' case.
* tests/status.scm ("compute-status, build completion"): New test.
2019-01-29 12:09:52 +01:00
Ludovic Courtès
976ef2d978
status: Record more information about builds.
* guix/status.scm (<build>): New record type.
(build, matching-build): New procedures.
(compute-status): Adjust to manipulate <build> records instead of
derivation file names in 'build-status-builds-completed' and
'build-status-building'.
(build-event-output-port)[process-line]: Use 'string-split' to preserve
spaces.
* tests/status.scm ("compute-status, builds + substitutes")
("compute-status, missing events"): Adjust to expect <build> records.
Produce complete "build-started" events.
("compute-status, multiplexed build output"): Likewise, and remove
"bar.drv" from 'builds-completed'.
2019-01-29 12:09:52 +01:00
Ludovic Courtès
f674bc6620
channels: Do not offload package cache derivation.
* guix/channels.scm (package-cache-file): Pass #:local-build? to
'gexp->derivation-in-inferior'.
2019-01-29 12:09:52 +01:00
Ludovic Courtès
f380f9d55e
build-system/gnu: Report invocation errors in a human-friendly way.
* guix/build/utils.scm (report-invoke-error): New procedure.
* guix/build/gnu-build-system.scm (gnu-build): Guard against
'invoke-error?'.
2019-01-29 11:00:42 +01:00
Mathieu Lirzin
9e532ae22a
gnu: clojure: Update to 1.10.0.
* gnu/packages/clojure.scm (clojure): Update to 1.10.0.
[source]: Use 'git-fetch'.
2019-01-29 10:59:06 +01:00
Rutger Helling
b412ddcb1a
gnu: kitty: Update to 0.13.3.
* gnu/packages/terminals.scm (kitty): Update to 0.13.3.
[inputs]: Replace python2-pygments with python-pygments. Add wayland.
[arguments]: Add 'hard-code-libegl phase.
2019-01-29 10:10:06 +01:00
Ludovic Courtès
782f1ea9f6
utils: Switch to the new 'setvbuf' API.
* guix/build/utils.scm (setvbuf) [(and guile-2 (not guile-2.2))]: New
procedure.
(remove-store-references): Use the 2.2 'setvbuf' API style.
* guix/build/gnu-build-system.scm (gnu-build): Likewise.
2019-01-29 09:49:33 +01:00
Efraim Flashner
23c2598233
gnu: x265: Update to 3.0.
* gnu/packages/video.scm (x265): Update to 3.0.
[source]: Remove patch.
* gnu/packages/patches/x265-detect512-all-arches.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-01-29 10:07:58 +02:00
Ludovic Courtès
db7c901af1
gnu: guix: Update to 4bddd12.
* gnu/packages/package-management.scm (guix): Update to 4bddd12.
2019-01-28 23:52:20 +01:00
Ricardo Wurmus
66abc619d5
gnu: Add missing file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/installer/newt/user.scm.
2019-01-28 23:28:46 +01:00
Gábor Boskovits
95bc85b7da
gnu: Add openjdk 11.
* gnu/packages/java.scm (openjdk11): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-01-28 23:15:27 +01:00
Meiyo Peng
4bddd12ad5
gnu: fish: Use fish-foreign-env to source /etc/profile.
* gnu/packages/shells.scm (fish): Use fish-foreign-env to source /etc/profile
  when user logs in.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-28 23:13:41 +01:00
Meiyo Peng
1d962fc0a1
gnu: Add fish-foreign-env.
* gnu/packages/shells.scm (fish-foreign-env): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-28 23:13:41 +01:00
Meiyo Peng
e1dba5bea0
gnu: fish: Update to 3.0.0.
* gnu/packages/shells.scm (fish): Update to 3.0.0.
  [source]: Remove dead URL.
  [inputs]: Remove bc.  Replace python-wrapper with python.
  [arguments]: Remove configure-flags.  Enable fish to source
  /etc/fish/config.fish.  Enable completions, functions and configurations
  in user's and system's guix profiles.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-28 23:13:41 +01:00
Ludovic Courtès
d1d72830f2
pull: Don't trigger 'hash guix' hint needlessly.
Previously if ~/.config/guix/current/bin was in $PATH, we'd still
suggest to run 'hash guix' because we'd compare (which "guix") against
/var/guix/profiles/per-user/….

* guix/scripts/pull.scm (build-and-install): Check whether (which
"guix") matches PROFILE or its user-friendly variant.
2019-01-28 23:13:40 +01:00
Ludovic Courtès
3a8c4860fb
channels: Turn off deprecation warnings when loading 'build-self.scm'.
* guix/channels.scm (build-from-source): Parameterize
DEPRECATION-WARNING-PORT when loading SCRIPT.
2019-01-28 23:13:40 +01:00
Ludovic Courtès
ea6fb108f6
upstream: Temporarily skip failing test.
* tests/upstream.scm ("coalesce-sources same version"): Skip.
2019-01-28 23:13:40 +01:00
Ludovic Courtès
f15800946d
gnu: youtube-dl: Update to 2019.01.27.
* gnu/packages/video.scm (youtube-dl): Update to 2019.01.27.
2019-01-28 23:13:40 +01:00
Ricardo Wurmus
5a23696a47
gnu: fastcap: Fix build and use INVOKE.
* gnu/packages/engineering.scm (fastcap)[native-inputs]: Replace texlive-tiny
with a texlive-union including texlive-fonts-amsfonts.
[arguments]: Use INVOKE in build phases.
2019-01-28 20:30:20 +01:00
Ricardo Wurmus
ad34338d1e
gnu: scons: Update to 3.0.3.
Fixes <https://bugs.gnu.org/34236>.

* gnu/packages/python-xyz.scm (scons): Update to 3.0.3.
[arguments]: Add "bootstrap" phase.
2019-01-28 20:09:51 +01:00
Ricardo Wurmus
1d1e3676ba
gnu: r-genomicfeatures: Update to 1.34.2.
* gnu/packages/bioinformatics.scm (r-genomicfeatures): Update to 1.34.2.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
ea0eaf537a
gnu: r-variantannotation: Update to 1.28.10.
* gnu/packages/bioinformatics.scm (r-variantannotation): Update to 1.28.10.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
df00ca25bc
gnu: r-rmpfr: Update to 0.7-2.
* gnu/packages/cran.scm (r-rmpfr): Update to 0.7-2.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
61cb2e3133
gnu: r-waveslim: Update to 1.7.5.1.
* gnu/packages/cran.scm (r-waveslim): Update to 1.7.5.1.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
0207ad9ee8
gnu: r-activity: Update to 1.2.
* gnu/packages/cran.scm (r-activity): Update to 1.2.
[propagated-inputs]: Remove r-overlap.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
211628044e
gnu: r-emmeans: Update to 1.3.2.
* gnu/packages/cran.scm (r-emmeans): Update to 1.3.2.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
62595ee342
gnu: r-th-data: Update to 1.0-10.
* gnu/packages/cran.scm (r-th-data): Update to 1.0-10.
2019-01-28 16:27:35 +01:00
Ricardo Wurmus
ddd168ff32
gnu: r-acceptancesampling: Update to 1.0-6.
* gnu/packages/cran.scm (r-acceptancesampling): Update to 1.0-6.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
7d4b98181a
gnu: r-vioplot: Update to 0.3.0.
* gnu/packages/cran.scm (r-vioplot): Update to 0.3.0.
[propagated-inputs]: Add r-zoo.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
b4b1a9440b
gnu: r-jomo: Update to 2.6-6.
* gnu/packages/cran.scm (r-jomo): Update to 2.6-6.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
9e0162df85
gnu: r-fitdistrplus: Update to 1.0-14.
* gnu/packages/cran.scm (r-fitdistrplus): Update to 1.0-14.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
fe24aa2a4f
gnu: r-colorspace: Update to 1.4-0.
* gnu/packages/cran.scm (r-colorspace): Update to 1.4-0.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
b3578189aa
gnu: r-ggmap: Update to 2.6.2.
* gnu/packages/cran.scm (r-ggmap): Update to 2.6.2.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
48246864b1
gnu: r-ranger: Update to 0.11.1.
* gnu/packages/statistics.scm (r-ranger): Update to 0.11.1.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
56daae7b58
gnu: r-prabclus: Update to 2.2-7.
* gnu/packages/statistics.scm (r-prabclus): Update to 2.2-7.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
f308d426fd
gnu: r-gplots: Update to 3.0.1.1.
* gnu/packages/statistics.scm (r-gplots): Update to 3.0.1.1.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
69e9899a2f
gnu: r-hmisc: Update to 4.2-0.
* gnu/packages/statistics.scm (r-hmisc): Update to 4.2-0.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
19fdd77c07
gnu: r-purrr: Update to 0.3.0.
* gnu/packages/statistics.scm (r-purrr): Update to 0.3.0.
[propagated-inputs]: Remove r-tibble.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
c21c5188f4
gnu: r-e1071: Update to 1.7-0.1.
* gnu/packages/statistics.scm (r-e1071): Update to 1.7-0.1.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
82dad63ef7
gnu: r-rcpparmadillo: Update to 0.9.200.7.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.200.7.0.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
6d1db05086
gnu: r-openssl: Update to 1.2.1.
* gnu/packages/statistics.scm (r-openssl): Update to 1.2.1.
[native-inputs]: Add pkg-config.
[propagated-inputs]: Add r-askpass.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
0550c2bf70
gnu: r-checkmate: Update to 1.9.1.
* gnu/packages/statistics.scm (r-checkmate): Update to 1.9.1.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
d0fb25d94a
gnu: r-data-table: Update to 1.12.0.
* gnu/packages/statistics.scm (r-data-table): Update to 1.12.0.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
5d9b140b29
gnu: r-qtl: Update to 1.44-9.
* gnu/packages/bioinformatics.scm (r-qtl): Update to 1.44-9.
2019-01-28 16:27:34 +01:00
Ricardo Wurmus
439d821a3b
gnu: r-optparse: Update to 1.6.1.
* gnu/packages/bioinformatics.scm (r-optparse): Update to 1.6.1.
2019-01-28 16:27:33 +01:00
Ricardo Wurmus
9d3a467214
gnu: Add r-askpass.
* gnu/packages/cran.scm (r-askpass): New variable.
2019-01-28 16:27:33 +01:00
Ricardo Wurmus
2b106a8d71
gnu: Add r-sys.
* gnu/packages/cran.scm (r-sys): New variable.
2019-01-28 16:27:33 +01:00
Ludovic Courtès
f20f168121
nls: Update 'de' translation of the manual. 2019-01-28 15:45:48 +01:00