Commit Graph

38644 Commits

Author SHA1 Message Date
Ludovic Courtès f1de676ea8
guix build: Re-purpose '--verbosity' and add '--debug'.
The previous '--verbosity' option was misleading and rarely what users
were looking for.  The new option provides a consistent way to choose
whether or not to display the build log.

* guix/scripts/build.scm (show-build-options-help): Remove "--verbosity"
and add "--debug".
(set-build-options-from-command-line): Use the 'debug key of OPTS for
 #:verbosity.
(%standard-build-options): Change "verbosity" to "debug".  Use
'string->number*' instead of 'string->number'.
(%default-options): Change 'verbosity to 'debug and add a 'verbosity
key.
(show-help): Add '--verbosity'.
(%options): Likewise, and change '--quiet' to set the 'verbosity key of
RESULT.
(guix-build): Use 'with-status-verbosity' instead of parameterizing
CURRENT-BUILD-OUTPUT-PORT, honor the 'verbosity key of OPTS, and remove
'quiet?'.
* guix/scripts/environment.scm (show-help, %options): Add '--verbosity'.
(%default-options): Add 'debug'.
(guix-environment): Honor the 'verbosity key of OPTS.
* guix/scripts/pack.scm (%default-options): Add 'debug.
(%options, show-help): Add '--verbosity'.
(guix-pack): Honor the 'verbosity key of OPTS.
* guix/scripts/package.scm (%default-options): Add 'debug.
(show-help, %options): Add '--verbosity'.  Mark '--verbose' as
deprecated and change it to set 'verbosity.
(guix-package): Honor the 'verbosity key of OPTS and remove 'verbose?'.
* guix/scripts/pull.scm (%default-options): Add 'debug.
(show-help, %options): Add '--verbosity'.
(guix-pull): Honor the 'verbosity key of OPTS.
* guix/scripts/system.scm (show-help, %options): Add '--verbosity'.
(%default-options): Add 'debug.
(guix-system): Honor the 'verbosity key of OPTS.
* guix/scripts/archive.scm (%default-options): Add 'debug,
'print-build-trace?, 'print-extended-build-trace?, and
'multiplexed-build-output?.
(show-help, %options): Add '--verbosity'.
(export-from-store): Remove call to 'set-build-options-from-command-line'.
(guix-archive): Wrap body in 'with-status-verbosity'. Add call to
'set-build-options-from-command-line.
* doc/guix.texi (Common Build Options): Document '--verbosity' and
'--debug'.
(Additional Build Options): Adjust description of '--quiet'.
2019-01-11 12:14:38 +01:00
Ludovic Courtès 7804c45b9c
status: Add 'with-status-verbosity'.
* guix/status.scm (logger-for-level, call-with-status-verbosity): New
procedures.
(with-status-verbosity): New macro.
* guix/scripts/environment.scm (guix-environment): Use
'with-status-verbosity' instead of 'with-status-report'.
* guix/scripts/pack.scm (guix-pack): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* build-aux/run-system-tests.scm (run-system-tests): Likewise.
2019-01-11 12:14:38 +01:00
Ludovic Courtès 7489207ff7
refresh: Turn on warnings when '--manifest' is used.
* guix/scripts/refresh.scm (guix-refresh): Set WARN? when '-m' is used.
2019-01-11 12:14:38 +01:00
Ludovic Courtès fca43e14f7
refresh: Refactor option handling and '--recursive'.
This allows us to combine '--recursive' with other options (-u, -m,
etc.), turns off warnings when '--recursive' is used, and avoids the
hazards of I/O in the presence of multithreading.

* guix/scripts/refresh.scm (options->packages): New procedure, with code
formerly in 'guix-refresh'.
(refresh-recursive): Remove.
(guix-refresh)[keep-newest, core-package?, args-packages, packages]:
Remove.
[warn?]: Set to #f when RECURSIVE? is true.
Call 'options->packages' in monadic context.
2019-01-11 12:14:38 +01:00
Gabriel Hondet 88d7101798
gnu: Add emacs-general.
[[PGP Signed Part:Good signature from 31BC8105F659D425 Gabriel Hondet <gabrielhondet@gmail.com> (trust undefined) created at 2019-01-06T10:42:43+0100 using RSA]]
* gnu/packages/emacs.scm (emacs-general): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-11 12:14:38 +01:00
Ludovic Courtès 84a2de36a1
services: Deprecate a few more service procedures.
These procedures were already either undocumented (and de facto
deprecated) or documented as deprecated or redundant.

* gnu/services/base.scm (guix-service, guix-publish-service): Mark as
deprecated.
* gnu/services/mcron.scm (mcron-service): Likewise.
* gnu/services/networking.scm (tor-service): Likewise.
* doc/guix.texi (Scheduled Job Execution): Remove 'mcron-service' and
adjust example.
(Networking Services): Remove 'tor-service'.
* gnu/tests/base.scm (%mcron-os): Use 'mcron-service-type' instead of
'mcron-service'.
* gnu/tests/networking.scm (%tor-os): Use 'tor-service-type' instead of
'tor-service'.
* tests/guix-system.sh: Likewise.
2019-01-11 12:14:38 +01:00
Ludovic Courtès babfd9447d
tests: Nitpick on Docker test.
This is a followup to 7d8a4eeacc.

* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/docker.scm.
* gnu/tests/docker.scm: Update copyright line.
2019-01-11 12:14:37 +01:00
Rutger Helling cb2ad4f508
gnu: wine-staging: Hard-code vulkan loader.
* gnu/packages/wine.scm (wine-staging-patchset-data): Fix indentation.
* gnu/packages/wine.scm (wine-staging)[arguments]: Add 'wrap-executable phase.
* gnu/packages/wine.scm (wine64-staging)[arguments]: Add 'wrap-executable
phase. Copy the real wine-preloader instead of the wrapped version.
2019-01-11 11:15:13 +01:00
Ricardo Wurmus e7c6bc45ed
gnu: jamm: Remove broken "build" phase.
* gnu/packages/bioinformatics.scm (jamm)[arguments]: Remove "build" phase.
2019-01-11 06:08:43 +01:00
Danny Milosavljevic 9757b57f4e
services: docker: Update comment.
* gnu/services/docker.scm (docker-shepherd-service): Update comment.
2019-01-11 02:53:28 +01:00
Leo Famulari adf0b482eb
gnu: gexiv2: Update to 0.10.10.
* gnu/packages/gnome.scm (gexiv2): Update to 0.10.10.
2019-01-10 18:45:41 -05:00
Ricardo Wurmus bf6fb59a33
build-system: texlive: Do not hide build output.
* guix/build/texlive-build-system.scm (compile-with-latex): Use "nonstopmode"
instead of "batchmode".
2019-01-10 22:43:09 +01:00
Ricardo Wurmus ac5c9f6ba6
build-system: texlive: Do not truncate lines.
* guix/build/texlive-build-system.scm (configure): Set environment variables
to prevent build output lines from being truncated.
2019-01-10 22:43:09 +01:00
Ricardo Wurmus d4d9a1ece0
gnu: Update texlive packages.
* guix/build-system/texlive.scm (%texlive-tag, %texlive-revision): Update to
texlive-2018.2, revision 49435.
* gnu/packages/tex.scm (texlive-dvips, texlive-generic-unicode-data,
texlive-generic-dehyph-exptl, texlive-generic-hyph-utf8, texlive-fontname,
texlive-fonts-cm, texlive-tex-plain, texlive-latex-base,
texlive-latex-graphics, texlive-latex-graphics, texlive-latex-oberdiek,
texlive-latex-tools, texlive-latex-l3kernel, texlive-latex-l3packages,
texlive-latex-fontspec, texlive-latex-amsmath, texlive-latex-amscls,
texlive-latex-babel, texlive-latex-cyrillic, texlive-latex-eqparbox,
texlive-latex-ifplatform, texlive-latex-etoolbox, texlive-latex-galois,
texlive-latex-polyglossia, texlive-tex-texinfo, texlive-latex-changebar,
texlive-latex-fancyhdr, texlive-latex-overpic, texlive-latex-parskip,
texlive-metapost, texlive-latex-ucs, texlive-generic-pdftex,
texlive-latex-media9, texlive-latex-ocgx2, texlive-latex-koma-script,
texlive-generic-listofitems, texlive-bibtex, texlive-context-base): Update
hashes.
(texlive-latex-fontspec)[arguments]: Remove custom build target.
(texlive-latex-dinbrief)[arguments]: Add build phase "fix-encoding-error".
(texlive-latex-xkeyval): New variable.
(texlive-latex-pstool)[source]: Fetch from new location.
[build-system]: Use trivial-build-system.
[arguments]: Write simple builder.
[propagated-inputs]: Add texlive-latex-l3kernel, texlive-latex-tools, and
texlive-latex-xkeyval.
[synopsis]: Fix typo.
2019-01-10 22:43:09 +01:00
Kei Kebreau c954fe6622
gnu: irssi: Update to 1.1.2 [fixes CVE-2019-5882].
* gnu/packages/irc.scm (irssi): Update to 1.1.2.
2019-01-10 16:05:42 -05:00
Danny Milosavljevic ffcd282702
gnu: docker: Booby-trap "Command" and "LookPath" calls.
* gnu/packages/docker.scm (docker)[arguments]<#:phases>[patch-paths]:
Booby-trap "Command" and "LookPath" calls.
2019-01-10 21:29:53 +01:00
Pierre Neidhardt 6a6e5d84da
gnu: opendht: Update to 1.8.1.
* gnu/packages/crypto.scm (opendht): Update to 1.8.1.
[source]: Remove snippet that deletes argon2, which is no longer bundled.
[arguments]: Add "--with-argon2" to use system argon2.
[license]: Update to GPLv3+ following the README and source headers.
2019-01-10 21:09:06 +01:00
Pierre Neidhardt 6fe6840dab
gnu: Add libsecp256k1.
* gnu/packages/crypto.scm (libsecp256k1): New variable.
2019-01-10 21:09:06 +01:00
Pierre Neidhardt 35ac66eec1
gnu: crypto++: Update to 8.0.0.
* gnu/packages/crypto.scm (crypto++): Update to 8.0.0.
[arguments]: Build shared library.
[arguments]: Generate .pc file.
2019-01-10 21:09:06 +01:00
Danny Milosavljevic 8b0c174415
services: docker: Use more minimal service requrements.
* gnu/services/docker.scm (docker-service-type)[requirement]: Add
file-system-/sys/fs/cgroup/blkio, file-system-/sys/fs/cgroup/cpu,
file-system-/sys/fs/cgroup/cpuset, file-system-/sys/fs/cgroup/devices,
file-system-/sys/fs/cgroup/memory.  Remove elogind.
2019-01-10 19:17:49 +01:00
Danny Milosavljevic d3a0e74d6a
services: docker: Clarify service-extension shepherd-root-service-type.
* gnu/services/docker.scm (docker-service-type)[extensions]: Clarify
service-extension shepherd-root-service-type.
2019-01-10 19:17:48 +01:00
Nam Nguyen dbd346ae88
gnu: sct: Correct license.
* gnu/packages/xdisorg.scm (sct)[license]: Change to non-copyleft.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-10 14:59:23 +01:00
Ludovic Courtès 65a67bf711
services: Use 'define-deprecated' for service procedures.
* gnu/services/base.scm (urandom-seed-service, gpm-service): Define
using 'define-deprecated'.
* gnu/services/messaging.scm (bitlbee-service): Likewise.
* gnu/services/networking.scm (dhcp-client-service): Likewise.
(ntp-service): Likewise.
* gnu/services/xorg.scm (slim-service): Likewise.
(gdm-service): Likewise.
2019-01-10 14:59:23 +01:00
Ludovic Courtès 787da810a0
Add (guix deprecation).
* guix/deprecation.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
2019-01-10 14:59:22 +01:00
Tim Gesthuizen 7d4b3e1e2b
gnu: Add pwsafe
* gnu/packages/password-utils.scm (pwsafe): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-10 14:59:22 +01:00
Ludovic Courtès 01b3625df6
services: gdm: Add default value.
* gnu/services/xorg.scm (<gdm-configuration>)[x-server]: Add default
value.
(gdm-service-type)[default-value, description]: New fields.
(gdm-service): Mark as deprecated.
2019-01-10 14:59:22 +01:00
Arun Isaac 40fa21c22e
guix: lint: Warn only if GitHub URI is not same as the package URI.
* guix/scripts/lint.scm (check-github-url): Warn only if the GitHub URI
obtained after following redirects is not same as the original URI.
* tests/lint.scm ("github-url: already the correct github url"): New test.
2019-01-10 15:39:35 +05:30
Rutger Helling 394207c1ee
gnu: Add missing copyright line.
* gnu/packages/video.scm: Add missing copyright line for commit 20b4aa6.
2019-01-10 08:59:44 +01:00
Rutger Helling 1d591432c7
gnu: wlstream: Fix indentation.
* gnu/packages/video.scm (wlstream): Fix indentation.
2019-01-10 08:53:36 +01:00
Rutger Helling 20b4aa6bab
gnu: Add wlstream.
* gnu/packages/video.scm (wlstream): New variable.
2019-01-10 08:41:03 +01:00
Rutger Helling 1f61cc102e
gnu: ffmpeg: Add libdrm support.
* gnu/packages/video.scm (ffmpeg): Add libdrm support.
2019-01-10 08:20:39 +01:00
Danny Milosavljevic 6b6a25d4d2
gnu: docker: Fix more paths.
* gnu/packages/docker.scm (docker)[inputs]: Add dbus, git.
[arguments]<#:phases>[patch-paths]: Use them.
2019-01-10 05:40:53 +01:00
Danny Milosavljevic f946a370ed
services: docker: Depend on elogind.
* gnu/services/docker.scm (docker-shepherd-service)[requirement]: Add elogind.
2019-01-10 05:15:42 +01:00
Danny Milosavljevic dc4b4a38fa
tests: docker: Fix test.
* gnu/tests/docker.scm (run-docker-test): Set memory and disk size.
(%docker-os): Add elogind service.
2019-01-10 05:15:41 +01:00
Mark H Weaver 60893e5c84
gnu: linux-libre: Update to 4.20.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.20.1.
(%linux-libre-hash): Update hash.
2019-01-09 23:00:07 -05:00
Mark H Weaver f7ed0b1db5
gnu: linux-libre@4.19: Update to 4.19.14.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.14.
(%linux-libre-4.19-hash): Update hash.
2019-01-09 23:00:05 -05:00
Mark H Weaver 166c6ad39c
gnu: linux-libre@4.14: Update to 4.14.92.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.92.
(%linux-libre-4.14-hash): Update hash.
2019-01-09 23:00:03 -05:00
Mark H Weaver c37f52e3be
gnu: linux-libre@4.9: Update to 4.9.149.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.149.
2019-01-09 23:00:00 -05:00
Mark H Weaver 28f6b27543
gnu: linux-libre: Enable pressure stall information.
* gnu/packages/aux-files/linux-libre/4.20-arm.conf,
gnu/packages/aux-files/linux-libre/4.20-arm64.conf,
gnu/packages/aux-files/linux-libre/4.20-i686.conf,
gnu/packages/aux-files/linux-libre/4.20-x86_64.conf: Enable CONFIG_PSI.
2019-01-09 22:59:58 -05:00
Danny Milosavljevic 8cd958608c
gnu: docker: Disable tests requiring elevated permissions.
* gnu/packages/docker.scm (docker)[arguments]<#:phases>[delete-failing-tests]:
Disable tests requiring elevated permissions.
2019-01-10 04:46:29 +01:00
Danny Milosavljevic 8b487bf84f
gnu: containerd: Fix more paths.
* gnu/packages/docker.scm (containerd)[inputs]: Add util-linux.
[arguments]<#:phases>[patch-paths]: Fix more paths.
2019-01-10 04:34:57 +01:00
Danny Milosavljevic 58adcaa19f
gnu: docker: Fix more paths.
* gnu/packages/docker.scm (docker)[inputs]: Add util-linux.
[arguments]<#:phases>[patch-paths]: Fix more paths.
2019-01-10 04:33:47 +01:00
Danny Milosavljevic f0bfd0fc21
services: docker: Specify log file for containerd.
* gnu/services/docker.scm (containerd-shepherd-service): Specify log file
for containerd.
2019-01-10 03:54:28 +01:00
Danny Milosavljevic 7d8a4eeacc
tests: Add Docker system test.
* gnu/tests/docker.scm: New file.
2019-01-10 03:44:20 +01:00
Danny Milosavljevic 65a7e35cb5
gnu: docker: Substitute LookPath of literals generally.
* gnu/packages/docker.scm (docker)[arguments]<#:phases>[patch-paths]:
Substitute LookPath of literals generally.
2019-01-10 03:12:32 +01:00
Danny Milosavljevic e9b316453e
gnu: Add docker-cli.
* gnu/packages/docker.scm (docker-cli): New variable.
2019-01-10 03:01:12 +01:00
Danny Milosavljevic 8af4c335e3
services: Add docker.
* gnu/services/docker.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Miscellaneous Services): Document the service.
2019-01-10 03:00:55 +01:00
Danny Milosavljevic f87ea24a82
gnu: Add docker.
* gnu/packages/docker.scm (docker): New variable.
* gnu/packages/patches/docker-engine-test-noinstall.patch: New file.
* gnu/packages/patches/docker-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
2019-01-10 02:49:14 +01:00
Leo Famulari fc51c28ae8
gnu: Blender: Update to a beta release of 2.80.
Fixes <https://bugs.gnu.org/33608> and <https://bugs.gnu.org/33882>.

* gnu/packages/graphics.scm (blender): Update to 2.80-beta-0.3c3d80e.
[source]: Fetch from the Git repository.
[inputs]: Use OpenJPEG 2. Add Numpy.
[arguments]: Specify the location of Numpy. Remove some configure flags that are
no longer used. Comment out the 'fix-broken-import' phase because the
file it patches doesn't exist in the Git sources.
[description]: Add a warning about the beta status.
2019-01-09 18:54:16 -05:00
Jelle Licht b96f0e6ff9
gnu: emacs-ghub: Update to 3.2.0.
* gnu/packages/emacs.scm (emacs-ghub): Update to 3.2.0.
[source]: Use 'git-fetch'.
[propagated-inputs]: Add emacs-dash, emacs-graphql,
emacs-let-alist, emacs-treepy.
2019-01-09 22:40:32 +01:00