download: Comment on lack of progress report with chunked encoding.
* guix/build/download.scm (progress-proc): Add comment.
download: Measure and display the throughput.
* guix/build/download.scm (duration->seconds, throughput->string): New
procedures.
(progress-proc): Measure and display the throughput.
download: Abstract the receive buffer size.
* guix/build/download.scm (%http-receive-buffer-size): New variable.
(progress-proc, tls-wrap, http-fetch): Use it.
utils: Call the progress-report proc when 'dump-port' starts.
* guix/build/utils.scm (dump-port): Add call to PROGRESS at the
beginning.
build-system/gnu: Set $LC_ALL (or similar) to the chosen locale.
Suggested by Mark H Weaver.
* guix/build/utils.scm (locale-category->string): New procedure.
* guix/build/gnu-build-system.scm (install-locale): Add 'setenv' call.
gnu: Remove now unneeded 'localedef' invocations.
This is a followup to commit b0fd2bd.
* gnu/packages/gawk.scm (gawk)[arguments] <install-locales>: Add comment
on why we leave this here.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
'install-locales' phase.
* gnu/packages/swig.scm (swig)[arguments]: Likewise.
* gnu/packages/python.scm (python-matplotlib): Remove 'LOCPATH' setting
and 'localedef' invocation.
(python-scipy): Likewise.
gnu: Remove now unneeded 'unpack' phases for unzip.
This is a followup to commit cd0385b.
* gnu/packages/bioinformatics.scm (hisat)[arguments]: Remove 'unpack'
phase.
* gnu/packages/image.scm (freeimage): Likewise.
* gnu/packages/python.scm (python2-cssutils): Likewise.
gnu: gettext: Set encoding to ISO-8859-1 when modifying files.
* gnu/packages/gettext.scm (gnu-gettext)[arguments] <patch-tests>: Set
%default-port-encoding. Fixes test failures at
<http://hydra.gnu.org/build/262586>.
build-system/cmake: Enable verbose output from Makefile builds.
* guix/build/cmake-build-system.scm (configure): Pass
-DCMAKE_VERBOSE_MAKEFILE=ON to cmake.
gnu: cmake: Update to 3.1.3.
* gnu/packages/cmake.scm (cmake): Update to 3.1.3.
gnu: cairo: Enable tee surface backend.
* gnu/packages/gtk.scm (cairo)[arguments]: Add --enable-tee to
configure-flags.
gnu: sqlite: Update to 3.8.8.3.
* gnu/packages/databases.scm (sqlite): Update to 3.8.8.3.
gnu: sqlite: Add "CFLAGS=-O2 -DSQLITE_SECURE_DELETE" to configure-flags.
* gnu/packages/databases.scm (sqlite)[arguments]: Add "CFLAGS=-O2
-DSQLITE_SECURE_DELETE" to configure-flags.
packages: When possible, use a UTF-8 locale in patch-and-repack.
* guix/packages.scm (%standard-patch-inputs): Add "locales".
(patch-and-repack)[builder]: Add 'locales' variable. When it is true,
call 'setenv' and 'setlocale'.
build-system/gnu: Add 'install-locale' phase.
* guix/build/gnu-build-system.scm (install-locale): New procedure.
(%standard-phases): Add it.
* guix/build-system/gnu.scm (gnu-build): Add #:locale and pass it to
the build script.
(gnu-cross-build): Likewise.
build-system: Use 'modify-phases'.
* guix/build/cmake-build-system.scm (%standard-phases): Use
'modify-phases' instead of alist-*.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
utils: Add 'modify-phases'.
* guix/build/utils.scm (modify-phases): New macro.
build-system/gnu: Add support for zip archives.
Fixes <http://bugs.gnu.org/19866>.
Reported by Andreas Enge <andreas@enge.fr>.
* guix/build/gnu-build-system.scm (unpack): Use 'unzip' when SOURCE ends
in '.zip'.