summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-25linux-libre: Support module compression.Mathieu Othacehe
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-25gnu: emacs-debbugs: Update to 0.26.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.26.
2020-08-25gnu: emacs-undo-tree: Update to 0.7.5.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-undo-tree): Update to 0.7.5.
2020-08-25gnu: emacs-sparql-mode: Improve description.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-sparql-mode): Improve description.
2020-08-25gnu: emacs-sparql-mode: Update to 4.0.2.Michael Rohleder
* 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-25gnu: ruby-jekyll-paginate-v2: Update to 3.0.0.Michael Rohleder
* gnu/packages/ruby.scm (ruby-jekyll-paginate-v2): Update to 3.0.0. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-25gnu: emacs-restclient: Update to 0-3.ac8aad6.Michael Rohleder
* 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-25gnu: jekyll: Use GFM parser to parse kramdown.Michael Rohleder
* 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-24services: unattended-upgrade: Log output of the 'guix' commands.Ludovic Courtès
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-24system: Validate sudoers file when building the system.Ludovic Courtès
Suggested by pkill9 <pkill9@runbox.com>. * gnu/system.scm (validated-sudoers-file): New procedure. (operating-system-etc-service): Use it.
2020-08-24services: unattended-upgrade: Add 'operating-system-file' field.Ludovic Courtès
* 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-24offload: Update help string.Maxim Cournoyer
* guix/scripts/offload.scm (guix-offload): Update help string.
2020-08-24gnu: libvterm: Update to 0.1.4.Michael Rohleder
* gnu/packages/terminals.scm (libvterm): Update to 0.1.4. Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-24guix upgrade: Allow using --do-not-upgrade.Jakub Kądziołka
* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of options inherited from guix package.
2020-08-24gnu: guix: Update to 1.1.0-19.0c50d72.Mathieu Othacehe
* gnu/packages/package-management.scm (guix): Update to 1.1.0-19.0c50d72.
2020-08-24gnu: guile-lzlib: Fix cross-compilation.Mathieu Othacehe
* gnu/packages/guile.scm (guile-lzlib)[native-inputs]: Add "guile" when cross-compiling.
2020-08-24gnu: guile-zlib: Fix cross-compilation.Mathieu Othacehe
* gnu/packages/guile.scm (guile-zlib)[native-inputs]: Add "guile" when cross-compiling.
2020-08-24Use "guile-zlib" and "guile-lzlib" instead of (guix config).Mathieu Othacehe
* 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-24gnu: nano: Update to 5.2.Tobias Geerinckx-Rice
* gnu/packages/nano.scm (nano): Update to 5.2.
2020-08-24gnu: python-trytond-party: Update to 5.6.0.Vinicius Monego
* gnu/packages/tryton.scm (python-trytond-party): Update to 5.6.0. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24gnu: python-trytond-country: Update to 5.6.0.Vinicius Monego
* gnu/packages/tryton.scm (python-trytond-country): Update to 5.6.0. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24gnu: python-proteus: Update to 5.6.0.Vinicius Monego
* gnu/packages/tryton.scm (python-proteus): Update to 5.6.0. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24gnu: python-trytond: Update to 5.6.5.Vinicius Monego
* gnu/packages/tryton.scm (python-trytond): Update to 5.6.5. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24gnu: tryton: Update to 5.6.3.Vinicius Monego
* gnu/packages/tryton.scm (tryton): Update to 5.6.3. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24gnu: Add emacs-jq-mode.Michael Rohleder
* gnu/packages/emacs-xyz.scm (emacs-jq-mode): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-24gnu: Add ruby-kramdown-parser-gfm.Michael Rohleder
* gnu/packages/ruby.scm (ruby-kramdown-parser-gfm): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-24tests: Add a debug output to "fold-available-packages with/without cache".Mathieu Othacehe
This should help to debug test failures due to duplicated packages. * tests/packages ("fold-available-packages with/without cache"): Print duplicated packages.
2020-08-24gnu: Remove duplicated linux-libre-arm64-generic-5.8.Mathieu Othacehe
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-24gnu: scroll: Fix build.Efraim Flashner
* gnu/packages/haskell-apps.scm (scroll)[arguments]: Add custom phase to add a place-holder file to the static output.
2020-08-24Use guile-zlib extension in build-side code.Mathieu Othacehe
* 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-24gnu: dovecot: Enable FTS stemming.Tobias Geerinckx-Rice
* gnu/packages/mail.scm (dovecot)[inputs]: Add libstemmer.
2020-08-24gnu: python-parted: Update to 3.11.6.Tobias Geerinckx-Rice
* gnu/packages/disk.scm (python-parted): Update to 3.11.6. (python2-parted): Drop unsupported Python 2 variant.
2020-08-24gnu: bind: Note that isc-dhcp bundles a BIND.Tobias Geerinckx-Rice
This follows up on commit dad963a4393ea51409baa63817b26b449ed58338. * gnu/packages/admin.scm (isc-bind): Comment.
2020-08-24gnu: xterm: Update to 359.Tobias Geerinckx-Rice
* gnu/packages/xorg.scm (xterm): Update to 359.
2020-08-24gnu: evisum: Update to 0.5.3.Tobias Geerinckx-Rice
* gnu/packages/enlightenment.scm (evisum): Update to 0.5.3.
2020-08-24gnu: xapian: Update to 1.4.17.Tobias Geerinckx-Rice
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.17.
2020-08-24gnu: electrum: Fix share/ location.Tobias Geerinckx-Rice
* gnu/packages/finance.scm (electrum)[arguments]: Rename the ‘patch-home’ phase to ‘fix-prefix’. Do so.
2020-08-24gnu: electron-cash: Fix share/ location.Tobias Geerinckx-Rice
* 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-24gnu: electron-cash: Return #t from phases.Tobias Geerinckx-Rice
* gnu/packages/finance.scm (electron-cash)[arguments]: Return truth from all phases.
2020-08-24gnu: electrum: Return #t from phases.Tobias Geerinckx-Rice
* gnu/packages/finance.scm (electrum)[arguments]: Return truth from ‘patch-home’.
2020-08-24gnu: wireguard-tools: Cross-compile.Tobias Geerinckx-Rice
* gnu/packages/vpn.scm (wireguard-tools)[arguments]: Use CC-FOR-TARGET.
2020-08-24gnu: wireguard-tools: Update to 1.0.20200820.Tobias Geerinckx-Rice
* gnu/packages/vpn.scm (wireguard-tools): Update to 1.0.20200820.
2020-08-23gnu: ebook.scm: Remove duplicate module import.Brendan Tildesley
Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-23gnu: Added guile-srfi-145.Martin Becze
* gnu/packages/guile-xyz.scm (guile-srfi-145): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-24gnu: dovecot: Add lucene library to support fts indexing.Alexey Abramov
* gnu/packages/mail.scm (dovecot)[inputs]: Add ice4c, clucene. [arguments]: Add --with-lucene configuration switch. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-08-23gnu: Add akku.Martin Becze
* gnu/packages/package-management.scm (akku): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-23lint: formatting: Gracefully handle relative file names.Ludovic Courtès
Fixes <https://bugs.gnu.org/42543>. Reported by Jack Hill <jackhill@jackhill.us>. * guix/lint.scm (check-formatting): Always return a list (previously we would return #f when 'search-path' returns #f). Check whether LOCATION's file is a relative file name. Return a warning if not. * tests/guix-lint.sh: Add test.
2020-08-23lint: Avoid calls to 'package-field-location' with #f as the field.Ludovic Courtès
* guix/lint.scm (%make-warning): Call 'package-field-location' only when FIELD is true.
2020-08-23gnu: emacs-bash-completion: Update to 3.1.0.Oleg Pykhalov
* gnu/packages/emacs-xyz.scm (emacs-bash-completion): Update to 3.1.0.
2020-08-23gnu: sane-backends-minimal: Update to 1.0.31.Tobias Geerinckx-Rice
* gnu/packages/scanner.scm (sane-backends-minimal): Update to 1.0.31. [inputs]: Add libxml2.