summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* .guix-authorizations: Remove kkebreau.Kei Kebreau2021-06-30
| | | | * .guix-authorizations: Remove kkebreau from the committers.
* lint: Verify if #:tests? is respected in the 'check' phase.Maxime Devos2021-06-30
| | | | | | | | | | | | | | | | | | | | | | | 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>
* guix: gexp: Define gexp->approximate-sexp.Maxime Devos2021-06-30
| | | | | | | | | | | | | 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>
* gnu: nyxt: Update to 2.1.1.Pierre Neidhardt2021-06-30
| | | | * gnu/packages/web-browsers.scm (nyxt): Update to 2.1.1.
* gnu: python-k5test: Apply unreleased upstream fix.Lars-Dominik Braun2021-06-30
| | | | | | * gnu/packages/python-xyz.scm (python-k5test) [arguments]<#:phases>: Rename phase to reflect what it actually does, add another substitute* expression.
* gnu: Add tractor.Danial Behzadi2021-06-30
| | | | | | * gnu/packages/tor.scm (tractor): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu: notmuch: Update to 0.32.2.Xinglu Chen2021-06-30
| | | | | | * gnu/packages/mail.scm (notmuch): Update to 0.32.2. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu: telescope: Update to 0.3.cage2021-06-30
| | | | | | * gnu/packages/web-browsers.scm (telescope): Update to 0.3. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu: emacs-rime: Update to 1.0.5.Nicolas Goaziou2021-06-30
| | | | * gnu/packages/emacs-xyz.scm (emacs-rime): Update to 1.0.5.
* gnu: emacs-ebdb: Update to 0.6.24.Nicolas Goaziou2021-06-30
| | | | * gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.6.24.
* gnu: emacs-tramp: Update to 2.5.1.Nicolas Goaziou2021-06-30
| | | | * gnu/packages/emacs-xyz.scm (emacs-tramp): Update to 2.5.1.
* news: Add entry for the new 'deb' guix pack format.Maxim Cournoyer2021-06-29
| | | | * etc/news.scm: Add entry.
* pack: Add support for the deb format.Maxim Cournoyer2021-06-29
| | | | | | | | | | | * .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.
* tests: pack: Fix compressor extension.Maxim Cournoyer2021-06-29
| | | | | * tests/pack.scm (%gzip-compressor): Add the missing leading period to the gzip compressor file extension.
* pack: Prevent duplicate files in tar archives.Maxim Cournoyer2021-06-29
| | | | | | | | | | | | | | 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.
* pack: Improve naming of the packs store file names.Maxim Cournoyer2021-06-29
| | | | | | | | | | | 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.
* pack: Fix typo.Maxim Cournoyer2021-06-29
| | | | * guix/scripts/pack.scm (self-contained-tarball/builder): Fix typo.
* pack: Factorize base tar options.Maxim Cournoyer2021-06-29
| | | | | | | | * 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.
* pack: Extract builder code from self-contained-tarball.Maxim Cournoyer2021-06-29
| | | | | | | | | 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.
* installer: Fix crash when deleting a free space partition.Mathieu Othacehe2021-06-29
| | | | | | | 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.
* weather: Handle zero requested store items gracefully.Maxime Devos2021-06-29
| | | | | | | | | | | | | | 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>
* services: kmscon: Add keyboard-layout fields.luhui2021-06-29
| | | | | | | * 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>
* gnu: Update caps-plugins-lv2.Thorsten Wilms2021-06-29
| | | | | | | * 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>
* services: configuration: Allow specifying prefix for serializer names.Xinglu Chen2021-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* gnu: python2-wsgiproxy2: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-web.scm (python2-wsgiproxy2): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-sqlparse: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/databases.scm (python2-sqlparse): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-scripttest: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/check.scm (python2-scripttest): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-plotly: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/graph.scm (python2-plotly): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-rpython: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-xyz.scm (python2-rpython): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-roca-detect: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-crypto.scm (python2-roca-detect): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-mapnik: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/geo.scm (python2-mapnik): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-libadalang: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/ada.scm (python2-libadalang): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-larch: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-xyz.scm (python2-larch): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: scotch: Update to 6.1.1.Ludovic Courtès2021-06-29
| | | | | | | | * gnu/packages/maths.scm (scotch): Update to 6.1.1. [native-inputs]: Add GFORTRAN. [arguments]: Set 'FC' in 'Makefile.in'. (scotch32)[arguments]: Likewise. (scotch-shared)[arguments]: Likewise.
* gnu: Add r-cistopic-next.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/bioconductor.scm (r-cistopic-next): New variable.
* gnu: Add r-text2vec.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-text2vec): New variable.
* gnu: Add r-rsparse.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-rsparse): New variable.
* gnu: Add r-float.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-float): New variable.
* gnu: Add r-mlapi.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-mlapi): New variable.
* gnu: Add pcl.David Dashyan2021-06-29
| | | | | | * gnu/packages/c.scm (pcl): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: hunspell-dictionary: Update to 7.1.4.2.Giacomo Leidi2021-06-29
| | | | | | * gnu/packages/hunspell.scm (hunspell-dict-it-it): Update to 7.1.4.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* Really revert commit a8b705252bdcb642999258859ada1c2f43706092.Tobias Geerinckx-Rice2021-06-29
| | | | I give up.
* gnu: egl-wayland: Update to 1.1.7.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/graphics.scm (egl-wayland): Update to 1.1.7.
* gnu: remind: Update to 3.3.7.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/calendar.scm (remind): Update to 3.3.7.
* gnu: libavif: Update to 0.9.2.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/image.scm (libavif): Update to 0.9.2.
* gnu: erofs-utils: Edit description.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/linux.scm (erofs-utils)[synopsis]: Add missing article. [description]: Mark up.
* gnu: erofs-utils: Update to 1.3.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/linux.scm (erofs-utils): Update to 1.3.
* gnu: powerstat: Update to 0.02.26.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/linux.scm (powerstat): Update to 0.02.26. [arguments]: Remove obsolete 'respect-$prefix phase.
* gnu: man-pages: Update to 5.12.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/man.scm (man-pages): Update to 5.12. [arguments]: Follow switch to standard ‘mandir’ over ‘MANDIR’. \o/
* gnu: photoflare: Update to 1.6.9.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/photo.scm (photoflare): Update to 1.6.9.