aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-27tests: Update (guix build store-copy) tests.Ludovic Courtès
This is a followup to a387b0bebb151a766ca6a454a891f2370c96703c. * tests/gexp.scm ("gexp->derivation, store copy") ("gexp->derivation #:references-graphs"): Add (guix progress) and (guix records) to the imported modules.
2018-09-27perform-download: Optionally report a "download-progress" trace.Ludovic Courtès
* guix/scripts/perform-download.scm (perform-download): Add #:print-build-trace? and pass it to 'url-fetch'. (guix-perform-download): Define 'print-build-trace?' and pass it to 'perform-download'. * guix/build/download.scm (ftp-fetch): Add #:print-build-trace? and honor it. (url-fetch): Likewise. * nix/libstore/builtins.cc (builtinDownload): Set _NIX_OPTIONS environment variable.
2018-09-27Add (guix status) and use it for pretty colored output.Ludovic Courtès
* guix/progress.scm (progress-reporter/trace): New procedure. (%progress-interval): New variable. (progress-reporter/file): Use it. * guix/scripts/build.scm (set-build-options-from-command-line): Pass #:print-extended-build-trace?. (%default-options): Add 'print-extended-build-trace?'. (guix-build): Parameterize CURRENT-TERMINAL-COLUMNS. Use 'build-status-updater'. * guix/scripts/environment.scm (%default-options): Add 'print-extended-build-trace?'. (guix-environment): Wrap body in 'with-status-report'. * guix/scripts/pack.scm (%default-options): Add 'print-build-trace?' and 'print-extended-build-trace?'. (guix-pack): Wrap body in 'with-status-report'. * guix/scripts/package.scm (%default-options, guix-package): Likewise. * guix/scripts/system.scm (%default-options, guix-system): Likewise. * guix/scripts/pull.scm (%default-options, guix-pull): Likewise. * guix/scripts/substitute.scm (progress-report-port): Don't call STOP when TOTAL is zero. (process-substitution): Add #:print-build-trace? and honor it. (guix-substitute)[print-build-trace?]: New variable. Pass #:print-build-trace? to 'process-substitution'. * guix/status.scm: New file. * guix/store.scm (set-build-options): Add #:print-extended-build-trace?; pass it into PAIRS. (%protocol-version): Bump. (protocol-version, nix-server-version): New procedures. (current-store-protocol-version): New variable. (with-store, build-things): Parameterize it. * guix/ui.scm (build-output-port): Remove. (colorize-string): Export. * po/guix/POTFILES.in: Add guix/status.scm. * tests/status.scm: New file. * Makefile.am (SCM_TESTS): Add it. * nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x162. * nix/libstore/build.cc (DerivationGoal::registerOutputs) (SubstitutionGoal::finished): Print a "@ hash-mismatch" trace before throwing.
2018-09-27progress: Add 'display-download-progress'.Ludovic Courtès
* guix/progress.scm (display-download-progress): New procedure. (progress-reporter/file)[render]: Rewrite in terms of 'display-download-progress'.
2018-09-27gnu: yoshimi: Update to 1.5.9.Ricardo Wurmus
* gnu/packages/music.scm (yoshimi): Update to 1.5.9.
2018-09-27gnu: emacs-ert-runner: Do not use package name in directory.Ricardo Wurmus
* gnu/packages/emacs.scm (emacs-ert-runner)[arguments]: Use the upstream name instead of the Guix package name in the "install-executable" phase. This is a follow-up to commit 5c8031ff7382ec9079040d08ae5a05b4dd2352b7.
2018-09-27gnu: eolie: Update to 0.9.38.Ricardo Wurmus
* gnu/packages/gnome.scm (eolie): Update to 0.9.38.
2018-09-27gnu: linux-libre: Update to 4.18.10.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.18.10. (%linux-libre-hash): Update hash.
2018-09-27gnu: linux-libre@4.14: Update to 4.14.72.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.72. (%linux-libre-4.14-hash): Update hash.
2018-09-27gnu: linux-libre@4.9: Update to 4.9.129.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.129.
2018-09-27gnu: linux-libre@4.4: Update to 4.4.158.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.158.
2018-09-27gnu: mame: Update to 0.202.Rutger Helling
* gnu/packages/emulators.scm (mame): Update to 0.202.
2018-09-27gnu: youtube-dl: Update to 2018.09.18.Tobias Geerinckx-Rice
* gnu/packages/video.scm (youtube-dl): Update to 2018.09.18.
2018-09-27gnu: python-setproctitle: Use INVOKE.Tobias Geerinckx-Rice
* gnu/packages/python.scm (python-setproctitle)[arguments]: Substitute INVOKE for SYSTEM*.
2018-09-27gnu: dico: Update to 2.7.Tobias Geerinckx-Rice
* gnu/packages/dico.scm (dico): Update to 2.7. [arguments]: Work around dodgy test in 'check' phase.
2018-09-27gnu: perl-net-dns: Update to 1.18.Tobias Geerinckx-Rice
* gnu/packages/networking.scm (perl-net-dns): Update to 1.18.
2018-09-27gnu: perl-catalyst-runtime: Update to 5.90119.Tobias Geerinckx-Rice
* gnu/packages/web.scm (perl-catalyst-runtime): Update to 5.90119.
2018-09-27gnu: perl-crypt-openssl-rsa: Update to 0.31.Tobias Geerinckx-Rice
* gnu/packages/tls.scm (perl-crypt-openssl-rsa): Update to 0.31.
2018-09-26gnu: enlightenment: Fix initial locale and keyboard selection.Timo Eisenmann
* gnu/packages/enlightenment.scm (enlightenment)[arguments]: In 'set-system-actions', set absolute file name to 'locale' and 'xorg.lst'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-26services: virtual-terminal: Write to "default_utf8" only if necessary.Ludovic Courtès
Fixes a bug in containers whereby 'virtual-terminal' would always fail to start because writing to /sys/…/default_utf8 would fail with EROFS. * gnu/services/base.scm (virtual-terminal-service-type): Read from "default_utf8" before attempting to write to it.
2018-09-26services: udev: Don't attempt to read "modules.devname" from a container.Ludovic Courtès
Fixes <https://bugs.gnu.org/32814>. Reported by Julien Lepiller <julien@lepiller.eu>. * gnu/services/base.scm (udev-shepherd-service)[start]: Check whether DIRECTORY exists and skip 'make-static-device-nodes' call if it doesn't.
2018-09-26services: shepherd: Add workaround for 0.5.0 in containers.Ludovic Courtès
* gnu/services/shepherd.scm (%containerized-shepherd-service): New service. * gnu/system.scm (essential-services): Use it when CONTAINER? is true.
2018-09-26services: dhcp-client: Use 'read-pid-file'.Ludovic Courtès
* gnu/services/networking.scm (dhcp-client-service-type)[start]: Use 'read-pid-file' instead of the custom and possibly infinite loop.
2018-09-26gnu: Remove incorrect Emacs package deprecations.Ludovic Courtès
This is a followup to 5c8031ff7382ec9079040d08ae5a05b4dd2352b7. An upgrade would wrongfully report things like: guix package: package 'emacs-typo' has been superseded by 'emacs-typo' guix package: package 'emacs-org-tree-slide' has been superseded by 'emacs-org-tree-slide' guix package: package 'emacs-emms' has been superseded by 'emacs-emms' * gnu/packages/emacs.scm (flycheck, emms, typo, org-tree-slide) (butler): Remove. (emacs-emms-mode-line-cycle)[propagated-inputs]: Use EMACS-EMMS instead of EMMS.
2018-09-26guix system: Load all services on reconfigure, not just stopped ones.Carlo Zancanaro
This uses the 'replacement' service slot introduced in the Shepherd version 0.5.0. * gnu/services/shepherd.scm (shepherd-service-upgrade): Return a list of services that need to be restarted to complete their upgrade. * guix/scripts/system.scm (call-with-service-upgrade-info): Rename an internal variable to reflect the change to shepherd-service-upgrade. (upgrade-shepherd-services): Call 'load-services/safe' instead of 'load-services'. Print a message about services that need to be manually restarted. * gnu/services/herd.scm (load-services/safe): New procedure. * doc/guix.texi (Invoking guix system): Document the new behaviour. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-09-26gnu: shepherd: Update to 0.5.0.Ludovic Courtès
* gnu/packages/admin.scm (shepherd): Update to 0.5.0.
2018-09-26Fix URL in emacs-magit and emacs-groovy-modes.Pierre Neidhardt
* gnu/packages/emacs.scm (emacs-magit)[source]: Fix URL. * gnu/packages/emacs.scm (emacs-groovy-modes)[source]: Fix URL.
2018-09-25gnu: linux-libre: Enable SHPC PCI Hotplug driver, now built-in only.Mark H Weaver
Fixes <https://bugs.gnu.org/32840>. * gnu/packages/aux-files/linux-libre/4.18-x86_64.conf, gnu/packages/aux-files/linux-libre/4.18-i686.conf: Add CONFIG_HOTPLUG_PCI_SHPC=y, plus updates made by 'make oldconfig'.
2018-09-25gnu: icecat: Rebundle NSPR and NSS [security fix].Mark H Weaver
Works around <https://bugs.gnu.org/32833>. * gnu/packages/gnuzilla.scm (icecat)[source]: In snippet, don't remove NSS. [inputs]: Remove 'nspr' and 'nss'. [arguments]: Remove --with-system-{nspr,nss} from configure flags.
2018-09-25gnu: icecat: Unbundle libevent, libogg, and libvorbis.Mark H Weaver
* gnu/packages/patches/icecat-use-system-media-libs.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/patches/icecat-avoid-bundled-libraries.patch: Add another hunk to enable removal of libevent. * gnu/packages/gnuzilla.scm (icecat)[source]: Add patch. In the snippet, add libevent, libogg, libvorbis, and libtremor to the list of bundled libraries to remove. Add a comment regarding theora. Remove comments regarding unbundling cairo, which is no longer supported. [inputs]: Add libevent, libogg, and libvorbis. [arguments]: Add --with-system-{libevent,ogg,vorbis} to configure flags. Add custom bootstrap phase. Add comments.
2018-09-25gnu: icecat: Unbundle graphite2 and harfbuzz.Mark H Weaver
* gnu/packages/patches/icecat-use-system-graphite2+harfbuzz.patch: New file. * gnu/packages/patches/icecat-use-system-graphite2.patch, gnu/packages/patches/icecat-use-system-harfbuzz.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/gnuzilla.scm (icecat)[source]: Add new patch. Delete bundled graphite2 and harfbuzz in snippet. [inputs]: Add graphite2 and harfbuzz. [arguments]: Add --with-system-{graphite2,harfbuzz} to configure flags.
2018-09-26services: Add Varnish service.Marius Bakke
* gnu/services/web.scm (<varnish-configuration>): New record type. (%varnish-accounts, %varnish-service-type): New variables. (varnish-shepherd-service): New procedure. * gnu/tests/web.scm (%varnish-vcl, %varnish-os): New variables. (%test-varnish): New test. * doc/guix.texi (Web Services): Document it.
2018-09-26gnu: varnish: Use absolute file name of "rm".Marius Bakke
* gnu/packages/web.scm (varnish)[arguments]: Rename 'patch-bin-sh-phase to 'use-absolute-file-names and add substitution.
2018-09-26gnu: Add Node LTS.Marius Bakke
* gnu/packages/node.scm (node)[arguments]: Adjust 'patch-files' phase to ignore missing files. (node-lts): New public variable.
2018-09-26gnu: node: Delete expired tests.Marius Bakke
* gnu/packages/node.scm (node)[arguments]: Delete tests for which the TLS certificates have expired.
2018-09-26gnu: webkitgtk: Remove obsolete phase.Marius Bakke
* gnu/packages/webkit.scm (webkitgtk)[arguments]: Remove #:phases. (webkitgtk-2.22)[arguments]: Don't reference removed phase.
2018-09-26gnu: gspell: Update to 1.8.1.Marius Bakke
* gnu/packages/gnome.scm (gspell): Update to 1.8.1. [propagated-inputs]: Change ENCHANT-1.6 to ENCHANT.
2018-09-26gnu: enchant: Update to 2.2.3.Marius Bakke
* gnu/packages/enchant.scm (enchant): Update to 2.2.3. [arguments]: Add "--enable-relocatable" to #:configure-flags. [native-inputs]: Add UNITTEST-CPP. (enchant-1.6): New public variable. * gnu/packages/fcitx.scm (fcitx)[inputs]: Change ENCHANT to ENCHANT-1.6. * gnu/packages/gnome.scm (gspell): Likewise. * gnu/packages/mate.scm (pluma): Likewise. * gnu/packages/gtk.scm (gtkspell3)[propagated-inputs]: Likewise. [inputs]: Remove duplicate ENCHANT.
2018-09-26gnu: enchant: Propagate Glib.Marius Bakke
* gnu/packages/enchant.scm (enchant)[inputs]: Move GLIB ... [propagated-inputs]: ... here. New field.
2018-09-26gnu: enchant: Don't build libenchant.a.Marius Bakke
* gnu/packages/enchant.scm (enchant)[arguments]: Add #:configure-flags.
2018-09-26gnu: enchant: Update home page.Marius Bakke
* gnu/packages/enchant.scm (enchant)[home-page]: Set to URL mentioned on the legacy home page.
2018-09-26git-download: Don't assume the working directory is the parent of ".git".Marius Bakke
This makes it do the right thing w.r.t. git worktrees. * guix/git-download.scm (git-file-list): Use REPOSITORY-WORKING-DIRECTORY to locate checkout. Rename from "top" to "workdir".
2018-09-25pull: Try harder to use the host's X.509 certificates.Ludovic Courtès
* guix/scripts/pull.scm (honor-x509-certificates): Use commonly-found certificate bundles.
2018-09-25substitute: Progress port really closes underlying port.Ludovic Courtès
* guix/scripts/substitute.scm (progress-report-port): Use 'close-port' instead of 'close-connection'. Move 'stop' call first.
2018-09-25progress: 'progress-reporter-report!' takes any number of arguments.Ludovic Courtès
* guix/progress.scm (progress-reporter-report!): Accept an arbitrary number of arguments and pass them to REPORT.
2018-09-25gnupg: Change default keyserver.Ludovic Courtès
* guix/gnupg.scm (%openpgp-key-server): Change default to "pool.sks-keyservers.net".
2018-09-25gnu: diffoscope: Update to 102.Ludovic Courtès
* gnu/packages/package-management.scm (diffoscope): Update to 102.
2018-09-25gnu: Add guile-next.Ludovic Courtès
* gnu/packages/guile.scm (guile-next): Rewrite to refer to Guile 3.0.
2018-09-25gnu: python-wsgiproxy2: Update to 0.4.5.Tobias Geerinckx-Rice
* gnu/packages/python-web.scm (python-wsgiproxy2): Update to 0.4.5.
2018-09-25gnu: python-pexpect: Use INVOKE.Tobias Geerinckx-Rice
* gnu/packages/python.scm (python-pexpect)[arguments]: Substitute INVOKE for SYSTEM*.