Commit Graph

51073 Commits

Author SHA1 Message Date
Ludovic Courtès
dac7928d50
tests: Fix race condition in profile locking test.
Previously, there was a possibility that "guix install emacs" would grab
the lock before "guix package -m $module_dir/manifest.scm".  When that
happened, the test would start building Emacs and all its dependencies,
which could take a while and some disk space.

This is a followup to b1fb663404.

* tests/guix-package.sh: In profile locking test, emit
"$module_dir/ready" from the manifest and wait for it to exist before
running "guix install emacs".
2019-11-29 15:54:20 +01:00
Ludovic Courtès
3f8e890d91
ui: 'with-profile-lock' keeps going upon ENOLCK.
* guix/build/syscalls.scm (call-with-file-lock/no-wait): Really pass
ARGS to HANDLER.  Return #f when HANDLER is called.
* guix/ui.scm (profile-lock-handler): Emit a mere warning upon ENOLCK.
2019-11-29 15:54:20 +01:00
Ludovic Courtès
55e1dfa4dd
ui: Factorize 'with-profile-lock'.
* guix/ui.scm (profile-lock-handler, profile-lock-file): New
procedures.
(with-profile-lock): New macro.
* guix/scripts/package.scm (process-actions): Use 'with-profile-lock'
instead of 'with-file-lock/no-wait'.
* guix/scripts/pull.scm (guix-pull): Likewise.
2019-11-29 15:54:20 +01:00
Brett Gilio
403604c31e
gnu: Add tdlib.
* gnu/packages/messaging.scm (tdlib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-29 15:54:20 +01:00
Ludovic Courtès
b6b014bf42
daemon: 'pathExists' uses 'statx' when available.
* nix/libutil/util.cc (pathExists) [HAVE_STATX]: New code.
2019-11-29 15:54:20 +01:00
Ludovic Courtès
68ac34e120
gnu: openmpi: Increase priority of the PSM component.
* gnu/packages/patches/openmpi-psm2-priority.patch: Rename to...
* gnu/packages/patches/openmpi-mtl-priorities.patch: ... this.  Add hunk
to change the priority of PSM.
* gnu/packages/mpi.scm (openmpi)[source]: Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Likewise.
2019-11-29 15:54:19 +01:00
Ludovic Courtès
f02fc042a4
gnu: xterm: Update to 351.
* gnu/packages/xorg.scm (xterm): Update to 351.
2019-11-29 15:54:19 +01:00
Clément Lassieur
809b39635f
gnu: rclone: Update to 1.50.2.
* gnu/packages/sync.scm (rclone): Update to 1.50.2.
2019-11-29 15:04:47 +01:00
Tobias Geerinckx-Rice
bbf66cbf63
gnu: arc-icon-theme: Don't use unstable tarball.
* gnu/packages/gnome.scm (arc-icon-theme)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-11-29 14:39:44 +01:00
Tobias Geerinckx-Rice
8c3f2170c4
gnu: moka-icon-theme: Don't use unstable tarball.
* gnu/packages/gnome.scm (moka-icon-theme)[source]: Use GIT-FETCH and
GIT-FILE-NAME, and follow upstream redirection.
2019-11-29 14:39:36 +01:00
Tobias Geerinckx-Rice
757e402792
gnu: faba-icon-theme: Don't use unstable tarball.
* gnu/packages/gnome.scm (faba-icon-theme)[source]: Use GIT-FETCH and
GIT-FILE-NAME, and follow upstream redirection.
2019-11-29 14:39:17 +01:00
Efraim Flashner
a566231947
gnu: python-invoke: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-invoke): Update to 1.3.0.
2019-11-29 11:05:37 +02:00
Efraim Flashner
0202bdc639
gnu: crda: Build without python.
* gnu/packages/linux.scm (crda)[native-inputs]: Remove python-2.
2019-11-29 10:54:58 +02:00
Efraim Flashner
d79db39dec
gnu: iotop: Build with python3.
* gnu/packages/linux.scm (iotop)[native-inputs]: Remove python-2, add
python.
[arguments]: Add phase to fix python3 compatibility.
2019-11-29 10:54:55 +02:00
Tobias Geerinckx-Rice
e00d5b6bbf
gnu: xinetd: Update to 2.3.15.4 [fix build].
* gnu/packages/web.scm (xinetd): Update to 2.3.15.4.
[source]: Switch to openSUSE (and Debian) maintenance fork.
Remove obsolete patches.
[native-inputs]: Add automake, autoconf, libtool, and pkg-config.
[home-page]: Update.
* gnu/packages/patches/xinetd-CVE-2013-4342.patch,
gnu/packages/patches/xinetd-fix-fd-leak.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2019-11-29 06:08:18 +01:00
Tobias Geerinckx-Rice
73dd06546a
gnu: retroarch: Use system miniupnpc.
* gnu/packages/emulators.scm (retroarch)[arguments]:
Pass ‘--disable-builtinminiupnpc’ to ./configure.
[inputs]: Add miniupnpc.
2019-11-29 06:08:18 +01:00
Ricardo Wurmus
076527c354
Revert "gnu: Move lisp libraries to lisp-xyz, uglify-js to javascript and stumpwm to wm."
This reverts commit abf43a67d5 as it broke "guix pull".
2019-11-28 21:09:24 +01:00
Pierre Neidhardt
abf43a67d5
gnu: Move lisp libraries to lisp-xyz, uglify-js to javascript and stumpwm to wm.
* gnu/local.mk: Include lisp-xyz.scm.
* gnu/packages/lisp-xyz.scm: New file.
* gnu/packages/lisp.scm: Move all lisp libraries to lisp-xyz.scm, uglify-js to
  javascript.scm and stumpwm to wm.scm.
* gnu/packages/javascript.scm: Add uglify-js.
* gnu/packages/wm.scm: Add stumpwm.
* gnu/packages/bioinformatics.scm: Find uglify-js in javascript.scm.
* gnu/packages/machine-learning.scm: Depend on lisp-xyz.scm instead of lisp.scm.
* gnu/packages/web.scm: Find uglify-js in javascript.scm.
* gnu/packages/web-browsers.scm: Depend on lisp-xyz.scm instead of lisp.scm.
2019-11-28 19:36:12 +01:00
Efraim Flashner
183fd2070c
gnu: googletest: Build with python3.
* gnu/packages/check.scm (googletest)[native-inputs]: Remove python-2,
add python-wrapper.
2019-11-28 20:04:49 +02:00
Ludovic Courtès
d8f8adfebf
gnu: psm: Disable memory statistics code.
* gnu/packages/patches/psm-disable-memory-stats.patch: New file.
* gnu/packages/linux.scm (psm)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-11-28 18:43:54 +01:00
Ludovic Courtès
478880c4a9
gnu: psm: Remove all timestamps.
* gnu/packages/patches/psm-repro.patch: Use openSuSE's patch.
2019-11-28 18:43:54 +01:00
Ludovic Courtès
2d6bd5edbc
pull, describe: Emit hyperlinks for commit identifiers.
* guix/scripts/pull.scm (%vcs-web-views): New variable.
(channel-commit-hyperlink): New procedure.
(display-news-entry): Add 'channel' parameter.  When
'supports-hyperlinks?' returns true, call 'channel-commit-hyperlink'.
(display-profile-content): Likewise, and define CHANNEL.
(display-channel-specific-news): Pass CHANNEL to 'display-news-entry'.
* guix/ui.scm (hyperlink): Make public.
2019-11-28 18:43:54 +01:00
Ricardo Wurmus
77e7158c1b
gnu: r-jpeg: Move to (gnu packages cran).
* gnu/packages/image.scm (r-jpeg): Move from here...
* gnu/packages/cran.scm (r-jpeg): ...to here.
2019-11-28 18:04:28 +01:00
Marius Bakke
c09f598d94
gnu: python-matplotlib: Do not move the 'check' phase.
Running tests after install is now the default in PYTHON-BUILD-SYSTEM.

* gnu/packages/python-xyz.scm (python-matplotlib)[arguments]: Replace 'check'
phase, instead of deleting and adding new phase.
2019-11-28 16:26:51 +01:00
Marius Bakke
38a404d567
gnu: python2-matplotlib: Do not inherit test adjustments.
This is a follow-up to commit 9e7cb2f1e1.

* gnu/packages/python-xyz.scm (python2-matplotlib)[arguments]: Do not inherit
the 'fix-and-disable-failing-tests' phase.
2019-11-28 16:25:14 +01:00
Marius Bakke
8eebde7439
gnu: vte/gtk+-2: Adjust for changes in inherited package.
This is a follow-up to 68c47474bc.

* gnu/packages/gnome.scm (vte/gtk+-2)[build-system]: New field.
2019-11-28 15:54:10 +01:00
Marius Bakke
6018d26b6b
gnu: openclonk: Update description.
* gnu/packages/games.scm (openclonk)[description]: Be gender neutral.
2019-11-28 15:17:07 +01:00
Marius Bakke
ee9eafc1df
gnu: openclonk: Adjust for GCC 7.
* gnu/packages/games.scm (openclonk)[arguments]: Add phase
'adjust-backward-cpp-includes'.
2019-11-28 15:17:07 +01:00
Efraim Flashner
a549802533
gnu: mplayer: Adjust inputs.
* gnu/packages/video.scm (mplayer)[inputs]: Move yasm ...
[native-inputs]: ... to here.
2019-11-28 15:58:58 +02:00
Efraim Flashner
0089290fcd
gnu: sbcl-parse-number: Update to 1.7.
* gnu/packages/lisp.scm (sbcl-parse-number): Update to 1.7.
2019-11-28 15:58:58 +02:00
Efraim Flashner
a32e8b2550
gnu: sbcl-parse-number: Don't use unstable tarball.
* gnu/packages/lisp.scm (sbcl-parse-number)[source]: Download using
git-fetch.
2019-11-28 15:58:58 +02:00
Efraim Flashner
040a7440d6
gnu: sbcl-chinga: Don't use unstable tarball.
* gnu/packages/lisp.scm (sbcl-chunga)[source]: Download using git-fetch.
2019-11-28 15:58:58 +02:00
Efraim Flashner
d49eb36ef2
gnu: sbcl-lack-middleware-static: Provide a file-name.
* gnu/packages/lisp.scm (sbcl-lack-middleware-static)[source]: Use
git-file-name.
2019-11-28 15:58:11 +02:00
Efraim Flashner
cfbd9b42a1
gnu: sbcl-lack-request: Provide a file-name.
* gnu/packages/lisp.scm (sbcl-lack-request)[source]: Use git-file-name.
2019-11-28 15:58:11 +02:00
Efraim Flashner
b61fcdcae6
gnu: sbcl-lack-util: Provide a file-name.
* gnu/packages/lisp.scm (sbcl-lack-util)[source]: Use git-file-name.
2019-11-28 15:58:11 +02:00
Efraim Flashner
c2db64caa4
gnu: sbcl-lack: Provide a file-name.
* gnu/packages/lisp.scm (sbcl-lack)[source]: Use git-file-name.
2019-11-28 15:58:11 +02:00
Efraim Flashner
3b1e29ae34
gnu: sbcl-lack-component: Provide a file-name.
* gnu/packages/lisp.scm (sbcl-lack-component)[source]: Use
git-file-name.
2019-11-28 15:58:10 +02:00
Efraim Flashner
5af7378a8e
gnu: sbcl-lack-middleware-backtrace: Provide a file-name.
* gnu/packages/lisp.scm (sbcl-lack-middleware-backtrace)[source]: Use
git-file-name.
2019-11-28 15:58:10 +02:00
Ricardo Wurmus
f71b16e8e4
gnu: r-emmeans: Update to 1.4.3.01.
* gnu/packages/cran.scm (r-emmeans): Update to 1.4.3.01.
2019-11-28 14:36:58 +01:00
Ludovic Courtès
62e78648b0
doc: Link to Guile's SXML section.
* doc/guix.texi (PAM Mount Service): Add xref to the "SXML" section of
the Guile manual.
2019-11-28 13:30:53 +01:00
Guillaume Le Vaillant
c1c6650e28
services: Add pam-mount.
* gnu/services/pam-mount.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (PAM Mount Service): New subsection.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-28 13:30:53 +01:00
Ludovic Courtès
055f052574
ui: 'display-generation' emits a hyperlink for the generation.
* guix/ui.scm (supports-hyperlinks?): Make 'port' optional.
(display-generation): Use 'file-hyperlink' for the heading when
'supports-hyperlinks?' returns true.
2019-11-28 13:30:53 +01:00
Ludovic Courtès
fa983b8257
ui: Add 'file-hyperlink'.
* guix/ui.scm (file-hyperlink): New procedure.
(location->hyperlink): Use it.
2019-11-28 13:30:53 +01:00
Ludovic Courtès
73765c91ce
services: nginx: Add description.
* gnu/services/web.scm (nginx-service-type)[description]: New field.
2019-11-28 13:30:53 +01:00
Ludovic Courtès
9e3f9ac3c0
substitute: 'http-multiple-get' no longer drops requests above 1,000.
Previously, in the unlikely case 'http-multiple-get' was passed more
than 1,000 requests, it could have dropped all those above 1,000.

* guix/scripts/substitute.scm (http-multiple-get): Define 'batch'.  Use
that for the 'write-request' loop.  Add 'processed' parameter to 'loop'
and use that to compute the remaining requests and call 'connect' in the
recursion base case.
2019-11-28 13:30:53 +01:00
Ludovic Courtès
295c6a7e83
doc: Handle right arrows in 'syntax-highlighted-html'.
* doc/build.scm (syntax-highlighted-html)[build](entity->string): Add "rarr".
2019-11-28 13:30:53 +01:00
Efraim Flashner
e8c6644af1
lint: Check for more packages which should be native.
* guix/lint.scm (check-inputs-should-be-native): Add yasm, nasm, fasm.
2019-11-28 12:30:42 +02:00
Efraim Flashner
4632e7c787
gnu: avidemux: Clean up inputs.
* gnu/packages/video.scm (avidemux)[inputs]: Remove sdl. Move perl,
python-wrapper, qttools, yasm ...
[native-inputs]: ... to here.
[arguments]: Remove references to sdl.
2019-11-28 12:30:42 +02:00
Efraim Flashner
3c526173dd
gnu: snorenotify: Update inputs.
* gnu/packages/kde.scm (snorenotify)[inputs]: Move extra-cmake-modules,
qttools ...
[native-inputs]: ... to here.
2019-11-28 12:30:41 +02:00
Efraim Flashner
3e68e7d2b6
gnu: gparted: Satisfy 'guix lint'.
* gnu/packages/disk.scm (gparted)[inputs]: Move itstool ...
[native-inputs]: ... to here.
2019-11-28 12:30:41 +02:00