jackhill/guix/guix.git
22 months agognu: font-sarasa-gothic: Update to 0.36.8.
Hilton Chain [Mon, 8 Aug 2022 07:58:57 +0000 (15:58 +0800)]
gnu: font-sarasa-gothic: Update to 0.36.8.

* gnu/packages/fonts.scm (font-sarasa-gothic): Update to 0.36.8.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: font-chiron-hei-hk: Inherit from font-chiron-sung-hk.
Hilton Chain [Mon, 8 Aug 2022 07:58:38 +0000 (15:58 +0800)]
gnu: font-chiron-hei-hk: Inherit from font-chiron-sung-hk.

* gnu/packages/fonts.scm (font-chiron-hei-hk): Inherit from
font-chiron-sung-hk.
[build-system, home-page ,license]: Drop fields.
[synopsis, description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: font-chiron-sung-hk: Use English for synopsis.
Hilton Chain [Mon, 8 Aug 2022 07:58:11 +0000 (15:58 +0800)]
gnu: font-chiron-sung-hk: Use English for synopsis.

* gnu/packages/fonts.scm (font-chiron-sung-hk)[synopsis,description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: font-lxgw-wenkai-tc: Inherit from font-lxgw-wenkai.
Hilton Chain [Mon, 8 Aug 2022 07:57:50 +0000 (15:57 +0800)]
gnu: font-lxgw-wenkai-tc: Inherit from font-lxgw-wenkai.

* gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Inherit from font-lxgw-wenkai.
[build-system, license]: Removed fields.
[synopsis, description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: font-lxgw-wenkai: Use English for synopsis.
Hilton Chain [Mon, 8 Aug 2022 07:57:29 +0000 (15:57 +0800)]
gnu: font-lxgw-wenkai: Use English for synopsis.

* gnu/packages/fonts.scm (font-lxgw-wenkai)[synopsis,description]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: font-sarasa-gothic: Use English for synopsis.
Hilton Chain [Mon, 8 Aug 2022 07:57:05 +0000 (15:57 +0800)]
gnu: font-sarasa-gothic: Use English for synopsis.

* gnu/packages/fonts.scm (font-sarasa-gothic)[synopsis]: Use English.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: unzip: Patch for CVE-2022-0529 and CVE-2022-0530.
Efraim Flashner [Mon, 8 Aug 2022 16:13:07 +0000 (19:13 +0300)]
gnu: unzip: Patch for CVE-2022-0529 and CVE-2022-0530.

* gnu/packages/compression.scm (unzip)[replacement]: New field.
(unzip/fixed): New variable.
* gnu/packages/patches/unzip-CVE-2022-0529+CVE-2022-0530.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

22 months agognu: unzip: Mark safe from CVE-2019-13232.
Efraim Flashner [Mon, 8 Aug 2022 15:47:20 +0000 (18:47 +0300)]
gnu: unzip: Mark safe from CVE-2019-13232.

* gnu/packages/compression.scm (unzip)[properties]: New field.

22 months agognu: guile-parted: Update to 0.0.6.
Mathieu Othacehe [Mon, 8 Aug 2022 15:13:30 +0000 (17:13 +0200)]
gnu: guile-parted: Update to 0.0.6.

Fix cross-compilation.

* gnu/packages/guile-xyz.scm (guile-parted): Update to 0.0.6.
[native-inputs]: Add guile-3.0 and guile-bytestructures.

22 months agognu: Add phyml.
Mădălin Ionel Patrașcu [Fri, 5 Aug 2022 09:33:03 +0000 (11:33 +0200)]
gnu: Add phyml.

* gnu/packages/bioinformatics.scm (phyml): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
22 months agognu: Add texlive-cite.
Ricardo Wurmus [Mon, 8 Aug 2022 10:06:42 +0000 (12:06 +0200)]
gnu: Add texlive-cite.

* gnu/packages/tex.scm (texlive-cite): New variable.

22 months agoread-print: Add 'case' and 'cond' special forms.
Ludovic Courtès [Mon, 8 Aug 2022 09:49:44 +0000 (11:49 +0200)]
read-print: Add 'case' and 'cond' special forms.

* guix/read-print.scm (%special-forms): Add 'case' and 'cond'.
* tests/read-print.scm: Add tests.

22 months agoinstaller: Add comments and vertical space to the generated config.
Ludovic Courtès [Tue, 2 Aug 2022 21:27:52 +0000 (23:27 +0200)]
installer: Add comments and vertical space to the generated config.

* gnu/installer/parted.scm (user-partitions->configuration): Introduce
vertical space and a comment.
* gnu/installer/services.scm (G_): New macro.
(%system-services): Add comment for OpenSSH.
(system-services->configuration): Add vertical space and comments.
* gnu/installer/user.scm (users->configuration): Add comment.
* gnu/installer/steps.scm (format-configuration): Add comment.
(configuration->file): Expound leading comment.  Pass #:format-comment
to 'pretty-print-with-comments/splice'.

22 months agoinstaller: Render the final configuration with (guix read-print).
Ludovic Courtès [Tue, 2 Aug 2022 20:00:36 +0000 (22:00 +0200)]
installer: Render the final configuration with (guix read-print).

* gnu/installer.scm (module-to-import?): Return #t for (guix read-print).
* gnu/installer/steps.scm (configuration->file): Use
'pretty-print-with-comments/splice' instead of 'for-each' and 'pretty-print'.

22 months agoread-print: Support printing multi-line comments.
Ludovic Courtès [Tue, 2 Aug 2022 20:52:10 +0000 (22:52 +0200)]
read-print: Support printing multi-line comments.

* guix/read-print.scm (%not-newline): New variable.
(print-multi-line-comment): New procedure.
(pretty-print-with-comments): Use it.
* tests/read-print.scm ("pretty-print-with-comments, multi-line
comment"): New test.

22 months agonews: Add entry for 'guix style -f'.
Ludovic Courtès [Mon, 8 Aug 2022 09:34:40 +0000 (11:34 +0200)]
news: Add entry for 'guix style -f'.

* etc/news.scm: Add entry.

22 months agostyle: Add '--whole-file' option.
Ludovic Courtès [Tue, 2 Aug 2022 16:01:35 +0000 (18:01 +0200)]
style: Add '--whole-file' option.

* guix/scripts/style.scm (format-whole-file): New procedure.
(%options, show-help): Add '--whole-file'.
(guix-style): Honor it.
* tests/guix-style.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix style): Document it.

22 months agoread-print: 'canonicalize-comment' leaves top-level comments unchanged.
Ludovic Courtès [Tue, 2 Aug 2022 15:39:55 +0000 (17:39 +0200)]
read-print: 'canonicalize-comment' leaves top-level comments unchanged.

This lets users use three leading semicolons, for instance, in top-level
comments.

* guix/read-print.scm (canonicalize-comment): Add INDENT parameter and
honor it.
(pretty-print-with-comments): Change default value of #:format-comment.
Call FORMAT-COMMENT with INDENT as the second argument.
* tests/read-print.scm: Adjust test accordingly.

22 months agoread-print: Add code to read and write sequences of expressions/blanks.
Ludovic Courtès [Tue, 2 Aug 2022 15:08:53 +0000 (17:08 +0200)]
read-print: Add code to read and write sequences of expressions/blanks.

* guix/read-print.scm (read-with-comments): Add #:blank-line? and honor it.
(read-with-comments/sequence, pretty-print-with-comments/splice): New
procedures.
* tests/read-print.scm (test-pretty-print/sequence): New macro.
Add tests using it.

22 months agoread-print: Recognize page breaks.
Ludovic Courtès [Tue, 2 Aug 2022 13:29:55 +0000 (15:29 +0200)]
read-print: Recognize page breaks.

* guix/read-print.scm (<page-break>, page-break?, page-break)
(char-set:whitespace-sans-page-break): New variables.
(space?): New procedure.
(read-vertical-space): Use it.
(read-until-end-of-line): New procedure.
(read-with-comments): Add #\page case.
(pretty-print-with-comments): Add 'page-break?' case.
* tests/read-print.scm ("read-with-comments: top-level page break"): New
test.
Add round-trip test with page break within an sexp.

22 months agoread-print: Read and render vertical space.
Ludovic Courtès [Tue, 2 Aug 2022 09:57:39 +0000 (11:57 +0200)]
read-print: Read and render vertical space.

* 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.

22 months agostyle: Adjust test to not emit blank lines.
Ludovic Courtès [Tue, 2 Aug 2022 12:48:59 +0000 (14:48 +0200)]
style: Adjust test to not emit blank lines.

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.

22 months agoread-print: Introduce <blank> parent class of <comment>.
Ludovic Courtès [Mon, 1 Aug 2022 20:35:10 +0000 (22:35 +0200)]
read-print: Introduce <blank> parent class of <comment>.

* 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?'.

22 months agoread-print: Expose comment constructor.
Ludovic Courtès [Mon, 1 Aug 2022 15:42:11 +0000 (17:42 +0200)]
read-print: Expose comment constructor.

* guix/read-print.scm (<comment>): Rename constructor to
'string->comment'.
(comment): New procedure.
(read-with-comments, canonicalize-comment): Use 'string->comment'
instead of 'comment'.

22 months agoread-print: Add System and Home special forms.
Ludovic Courtès [Thu, 21 Jul 2022 16:19:10 +0000 (18:19 +0200)]
read-print: Add System and Home special forms.

* guix/read-print.scm (%special-forms): Add System and Home forms.
(%newline-forms): Add 'services'.

22 months agostyle: Move reader and printer to (guix read-print).
Ludovic Courtès [Wed, 20 Jul 2022 17:11:21 +0000 (19:11 +0200)]
style: Move reader and printer to (guix read-print).

* 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'.

22 months agognu: go-gitlab.com-shackra-goimapnotify: Update to 2.3.7.
Morgan Smith [Fri, 22 Jul 2022 14:54:32 +0000 (10:54 -0400)]
gnu: go-gitlab.com-shackra-goimapnotify: Update to 2.3.7.

* gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify): Update to 2.3.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agolint: Add '-e'.
Ludovic Courtès [Sun, 7 Aug 2022 09:53:32 +0000 (11:53 +0200)]
lint: Add '-e'.

* 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.

22 months agognu: guile-newt: Update to 0.0.3.
Mathieu Othacehe [Mon, 8 Aug 2022 08:54:10 +0000 (10:54 +0200)]
gnu: guile-newt: Update to 0.0.3.

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.

22 months agognu: cool-retro-term: Fix build and runtime errors.
宋文武 [Mon, 8 Aug 2022 07:58:44 +0000 (15:58 +0800)]
gnu: cool-retro-term: Fix build and runtime errors.

This fixes <https://issues.guix.gnu.org/57049>.

* gnu/packages/terminals.scm (cool-retro-term)
[inputs]: Add qtquickcontrols-5.
[arguments]: Fix 'QML2_IMPORT_PATH'.

22 months agognu: chatty: Update to 0.6.7.
Marius Bakke [Mon, 8 Aug 2022 07:21:24 +0000 (09:21 +0200)]
gnu: chatty: Update to 0.6.7.

* 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.

22 months agognu: postorius: Update to 1.3.6.
Marius Bakke [Mon, 8 Aug 2022 07:17:27 +0000 (09:17 +0200)]
gnu: postorius: Update to 1.3.6.

* gnu/packages/mail.scm (postorius): Update to 1.3.6.
[inputs]: Change from PYTHON-DJANGO-2.2 to PYTHON-DJANGO.

22 months agognu: python-django@3.2: Update to 3.2.15 [fixes CVE-2022-36359].
Marius Bakke [Mon, 8 Aug 2022 07:09:16 +0000 (09:09 +0200)]
gnu: python-django@3.2: Update to 3.2.15 [fixes CVE-2022-36359].

* gnu/packages/django.scm (python-django-3.2): Update to 3.2.15.

22 months agognu: python-django: Update to 4.0.7 [fixes CVE-2022-36359].
Marius Bakke [Mon, 8 Aug 2022 07:08:22 +0000 (09:08 +0200)]
gnu: python-django: Update to 4.0.7 [fixes CVE-2022-36359].

* gnu/packages/django.scm (python-django-4.0): Update to 4.0.7.

22 months agognu: tiled: Fix build.
宋文武 [Mon, 8 Aug 2022 02:15:13 +0000 (10:15 +0800)]
gnu: tiled: Fix build.

Fixes <https://issues.guix.gnu.org/57048>.

* gnu/packages/game-development.scm (tiled)[arguments]:
Use 'search-input-file' to locate 'lrelease'.

22 months agognu: msmtp: Use G-Expressions.
Efraim Flashner [Sun, 7 Aug 2022 17:36:19 +0000 (20:36 +0300)]
gnu: msmtp: Use G-Expressions.

* gnu/packages/mail.scm (msmtp)[arguments]: Rewrite using G-Expressions.

22 months agognu: msmtp: Don't override defaults when checking for network.
Efraim Flashner [Sun, 7 Aug 2022 17:31:31 +0000 (20:31 +0300)]
gnu: msmtp: Don't override defaults when checking for network.

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.

22 months agognu: msmtp: Update to 1.8.22.
Efraim Flashner [Sun, 7 Aug 2022 17:04:53 +0000 (20:04 +0300)]
gnu: msmtp: Update to 1.8.22.

* gnu/packages/mail.scm (msmtp): Update to 1.8.22.

22 months agognu: gss: Update to 1.0.4.
Efraim Flashner [Sun, 7 Aug 2022 16:54:34 +0000 (19:54 +0300)]
gnu: gss: Update to 1.0.4.

* gnu/packages/gsasl.scm (gss): Update to 1.0.4.

22 months agognu: libtirpc: Fix CVE-2021-46828.
Efraim Flashner [Sun, 7 Aug 2022 14:33:02 +0000 (17:33 +0300)]
gnu: libtirpc: Fix CVE-2021-46828.

* 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.

22 months agognu: shishi: Use G-expressions.
Efraim Flashner [Sun, 7 Aug 2022 13:20:38 +0000 (16:20 +0300)]
gnu: shishi: Use G-expressions.

* gnu/packages/kerberos.scm (shishi)[arguments]: Convert to list of
G-Expressions.

22 months agognu: shishi: Build with newer linux-pam.
Efraim Flashner [Sun, 7 Aug 2022 13:17:23 +0000 (16:17 +0300)]
gnu: shishi: Build with newer linux-pam.

* gnu/packages/kerberos.scm (shishi)[inputs]: Replace linux-pam-1.2 with
linux-pam.
* gnu/packages/linux.scm (linux-pam-1.2): Remove variable.

22 months agognu: shishi: Update to 1.0.3.
Efraim Flashner [Sun, 7 Aug 2022 13:13:36 +0000 (16:13 +0300)]
gnu: shishi: Update to 1.0.3.

* 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.

22 months agognu: guile-sqlite3: Update to 0.1.3.
Olivier Dion [Sat, 6 Aug 2022 18:40:52 +0000 (14:40 -0400)]
gnu: guile-sqlite3: Update to 0.1.3.

* gnu/packages/guile.scm (guile-sqlite3): Update to 0.1.3.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
22 months agognu: newt: Fix cross-compilation.
Jean-Pierre De Jesus DIAZ [Wed, 13 Jul 2022 12:02:30 +0000 (14:02 +0200)]
gnu: newt: Fix cross-compilation.

* 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>
22 months agognu: gnome-system-monitor: Update to 42.0.
Maxim Cournoyer [Sun, 7 Aug 2022 01:52:16 +0000 (21:52 -0400)]
gnu: gnome-system-monitor: Update to 42.0.

* gnu/packages/gnome.scm (gnome-system-monitor): Update to 42.0.

22 months agognu: Add i3-autotiling.
Hilton Chain [Sat, 23 Jul 2022 12:48:19 +0000 (20:48 +0800)]
gnu: Add i3-autotiling.

* 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>
22 months agognu: Add python-i3ipc.
Hilton Chain [Sat, 23 Jul 2022 12:46:53 +0000 (20:46 +0800)]
gnu: Add python-i3ipc.

* gnu/packages/python-xyz.scm (python-i3ipc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add emacs-vundo.
Hilton Chain [Sat, 23 Jul 2022 05:44:57 +0000 (13:44 +0800)]
gnu: Add emacs-vundo.

* gnu/packages/emacs-xyz.scm (emacs-vundo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add wavbreaker.
Joeke de Graaf [Wed, 27 Jul 2022 23:43:38 +0000 (23:43 +0000)]
gnu: Add wavbreaker.

* gnu/packages/mp3.scm (wavbreaker): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agodoc: Add reference to "Writing Manifests".
Ludovic Courtès [Sat, 6 Aug 2022 20:22:19 +0000 (22:22 +0200)]
doc: Add reference to "Writing Manifests".

* doc/guix.texi (Defining Package Variants): Rewrite to "Writing
Manifests" rather than the 'profile-manifest' anchor.

22 months agodisarchive-manifest: Exclude the Chromium tarball.
Ludovic Courtès [Sat, 6 Aug 2022 14:56:05 +0000 (16:56 +0200)]
disarchive-manifest: Exclude the Chromium tarball.

* etc/disarchive-manifest.scm (disarchive-collection): Exclude
"chromium-" tarballs.

22 months agoxdg-utils: Support cross-compilation.
Maxime Devos [Tue, 2 Aug 2022 12:13:29 +0000 (14:13 +0200)]
xdg-utils: Support cross-compilation.

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>
22 months agoperl-file-mimeinfo: Fix cross-compilation.
Maxime Devos [Tue, 2 Aug 2022 12:13:28 +0000 (14:13 +0200)]
perl-file-mimeinfo: Fix cross-compilation.

* 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>
22 months agognu: freedesktop: Add 'bash' input for 'wrap-program'
Maxime Devos [Tue, 2 Aug 2022 12:13:27 +0000 (14:13 +0200)]
gnu: freedesktop: Add 'bash' input for 'wrap-program'

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>
22 months agobuild-system/perl: Support cross-compilation of some Perl packages.
Maxime Devos [Tue, 2 Aug 2022 12:13:26 +0000 (14:13 +0200)]
build-system/perl: Support cross-compilation of some Perl packages.

* 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>
22 months agognu: ugrep: Simplify snippet.
Liliana Marie Prikler [Sat, 6 Aug 2022 07:53:09 +0000 (09:53 +0200)]
gnu: ugrep: Simplify snippet.

* gnu/packages/search.scm (ugrep)[source]: Use nested for-each loop.
Simplify regular expressions.

22 months agognu: ugrep: Use G-Expressions.
kiasoc5 [Sat, 6 Aug 2022 05:37:52 +0000 (01:37 -0400)]
gnu: ugrep: Use G-Expressions.

* 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>
22 months agognu: ugrep: Build with zstd support.
kiasoc5 [Sat, 6 Aug 2022 05:37:50 +0000 (01:37 -0400)]
gnu: ugrep: Build with zstd support.

* gnu/packages/search.scm (ugrep)[inputs]: Add zstd lib.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: yt-dlp: Use new package style.
kiasoc5 [Sat, 6 Aug 2022 05:28:37 +0000 (01:28 -0400)]
gnu: yt-dlp: Use new package style.

* 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>
22 months agognu: yt-dlp: Update to 2022.07.18.
kiasoc5 [Sat, 6 Aug 2022 05:28:34 +0000 (01:28 -0400)]
gnu: yt-dlp: Update to 2022.07.18.

* gnu/packages/video.scm (yt-dlp): Update to 2022.07.18.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
22 months agognu: queen: Use new package style.
Liliana Marie Prikler [Sat, 6 Aug 2022 04:38:58 +0000 (06:38 +0200)]
gnu: queen: Use new package style.

* 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.

22 months agognu: queen-de: Fix build.
Felix Gruber [Thu, 4 Aug 2022 19:23:49 +0000 (19:23 +0000)]
gnu: queen-de: Fix build.

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>
22 months agognu: komikku: Update to 0.40.0.
Liliana Marie Prikler [Fri, 5 Aug 2022 22:36:01 +0000 (00:36 +0200)]
gnu: komikku: Update to 0.40.0.

* gnu/packages/gnome.scm (komikku): Update to 0.40.0.

22 months agodoc: Fix typo.
Tobias Geerinckx-Rice [Sun, 31 Jul 2022 00:00:00 +0000 (02:00 +0200)]
doc: Fix typo.

* doc/guix.texi (X Window): Fix ‘string-apppend’ typo.

22 months agognu: libinih: Update to 56.
Tobias Geerinckx-Rice [Sun, 24 Jul 2022 00:00:01 +0000 (02:00 +0200)]
gnu: libinih: Update to 56.

* gnu/packages/linux.scm (libinih): Update to 56.

22 months agognu: frotz: Update to 2.54.
Tobias Geerinckx-Rice [Sun, 31 Jul 2022 00:00:04 +0000 (02:00 +0200)]
gnu: frotz: Update to 2.54.

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.

22 months agognu: emacs-gruvbox-theme: Update to 1.29.0.
Nicolas Goaziou [Fri, 5 Aug 2022 23:31:51 +0000 (01:31 +0200)]
gnu: emacs-gruvbox-theme: Update to 1.29.0.

* gnu/packages/emacs-xyz.scm (emacs-gruvbox-theme): Update to 1.29.0.

22 months agognu: emacs-taxy: Update to 0.10.
Nicolas Goaziou [Fri, 5 Aug 2022 23:30:16 +0000 (01:30 +0200)]
gnu: emacs-taxy: Update to 0.10.

* gnu/packages/emacs-xyz.scm (emacs-taxy): Update to 0.10.

22 months agognu: Add python-pynbody.
Sharlatan Hellseher [Fri, 29 Jul 2022 20:17:50 +0000 (21:17 +0100)]
gnu: Add python-pynbody.

* gnu/packages/astronomy.scm: (python-pynbody): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
22 months agognu: Add python-posix-ipc.
Sharlatan Hellseher [Fri, 29 Jul 2022 16:50:56 +0000 (17:50 +0100)]
gnu: Add python-posix-ipc.

* gnu/packages/python-xyz.scm: (python-posix-ipc): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
22 months ago.git-authorizations: Authorize Andrew Tropin.
Efraim Flashner [Fri, 5 Aug 2022 15:32:45 +0000 (18:32 +0300)]
.git-authorizations: Authorize Andrew Tropin.

* .git-authorizations (abcdw): Add OpenPGP key fingerprint.

22 months agognu: Remove rust-pico-sys-0.0.
Efraim Flashner [Fri, 5 Aug 2022 15:19:31 +0000 (18:19 +0300)]
gnu: Remove rust-pico-sys-0.0.

* gnu/packages/crates-io.scm (rust-pico-sys-0.0): Remove variable.

22 months agognu: rust-httparse-1: Update to 1.7.1.
Efraim Flashner [Fri, 5 Aug 2022 15:18:39 +0000 (18:18 +0300)]
gnu: rust-httparse-1: Update to 1.7.1.

* gnu/packages/crates-io.scm (rust-httparse-1): Update to 1.7.1.
[cargo-development-inputs]: Remove rust-pico-sys-0.0. Add
rust-criterion-0.3.

22 months agoetc: teams: Add entry for Mathieu Othacehe.
Mathieu Othacehe [Fri, 5 Aug 2022 15:14:59 +0000 (17:14 +0200)]
etc: teams: Add entry for Mathieu Othacehe.

* etc/teams.scm.in ("Mathieu Othacehe"): New member.

22 months agoetc: teams: Add entry for Eric Bavier.
Eric Bavier [Fri, 5 Aug 2022 14:41:03 +0000 (09:41 -0500)]
etc: teams: Add entry for Eric Bavier.

* etc/teams.scm.in ("Eric Bavier"): New member.
(mozilla): Add #:description keyword before description.

22 months agognu: urlscan: Update to 0.9.10.
Efraim Flashner [Fri, 5 Aug 2022 14:32:50 +0000 (17:32 +0300)]
gnu: urlscan: Update to 0.9.10.

* gnu/packages/mail.scm (urlscan): Update to 0.9.10.

22 months agognu: Add r-biomartr.
Ricardo Wurmus [Fri, 5 Aug 2022 13:30:21 +0000 (15:30 +0200)]
gnu: Add r-biomartr.

* gnu/packages/bioconductor.scm (r-biomartr): New variable.

22 months agognu: Add r-philentropy.
Ricardo Wurmus [Fri, 5 Aug 2022 13:30:11 +0000 (15:30 +0200)]
gnu: Add r-philentropy.

* gnu/packages/cran.scm (r-philentropy): New variable.

22 months agognu: Add r-poorman.
Ricardo Wurmus [Fri, 5 Aug 2022 13:30:00 +0000 (15:30 +0200)]
gnu: Add r-poorman.

* gnu/packages/cran.scm (r-poorman): New variable.

22 months agoguix system: Remove unused 'read-operating-system' procedure.
Ludovic Courtès [Fri, 5 Aug 2022 13:26:17 +0000 (15:26 +0200)]
guix system: Remove unused 'read-operating-system' procedure.

* guix/scripts/system.scm (read-operating-system): Remove.
* gnu/ci.scm: Remove unused (guix scripts system) import.

22 months agognu: mumps: Add alternate source code URL.
Ludovic Courtès [Fri, 5 Aug 2022 12:55:52 +0000 (14:55 +0200)]
gnu: mumps: Add alternate source code URL.

* gnu/packages/maths.scm (mumps)[source]: Add alternate URL.

22 months agognu: mumps: Update to 5.5.1
FELŠÖCI Marek [Thu, 4 Aug 2022 17:08:39 +0000 (19:08 +0200)]
gnu: mumps: Update to 5.5.1

* gnu/packages/maths.scm (mumps): Update to 5.5.1. Stop applying patches as the build configuration has been updated upstream. Allow for further optimized BLR compression by specifying the -DBLR_MT build option.
* gnu/packages/patches/mumps-build-parallelism.patch: File removed.
* gnu/packages/patches/mumps-shared-libseq.patch: File removed.
* gnu/packages/patches/mumps-shared-mumps.patch: File removed.
* gnu/packages/patches/mumps-shared-pord.patch: File removed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-sourcecodepro.
Philip McGrath [Sun, 31 Jul 2022 01:08:50 +0000 (21:08 -0400)]
gnu: Add texlive-sourcecodepro.

* gnu/packages/tex.scm (texlive-sourcecodepro): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-sourceserifpro.
Philip McGrath [Sun, 31 Jul 2022 01:08:49 +0000 (21:08 -0400)]
gnu: Add texlive-sourceserifpro.

* gnu/packages/tex.scm (texlive-sourceserifpro): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-sourcesanspro.
Philip McGrath [Sun, 31 Jul 2022 01:08:48 +0000 (21:08 -0400)]
gnu: Add texlive-sourcesanspro.

* gnu/packages/tex.scm (texlive-sourcesanspro): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-physics.
Philip McGrath [Sun, 31 Jul 2022 01:08:47 +0000 (21:08 -0400)]
gnu: Add texlive-physics.

* gnu/packages/tex.scm (texlive-physics): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-datatool.
Philip McGrath [Sun, 31 Jul 2022 01:08:46 +0000 (21:08 -0400)]
gnu: Add texlive-datatool.

* gnu/packages/tex.scm (texlive-datatool): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-comment.
Philip McGrath [Sun, 31 Jul 2022 01:08:45 +0000 (21:08 -0400)]
gnu: Add texlive-comment.

* gnu/packages/tex.scm (texlive-comment): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-breqn.
Philip McGrath [Sun, 31 Jul 2022 01:08:44 +0000 (21:08 -0400)]
gnu: Add texlive-breqn.

* gnu/packages/tex.scm (texlive-breqn): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: Add texlive-abstract.
Philip McGrath [Sun, 31 Jul 2022 01:08:43 +0000 (21:08 -0400)]
gnu: Add texlive-abstract.

* gnu/packages/tex.scm (texlive-abstract): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: gnome-shell-extension-appindicator: Update to 42.
tiantian [Sun, 31 Jul 2022 10:17:37 +0000 (18:17 +0800)]
gnu: gnome-shell-extension-appindicator: Update to 42.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator): Update to 42.
[build-system]: Switch to meson-build-system.
[arguments]: Delete.
[native-inputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agognu: openssl: Keep .dll.a files in main output.
Vivien Kraus [Fri, 5 Aug 2022 07:52:21 +0000 (09:52 +0200)]
gnu: openssl: Keep .dll.a files in main output.

* gnu/packages/tls.scm (openssl) [phase move-static-libraries]: Do not move
.dll.a files to the static output when targetting mingw.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agotests: Make tests inside container reproducible.
Andrew Tropin [Tue, 2 Aug 2022 05:40:31 +0000 (08:40 +0300)]
tests: Make tests inside container reproducible.

* tests/guix-home.sh: Make tests inside container reproducible.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agohome: Use warning instead of display.
Andrew Tropin [Tue, 2 Aug 2022 05:20:38 +0000 (08:20 +0300)]
home: Use warning instead of display.

* gnu/home/services/xdg.scm (compute-on-first-login-script): Use warning
instead of display.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agohome: xdg: Skip mkdir XDG_RUNTIME_DIR in activation script.
Andrew Tropin [Tue, 2 Aug 2022 05:00:21 +0000 (08:00 +0300)]
home: xdg: Skip mkdir XDG_RUNTIME_DIR in activation script.

* gnu/home/services/xdg.scm (ensure-xdg-base-dirs-on-activation): Skip mkdir
XDG_RUNTIME_DIR in activation script.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agohome: xdg: Use a single @ instead of @@.
Andrew Tropin [Thu, 21 Jul 2022 12:24:32 +0000 (15:24 +0300)]
home: xdg: Use a single @ instead of @@.

* gnu/home/services/xdg.scm (ensure-xdg-base-dirs-on-activation,
home-xdg-user-directories-files-service): Use single @ intsead of @@.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
22 months agodisarchive-manifest: Filter out origins without a hash.
Ludovic Courtès [Fri, 5 Aug 2022 07:19:47 +0000 (09:19 +0200)]
disarchive-manifest: Filter out origins without a hash.

* etc/disarchive-manifest.scm (disarchive-collection): Filter out
origins with a phony hash.

22 months agognu: Add perf-tools.
Olivier Dion [Wed, 3 Aug 2022 23:44:28 +0000 (19:44 -0400)]
gnu: Add perf-tools.

* gnu/packages/instrumentation.scm (perf-tools): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
22 months agognu: veusz: Fix build.
Felix Gruber [Tue, 2 Aug 2022 13:24:02 +0000 (13:24 +0000)]
gnu: veusz: Fix build.

* gnu/packages/maths.scm (veusz)[arguments] Fix lookup of qtsvg path
  in wrap-executable phase.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>