summary refs log tree commit diff
AgeCommit message (Collapse)Author
2019-06-02substitute: Select the best compression methods.Ludovic Courtès
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.
2019-06-02publish: '--compression' can be repeated.Ludovic Courtès
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.
2019-06-02gnu: Add guile-srfi-159.Ludovic Courtès
* gnu/packages/guile-xyz.scm (guile-srfi-159): New variable.
2019-06-02build-system/guile: Display progress report as expected by (guix status).Ludovic Courtès
* guix/build/guile-build-system.scm (report-build-progress): Use a format string suitable for (guix status).
2019-06-02build-system/guile: Add #:not-compiled-file-regexp.Ludovic Courtès
* 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.
2019-06-02build-system/guile: Improve reporting of 'guild compile' failures.Ludovic Courtès
* 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.
2019-06-02gnu: Add guile-gi.Jan Nieuwenhuizen
* gnu/packages/guile-xyz.scm (guile-gi): New variable.
2019-06-02gnu: faudio: Update to 19.06.Rutger Helling
* gnu/packages/audio.scm (faudio): Update to 19.06.
2019-06-01gnu: debootstrap: Update to 114.Vagrant Cascadian
* gnu/packages/debian (debootstrap): Update to 114.
2019-06-01gnu: debian-archive-keyring: Update to 2019.01.Vagrant Cascadian
* gnu/packages/debian (debian-archive-keyring): Update to 2019.01.
2019-06-02gnu: giac: Update to 1.5.0-57.Nicolas Goaziou
* gnu/packages/algebra.scm (giac): Update to 1.5.0-57.
2019-06-02gnu: musescore: Update to 3.1.Nicolas Goaziou
* gnu/packages/music.scm (musescore): Update to 3.1.
2019-06-02compile: Adjust for Guile 3.Ludovic Courtès
* guix/build/compile.scm (%default-optimizations): Adjust to the new names in Guile 2.9.2.
2019-06-02herd: Use the Guile 2.2 'setvbuf' API.Ludovic Courtès
* gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
2019-06-02progress: Provide the proper type for %PROGRESS-INTERVAL.Ludovic Courtès
The (srfi srfi-19) module of Guile 2.9.2 catches the wrong type. * guix/progress.scm (%progress-interval): Change type to TIME-DURATION.
2019-06-02gnu: Add terminator.Andy Tai
* gnu/packages/gnome.scm (terminator): Add at 1.91 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02gnu: ghc-happy: Skip memory-hungry tests.Robert Vollmert
Tests fail reliably for me on a system with 2GB of available RAM, in `issue93.a.hs` and `issue93.n.hs`. * gnu/packages/haskell.scm (ghc-happy): Skip test "issue93". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02gnu: keepassxc: Update to 2.4.2.Nicolas Goaziou
* gnu/packages/password-utils.scm (keepassxc): Update to 2.4.2.
2019-06-02gnu: grammalecte: Update to 1.1.1.Nicolas Goaziou
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.1.1.
2019-06-01gnu: r-openssl: Update to 1.4.Ricardo Wurmus
* gnu/packages/statistics.scm (r-openssl): Update to 1.4.
2019-06-01gnu: r-biocviews: Update to 1.52.2.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (r-biocviews): Update to 1.52.2. [propagated-inputs]: Add r-biocmanager.
2019-06-01gnu: Add gash.Timothy Sample
* gnu/packages/shells.scm (gash): New variable.
2019-06-01gnu: Add txr.Guillaume LE VAILLANT
* gnu/packages/lisp.scm (txr): New variable. * gnu/packages/patches/txr-shell.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01tests: Indent hackage testsRobert Vollmert
* tests/hackage.scm: Reindent using etc/indent-code.el. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01tests: hackage: Don't mock hackage-fetch.Robert Vollmert
* tests/hackage.scm: Pass a string input port to tests instead of mocking hackage download. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01tests: hackage: Factor out package pattern.Robert Vollmert
* tests/hackage.scm: Import result pattern matching via helper. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01lzlib: 'make-lzip-input-port' better handles end of decompression.Ludovic Courtès
Suggested by Pierre Neidhardt <mail@ambrevar.xyz>. * guix/lzlib.scm (lzread!): Call 'lz-decompress-finish' when 'feed-decoder!' returns EOF. Call 'lz-decompress-finished?' to determine end of compression.
2019-06-01gnu: linux-libre: Update to 5.1.6.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.6. (%linux-libre-hash): Update hash.
2019-06-01gnu: linux-libre@4.19: Update to 4.19.47.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.47. (%linux-libre-4.19-hash): Update hash.
2019-06-01gnu: linux-libre@4.14: Update to 4.14.123.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.123. (%linux-libre-4.14-hash): Update hash.
2019-06-01gnu: linux-libre@4.9: Update to 4.9.180.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.180.
2019-06-01import: hackage: Update list of ghc-included packages.Robert Vollmert
Update the list of excepted dependencies for current ghc-8.4, based on the release notes at https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/8.4.3-notes.html Particularly, this adds `text` to the list, which is a dependency of `parsec` which was already on the list before, causing build failures with updated versions of the `text` package. * guix/import/hackage.scm (ghc-standard-libraries): Update list. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-31gnu: gnucash-docs: Update to 3.5.Vasile Dumitrascu
* gnu/packages/gnucash.scm (gnucash-docs): Update to 3.5. Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
2019-05-31gnu: gnucash: Update to 3.5.Vasile Dumitrascu
* gnu/packages/gnucash.scm (gnucash): Update to 3.5. [source]: Remove unneeded patch. * gnu/packages/patches/gnucash-fix-test-transaction-failure.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove patch. Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
2019-05-31gnu: dealii-openmpi: Add hdf5-parallel-openmpi input.Eric Bavier
* gnu/packages/maths.scm (dealii-openmpi)[inputs]: Add hdf5-parallel-openmpi.
2019-05-31gnu: slepc: Update to 3.11.1.Eric Bavier
* gnu/packages/maths.scm (slepc): Update to 3.11.1. [native-inputs]: Add petsc:examples. [arguments]: Add PETSCCONFIGDIR to #:make-flags.
2019-05-31gnu: petsc: Update to 3.11.2.Eric Bavier
* gnu/packages/maths.scm (petsc): Update to 3.11.2.
2019-05-31gnu: petsc-complex-mpi: Setup MPI for tests.Eric Bavier
* gnu/packages/maths.scm (petsc-complex-mpi)[arguments]: Add 'mpi-setup phase.
2019-05-31gnu: Add mousepad.Kei Kebreau
* gnu/packages/xfce.scm (mousepad): New variable.
2019-05-31gnu: Add zbar.Guillaume LE VAILLANT
* gnu/packages/aidc.scm (zbar): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-31services: Add patchwork.Christopher Baines
* gnu/service/web.scm (<patchwork-database-configuration> <patchwork-settings-module>, <patchwork-configuration>): New record types. (patchwork-virtualhost): New procedure. (patchwork-service-type): New variable. * gnu/tests/web.scm (%test-patchwork): New variable. * doc/guix.text (Web Services): Document it.
2019-05-31gnu: Add patchwork.Christopher Baines
* gnu/packages/patchutils.scm (patchwork): New variable.
2019-05-31services: Add getmail.Christopher Baines
Getmail is a mail retriever written in Python, this commit adds a service-type to run getmail. I'm looking at this, as it's a convinient way of getting mailing list messages in to Patchwork. I initially tried putting this in the (gnu services mail) module, but due to also trying to use the define-configuration pattern, it conflicted with the dovecot service. * gnu/services/getmail.scm: New file. * gnu/local.mk: Add it. * gnu/tests/mail.scm (%getmail-os, %test-getmail): New variables. (run-getmail-test): New procedure.
2019-05-31gnu: Go 1.4: Fix typo.Leo Famulari
* gnu/packages/golang.scm (go-1.4): Fix typo in comment.
2019-05-31gnu: gtksourceview-2: Fix finding default data.Julien Lepiller
* gnu/packages/patches/gtksourceview-2-add-default-directory.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gtk.scm (gtksourceview-2)[source]: Use it.
2019-05-31gnu: php: Update to 7.3.6.Julien Lepiller
* gnu/packages/php.scm (php): Update to 7.3.6.
2019-05-31gnu: Add r-birta.Ricardo Wurmus
* gnu/packages/bioconductor.scm (r-birta): New variable.
2019-05-31gnu: Add r-birewire.Ricardo Wurmus
* gnu/packages/bioconductor.scm (r-birewire): New variable.
2019-05-31gnu: r-seriation: Update to 1.2-5.Ricardo Wurmus
* gnu/packages/cran.scm (r-seriation): Update to 1.2-5.
2019-05-31gnu: emacs-diff-hl: Update to 1.8.6.Brian Leung
* gnu/packages/emacs-xyz.scm (emacs-diff-hl): Update to 1.8.6. [source]: Fetch from git. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>