Commit Graph

99868 Commits

Author SHA1 Message Date
Ludovic Courtès
632d4ccc0b
read-print: Add System and Home special forms.
* guix/read-print.scm (%special-forms): Add System and Home forms.
(%newline-forms): Add 'services'.
2022-08-08 11:22:31 +02:00
Ludovic Courtès
5817e222fa
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'.
2022-08-08 11:22:31 +02:00
Morgan Smith
bc3eaf9d83
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>
2022-08-08 11:22:31 +02:00
Ludovic Courtès
ad8beb6325
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.
2022-08-08 11:22:31 +02:00
Mathieu Othacehe
bde902cb78
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.
2022-08-08 10:56:23 +02:00
宋文武
19592539e5
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'.
2022-08-08 16:04:17 +08:00
Marius Bakke
0e320fbfdc
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.
2022-08-08 09:32:13 +02:00
Marius Bakke
8ad976d49f
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.
2022-08-08 09:32:13 +02:00
Marius Bakke
d6dab262d5
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.
2022-08-08 09:32:13 +02:00
Marius Bakke
bd698fede7
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.
2022-08-08 09:32:13 +02:00
宋文武
ee216d16ef
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'.
2022-08-08 10:34:58 +08:00
Efraim Flashner
eed987855c
gnu: msmtp: Use G-Expressions.
* gnu/packages/mail.scm (msmtp)[arguments]: Rewrite using G-Expressions.
2022-08-07 20:36:19 +03:00
Efraim Flashner
f63ef9ab0d
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.
2022-08-07 20:31:31 +03:00
Efraim Flashner
eb8ab91284
gnu: msmtp: Update to 1.8.22.
* gnu/packages/mail.scm (msmtp): Update to 1.8.22.
2022-08-07 20:04:53 +03:00
Efraim Flashner
f0ae9da321
gnu: gss: Update to 1.0.4.
* gnu/packages/gsasl.scm (gss): Update to 1.0.4.
2022-08-07 19:54:34 +03:00
Efraim Flashner
92769ab282
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.
2022-08-07 17:35:58 +03:00
Efraim Flashner
6757ee9d2b
gnu: shishi: Use G-expressions.
* gnu/packages/kerberos.scm (shishi)[arguments]: Convert to list of
G-Expressions.
2022-08-07 16:20:38 +03:00
Efraim Flashner
e3e33b5251
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.
2022-08-07 16:17:23 +03:00
Efraim Flashner
544ff0b6c2
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.
2022-08-07 16:16:42 +03:00
Olivier Dion
120d8f8563
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>
2022-08-07 11:45:28 +02:00
Jean-Pierre De Jesus DIAZ
c0e713f6e2
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>
2022-08-07 11:32:44 +02:00
Maxim Cournoyer
bb5afc5b9e
gnu: gnome-system-monitor: Update to 42.0.
* gnu/packages/gnome.scm (gnome-system-monitor): Update to 42.0.
2022-08-06 21:52:46 -04:00
Hilton Chain
515288874f
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>
2022-08-06 23:14:42 +02:00
Hilton Chain
86da72fb5b
gnu: Add python-i3ipc.
* gnu/packages/python-xyz.scm (python-i3ipc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-06 23:14:42 +02:00
Hilton Chain
80ac0c0a7e
gnu: Add emacs-vundo.
* gnu/packages/emacs-xyz.scm (emacs-vundo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-06 23:14:42 +02:00
Joeke de Graaf
902fea9136
gnu: Add wavbreaker.
* gnu/packages/mp3.scm (wavbreaker): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-06 23:14:41 +02:00
Ludovic Courtès
6e5a1e2a62
doc: Add reference to "Writing Manifests".
* doc/guix.texi (Defining Package Variants): Rewrite to "Writing
Manifests" rather than the 'profile-manifest' anchor.
2022-08-06 23:14:41 +02:00
Ludovic Courtès
eab5366e67
disarchive-manifest: Exclude the Chromium tarball.
* etc/disarchive-manifest.scm (disarchive-collection): Exclude
"chromium-" tarballs.
2022-08-06 23:14:41 +02:00
Maxime Devos
ad878a2c5e
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>
2022-08-06 18:23:06 +02:00
Maxime Devos
b914ccc915
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>
2022-08-06 18:21:48 +02:00
Maxime Devos
607f9a9af9
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>
2022-08-06 18:21:14 +02:00
Maxime Devos
74fbbb1661
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>
2022-08-06 18:21:12 +02:00
Liliana Marie Prikler
ffea1d47cb
gnu: ugrep: Simplify snippet.
* gnu/packages/search.scm (ugrep)[source]: Use nested for-each loop.
Simplify regular expressions.
2022-08-06 09:53:09 +02:00
kiasoc5
6665600e23
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>
2022-08-06 09:31:35 +02:00
kiasoc5
47989e0a5f
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>
2022-08-06 09:27:00 +02:00
kiasoc5
d457a5ec09
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>
2022-08-06 09:13:04 +02:00
kiasoc5
7f9b7ed0ff
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>
2022-08-06 09:13:00 +02:00
Liliana Marie Prikler
1d543f67e2
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.
2022-08-06 06:45:14 +02:00
Felix Gruber
18007d3a7b
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>
2022-08-06 06:45:13 +02:00
Liliana Marie Prikler
8b6c4edded
gnu: komikku: Update to 0.40.0.
* gnu/packages/gnome.scm (komikku): Update to 0.40.0.
2022-08-06 06:45:13 +02:00
Tobias Geerinckx-Rice
79fbe4f524
doc: Fix typo.
* doc/guix.texi (X Window): Fix ‘string-apppend’ typo.
2022-07-31 02:00:12 +02:00
Tobias Geerinckx-Rice
792e1c2ce1
gnu: libinih: Update to 56.
* gnu/packages/linux.scm (libinih): Update to 56.
2022-07-31 02:00:00 +02:00
Tobias Geerinckx-Rice
fe47ae3b79
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.
2022-07-31 02:00:00 +02:00
Nicolas Goaziou
32ac3efa98
gnu: emacs-gruvbox-theme: Update to 1.29.0.
* gnu/packages/emacs-xyz.scm (emacs-gruvbox-theme): Update to 1.29.0.
2022-08-06 01:31:51 +02:00
Nicolas Goaziou
5974f0a276
gnu: emacs-taxy: Update to 0.10.
* gnu/packages/emacs-xyz.scm (emacs-taxy): Update to 0.10.
2022-08-06 01:30:16 +02:00
Sharlatan Hellseher
6615e82a63
gnu: Add python-pynbody.
* gnu/packages/astronomy.scm: (python-pynbody): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-08-05 21:44:11 +03:00
Sharlatan Hellseher
b12da85668
gnu: Add python-posix-ipc.
* gnu/packages/python-xyz.scm: (python-posix-ipc): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-08-05 21:08:49 +03:00
Efraim Flashner
4fc41b4a9d
.git-authorizations: Authorize Andrew Tropin.
* .git-authorizations (abcdw): Add OpenPGP key fingerprint.
2022-08-05 18:32:45 +03:00
Efraim Flashner
1dc4e1810c
gnu: Remove rust-pico-sys-0.0.
* gnu/packages/crates-io.scm (rust-pico-sys-0.0): Remove variable.
2022-08-05 18:21:46 +03:00
Efraim Flashner
6c62a5eeb0
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.
2022-08-05 18:21:46 +03:00