aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* read-print: Read and render vertical space.Ludovic Courtès2022-08-08
| | | | | | | | | | | | | | | | | * guix/read-print.scm (<vertical-space>, vertical-space?) (vertical-space, vertical-space-height): New variables. (combine-vertical-space, canonicalize-vertical-space) (read-vertical-space): New procedures. (read-with-comments): Use it in the #\newline case. (pretty-print-with-comments): Add #:format-vertical-space and honor it. Add case for 'vertical-space?'. * guix/scripts/style.scm (format-package-definition): Pass #:format-vertical-space to 'object->string*'. * tests/read-print.scm ("read-with-comments: list with blank line") ("read-with-comments: list with multiple blank lines") ("read-with-comments: top-level blank lines") ("pretty-print-with-comments, canonicalize-vertical-space"): New tests. Add a couple of additional round-trip tests.
* style: Adjust test to not emit blank lines.Ludovic Courtès2022-08-08
| | | | | | | | | Previously this test would produce a file containing blank lines between inputs. * tests/style.scm ("input labels, modify-inputs and margin comment"): Remove trailing newlines in replacement strings of 'substitute*' expression.
* read-print: Introduce <blank> parent class of <comment>.Ludovic Courtès2022-08-08
| | | | | | | | | * guix/read-print.scm (<blank>, blank?): New record type. (<comment>): Redefine using the record interface. (read-with-comments, pretty-print-with-comments): Change some uses of 'comment?' to 'blank?'. * guix/scripts/style.scm (simplify-inputs)[simplify-expressions]: Use 'blank?' instead of 'comment?'.
* read-print: Expose comment constructor.Ludovic Courtès2022-08-08
| | | | | | | | * guix/read-print.scm (<comment>): Rename constructor to 'string->comment'. (comment): New procedure. (read-with-comments, canonicalize-comment): Use 'string->comment' instead of 'comment'.
* read-print: Add System and Home special forms.Ludovic Courtès2022-08-08
| | | | | * guix/read-print.scm (%special-forms): Add System and Home forms. (%newline-forms): Add 'services'.
* style: Move reader and printer to (guix read-print).Ludovic Courtès2022-08-08
| | | | | | | | | | | | | | * guix/scripts/style.scm (<comment>, read-with-comments) (vhashq, %special-forms, %newline-forms, prefix?) (special-form-lead, newline-form?, escaped-string) (string-width, canonicalize-comment, pretty-print-with-comments) (object->string*): Move to... * guix/read-print.scm: ... here. New file. * guix/scripts/import.scm: Adjust accordingly. * tests/style.scm: Move 'test-pretty-print' and tests to... * tests/read-print.scm: ... here. New file. * Makefile.am (MODULES): Add 'guix/read-print.scm'. (SCM_TESTS): Add 'tests/read-print.scm'.
* gnu: go-gitlab.com-shackra-goimapnotify: Update to 2.3.7.Morgan Smith2022-08-08
| | | | | | * gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify): Update to 2.3.7. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* lint: Add '-e'.Ludovic Courtès2022-08-08
| | | | | | | * guix/scripts/lint.scm (show-help, %options): Add '-e'. (guix-lint): Call 'specification->package' while traversing OPTS. Add case for 'expression pair. Adjust 'for-each' loop to expect packages. * doc/guix.texi (Invoking guix lint): Document it.
* gnu: guile-newt: Update to 0.0.3.Mathieu Othacehe2022-08-08
| | | | | | | Fixes: <https://issues.guix.gnu.org/57037>. * gnu/packages/guile-xyz.scm (guile-newt): Update to 0.0.3. [native-inputs]: Add guile-3.0 that is required when cross-compiling.
* gnu: cool-retro-term: Fix build and runtime errors.宋文武2022-08-08
| | | | | | | | This fixes <https://issues.guix.gnu.org/57049>. * gnu/packages/terminals.scm (cool-retro-term) [inputs]: Add qtquickcontrols-5. [arguments]: Fix 'QML2_IMPORT_PATH'.
* gnu: chatty: Update to 0.6.7.Marius Bakke2022-08-08
| | | | | | | | * gnu/packages/messaging.scm (chatty): Update to 0.6.7. [source]: Fetch git submodules too. [arguments]: Add pre-check phase. [native-inputs]: Add XORG-SERVER-FOR-TESTS. [inputs]: Add GNOME-DESKTOP.
* gnu: postorius: Update to 1.3.6.Marius Bakke2022-08-08
| | | | | * gnu/packages/mail.scm (postorius): Update to 1.3.6. [inputs]: Change from PYTHON-DJANGO-2.2 to PYTHON-DJANGO.
* gnu: python-django@3.2: Update to 3.2.15 [fixes CVE-2022-36359].Marius Bakke2022-08-08
| | | | * gnu/packages/django.scm (python-django-3.2): Update to 3.2.15.
* gnu: python-django: Update to 4.0.7 [fixes CVE-2022-36359].Marius Bakke2022-08-08
| | | | * gnu/packages/django.scm (python-django-4.0): Update to 4.0.7.
* gnu: tiled: Fix build.宋文武2022-08-08
| | | | | | | Fixes <https://issues.guix.gnu.org/57048>. * gnu/packages/game-development.scm (tiled)[arguments]: Use 'search-input-file' to locate 'lrelease'.
* gnu: msmtp: Use G-Expressions.Efraim Flashner2022-08-07
| | | | * gnu/packages/mail.scm (msmtp)[arguments]: Rewrite using G-Expressions.
* gnu: msmtp: Don't override defaults when checking for network.Efraim Flashner2022-08-07
| | | | | | | This is no longer needed as the defaults have changed upstream. * gnu/packages/mail.scm (msmtp)[arguments]: Remove substitution to force 'ping' instead of 'netcat' to check for network access.
* gnu: msmtp: Update to 1.8.22.Efraim Flashner2022-08-07
| | | | * gnu/packages/mail.scm (msmtp): Update to 1.8.22.
* gnu: gss: Update to 1.0.4.Efraim Flashner2022-08-07
| | | | * gnu/packages/gsasl.scm (gss): Update to 1.0.4.
* gnu: libtirpc: Fix CVE-2021-46828.Efraim Flashner2022-08-07
| | | | | | | | * gnu/packages/onc-rpc.scm (libtirpc)[replacement]: New field. (libtirpc/fixed): New variable. (libtirpc-hurd)[source]: Add patch. * gnu/packages/patches/libtirpc-CVE-2021-46828.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
* gnu: shishi: Use G-expressions.Efraim Flashner2022-08-07
| | | | | * gnu/packages/kerberos.scm (shishi)[arguments]: Convert to list of G-Expressions.
* gnu: shishi: Build with newer linux-pam.Efraim Flashner2022-08-07
| | | | | | * gnu/packages/kerberos.scm (shishi)[inputs]: Replace linux-pam-1.2 with linux-pam. * gnu/packages/linux.scm (linux-pam-1.2): Remove variable.
* gnu: shishi: Update to 1.0.3.Efraim Flashner2022-08-07
| | | | | | | | * gnu/packages/kerberos.scm (shishi): Update to 1.0.3. [source]: Remove patch. [arguments]: Remove configure flag overriding libgcrypt detection. * gnu/packages/patches/shishi-fix-libgcrypt-detection.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
* gnu: guile-sqlite3: Update to 0.1.3.Olivier Dion2022-08-07
| | | | | | * gnu/packages/guile.scm (guile-sqlite3): Update to 0.1.3. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: newt: Fix cross-compilation.Jean-Pierre De Jesus DIAZ2022-08-07
| | | | | | | | | * gnu/packages/slang.scm (newt): Fix-cross compilation. [arguments]: Use G-Expressions for `#:configure-flags', `#:make-flags' and `#:phases', also set correct path for `python-config'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: gnome-system-monitor: Update to 42.0.Maxim Cournoyer2022-08-06
| | | | * gnu/packages/gnome.scm (gnome-system-monitor): Update to 42.0.
* gnu: Add i3-autotiling.Hilton Chain2022-08-06
| | | | | | | * gnu/packages/python-xyz.scm (i3-autotiling): New variable. Signed-off-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add python-i3ipc.Hilton Chain2022-08-06
| | | | | | * gnu/packages/python-xyz.scm (python-i3ipc): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add emacs-vundo.Hilton Chain2022-08-06
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-vundo): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add wavbreaker.Joeke de Graaf2022-08-06
| | | | | | * gnu/packages/mp3.scm (wavbreaker): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc: Add reference to "Writing Manifests".Ludovic Courtès2022-08-06
| | | | | * doc/guix.texi (Defining Package Variants): Rewrite to "Writing Manifests" rather than the 'profile-manifest' anchor.
* disarchive-manifest: Exclude the Chromium tarball.Ludovic Courtès2022-08-06
| | | | | * etc/disarchive-manifest.scm (disarchive-collection): Exclude "chromium-" tarballs.
* xdg-utils: Support cross-compilation.Maxime Devos2022-08-06
| | | | | | | | | | | | | | | | | | | It has been verified that this does not cause rebuilds when compiling natively. The references graph when cross-compiling has also been verified -- glibc-2.33 and the native bash-static-5.1.8 still remains in the graph, but via the cross-compiled inetutils-2.0, ncurses-6.2.20210619 and via gcc-cross-TARGET-10.3.0-lib, which is not related with Perl cross-compilation. * gnu/packages/freedesktop.scm (xdg-utils)[inputs]{bash-minimal,file}: New inputs when cross-compiling. (xdg-utils)[arguments]<#:phases>{locate-catalog-files}: Add 'native-inputs' argument when cross-compiling. Look for docbook-xml and docbook-xsl in native-inputs when cross-compiling. While we are at it, eliminate input labels with search-input-file. (xdg-utils)[arguments]<#:phases>{patch-hardcoded-patch}: Use search-input-file + inputs instead of 'which' when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* perl-file-mimeinfo: Fix cross-compilation.Maxime Devos2022-08-06
| | | | | | | | | | * gnu/packages/freedesktop.scm (perl-file-mimeinfo)[arguments]<#:phases>: Make it a G-exp to avoid messy nested quasiquotation. {wrap-programs}: When cross-compiling, don't use the PELRL5LIB environment variable, instead use 'search-path-as-list'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: freedesktop: Add 'bash' input for 'wrap-program'Maxime Devos2022-08-06
| | | | | | | | | | | | It is required for cross-compilation. Cherry-picked from <https://issues.guix.gnu.org/49327#6>. * gnu/packages/freedesktop.scm (udisks)[inputs]: Add 'bash-minimal' when cross-compiling. (perl-file-mimeinfo)[inputs]: Likewise. (udiskie)[inputs]: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* build-system/perl: Support cross-compilation of some Perl packages.Maxime Devos2022-08-06
| | | | | | | | | | | | | | | * guix/build-system/perl.scm: Add info on cross-compilation. (lower)[private-keywords]: Remove #:target when cross-compiling. (lower)[target]: Set. (host-inputs)[perl]: New entry. (host-inputs)[(standard-packages)]: Move to ... (build-inputs)[(standard-packages)]: ... here when cross-compiling. (build-inputs)[standard-cross-packages]: Add when cross-compiling. (target-inputs): New entry when cross-compiling. (build): Use perl-cross-build when cross-compiling. (perl-cross-build): New procedure. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: ugrep: Simplify snippet.Liliana Marie Prikler2022-08-06
| | | | | * gnu/packages/search.scm (ugrep)[source]: Use nested for-each loop. Simplify regular expressions.
* gnu: ugrep: Use G-Expressions.kiasoc52022-08-06
| | | | | | | * gnu/packages/search.scm (ugrep)[source]: Convert snippet to G-Expression. [arguments]: Convert to list of G-Expressions. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: ugrep: Build with zstd support.kiasoc52022-08-06
| | | | | | * gnu/packages/search.scm (ugrep)[inputs]: Add zstd lib. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: yt-dlp: Use new package style.kiasoc52022-08-06
| | | | | | | | | * gnu/packages/video.scm (yt-dlp)[source](snippet): Rewrite as a G-Expression. [arguments]: Use G-Expressions. [inputs]: Drop labels. [native-inputs]: Likewise. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: yt-dlp: Update to 2022.07.18.kiasoc52022-08-06
| | | | | | * gnu/packages/video.scm (yt-dlp): Update to 2022.07.18. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: queen: Use new package style.Liliana Marie Prikler2022-08-06
| | | | | | | * gnu/packages/games.scm (make-queen-package)[build-system]: Use copy-build-system. [arguments]: Convert to list of G-Expressions. Replace #:modules and #:builder with #:install-plan and #:phases.
* gnu: queen-de: Fix build.Felix Gruber2022-08-06
| | | | | | | | | | The sources for queen-de lack a readme, so check whether one exists prior to trying to install it. See <https://bugs.gnu.org/56886>. * gnu/packages/games.scm (make-queen-package)[#:builder]: Only install readme.txt if it exists. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: komikku: Update to 0.40.0.Liliana Marie Prikler2022-08-06
| | | | * gnu/packages/gnome.scm (komikku): Update to 0.40.0.
* doc: Fix typo.Tobias Geerinckx-Rice2022-07-31
| | | | * doc/guix.texi (X Window): Fix ‘string-apppend’ typo.
* gnu: libinih: Update to 56.Tobias Geerinckx-Rice2022-07-31
| | | | * gnu/packages/linux.scm (libinih): Update to 56.
* gnu: frotz: Update to 2.54.Tobias Geerinckx-Rice2022-07-31
| | | | | | | | | | | This fixes the build. * gnu/packages/games.scm (frotz): Update to 2.54. [arguments]: Use G-expressions. Set CC in #:make-flags. Remove obsolete 'curses phase. Don't explicitly return #t from phases. [native-inputs]: Add pkg-config and which. [inputs]: Add ao.
* gnu: emacs-gruvbox-theme: Update to 1.29.0.Nicolas Goaziou2022-08-06
| | | | * gnu/packages/emacs-xyz.scm (emacs-gruvbox-theme): Update to 1.29.0.
* gnu: emacs-taxy: Update to 0.10.Nicolas Goaziou2022-08-06
| | | | * gnu/packages/emacs-xyz.scm (emacs-taxy): Update to 0.10.
* gnu: Add python-pynbody.Sharlatan Hellseher2022-08-05
| | | | | | * gnu/packages/astronomy.scm: (python-pynbody): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>