me
/
guix
Archived
1
0
Fork 0
Commit Graph

80512 Commits (4f77288569a072e2b276444364cfc7fbd3ac04ce)

Author SHA1 Message Date
Tobias Geerinckx-Rice 4f77288569
gnu: libesmtp: Update to 1.1.0.
* gnu/packages/mail.scm (libesmtp): Update to 1.1.0.
[native-inputs]: Remove them all again.
2021-06-30 21:34:29 +02:00
Tobias Geerinckx-Rice 9636591edf
gnu: libesmtp: Build from Git sources.
* gnu/packages/mail.scm (libesmtp)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[native-inputs]: Add autoconf, automake, and libtool.
2021-06-30 21:34:29 +02:00
Tobias Geerinckx-Rice 5434f6f893
gnu: verilator: Update to 4.204.
* gnu/packages/fpga.scm (verilator): Update to 4.204.
2021-06-30 21:34:28 +02:00
Tobias Geerinckx-Rice 71cd265419
gnu: benchmark: Update to 1.5.5.
* gnu/packages/benchmark.scm (benchmark): Update to 1.5.5.
2021-06-30 21:34:28 +02:00
Tobias Geerinckx-Rice 73e732fd21
gnu: ghostwriter: Update to 2.0.2.
* gnu/packages/text-editors.scm (ghostwriter): Update to 2.0.2.
2021-06-30 21:34:28 +02:00
Tobias Geerinckx-Rice 5b446c4486
gnu: cbonsai: Update to 1.2.1.
* gnu/packages/toys.scm (cbonsai): Update to 1.2.1.
2021-06-30 21:34:28 +02:00
Tobias Geerinckx-Rice f85ca243c1
gnu: goaccess: Update to 1.5.1.
* gnu/packages/web.scm (goaccess): Update to 1.5.1.
2021-06-30 21:34:28 +02:00
Tobias Geerinckx-Rice 3e29bf169f
gnu: virtuoso-ose: Update to 7.2.6.
* gnu/packages/databases.scm (virtuoso-ose): Update to 7.2.6.
[source]: Get it from SourceForge.
[inputs]: Use the default OpenSSL version.
2021-06-30 21:34:28 +02:00
Tobias Geerinckx-Rice 7857c54408
gnu: duplicity: Update to 0.8.20.
* gnu/packages/backup.scm (duplicity): Update to 0.8.20.
2021-06-30 21:34:27 +02:00
Tobias Geerinckx-Rice e2d230c7b2
gnu: epson-inkjet-printer-escpr: Update to 1.7.12.
* gnu/packages/cups.scm (epson-inkjet-printer-escpr): Update to 1.7.12.
2021-06-30 21:34:27 +02:00
Tobias Geerinckx-Rice 2091202e0f
gnu: Add corefreq.
* gnu/packages/linux.scm (corefreq): New public variable.
2021-06-30 21:34:27 +02:00
Tobias Geerinckx-Rice 49dc5bb7d2
gnu: libpcap: Omit static library.
* gnu/packages/admin.scm (libpcap)[arguments]: Add a new 'omit-static-library phase.
2021-06-30 21:34:27 +02:00
Tobias Geerinckx-Rice 3e908bb509
gnu: libpcap: Update to 1.10.1.
* gnu/packages/admin.scm (libpcap): Update to 1.10.1.
2021-06-30 21:34:27 +02:00
Tobias Geerinckx-Rice 2db86250a7
gnu: i7z: Restrict to x86_64 systems.
* gnu/packages/hardware.scm (i7z)[supported-systems]:
Set to x86_64-linux.
2021-06-30 21:34:27 +02:00
Tobias Geerinckx-Rice 6f13881f1e
installer: Offer the CUPS printing service.
* gnu/installer/services.scm (%system-services): Add CUPS.
* gnu/installer/newt/services.scm (run-other-services-cbt-page):
New procedure.
(run-services-page): Call it last.
2021-06-30 21:34:26 +02:00
Tobias Geerinckx-Rice 14298cd301
gnu: vmpk: Update to 0.8.4.
* gnu/packages/music.scm (vmpk): Update to 0.8.4.
2021-06-30 21:34:26 +02:00
Tobias Geerinckx-Rice 7b5d05d282
gnu: drumstick: Update to 2.3.0.
* gnu/packages/music.scm (drumstick): Update to 2.3.0.
2021-06-30 21:34:26 +02:00
Hartmut Goebel 364db4fdf6
doc: Add a note and warning regarding the usage of deb packs.
* doc/guix.texi (Invoking guix pack): Move to the end of the table, and add a
note and warning regarding the usage of deb packs.
2021-06-30 14:43:36 -04:00
Efraim Flashner b7d70aeb0b
gnu: tor: Update to 0.4.6.6.
* gnu/packages/tor.scm (tor): Update to 0.4.6.6.
[source]: Remove patch.
* gnu/packages/patches/tor-fix-build-with-gcc-7.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-06-30 20:02:32 +03:00
Pierre Neidhardt e8e1dd2439
gnu: sbcl: Update to 2.1.6.
* gnu/packages/lisp.scm (sbcl): Update to 2.1.6.
2021-06-30 18:42:00 +02:00
Pierre Neidhardt f44b1f76a9
gnu: sbcl-static-vectors: Update to 1.8.9.
* gnu/packages/lisp-xyz.scm (sbcl-static-vectors): Update to 1.8.9.
2021-06-30 18:41:55 +02:00
Pierre Neidhardt 005730ea50
gnu: sbcl-cffi: Update to 0.24.1.
* gnu/packages/lisp-xyz.scm (sbcl-cffi): Update to 0.24.1.
2021-06-30 18:41:49 +02:00
Florian Pelz 20dfda3d9e
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix pack --format=deb' entry.
2021-06-30 16:02:29 +02:00
Kei Kebreau 6f5b264868
.guix-authorizations: Remove kkebreau.
* .guix-authorizations: Remove kkebreau from the committers.
2021-06-30 09:41:26 -04:00
Maxime Devos 5532371a3a
lint: Verify if #:tests? is respected in the 'check' phase.
There have been a few patches to the mailing list lately
not respecting this, and this linter detects 630 package
definitions that could be modified to support the --without-tests
package transformation.

* guix/lint.scm
  (check-optional-tests): New linter.
  (%local-checkers)[optional-tests]: Add it.
* tests/lint.scm
  (package-with-phase-changes): New procedure.
  ("optional-tests: no check phase")
  ("optional-tests: check hase respects #:tests?")
  ("optional-tests: check phase ignores #:tests?")
  ("optional-tests: do not crash when #:phases is invalid")
  ("optional-tests: allow G-exps (no warning)")
  ("optional-tests: allow G-exps (warning)")
  ("optional-tests: complicated 'check' phase")
  ("optional-tests: 'check' phase is not first phase"): New tests.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-30 13:53:00 +02:00
Maxime Devos d9e0ae07db
guix: gexp: Define gexp->approximate-sexp.
It will be used in the 'optional-tests' linter.

* guix/gexp.scm (gexp->approximate-sexp): New procedure.
* tests/gexp.scm
  ("no references", "unquoted gexp", "unquoted gexp (native)")
  ("spliced gexp", "unspliced gexp, approximated")
  ("unquoted gexp, approximated"): Test it.
* doc/gexp.scm ("G-Expressions"): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-30 13:53:00 +02:00
Pierre Neidhardt ebf07a06f0
gnu: nyxt: Update to 2.1.1.
* gnu/packages/web-browsers.scm (nyxt): Update to 2.1.1.
2021-06-30 12:55:47 +02:00
Lars-Dominik Braun 33b54ef2a5
gnu: python-k5test: Apply unreleased upstream fix.
* gnu/packages/python-xyz.scm (python-k5test) [arguments]<#:phases>:
Rename phase to reflect what it actually does, add another substitute*
expression.
2021-06-30 10:18:51 +02:00
Danial Behzadi 387b66b643
gnu: Add tractor.
* gnu/packages/tor.scm (tractor): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-30 09:56:30 +02:00
Xinglu Chen 1fef9a4427
gnu: notmuch: Update to 0.32.2.
* gnu/packages/mail.scm (notmuch): Update to 0.32.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-30 09:51:30 +02:00
cage e3ba4e97b0
gnu: telescope: Update to 0.3.
* gnu/packages/web-browsers.scm (telescope): Update to 0.3.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-30 09:48:52 +02:00
Nicolas Goaziou 8269d82868
gnu: emacs-rime: Update to 1.0.5.
* gnu/packages/emacs-xyz.scm (emacs-rime): Update to 1.0.5.
2021-06-30 00:35:56 +02:00
Nicolas Goaziou d0aadf86ef
gnu: emacs-ebdb: Update to 0.6.24.
* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.6.24.
2021-06-30 00:12:50 +02:00
Nicolas Goaziou 3a8067b009
gnu: emacs-tramp: Update to 2.5.1.
* gnu/packages/emacs-xyz.scm (emacs-tramp): Update to 2.5.1.
2021-06-30 00:12:35 +02:00
Maxim Cournoyer 6396f0c235
news: Add entry for the new 'deb' guix pack format.
* etc/news.scm: Add entry.
2021-06-29 15:01:10 -04:00
Maxim Cournoyer 82daab4281
pack: Add support for the deb format.
* .dir-locals.el (scheme-mode)[gexp->derivation]: Define indentation rule.
* guix/scripts/pack.scm (debian-archive): New procedure.
(%formats): Register the new deb format.
(show-formats): Add it to the usage string.
* tests/pack.scm (%ar-bootstrap): New variable.
(deb archive with symlinks): New test.
* doc/guix.texi (Invoking guix pack): Document it.
* NEWS: Add news entry.
2021-06-29 14:53:21 -04:00
Maxim Cournoyer 8108c266dc
tests: pack: Fix compressor extension.
* tests/pack.scm (%gzip-compressor): Add the missing leading period to the
gzip compressor file extension.
2021-06-29 14:53:21 -04:00
Maxim Cournoyer 4f3bdc8f21
pack: Prevent duplicate files in tar archives.
Tar translate duplicate files in the archive into hard links.  These can cause
problems, as not every tool support them; for example dpkg doesn't.

* gnu/system/file-systems.scm (reduce-directories): New procedure.
(file-prefix?): Lift the restriction on file prefix.  The procedure can be
useful for comparing relative file names.  Adjust doc.
(file-name-depth): New procedure, extracted from ...
(btrfs-store-subvolume-file-name): ... here.
* guix/scripts/pack.scm (self-contained-tarball/builder): Use
reduce-directories.
* tests/file-systems.scm ("reduce-directories"): New test.
2021-06-29 14:53:21 -04:00
Maxim Cournoyer 6b0e55cde9
pack: Improve naming of the packs store file names.
Instead of just naming them by their pack type, add information from the
package(s) they contain to make it easier to differentiate them.

* guix/scripts/pack.scm (define-with-source): New macro.
(manifest->friendly-name): Extract procedure from ...
(docker-image): ... here, now defined via the above macro.  Adjust REPOSITORY
argument value accordingly.
(guix-pack): Derive NAME using MANIFEST->FRIENDLY-NAME.
2021-06-29 14:53:21 -04:00
Maxim Cournoyer f72aa3834b
pack: Fix typo.
* guix/scripts/pack.scm (self-contained-tarball/builder): Fix typo.
2021-06-29 14:53:21 -04:00
Maxim Cournoyer 7708c0b5e3
pack: Factorize base tar options.
* guix/docker.scm (%tar-determinism-options): Move to a new module and rename
to `tar-base-options'.  Adjust references accordingly.
* guix/build/pack.scm: New file.
* Makefile.am (MODULES): Register it.
* guix/scripts/pack.scm (self-contained-tarball/builder): Use it.
2021-06-29 14:53:21 -04:00
Maxim Cournoyer 91e8372838
pack: Extract builder code from self-contained-tarball.
This is made to allow reusing it for the debian-archive pack format, added in
a subsequent commit.

* guix/scripts/pack.scm (self-contained-tarball/builder): New procedure,
containing the build code extracted from self-contained-tarball.
(self-contained-tarball): Use the above procedure.
2021-06-29 14:53:20 -04:00
Mathieu Othacehe e2ff126588
installer: Fix crash when deleting a free space partition.
Fixes: <https://issues.guix.gnu.org/49126>.

* gnu/installer/newt/partition.scm (run-disk-page): Fix the return value when
removing a free space partition.
2021-06-29 20:44:23 +02:00
Maxime Devos 5ef96ecaae
weather: Handle zero requested store items gracefully.
This can happen if the weather information of a package
is requested for an unsupported system.  For example,
try "guix weather icecat --system=aarch64-linux".

* guix/scripts/weather.scm
  (report-server-coverage): Do not divide by zero when zero
  store items are requested from a server.

Fixes: <https://issues.guix.gnu.org/49263>
Reported-By: Jack Hill <jackhill@jackhill.us>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-29 20:11:56 +02:00
luhui fda0959a14
services: kmscon: Add keyboard-layout fields.
* gnu/services/base.scm (<kmscon-configuration>): Add keyboard-layout fields.
* doc/guix.texi (Base Services): Document them.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-29 19:01:25 +02:00
Thorsten Wilms 5ed105a8bb
gnu: Update caps-plugins-lv2.
* gnu/packages/audio.scm (caps-plugins-lv2): Update, since pull-request
has been merged, aside of other updates.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-29 12:37:33 +02:00
Xinglu Chen 2ad896751c
services: configuration: Allow specifying prefix for serializer names.
Sometimes two configurations might have the same types for their field values,
but the values might be serialized in two completely different
ways (e.g. because the two programs have different configuration languages).

An example of this would be the ‘serialize-boolean’ procedure in (gnu services
mail) and (gnu services getmail).  They both serialize a boolean value, but
because the Dovecot’s configuration language has a different syntax to the
configuration language for Getmail, two different procedures have to be
defined.

One way to workaround this would be to specify custom serializers for many
fields in order to separate the serialization of the values that have the same
type but serialize in different ways.  This could get very tedious, especially
if there are many configurations in the same module.

Another way would be to move one of the configurations to its own module, like
what was done with (gnu services getmail).  However, this would mean that
there would be multiple modules containing configurations for related
programs, e.g. we have (gnu services mail) and (gnu services getmail), it
doesn’t make much sense to keep the Getmail configuration in its own module.

This patch will allow one to write something like this:

  (define-configuration foo-configuration
    (bar
      (string "bob")
      "Option bar.")
    (prefix bar-))

and the value of the ‘bar’ field would be serialized using a procedure named
‘bar-serialize-string’ instead of just ‘serialize-string’.

* gnu/services/configuration.scm (define-maybe-helper): Accept ‘prefix’
argument for using serializer with custom prefix.
(define-maybe): Pattern match on ‘prefix’ literal.
(define-configuration-helper): Accept ‘prefix’ argument for using serializer
with custom prefix.
(define-configuration): Pattern match on ‘prefix’ literal.
* tests/services/configuration.scm ("serialize-configuration with prefix"):
New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-29 12:37:33 +02:00
zimoun 5d47f30e93
gnu: python2-wsgiproxy2: Remove package.
* gnu/packages/python-web.scm (python2-wsgiproxy2): Remove variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-29 12:37:33 +02:00
zimoun 1f2ea75aed
gnu: python2-sqlparse: Remove package.
* gnu/packages/databases.scm (python2-sqlparse): Remove variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-29 12:37:33 +02:00
zimoun 87b872d5c5
gnu: python2-scripttest: Remove package.
* gnu/packages/check.scm (python2-scripttest): Remove variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-29 12:37:32 +02:00