Commit graph

65632 commits

Author SHA1 Message Date
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
Tobias Geerinckx-Rice
5abbf435fc
gnu: nano: Update to 5.2.
* gnu/packages/nano.scm (nano): Update to 5.2.
2020-08-24 13:28:22 +02:00
Vinicius Monego
cb4ebb7f04
gnu: python-trytond-party: Update to 5.6.0.
* gnu/packages/tryton.scm (python-trytond-party): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:24:08 +02:00
Vinicius Monego
106dd72bc5
gnu: python-trytond-country: Update to 5.6.0.
* gnu/packages/tryton.scm (python-trytond-country): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:23:53 +02:00
Vinicius Monego
a5bdb72d69
gnu: python-proteus: Update to 5.6.0.
* gnu/packages/tryton.scm (python-proteus): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:22:57 +02:00
Vinicius Monego
d649704ebc
gnu: python-trytond: Update to 5.6.5.
* gnu/packages/tryton.scm (python-trytond): Update to 5.6.5.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:22:57 +02:00
Vinicius Monego
6de7e59f8b
gnu: tryton: Update to 5.6.3.
* gnu/packages/tryton.scm (tryton): Update to 5.6.3.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:22:55 +02:00
Michael Rohleder
cafde61d81
gnu: Add emacs-jq-mode.
* gnu/packages/emacs-xyz.scm (emacs-jq-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-24 12:42:35 +02:00
Michael Rohleder
e1cab74a0b
gnu: Add ruby-kramdown-parser-gfm.
* gnu/packages/ruby.scm (ruby-kramdown-parser-gfm): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-24 12:38:48 +02:00
Mathieu Othacehe
afc3cd84d1
tests: Add a debug output to "fold-available-packages with/without cache".
This should help to debug test failures due to duplicated packages.

* tests/packages ("fold-available-packages with/without cache"): Print
duplicated packages.
2020-08-24 11:54:30 +02:00
Mathieu Othacehe
2f2dbde921
gnu: Remove duplicated linux-libre-arm64-generic-5.8.
This fixes a test failure in "fold-available-packages with/without cache".

* gnu/packages/linux.scm (linux-libre-arm64-generic-5.8): Remove it as it
duplicates linux-libre-arm64-generic.
2020-08-24 11:54:30 +02:00
Efraim Flashner
7bcc8004b1
gnu: scroll: Fix build.
* gnu/packages/haskell-apps.scm (scroll)[arguments]: Add custom phase to
add a place-holder file to the static output.
2020-08-24 12:03:29 +03:00
Mathieu Othacehe
e9f8a7e215
Use guile-zlib extension in build-side code.
* Makefile.am (MODULES): Move guix/build/download-nar.scm to ...
(MODULES_NOT_COMPILED): ... here.
* guix/build/download-nar.scm: Use (zlib) instead of (guix zlib).
* guix/cvs-download.scm (cvs-fetch): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
* guix/git-download.scm (git-fetch): Ditto.
* guix/hg-download.scm (hg-fetch): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
2020-08-24 10:41:06 +02:00
Tobias Geerinckx-Rice
c6872990b5
gnu: dovecot: Enable FTS stemming.
* gnu/packages/mail.scm (dovecot)[inputs]: Add libstemmer.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
cc82816416
gnu: python-parted: Update to 3.11.6.
* gnu/packages/disk.scm (python-parted): Update to 3.11.6.
(python2-parted): Drop unsupported Python 2 variant.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
56b4a1d53f
gnu: bind: Note that isc-dhcp bundles a BIND.
This follows up on commit dad963a439.

* gnu/packages/admin.scm (isc-bind): Comment.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
e5d9a7d405
gnu: xterm: Update to 359.
* gnu/packages/xorg.scm (xterm): Update to 359.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
747873e81b
gnu: evisum: Update to 0.5.3.
* gnu/packages/enlightenment.scm (evisum): Update to 0.5.3.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
5e9e232c84
gnu: xapian: Update to 1.4.17.
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to
1.4.17.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
a2765029c2
gnu: electrum: Fix share/ location.
* gnu/packages/finance.scm (electrum)[arguments]: Rename the ‘patch-home’
phase to ‘fix-prefix’.  Do so.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
44da87334d
gnu: electron-cash: Fix share/ location.
* gnu/packages/finance.scm (electron-cash)[arguments]: Drop bogus
‘local/share’ subdirectory: rename ‘patch-home’ to
‘create-output-directories’ and adjust body to match.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
110888f85f
gnu: electron-cash: Return #t from phases.
* gnu/packages/finance.scm (electron-cash)[arguments]: Return truth from
all phases.
2020-08-24 04:36:51 +02:00