Commit Graph

35842 Commits

Author SHA1 Message Date
Christopher Baines 258a6d944e
services: Add Gitolite.
* gnu/services/version-control.scm (<gitolite-configuration>,
<gitolite-rc-file>): New record types.
(gitolite-accounts, gitolite-activation): New procedures.
(gitolite-service-type): New variables.
* gnu/tests/version-control.scm (%gitolite-test-admin-keypair, %gitolite-os,
%test-gitolite): New variables.
(run-gitolite-test): New procedure.
* doc/guix.texi (Version Control): Document the gitolite service.
2018-09-28 21:00:18 +01:00
Christopher Baines 595af457ae
gnu: Modify the gitolite package to support the Guix service.
Previously the gitolite package worked, but there were problems using it for
the service where you might have a minimal PATH. This commit patches the
source and scripts where possible to use store paths, and also wraps the
gitolite script to handle the harder dependencies.

* gnu/packages/version-control.scm (gitolite)[arguments]: Add more patching to
the patch-scripts phase, and add two new phases (patch-source and
wrap-scripts).
[inputs]: Add coreutils, findutils and inetutils.
2018-09-28 21:00:18 +01:00
Marius Bakke 02817df07e
gnu: libreoffice: Update to 6.1.2.1.
* gnu/packages/libreoffice.scm (libreoffice): Update to 6.1.2.1.
2018-09-28 18:23:01 +02:00
Marius Bakke 31f0fc612f
gnu: rng-tools: Update to 6.5.
* gnu/packages/linux.scm (rng-tools): Update to 6.5.
2018-09-28 18:23:01 +02:00
Marius Bakke f289820c31
gnu: rng-tools: Don't use unstable tarball.
* gnu/packages/linux.scm (rng-tools)[source]: Use GIT-FETCH.
2018-09-28 18:23:01 +02:00
Marius Bakke c6b772a059
gnu: rng-tools: Update home page.
* gnu/packages/linux.scm (rng-tools)[home-page]: Set to URL mentioned in
legacy wiki.
2018-09-28 18:23:00 +02:00
Marius Bakke 87c3961871
gnu: newsboat: Update to 2.13.
* gnu/packages/syndication.scm (newsboat): Update to 2.13.
2018-09-28 18:23:00 +02:00
Marius Bakke 4353981eb0
tests: Add missing copyright statement.
This is a follow-up to commit 3b97a1779f.

* gnu/tests/web.scm: Update copyright header.
2018-09-28 18:23:00 +02:00
Leo Famulari 29bdfe1367
gnu: Krita: Update to 4.1.3.
* gnu/packages/kde.scm (krita): Update to 4.1.3.
2018-09-28 11:08:12 -04:00
Tobias Geerinckx-Rice 7edfcd61a1
gnu: httpd: Update to 2.4.35.
* gnu/packages/web.scm (httpd): Update to 2.4.35.
2018-09-28 14:22:52 +02:00
Ludovic Courtès 5abcb1b0e6
gnu: guix: Update to 7fed935.
* gnu/packages/package-management.scm (guix): Update to 7fed935.
2018-09-28 00:30:38 +02:00
Tobias Geerinckx-Rice a4764ff00a
gnu: python-fakeredis: Edit description.
* gnu/packages/databases.scm (python-fakeredis)[description]:
Fix (upstream) typo. Get carried away.
2018-09-28 00:01:43 +02:00
Tobias Geerinckx-Rice 5478ab1ece
gnu: mbpfan: Don't use unstable tarball.
* gnu/packages/linux.scm (mbpfan)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2018-09-28 00:01:43 +02:00
Tobias Geerinckx-Rice 697c584665
gnu: mbpfan: Update to 2.1.0.
* gnu/packages/linux.scm (mbpfan): Update to 2.1.0.
2018-09-28 00:01:43 +02:00
Tobias Geerinckx-Rice c32863e094
gnu: sshuttle: Patch FHS assumptions.
Reported-By: Nam Nguyen <namn@berkeley.edu>

* gnu/packages/vpn.scm (sshuttle)[arguments]: Set correct paths to 'env'
and 'sh'.
2018-09-28 00:01:43 +02:00
Ludovic Courtès 7fed9353ec
tests: Adjust services tests to new 'shepherd-service-upgrade'.
This is a followup to 4245ddcbc9.

* tests/services.scm ("shepherd-service-upgrade: one unchanged, one upgraded, one new")
("shepherd-service-upgrade: service depended on is not unloaded")
("shepherd-service-upgrade: obsolete services that depend on each
other"): Adjust to changes in 'shepherd-service-upgrade'.
2018-09-27 23:58:05 +02:00
Ludovic Courtès d4e9317b9d
tests: Update (guix build store-copy) tests.
This is a followup to a387b0bebb.

* tests/gexp.scm ("gexp->derivation, store copy")
("gexp->derivation #:references-graphs"): Add (guix progress) and (guix
records) to the imported modules.
2018-09-27 23:46:44 +02:00
Ludovic Courtès 240a9c69a6
perform-download: Optionally report a "download-progress" trace.
* 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-27 23:21:53 +02:00
Ludovic Courtès dc0f74e5fc
Add (guix status) and use it for pretty colored output.
* 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-27 23:21:53 +02:00
Ludovic Courtès fe65b559a6
progress: Add 'display-download-progress'.
* guix/progress.scm (display-download-progress): New procedure.
(progress-reporter/file)[render]: Rewrite in terms of
'display-download-progress'.
2018-09-27 23:21:53 +02:00
Ricardo Wurmus 363d7d6608
gnu: yoshimi: Update to 1.5.9.
* gnu/packages/music.scm (yoshimi): Update to 1.5.9.
2018-09-27 21:52:07 +02:00
Ricardo Wurmus ea1a360199
gnu: emacs-ert-runner: Do not use package name in directory.
* 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 5c8031ff73.
2018-09-27 20:02:55 +02:00
Ricardo Wurmus de1158d53f
gnu: eolie: Update to 0.9.38.
* gnu/packages/gnome.scm (eolie): Update to 0.9.38.
2018-09-27 19:56:31 +02:00
Mark H Weaver 1d1e4f8f9c
gnu: linux-libre: Update to 4.18.10.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.18.10.
(%linux-libre-hash): Update hash.
2018-09-27 05:53:46 -04:00
Mark H Weaver e0b6085a7f
gnu: linux-libre@4.14: Update to 4.14.72.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.72.
(%linux-libre-4.14-hash): Update hash.
2018-09-27 05:52:52 -04:00
Mark H Weaver 202190ec39
gnu: linux-libre@4.9: Update to 4.9.129.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.129.
2018-09-27 05:52:00 -04:00
Mark H Weaver e07cb04d40
gnu: linux-libre@4.4: Update to 4.4.158.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.158.
2018-09-27 05:51:20 -04:00
Rutger Helling c4a3ea3885
gnu: mame: Update to 0.202.
* gnu/packages/emulators.scm (mame): Update to 0.202.
2018-09-27 09:51:00 +02:00
Tobias Geerinckx-Rice 428d2ca2ec
gnu: youtube-dl: Update to 2018.09.18.
* gnu/packages/video.scm (youtube-dl): Update to 2018.09.18.
2018-09-27 03:51:07 +02:00
Tobias Geerinckx-Rice b733dbc0fb
gnu: python-setproctitle: Use INVOKE.
* gnu/packages/python.scm (python-setproctitle)[arguments]: Substitute
INVOKE for SYSTEM*.
2018-09-27 03:51:07 +02:00
Tobias Geerinckx-Rice 3d190d6a21
gnu: dico: Update to 2.7.
* gnu/packages/dico.scm (dico): Update to 2.7.
[arguments]: Work around dodgy test in 'check' phase.
2018-09-27 03:51:06 +02:00
Tobias Geerinckx-Rice af44f05af7
gnu: perl-net-dns: Update to 1.18.
* gnu/packages/networking.scm (perl-net-dns): Update to 1.18.
2018-09-27 03:51:06 +02:00
Tobias Geerinckx-Rice 6f52db2455
gnu: perl-catalyst-runtime: Update to 5.90119.
* gnu/packages/web.scm (perl-catalyst-runtime): Update to 5.90119.
2018-09-27 03:51:06 +02:00
Tobias Geerinckx-Rice a9994b2735
gnu: perl-crypt-openssl-rsa: Update to 0.31.
* gnu/packages/tls.scm (perl-crypt-openssl-rsa): Update to 0.31.
2018-09-27 03:51:06 +02:00
Timo Eisenmann e15ede6e28
gnu: enlightenment: Fix initial locale and keyboard selection.
* 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-26 23:40:37 +02:00
Ludovic Courtès 09b7300c01
services: virtual-terminal: Write to "default_utf8" only if necessary.
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-26 23:40:37 +02:00
Ludovic Courtès 23784f0c33
services: udev: Don't attempt to read "modules.devname" from a container.
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-26 23:40:37 +02:00
Ludovic Courtès a56c4eb8f4
services: shepherd: Add workaround for 0.5.0 in containers.
* gnu/services/shepherd.scm (%containerized-shepherd-service): New service.
* gnu/system.scm (essential-services): Use it when CONTAINER? is true.
2018-09-26 23:40:36 +02:00
Ludovic Courtès 6f03b08089
services: dhcp-client: Use 'read-pid-file'.
* gnu/services/networking.scm (dhcp-client-service-type)[start]: Use
'read-pid-file' instead of the custom and possibly infinite loop.
2018-09-26 23:40:36 +02:00
Ludovic Courtès 2a5f2b1f75
gnu: Remove incorrect Emacs package deprecations.
This is a followup to 5c8031ff73.  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-26 23:40:36 +02:00
Carlo Zancanaro 4245ddcbc9
guix system: Load all services on reconfigure, not just stopped ones.
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-26 23:40:36 +02:00
Ludovic Courtès 9bd85a785f
gnu: shepherd: Update to 0.5.0.
* gnu/packages/admin.scm (shepherd): Update to 0.5.0.
2018-09-26 23:40:36 +02:00
Pierre Neidhardt 0661912827
Fix URL in emacs-magit and emacs-groovy-modes.
* gnu/packages/emacs.scm (emacs-magit)[source]: Fix URL.
* gnu/packages/emacs.scm (emacs-groovy-modes)[source]: Fix URL.
2018-09-26 10:37:51 +02:00
Mark H Weaver fe73352e80
gnu: linux-libre: Enable SHPC PCI Hotplug driver, now built-in only.
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-25 23:17:20 -04:00
Mark H Weaver 6d32887937
gnu: icecat: Rebundle NSPR and NSS [security fix].
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-25 19:59:08 -04:00
Mark H Weaver 94e96f7f68
gnu: icecat: Unbundle libevent, libogg, and libvorbis.
* 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-25 19:59:06 -04:00
Mark H Weaver 257e324791
gnu: icecat: Unbundle graphite2 and harfbuzz.
* 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-25 19:58:58 -04:00
Marius Bakke 3b97a1779f
services: Add Varnish service.
* 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-26 00:33:01 +02:00
Marius Bakke 5f33e9063b
gnu: varnish: Use absolute file name of "rm".
* gnu/packages/web.scm (varnish)[arguments]: Rename 'patch-bin-sh-phase to
'use-absolute-file-names and add substitution.
2018-09-26 00:33:01 +02:00
Marius Bakke e789b85841
gnu: Add Node LTS.
* gnu/packages/node.scm (node)[arguments]: Adjust 'patch-files' phase to
ignore missing files.
(node-lts): New public variable.
2018-09-26 00:33:01 +02:00