Commit graph

65653 commits

Author SHA1 Message Date
Ludovic Courtès
8d0e5c2655
.dir-locals.el: Add indentation rule for 'package/inherit'.
* .dir-locals.el (scheme-mode): Add 'package/inherit'.
2020-08-26 00:51:56 +02:00
Ludovic Courtès
3b8eea1c40
gnu: hdf5: Distinguish the default hdf5 version.
* gnu/packages/maths.scm (hdf5): Rename to...
(hdf-1.8): ... this.
(hdf5-1.10): Adjust accordingly.
(hdf5): New variable.
2020-08-26 00:51:56 +02:00
Ludovic Courtès
4c5edee1ef
lint: Use 'with-error-handling'.
This improves the error message when unable to access ~/.cache as
reported by Jonathan Brielmaier <jonathan.brielmaier@web.de> in
<https://bugs.gnu.org/42859>.

* guix/scripts/lint.scm (guix-lint): Wrap body in 'with-error-handling'.
2020-08-26 00:51:56 +02:00
Mark H Weaver
e45d7f3198
gnu: icecat: Update to 68.12.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2020-15663, CVE-2020-15664, and CVE-2020-15669.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to new version.
2020-08-25 14:52:18 -04:00
Oleg Pykhalov
fdaba559d0
gnu: emacs-org-re-reveal: Update to 3.1.1.
* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 3.1.1.
2020-08-25 21:11:08 +03:00
Maxim Cournoyer
fbd36a2334
gnu: guix: Update to 1.1.0-21.29d356.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-20.29d356.
2020-08-25 13:57:35 -04:00
Maxim Cournoyer
29d3569c9c
gnu: guix: Update to 1.1.0-20.537080f.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-20.537080f.
2020-08-25 13:48:17 -04:00
Maxim Cournoyer
4b5a6fbc9b
offload: Modify the build-machine record to accept multiple systems.
* guix/scripts/offload.scm (<build-machine>)[systems]: New field.
[system]: Accessor changed to %build-machine-system.  Default to #f.
* guix/scripts/offload.scm (build-machine-system): Wrap %build-machine-system
with a deprecation warning.
(build-machine-systems): Access the new systems field or fallback to use
build-machine-system, for backward compatibility.
(machine-matches?): Adjust.
* tests/offload.scm: Add tests...
* Makefile.am (SCM_TESTS): ...and register them.
* doc/guix.texi (Daemon Offload Setup): Update doc.
2020-08-25 13:45:27 -04:00
Efraim Flashner
a5ccf1b522
gnu: git-lfs: Don't install source.
* gnu/packages/version-control.scm (git-lfs)[arguments]: Don't install
the sources.
2020-08-25 20:38:52 +03:00
Prafulla Giri
c34a9db3d1
gnu: git-lfs: Update to v2.11.0.
* gnu/packages/version-control.scm (git-lfs): Update to v2.11.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-08-25 20:37:44 +03:00
Prafulla Giri
8b76027976
gnu: git-lfs: Install man pages.
* gnu/packages/version-control.scm (git-lfs)[arguments]: Add build
phases to build and install man pages.
[native-inputs]: Add ronn-ng.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-08-25 20:35:09 +03:00
Leo Prikler
c6a7ae4f14
gnu: polari: Update to 3.36.3.
* gnu/packages/gnome.scm (polari): Update to 3.36.3.
2020-08-25 19:05:26 +02:00
Tobias Geerinckx-Rice
bff22b76f3
doc: Fix typo.
* doc/guix.texi (Virtualization Services): Fix typo.
2020-08-25 17:14:50 +02:00
Tobias Geerinckx-Rice
2e832d4b8a
services: ganeti-kvmd-service-type: Fix typo in description.
* gnu/services/ganeti.scm (ganeti-kvmd-service-type)[description]:
Fix typo.
2020-08-25 17:14:50 +02:00
Tobias Geerinckx-Rice
4b582791d0
gnu: gnuradio-osmosdr: Update to 0.2.2.
* gnu/packages/radio.scm (gnuradio-osmosdr): Update to 0.2.2.
2020-08-25 17:14:50 +02:00
Tobias Geerinckx-Rice
faeddf293f
gnu: libcap-ng: Update to 0.7.11.
* gnu/packages/admin.scm (libcap-ng): Update to 0.7.11.
2020-08-25 17:14:50 +02:00
Tobias Geerinckx-Rice
70e4fcfe01
gnu: ruby-public-suffix: Update to 4.0.5.
* gnu/packages/ruby.scm (ruby-public-suffix): Update to 4.0.5.
2020-08-25 17:14:49 +02:00
Tobias Geerinckx-Rice
cce2988ddd
gnu: ruby-domain-name: Update to 0.5.20190701.
* gnu/packages/ruby.scm (ruby-domain-name): Update to 0.5.20190701.
2020-08-25 17:14:49 +02:00
Tobias Geerinckx-Rice
0e59074062
gnu: fldigi: Update to 4.1.14.
* gnu/packages/radio.scm (fldigi): Update to 4.1.14.
2020-08-25 17:14:49 +02:00
Mathieu Othacehe
7f765a9d9c
gnu: cuirass: Update to 0.0.1-43.f2984c7.
Cuirass now depends of "guile-zlib" instead of Guix zlib module.

* gnu/packages/ci.scm (cuirass): Update to 0.0.1-43.f2984c7,
[inputs]: add "guile-zlib" ...
[arguments]: ... and add it to the dependencies.
2020-08-25 16:38:19 +02:00
Vinicius Monego
06d206a76d
gnu: Add python-trytond-stock-lot.
* gnu/packages/tryton.scm (python-trytond-stock-lot): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:18 +02:00
Vinicius Monego
6844d36443
gnu: Add python-trytond-stock.
* gnu/packages/tryton.scm (python-trytond-stock): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:17 +02:00
Vinicius Monego
84cca05cd7
gnu: Add python-trytond-account.
* gnu/packages/tryton.scm (python-trytond-account): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:17 +02:00
Vinicius Monego
69e983300f
gnu: Add python-simpleeval.
* gnu/packages/python-xyz.scm (python-simpleeval): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:17 +02:00
Vinicius Monego
e6e031e99b
gnu: Add python-trytond-product.
* gnu/packages/tryton.scm (python-trytond-product): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:17 +02:00
Vinicius Monego
666489d633
gnu: Add python-trytond-company.
* gnu/packages/tryton.scm (python-trytond-company): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:17 +02:00
Vinicius Monego
23dc957cb3
gnu: Add python-trytond-currency.
* gnu/packages/tryton.scm (python-trytond-currency): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:16 +02:00
Vinicius Monego
9b170887ce
gnu: Add python-forex-python.
* gnu/packages/python-xyz.scm (python-forex-python): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-25 16:00:14 +02:00
Efraim Flashner
2612ec80d0
gnu: stepmania: Fix typo.
* gnu/packages/games.scm (stepmania)[arguments]: Check for the 'x86_64'
architecture.
2020-08-25 16:11:42 +03:00
Efraim Flashner
eaaeb8f14c
gnu: audacity: Fix typo.
* gnu/packages/audio.scm (audacity)[arguments]: Check for the 'x86_64'
architecture.
2020-08-25 16:10:49 +03:00
Mathieu Othacehe
dac7dd1b0b
Remove "guile-zlib" extension when unused.
This is a follow-up of 755f365b02.

As (zlib) is autoloaded in (gnu build linux-modules), "guile-zlib" is needed
as an extension only when it is effectively used.

* gnu/installer.scm (installer-program): Remove "guile-zlib" from the extensions.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Ditto.
* gnu/services.scm (activation-script): Ditto.
* gnu/services/base.scm (default-serial-port): Ditto,
(agetty-shepherd-service): ditto,
(udev-service-type): ditto.
* gnu/system/image.scm (gcrypt-sqlite3&co): Ditto.
* gnu/system/shadow.scm (account-shepherd-service): Ditto.
2020-08-25 12:39:11 +02:00
Mathieu Othacehe
5fe12be0dd
linux-libre: Enable module compression.
This commit enables GZIP compression for linux-libre kernel modules, reducing
the size of linux-libre by 63% (165MB).

* gnu/packages/aux-files/linux-libre/5.8-arm.conf: Enable GZ compression.
* gnu/packages/aux-files/linux-libre/5.8-arm64.conf: Ditto.
* gnu/packages/aux-files/linux-libre/5.8-i686.conf: Ditto.
* gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: Ditto.
2020-08-25 11:53:21 +02:00
Mathieu Othacehe
755f365b02
linux-libre: Support module compression.
This commit adds support for GZIP compression for linux-libre kernel
modules. The initrd modules are kept uncompressed as the initrd is already
compressed as a whole.

The linux-libre kernel also supports XZ compression, but as Guix does not have
any available bindings for now, and the compression time is far more
significant, GZIP seems to be a better option.

* gnu/build/linux-modules.scm (modinfo-section-contents): Use
'call-with-gzip-input-port' to read from a module file using '.gz' extension,
(strip-extension): new procedure,
(dot-ko): adapt to support compression,
(ensure-dot-ko): ditto,
(file-name->module-name): ditto,
(find-module-file): ditto,
(load-linux-module*): ditto,
(module-name->file-name/guess): ditto,
(module-name-lookup): ditto,
(write-module-name-database): ditto,
(write-module-alias-database): ditto,
(write-module-device-database): ditto.
* gnu/installer.scm (installer-program): Add "guile-zlib" to the extensions.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Ditto.
* gnu/services.scm (activation-script): Ditto.
* gnu/services/base.scm (default-serial-port): Ditto,
(agetty-shepherd-service): ditto,
(udev-service-type): ditto.
* gnu/system/image.scm (gcrypt-sqlite3&co): Ditto.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Add "guile-zlib"
to the extensions and make sure that the initrd only contains
uncompressed module files.
* gnu/system/shadow.scm (account-shepherd-service): Add "guile-zlib" to the
extensions.
* guix/profiles.scm (linux-module-database): Ditto.
2020-08-25 11:53:20 +02:00
Nicolas Goaziou
46ef674b34
gnu: emacs-debbugs: Update to 0.26.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.26.
2020-08-25 10:07:55 +02:00
Nicolas Goaziou
7772c46b9e
gnu: emacs-undo-tree: Update to 0.7.5.
* gnu/packages/emacs-xyz.scm (emacs-undo-tree): Update to 0.7.5.
2020-08-25 10:07:46 +02:00
Nicolas Goaziou
c8e03dfcd1
gnu: emacs-sparql-mode: Improve description.
* gnu/packages/emacs-xyz.scm (emacs-sparql-mode): Improve description.
2020-08-25 09:54:47 +02:00
Michael Rohleder
19b8056c50
gnu: emacs-sparql-mode: Update to 4.0.2.
* gnu/packages/emacs-xyz.scm (emacs-sparql-mode): Update to 4.0.2.
[propagated-inputs]: Add emacs-company.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-25 09:52:20 +02:00
Michael Rohleder
ed9142a672
gnu: ruby-jekyll-paginate-v2: Update to 3.0.0.
* gnu/packages/ruby.scm (ruby-jekyll-paginate-v2): Update to 3.0.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-25 09:45:47 +02:00
Michael Rohleder
2f25868ed5
gnu: emacs-restclient: Update to 0-3.ac8aad6.
* gnu/packages/emacs-xyz.scm (emacs-restclient): Update to 0-3.ac8aad6.
[propagated-inputs]: Add emacs-jq-mode.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-25 09:41:36 +02:00
Michael Rohleder
7df90fd56b
gnu: jekyll: Use GFM parser to parse kramdown.
* gnu/packages/ruby.scm (jekyll)[propagated-inputs]: changed kramdown
parser to ruby-kramdown-parser-gfm.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-25 09:30:22 +02:00
Ludovic Courtès
fe42e5f39c
services: unattended-upgrade: Log output of the 'guix' commands.
Fixes <https://bugs.gnu.org/43011>.
Reported by Jesse Gibbons <jgibbons2357@gmail.com>.

Until now the stdout/stderr file descriptors were not redirected.

* gnu/services/admin.scm (unattended-upgrade-mcron-jobs)[code]: Remove
'with-logging' and use 'redirect-port' instead.
2020-08-24 23:23:57 +02:00
Ludovic Courtès
384377632c
system: Validate sudoers file when building the system.
Suggested by pkill9 <pkill9@runbox.com>.

* gnu/system.scm (validated-sudoers-file): New procedure.
(operating-system-etc-service): Use it.
2020-08-24 23:23:57 +02:00
Ludovic Courtès
0d203eeaa6
services: unattended-upgrade: Add 'operating-system-file' field.
* gnu/services/admin.scm (<unattended-upgrade-configuration>)[operating-system-file]:
New field.
(unattended-upgrade-mcron-jobs): Honor it.
* doc/guix.texi (Unattended Upgrades): Document it.
2020-08-24 23:23:57 +02:00
Maxim Cournoyer
54a87b2a0c
offload: Update help string.
* guix/scripts/offload.scm (guix-offload): Update help string.
2020-08-24 16:41:08 -04:00
Michael Rohleder
fd69aa524f
gnu: libvterm: Update to 0.1.4.
* gnu/packages/terminals.scm (libvterm): Update to 0.1.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-24 13:58:27 -04:00
Jakub Kądziołka
7ba7d50f92
guix upgrade: Allow using --do-not-upgrade.
* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of
  options inherited from guix package.
2020-08-24 16:29:07 +02:00
Mathieu Othacehe
c88bccc14e
gnu: guix: Update to 1.1.0-19.0c50d72.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-19.0c50d72.
2020-08-24 16:07:38 +02:00
Mathieu Othacehe
0c50d7231b
gnu: guile-lzlib: Fix cross-compilation.
* gnu/packages/guile.scm (guile-lzlib)[native-inputs]: Add "guile" when
cross-compiling.
2020-08-24 15:02:29 +02:00
Mathieu Othacehe
65777dce0f
gnu: guile-zlib: Fix cross-compilation.
* gnu/packages/guile.scm (guile-zlib)[native-inputs]: Add "guile" when
cross-compiling.
2020-08-24 15:01:38 +02:00
Mathieu Othacehe
4c0c65acfa
Use "guile-zlib" and "guile-lzlib" instead of (guix config).
* Makefile.am (MODULES): Remove guix/zlib.scm and guix/lzlib.scm,
(SCM_TESTS): remove tests/zlib.scm, tests/lzlib.scm.
* build-aux/build-self.scm (make-config.scm): Remove unused %libz variable.
* configure.ac: Remove LIBZ and LIBLZ variables and check instead for
Guile-zlib and Guile-lzlib.
* doc/guix.texi ("Requirements"): Remove zlib requirement and add Guile-zlib
and Guile-lzlib instead.
* gnu/packages/package-management.scm (guix)[native-inputs]: Add "guile-zlib"
and "guile-lzlib",
[inputs]: remove "zlib" and "lzlib",
[propagated-inputs]: ditto,
[arguments]: add "guile-zlib" and "guile-lzlib" to Guile load path.
* guix/config.scm.in (%libz, %liblz): Remove them.
* guix/lzlib.scm: Remove it.
* guix/man-db.scm: Use (zlib) instead of (guix zlib).
* guix/profiles.scm (manual-database): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
* guix/scripts/publish.scm: Use (zlib) instead of (guix zlib) and (lzlib)
instead of (guix lzlib),
(string->compression-type, effective-compression): do not check for zlib and
lzlib availability.
* guix/scripts/substitute.scm (%compression-methods): Do not check for lzlib
availability.
* guix/self.scm (specification->package): Add "guile-zlib" and "guile-lzlib"
and remove "zlib" and "lzlib",
(compiled-guix): remove "zlib" and "lzlib" arguments and add guile-zlib and
guile-lzlib to the dependencies, also do not pass "zlib" and "lzlib" to
"make-config.scm" procedure,
(make-config.scm): remove "zlib" and "lzlib" arguments as well as %libz and
%liblz variables.
* guix/utils.scm (lzip-port): Use (lzlib) instead of (guix lzlib) and do not
check for lzlib availability.
* guix/zlib.scm: Remove it.
* m4/guix.m4 (GUIX_LIBZ_LIBDIR, GUIX_LIBLZ_FILE_NAME): Remove them.
* tests/lzlib.scm: Use (zlib) instead of (guix zlib) and (lzlib)
instead of (guix lzlib), and do not check for zlib and lzlib availability.
* tests/publish.scm: Ditto.
* tests/substitute.scm: Do not check for lzlib availability.
* tests/utils.scm: Ditto.
* tests/zlib.scm: Remove it.
2020-08-24 13:35:24 +02:00