Commit Graph

45704 Commits

Author SHA1 Message Date
Ludovic Courtès 70a7a1b5dc
nar: Really lock store files.
Previously, 'lock-store-file' would immediately close the file
descriptor of the '.lock' file, and thus it would immediately release
the lock.

* guix/nar.scm (lock-store-file, unlock-store-file): Remove.
(finalize-store-file): Use 'lock-file' and 'unlock-file' instead.
2019-06-05 23:10:37 +02:00
Ludovic Courtès d497b6ab39
activation: Lock /etc/.pwd.lock before accessing databases.
Suggested by Florian Pelz <pelzflorian@pelzflorian.de>
in <http://bugs.gnu.org/35996>.

* gnu/build/accounts.scm (%password-lock-file): New variable.
* gnu/build/activation.scm (activate-users+groups): Wrap calls to
'user+group-databases', 'write-group', etc. into 'with-file-lock'.
2019-06-05 23:10:36 +02:00
Ludovic Courtès 5f0cf1df71
syscalls: 'with-lock-file' catches ENOSYS.
* guix/build/syscalls.scm (call-with-file-lock): Catch ENOSYS raised by
'lock-file'.
2019-06-05 23:10:36 +02:00
Ludovic Courtès 89ceb86ad4
syscalls: 'with-file-lock' expands to a call to 'call-with-file-lock'.
* guix/build/syscalls.scm (call-with-file-lock): New procedure.
(with-file-lock): Expand to a call to 'call-with-file-lock'.
2019-06-05 23:10:36 +02:00
Ludovic Courtès b7178c22bf
syscalls: Add 'with-file-lock' macro.
* guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock):
Move to...
* guix/build/syscalls.scm: ... here.
2019-06-05 23:10:36 +02:00
Ludovic Courtès c11ac62de9
gnu: minizip: Do not install crypt.h.
* gnu/packages/compression.scm (minizip)[arguments]: Add
'remove-crypt-h' phase.
2019-06-05 23:10:36 +02:00
Ludovic Courtès bcb7c900cc
guix package: Do not list environment variables that need to be set.
Fixes <https://bugs.gnu.org/35942>.

* guix/scripts/package.scm (display-search-paths): Rename to...
(display-search-path-hint): ... this.  Adjust callers.
Remove #:kind parameter.  Replace the list of environment variables with
an invitation to source $GUIX_PROFILE/etc/profile or run 'guix package
--search-paths'.
2019-06-05 23:10:36 +02:00
Marius Bakke 4bed3b1012
gnu: mesa: Disable failing test on i686.
* gnu/packages/gl.scm (mesa)[arguments]: Add phase when building for i686.
2019-06-05 19:47:01 +02:00
Marius Bakke d4721ff101
Merge branch 'master' into staging 2019-06-05 19:46:16 +02:00
Marius Bakke c0f6eebb6d
gnu: soil: Update home page.
* gnu/packages/gl.scm (soil)[home-page]: Use HTTPS.
2019-06-05 19:42:53 +02:00
Marius Bakke 7c22aa63cd
gnu: mesa-utils: Update home page.
* gnu/packages/gl.scm (mesa-utils)[home-page]: Use HTTPS.
2019-06-05 19:42:53 +02:00
Vagrant Cascadian 90041e9c28
gnu: debootstrap: Workaround for PATH issues.
* gnu/packages/debian (debootstrap):
  [arguments]: Substitute PATH to include $PATH.
  [description]: Remove obsolete workaround from description.
2019-06-05 09:54:49 -07:00
Alex Griffin 36273ebde2
services: cups: Create /var/cache on activation.
* gnu/services/cups.scm (%cups-activation): Create /var/cache if it doesn't
exist yet.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:23 +02:00
Diego Nicola Barbato 7f6a717b72
doc: Fix typo.
* doc/guix.texi (Invoking guix archive): Remove spurious hyphen in example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:23 +02:00
Jens Mølgaard e77dd15a2d
gnu: Add Ukrainian Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-ul): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:23 +02:00
Jens Mølgaard a1fa54f022
gnu: Add Portuguese Portugal Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-pt-pt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:23 +02:00
Jens Mølgaard c9400f03a7
gnu: Add Norwegian Nynorsk Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-nn): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:23 +02:00
Jens Mølgaard c5a88aa0e9
gnu: Add Maori Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-mi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:23 +02:00
Jens Mølgaard 77fe52580f
gnu: Add Hindi Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-hi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:22 +02:00
Jens Mølgaard c066a05094
gnu: Add Finnish Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-fi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:22 +02:00
Jens Mølgaard 4bb9528c49
gnu: Add Danish Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-da): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:22 +02:00
Jens Mølgaard 8ac3476db7
gnu: Add Belarusian Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-be): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:22 +02:00
Jens Mølgaard 964595dd77
gnu: Add Arabic Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-ar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-05 17:27:22 +02:00
Ludovic Courtès 0b051bacb3
installer: Always add '%base-initrd-modules' to 'initrd-modules'.
Fixes <https://bugs.gnu.org/36099>.
Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>.

* gnu/installer/parted.scm (initrd-configuration): Add
%BASE-INITRD-MODULES to the 'initrd-modules' field.
2019-06-05 17:27:22 +02:00
Jack Hill a5ca4a6342
etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file.
This is a followup to 579d17b70d.

* etc/guix-publish.service.in (Environment): Move GUIX_LOCPATH inside
the quotes.
2019-06-05 17:27:22 +02:00
Kei Kebreau 4ab9ad1ed2
gnu: aubio: Enable avcodec support.
* gnu/packages/audio.scm (aubio)[arguments]: Remove "--disable-avcodec" from
and add "--enable-avcodec" to #:configure-flags.
[inputs]: Add ffmpeg.
2019-06-05 10:31:23 -04:00
Ricardo Wurmus 2ffa842b4e
gnu: guile-sdl2: Update to 0.4.0.
* gnu/packages/sdl.scm (guile-sdl2): Update to 0.4.0.
2019-06-05 15:47:01 +02:00
Ricardo Wurmus f6ea523749
gnu: guile-chickadee: Update to 0.4.0.
* gnu/packages/game-development.scm (guile-chickadee): Update to 0.4.0.
[arguments]: Remove.
2019-06-05 15:43:43 +02:00
Jan Nieuwenhuizen 898b705d64
gnu: guile-gi: Update to 0.0.1-1.26e8852.
* gnu/packages/guile-xyz.scm (guile-gi): Update to 0.0.1-1.26e8852; use
upstream's (spk121's) git in source uri.
2019-06-05 15:40:26 +02:00
Jonathan Brielmaier 3390ac619f
gnu: neovim: Update to 0.3.7 [security fixes].
* gnu/packages/vim.scm (neovim): Update to 0.3.7.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-06-05 15:24:46 +02:00
Ricardo Wurmus 1d7cf14435
gnu: eolie: Update to 0.9.62.
* gnu/packages/gnome.scm (eolie): Update to 0.9.62.
2019-06-05 11:53:27 +02:00
Jack Hill 579d17b70d
etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.
Fixes <https://bugs.gnu.org/36074>.

* etc/guix-daemon.service.in: Move the GUIX_LOCPATH environment variable name
inside the quotes.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-06-05 11:48:55 +02:00
Oleg Pykhalov 9b99b349ec
gnu: Add emacs-litable.
* gnu/packages/emacs-xyz.scm (emacs-litable): New variable.
2019-06-05 10:15:20 +03:00
Brian Leung e912affe07
gnu: Add emacs-attrap.
* gnu/packages/emacs-xyz.scm (emacs-attrap): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-05 08:37:17 +03:00
Brian Leung 3fef2a9dd9
gnu: Add emacs-dante.
* gnu/packages/emacs-xyz.scm (emacs-dante): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-05 08:37:17 +03:00
Brian Leung d8bc8245a6
gnu: Add emacs-lcr.
* gnu/packages/emacs-xyz.scm (emacs-lcr): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-05 08:37:16 +03:00
Brian Leung 68eb526c4f
gnu: Add emacs-whitespace-cleanup-mode.
* gnu/packages/emacs-xyz.scm (emacs-whitespace-cleanup-mode): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-05 08:37:16 +03:00
Mark H Weaver 08ad449753
gnu: linux-libre: Update to 5.1.7.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.7.
(%linux-libre-hash): Update hash.
2019-06-04 23:49:44 -04:00
Mark H Weaver 8feeeb68d3
gnu: linux-libre@4.19: Update to 4.19.48.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.48.
(%linux-libre-4.19-hash): Update hash.
2019-06-04 23:48:52 -04:00
Marius Bakke 456ba27496
gnu: openvswitch: Update to 2.11.1.
* gnu/packages/networking.scm (openvswitch): Update to 2.11.1.
2019-06-05 00:37:39 +02:00
Marius Bakke 034db23701
gnu: openvswitch: Update home page.
* gnu/packages/networking.scm (openvswitch)[source, home-page]: Use HTTPS.
2019-06-05 00:37:39 +02:00
Marius Bakke 3588419553
gnu: polkit: Update to 0.116 [fixes CVE-2019-6133].
* gnu/packages/patches/polkit-CVE-2018-19788.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/polkit.scm (polkit): Update to 0.116.
[source](patches): Remove.
[inputs]: Change MOZJS-52 to MOZJS-60.
[arguments]: Add CXXFLAGS=-std=gnu++11 to #:configure-flags.
2019-06-05 00:37:39 +02:00
Marius Bakke 261e9db2cd
gnu: e2fsprogs: Update to 1.45.2.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.45.2.
2019-06-05 00:37:39 +02:00
Tobias Geerinckx-Rice d46fc636e6
gnu: borg: Update to 1.1.10.
* gnu/packages/backup.scm (borg): Update to 1.1.10.
[source]: Remove upstreamed patch.
Remove msgpack and broken references to it.
[arguments]: Add ‘use-system-msgpack’ phase.
* gnu/packages/patches/borg-fix-hard-link-preloading.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-06-04 22:19:33 +02:00
Leo Famulari a85d3fb07f
gnu: Mutt: Update to 1.12.0.
* gnu/packages/mail.scm (mutt): Update to 1.12.0.
2019-06-04 13:40:00 -04:00
Leo Famulari bac78669c7
gnu: MPD: Update to 0.21.9.
* gnu/packages/mpd.scm (mpd): Update to 0.21.9.
2019-06-04 13:37:25 -04:00
Leo Famulari 6140764990
gnu: Syncthing: Update to 1.1.4.
* gnu/packages/syncthing.scm (syncthing): Update to 1.1.4.
2019-06-04 13:28:59 -04:00
Leo Famulari 70f3a38471
gnu: go-github-com-oschwald-geoip2-golang: Update to 1.3.0.
* gnu/packages/syncthing.scm (go-github-com-oschwald-geoip2-golang):
Update to 1.3.0.
2019-06-04 13:28:58 -04:00
Leo Famulari a92e9cca03
gnu: go-github-com-lib-pq: Update to 1.1.1.
* gnu/packages/syncthing.scm (go-github-com-lib-pq): Update to 1.1.1.
2019-06-04 13:28:58 -04:00
Leo Famulari 36bb1d5a9f
gnu: go-github-com-mattn-go-isatty: Update to 0.0.7.
* gnu/packages/golang.scm (go-github-com-mattn-go-isatty): Update to 0.0.7.
[propagated-inputs]: Add go-golang-org-x-sys-unix.
2019-06-04 13:28:55 -04:00