Commit Graph

51425 Commits

Author SHA1 Message Date
Efraim Flashner
b665a24619
gnu: librsvg-next: Use generate-all-checksums.
* gnu/packages/gnome.scm (librsvg-next)[arguments]: Use
generate-all-checksums instead of manually traversing the directories.
2019-12-05 16:31:21 +02:00
Efraim Flashner
73bd8ab669
Revert "build-system/linux-module: Accept a #:make-flags keyword."
I should've tested this better before pushing the commit.

This reverts commit fabd4900d8.
2019-12-05 15:37:39 +02:00
Pierre Neidhardt
ac1ee30f4f
gnu: Properly 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.
* guix/build-system/minify.scm (default-uglify-js): Find uglify-js in
  javascript module instead of lisp.
2019-12-05 13:48:47 +01:00
Marius Bakke
29e621a013
gnu: Remove unused module import.
* gnu/packages/image.scm: Do not import (gnu packages gcc).
2019-12-04 23:18:24 +01:00
Marius Bakke
0fa9f29a51
gnu: libjpeg-turbo: Fix CVE-2019-13960 and CVE-2019-2201.
* gnu/packages/patches/libjpeg-turbo-CVE-2019-2201.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/image.scm (libjpeg-turbo/fixed): New variable.
(libjpeg-turbo)[replacement]: New field.
2019-12-04 23:18:24 +01:00
Tobias Geerinckx-Rice
4fe7adcbcc
gnu: pd: Update to 0.50-2.
* gnu/packages/music.scm (pd): Update to 0.50-2.
2019-12-04 23:10:21 +01:00
Tobias Geerinckx-Rice
ce63a3b90a
gnu: libgig: Update to 4.2.0.
* gnu/packages/music.scm (libgig): Update to 4.2.0.
2019-12-04 23:10:21 +01:00
Tobias Geerinckx-Rice
29a87ed18c
gnu: imapfilter: Update to 2.6.16.
* gnu/packages/mail.scm (imapfilter): Update to 2.6.16.
[arguments]: Remove ‘fix-include-path’ phase.
2019-12-04 23:10:21 +01:00
Tobias Geerinckx-Rice
8f15c1c9fe
gnu: mpop: Update to 1.4.6.
* gnu/packages/mail.scm (mpop): Update to 1.4.6.
2019-12-04 23:10:21 +01:00
Tobias Geerinckx-Rice
f3d4015385
gnu: girara: Fetch sources from git.
The tarball URI is having server issues.  Use the upstream git
repository instead until this is resolved.

Reported by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/gtk.scm (girara)[source]: Switch to GIT-FETCH.
2019-12-04 23:10:21 +01:00
Pierre Neidhardt
6b84a31d90
gnu: emacs-org-contrib: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Refer to the updated
installation directory.
2019-12-04 22:29:38 +01:00
Pierre Neidhardt
e18aeb416d
gnu: emacs-scel: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-scel): Refer to the updated installation
directory.
2019-12-04 22:29:38 +01:00
Leo Famulari
c63d4725d1
gnu: knot: Update to 2.9.1 [fixes CVE-2019-19331].
* gnu/packages/dns.scm (knot): Update to 2.9.1.
2019-12-04 16:09:20 -05:00
Pierre Neidhardt
1cd9149938
gnu: notmuch: Fix build.
* gnu/packages/mail.scm (notmuch): Refer to the updated installation
directory.
2019-12-04 21:57:12 +01:00
Marius Bakke
66c15f72f8
gnu: ffmpeg: Update to 3.4.7.
* gnu/packages/video.scm (ffmpeg-3.4): Update to 3.4.7.
2019-12-04 21:26:56 +01:00
Marius Bakke
63e8df382f
gnu: feh: Update to 3.3.
* gnu/packages/patches/feh-fix-tests-for-imlib2-1.6.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/image-viewers.scm (feh): Update to 3.3.
[source](patches): Remove.
2019-12-04 21:26:50 +01:00
Marius Bakke
33b59c1a3e
Merge branch 'staging' 2019-12-04 20:12:41 +01:00
Marius Bakke
936aa05209
gnu: Remove duplicate nlohmann-json-cpp package.
* gnu/packages/serialization.scm (nlohmann-json-cpp): Move variable ...
* gnu/packages/cpp.scm (nlohmann-json-cpp): ... here.  Mark as deprecated by
JSON-MODERN-CXX.
* gnu/packages/jupyter.scm (xeus)[inputs]: Change NLOHMANN-JSON-CPP to
JSON-MODERN-CXX.
* gnu/packages/video.scm (mkvtoolnix)[inputs]: Likewise.
2019-12-04 20:10:34 +01:00
Danny Milosavljevic
208e743415
gnu: sunxi-tools: Simplify build.
* gnu/packages/admin.scm (sunxi-tools-source): New procedure.
(sunxi-target-tools): New variable.
(sunxi-tools)[source]: Use sunxi-tools-source.
[native-inputs]: Remove cross-gcc, cross-libc, cross-libc-static.
Add sunxi-target-tools.
[arguments]<#:make-flags>: Modify.
[arguments]<#:phases>[set-environment-up]: Delete phase.
[build-armhf]: Delete phase.
[install]: Modify.
2019-12-04 18:56:31 +01:00
Ludovic Courtès
ed15dfcf31
machine: ssh: <machine-ssh-configuration> can include the host key.
* gnu/machine/ssh.scm (<machine-ssh-configuration>)[host-key]: New field.
(machine-ssh-session): Pass #:host-key to 'open-ssh-session'.
* doc/guix.texi (Invoking guix deploy): Document it.
2019-12-04 18:16:08 +01:00
Ludovic Courtès
2b8682841d
ssh: 'open-ssh-session' can be passed the expected host key.
* guix/ssh.scm (open-ssh-session): Add #:host-key parameter.
Pass #:knownhosts to 'make-session'.  When HOST-KEY is true, call
'authenticate-server*' instead of 'authenticate-server'.
2019-12-04 18:16:08 +01:00
Ludovic Courtès
f5c180180e
ssh: Always authenticate the server [security fix].
Until now, users of 'open-ssh-session', including "guix deploy" and
"GUIX_DAEMON_SOCKET=ssh://…" (but not "guix offload"), would not
authenticate the SSH server they're talking to.

* guix/ssh.scm (open-ssh-session): Call 'authenticate-server'.
2019-12-04 18:16:08 +01:00
Ludovic Courtès
114dcb429a
ssh: Add 'authenticate-server*' and use it for offloading.
* guix/scripts/offload.scm (host-key->type+key): Remove.
(open-ssh-session): Replace server authentication code with a call to
'authenticate-server*'.
* guix/ssh.scm (host-key->type+key, authenticate-server*): New
procedures.
2019-12-04 18:16:08 +01:00
Timotej Lazar
d75540473f
gnu: bitlbee: Use Python 3.
* gnu/packages/messaging.scm (bitlbee)[inputs]: Replace python-2 with python.
[arguments]: Set the PYTHON environment variable before configuring.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-04 18:16:08 +01:00
Leo Prikler
fe7b59c6b1
services: Add GNOME Keyring service.
* gnu/services/desktop.scm: (<gnome-keyring-configuration>): New record type.
(pam-gnome-keyring): New procedure.
(gnome-keyring-service-type): New variable.
* doc/guix.texi (Desktop Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-04 18:16:08 +01:00
Ludovic Courtès
a6492178bd
substitute: Remove unused procedure.
This became unused with commit
a9468b422b.

* guix/scripts/substitute.scm (assert-valid-signature): Remove.
2019-12-04 18:16:08 +01:00
Leo Famulari
8548b3dd87
gnu: ncmpc: Update to 0.36.
* gnu/packages/mpd.scm (ncmpc): Update to 0.36.
2019-12-04 10:20:28 -05:00
Leo Famulari
e71513f74b
gnu: MPD: Update to 0.21.16.
* gnu/packages/mpd.scm (mpd): Update to 0.21.16.
2019-12-04 10:20:24 -05:00
Leo Famulari
d9447779c7
gnu: tmux: Update to 3.0a.
* gnu/packages/tmux.scm (tmux): Update to 3.0a.
2019-12-04 08:33:31 -05:00
Leo Famulari
1a7633c239
services: SSH services: Provide 'ssh' and 'sshd' Shepherd services.
* gnu/services/ssh.scm (lsh-shepherd-service, dropbear-shepherd-service,
openssh-sheperd-service): Add 'ssh' and 'sshd' to provision.
2019-12-04 08:31:39 -05:00
Mark H Weaver
34369f3103
gnu: icecat: Update to 68.3.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2019-11745, CVE-2019-17005, CVE-2019-17008,
CVE-2019-17009, CVE-2019-17010, CVE-2019-17011, and CVE-2019-17012.

* gnu/packages/patches/icecat-gnuzilla-fixes.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update hash for the firefox source tarball.  Update to the
latest from gnuzilla.git.  Don't apply icecat-gnuzilla-fixes.patch.  Remove
determinism fix in makeicecat that is now upstream.  Tweak a status message.
(icecat)[arguments]: Add "--with-unsigned-addon-scopes=app" configure flag.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt.
2019-12-04 06:36:45 -05:00
Clément Lassieur
269c827c69
gnu: emacs-transient: Refer to the updated installation directory.
* gnu/packages/emacs-xyz.scm (emacs-transient)[arguments]: Refer to the
updated installation directory.
2019-12-04 12:13:16 +01:00
Efraim Flashner
8f523eb99d
gnuL librsvg-next: Unvendor some rust crates.
* gnu/packages/gnome.scm (computed-origin-method, librsvg-next-source):
New variables.
(librsvg-next)[source]: Use computed librsvg-next-source.
[arguments]: Import %cargo-build-modules. Enable 'patch-source-shebangs,
'patch-generated-source-shebangs, 'patch-user-bin-file phases. Change
custom phase to patch cargo checksums and Cargo.lock.
2019-12-04 12:32:40 +02:00
Maxim Cournoyer
4c503ed503
gnu: emacs-emacsql: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-emacsql): Refer to the updated
installation directory.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
2019-12-04 11:06:49 +01:00
Maxim Cournoyer
7185a8dac4
gnu: emacs-ert-runner: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-ert-runner): Refer to the updated
installation directory.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
2019-12-04 11:06:49 +01:00
Maxim Cournoyer
903765f0d9
gnu: emacs: Use load-path instead of EMACSLOADPATH.
This enables the use of the subdirs.el feature of Emacs, where specifying a
directory in EMACSLOADPATH translates into a `load-path' variable containing
the directory and all its sub-directories.

* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages):
Use `load-path' directly instead of parsing EMACSLOADPATH.

Reported-by: Leo Prikler <leo.prikler@student.tugraz.at>
Signed-off-by: Clément Lassieur <clement@lassieur.org>
2019-12-04 11:06:49 +01:00
Maxim Cournoyer
c320acd633
gnu: emacs: Fix guix-emacs.el indentation.
* gnu/packages/aux-files/emacs/guix-emacs.el: Fix indentation.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
2019-12-04 11:06:49 +01:00
Maxim Cournoyer
9aca5ceac8
gnu: emacs: Simplify the EMACSLOADPATH search path specification.
The EMACSLOADPATH can be greatly simplified by relying on a subdirs.el file
that causes Emacs to search recursively a directory found in EMACSLOADPATH.

* gnu/packages/emacs.scm (emacs)[native-search-paths]: Remove the match-all
file pattern regexp.  Remove the versioned site-lisp directory from searched
files, as it appears unused by Emacs.

Reported-by: Leo Prikler <leo.prikler@student.tugraz.at>
Signed-off-by: Clément Lassieur <clement@lassieur.org>
2019-12-04 11:06:49 +01:00
Maxim Cournoyer
65a7dd2950
build: emacs-build-system: Unify the installation directory.
This change aims to reduce the length of the EMACSLOADPATH environment
variable, which was found to cause issues such as
<https://bugs.gnu.org/38309>.

It should also enable discovery of newly installed packages without refreshing
the session's EMACSLOADPATH of the user profile (e.g., when launching Emacs
from the desktop manager application launcher), as discussed in
<https://bugs.gnu.org/38309>.

* guix/build/emacs-build-system.scm (%legacy-install-suffix): Rename to...
(%install-dir): ...this.
(%install-suffix): Remove variable.
(build): Adjust installation target directory.
(patch-el-files): Likewise.
(install): Likewise.
(move-doc): Likewise.
(make-autoloads): Likewise.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
2019-12-04 11:06:49 +01:00
Tobias Geerinckx-Rice
fabd4900d8
build-system/linux-module: Accept a #:make-flags keyword.
Fixes bug#37882.

* guix/build-system/linux-module.scm (linux-module-build): Accept a
MAKE-FLAGS argument.
<builder>: Pass it on.
2019-12-04 11:25:33 +02:00
Ricardo Wurmus
6ea613ce63
gnu: r-catterplots: Update to 0-3.ae17cd5.
* gnu/packages/statistics.scm (r-catterplots): Update to 0-3.ae17cd5.
2019-12-04 10:07:50 +01:00
Efraim Flashner
9e21a1c803
gnu: hexchat: Fix up inputs.
* gnu/packages/messaging.scm (hexchat)[inputs]: Move glib:bin ...
[native-inputs]: ... to here.
2019-12-04 10:56:04 +02:00
Efraim Flashner
5045821e2a
gnu: ocaml-gen: Don't use unstable tarball.
* gnu/packages/ocaml.scm (ocaml-gen)[source]: Download using git-fetch.
2019-12-04 10:55:29 +02:00
Efraim Flashner
0f4f5715a4
gnu: p7zip: Move *asm inputs to native-inputs.
* gnu/packages/compression.scm (p7zip)[inputs]: Move yasm, nasm ...
[native-inputs]: ... to here.
2019-12-04 10:55:28 +02:00
Efraim Flashner
bcda07797a
gnu: lablgtk: Use a source file-name.
* gnu/packages/ocaml.scm (lablgtk)[source]: Add 'file-name'.
2019-12-04 10:55:28 +02:00
Ricardo Wurmus
e21b668e52
gnu: r-rversions: Update to 2.0.1.
* gnu/packages/statistics.scm (r-rversions): Update to 2.0.1.
2019-12-04 09:39:43 +01:00
Ricardo Wurmus
14ebd6f762
gnu: r-survival: Update to 3.1-8.
* gnu/packages/statistics.scm (r-survival): Update to 3.1-8.
2019-12-04 09:39:36 +01:00
Ricardo Wurmus
41728d234b
gnu: r-all: Use bioconductor-uri.
* gnu/packages/bioconductor.scm (r-all)[source]: Use bioconductor-uri.
2019-12-04 09:36:34 +01:00
Ricardo Wurmus
545e67ac03
gnu: r-hsmmsinglecell: Use bioconductor-uri.
* gnu/packages/bioconductor.scm (r-hsmmsinglecell)[source]: Use
bioconductor-uri.
2019-12-04 09:36:15 +01:00
Ricardo Wurmus
b86f77469b
gnu: r-arrmdata: Use bioconductor-uri.
* gnu/packages/bioconductor.scm (r-arrmdata)[source]: Use bioconductor-uri.
2019-12-04 09:35:59 +01:00