Commit graph

122554 commits

Author SHA1 Message Date
Maxim Cournoyer 6953fb9241
gnu-maintenance: Add support to rewrite version in URL path.
Fixes <https://issues.guix.gnu.org/64015>.
Fixes <https://issues.guix.gnu.org/65304>.

Previously, the generic HTML updater would only look for the list of files
found at the parent of its current source URL, ignoring that the URL may embed
the version elsewhere in its path.  This could cause 'guix refresh' to report
no updates available, while in fact there were, such as for 'libuv'.

* guix/gnu-maintenance.scm (strip-trailing-slash): New procedure.
(%version-rx): New variable.
(rewrite-url): New procedure.
(import-html-release): New rewrite-url? argument.  When true, use the above
procedure.
(import-html-updatable-release): Call import-html-release with #:rewrite-url
set to #t.
* tests/gnu-maintenance.scm ("rewrite-url, to-version specified")
("rewrite-url, without to-version"): New tests.
2023-08-26 11:38:56 -04:00
Maxim Cournoyer 6fb8cc312d
gnu-maintenance: Extract 'canonicalize-url' from 'import-html-release'.
* guix/gnu-maintenance.scm
(canonicalize-url): New procedure, extracted from...
(import-html-release): ... here.  Use it.  Rename inner PACKAGE variable to
NAME, to explicit it is a string and not a package object.
2023-08-26 11:38:56 -04:00
Maxim Cournoyer 2654232660
gnu-maintenance: Document nested procedures in 'import-html-release'.
* guix/gnu-maintenance.scm (import-html-release): Add docstring to the
'file->signature/guess' and 'url->release' nested procedures.
2023-08-26 11:38:56 -04:00
Maxim Cournoyer c6b5eeac92
gnu-maintenance: Accept package object in 'import-html-release' procedure.
This is in preparation for a new URL rewriting feature, which will need to
have the current version information available.

* guix/gnu-maintenance.scm (import-html-release): Update doc.  Adjust default
value of the DIRECTORY argument.  Bind PACKAGE in lexical scope so that its
value there is unchanged.
(import-savannah-release, import-kernel.org-release)
(import-html-updatable-release): Adjust accordingly.
2023-08-26 11:38:56 -04:00
Maxim Cournoyer a5e67dec2a
gnu-maintenance: Fix indentation.
* guix/gnu-maintenance.scm: Re-indent file.
2023-08-26 11:38:55 -04:00
Maxim Cournoyer f6cfc993ac
gnu-maintenance: Extract url->links procedure.
* guix/gnu-maintenance.scm (url->links): New procedure.
(import-html-release): Use it.
2023-08-26 11:38:55 -04:00
Maxim Cournoyer 610d0e30e0
gnu-maintenance: Fix docstring.
* guix/gnu-maintenance.scm (import-kernel.org-release): Fix docstring.
2023-08-26 11:38:55 -04:00
Maxim Cournoyer 4110cc4f75
gnu-maintenance: Make base-url argument of import-html-release required.
It doesn't make sense to have it default to something like
"https://kernel.org/pub"; it should always be provided explicitly.

* guix/gnu-maintenance.scm (import-html-release) <#:base-url>: Turn keyword
argument into a positional argument.  Update doc.
* guix/gnu-maintenance.scm (import-savannah-release): Adjust call accordingly.
(import-kernel.org-release): Likewise.
(import-html-updatable-release): Likewise.
2023-08-26 11:38:55 -04:00
fanquake cfe55b220a
gnu: libmtp: Update to 1.1.21.
* gnu/packages/libusb.scm (libmtp): Update to 1.1.21.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-08-26 12:44:03 +01:00
flabbergasted bdea9adc86
gnu: neomutt: Update to 20230517.
* gnu/packages/mail.scm (neomutt): Update to 20230517.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-08-26 12:36:28 +01:00
Christopher Baines 5ac265c9f0
gnu: guix-build-coordinator: Update to 0-87.06a4469.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-87.06a4469.
2023-08-26 12:21:41 +01:00
Christopher Baines d823ed25d5
services: nar-herder: Specify a working directory.
Mostly so that core dumps end up here.

* gnu/services/guix.scm (nar-herder-shepherd-services): Specify a working
directory.
2023-08-26 12:19:14 +01:00
Christopher Baines 82b5e89d78
services: guix-data-service: Specify a working directory.
Mostly so that core dumps end up here.

* gnu/services/guix.scm (guix-data-service-shepherd-services): Specify a
working directory.
2023-08-26 12:18:52 +01:00
Christopher Baines aba7c73d04
services: guix-build-coordinator: Specify a working directory.
Mostly so that core dumps end up here.

* gnu/services/guix.scm (guix-build-coordinator-shepherd-services): Specify a
working directory.
2023-08-26 12:18:08 +01:00
Zheng Junjie eeb71d778f
gnu: pkgconf: Update to 2.0.2.
* gnu/packages/pkg-config.scm (pkgconf): Update to 2.0.2.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:30:27 +08:00
kiasoc5 98f9a35f53
gnu: xsecurelock: Update to 1.8.0.
* gnu/packages/xdisorg.scm (xsecurelock): Update to 1.8.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:30:27 +08:00
kiasoc5 428327e6be
gnu: ydotool: Update to 1.0.4.
* gnu/packages/xdisorg.scm (ydotool): Update to 1.0.4.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:30:27 +08:00
kiasoc5 92f301ffd8
gnu: xlockmore: Update to 5.72.
* gnu/packages/xdisorg.scm (xlockmore): Update to 5.72.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:30:16 +08:00
kiasoc5 9f1a39ac3d
gnu: autorandr: Update to 1.14.
* gnu/packages/xdisorg.scm (autorandr): Update to 1.14.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:22:33 +08:00
Bruno Victal c135d9747e
gnu: mympd: Update to 11.0.4.
* gnu/packages/mpd.scm (mympd): Update to 11.0.4.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:16:57 +08:00
宋文武 10d4923691
gnu: rizin: Update to 0.6.1.
* gnu/packages/engineering.scm (rizin): Update to 0.6.1.
[arguments]<#:phases>: Enable a now passing test (analysis_var).
2023-08-26 11:15:29 +08:00
宋文武 b29aadf602
gnu: freedroidrpg: Update to 1.0.
* gnu/packages/games.scm (freedroidrpg): Update to 1.0.
2023-08-26 11:15:10 +08:00
宋文武 4595dfe2cd
gnu: gnubg: Update to 1.07.001.
* gnu/packages/games.scm (gnubg): Update to 1.07.001.
2023-08-26 11:14:47 +08:00
Jussi Timperi c08b6d7056
gnu: tp-smapi-module: Update to 0.44.
* gnu/packages/linux.scm (tp-smapi-module): Update to 0.44.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-26 11:14:36 +08:00
John Kehayias d17eea7472
gnu: python-canvasapi: Propagate python-arrow.
The package python-arrow is needed when importing canvasapi.

* gnu/packages/python-web.scm (python-canvasapi)[native-inputs]: Move
python-arrow from here...
[propagated-inputs]: ...to here.
2023-08-25 18:30:19 -04:00
John Kehayias 375a1a0558
gnu: python-canvasapi: Update to 3.2.0.
* gnu/packages/python-web.scm (python-canvasapi): Update to 3.2.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-arrow.
2023-08-25 12:53:23 -04:00
Josselin Poiret 4fefbd4f14
tests: guix-home: Fix description search for home-mcron.
* tests/guix-home.sh: home-mcron has changed description, adapt the search.
2023-08-25 17:45:47 +02:00
Josselin Poiret 9f68a2a9c4
doc: Note that guix shell should contain base language packages.
* doc/guix.texi (Invoking guix shell): Explain that python must be included in
the invocation even if it is already available in the external environment.

Suggested-by: Skyler <skyvine@protonmail.com>
2023-08-25 15:16:19 +02:00
David Thompson e9a5eebc78
gnu: system: Add home-directory-permissions field to <user-account>.
* gnu/system/accounts.scm (<user-account>)[home-directory-permissions]: New
field.
(user-account-home-directory-permissions): New accessor.
* gnu/build/activation.scm (activate-users+groups): Use home directory
permission bits from the user account object.
* doc/guix.texi (User Accounts): Document new field.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-08-25 15:12:54 +02:00
Josselin Poiret 6c447ababf
gnu: gcc-toolchain: Add empty librt.a.
* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a.
* gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
2023-08-25 14:35:22 +02:00
Josselin Poiret 106ad23ae4
graph: Add GraphML backend.
* guix/graph.scm (emit-graphml-prologue, emit-graphml-epilogue,
emit-graphml-node, emit-graphml-edge): New procedures.
(%graphml-backend): New variable.
(%graph-backends): Add %graphml-backend.
2023-08-25 14:24:43 +02:00
Josselin Poiret ca8acad382
build: Add dependency on guix script for help2man targets.
* doc/local.mk: Add dependency on guix script for help2man targets.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-08-25 14:24:24 +02:00
Josselin Poiret d57cab7641
image: Add mbr-raw-image-type and use by default.
* gnu/system/image.scm (mbr-disk-image, mbr-raw-image-type): New variables.
(qcow2-image-type): Inherit mbr-disk-image.
* guix/scripts/system.scm (%default-options): Use mbr-raw-image-type by
default.
* gnu/tests/install.scm (run-install): Use mbr-raw in the tests.
* doc/guix-cookbook.texi (Guix System Image API): Update the list of image
types.
* doc/guix.texi (Invoking guix system, System Images, image-type Reference):
Add mbr-raw and switch documented default to it.
2023-08-25 14:24:21 +02:00
Josselin Poiret 519c3b7803
tests: guix-shell: Use bash instead of user's $SHELL.
* tests/guix-shell.sh (fd_list): Use bash instead of $SHELL.  Some other
shells have trouble not opening too many fds.  Also, bash in an implicit input
of guix, so it should always be available.
2023-08-25 14:23:43 +02:00
Simon Streit 1c916c167b
gnu: Add thunarx-python.
* gnu/packages/xfce.scm (thunarx-python): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-25 18:13:32 +08:00
Hilton Chain 5c8e8dff60
gnu: qtwayland: Fix test.
* gnu/packages/qt.scm (qtwayland)[#:phases]<disable-failing-tests>: Adjust
according to source change.
2023-08-25 14:21:03 +08:00
Danny Milosavljevic ff48a10807
gnu: ebusd: Default pidfile and logfile to writable locations.
* gnu/packages/embedded.scm (ebusd)[arguments]<#:configure-flags>: Specify
--localstatedir=/var
2023-08-25 01:14:44 +02:00
Danny Milosavljevic 2c4131ebb3
gnu: ebusd: Update to 23.2.
* gnu/packages/embedded.scm (ebusd): Update to 23.2.
2023-08-25 01:09:23 +02:00
Nicolas Goaziou 738b0e4ccc
guix: profiles: Detect TeX Live packages propagated from non-TeX Live inputs.
This fixes <https://issues.guix.gnu.org/65474>.

* guix/profiles.scm (texlive-font-maps): Also check for TeX Live dependencies
in non "texlive-" prefixed packages.

For example, PYTHON-NBCONVERT propagates TeX Live inputs.  Those need to be
found out when building ".map"" files.

Co-authored-by: Andreas Enge <andreas@enge.fr>
2023-08-24 16:03:18 +02:00
Nicolas Goaziou 39fa1ef033
gnu: Add texlive-collection-publishers.
* gnu/packages/tex.scm (texlive-collection-publishers): New variable.
2023-08-24 11:11:32 +02:00
Nicolas Goaziou 1f4298611e
gnu: Add texlive-yathesis.
* gnu/packages/tex.scm (texlive-yathesis): New variable.
2023-08-24 11:11:32 +02:00
Nicolas Goaziou 08312d52c4
gnu: Add texlive-dashrule.
* gnu/packages/tex.scm (texlive-dashrule): New variable.
2023-08-24 11:11:32 +02:00
Nicolas Goaziou a84b930135
gnu: Add texlive-wallpaper.
* gnu/packages/tex.scm (texlive-wallpaper): New variable.
2023-08-24 11:11:31 +02:00
Nicolas Goaziou 9f1b0e9af0
gnu: Add texlive-isodate.
* gnu/packages/tex.scm (texlive-isodate): New variable.
2023-08-24 11:11:31 +02:00
Nicolas Goaziou 42813018f3
gnu: Add texlive-cleveref.
* gnu/packages/tex.scm (texlive-cleveref): New variable.
2023-08-24 11:11:31 +02:00
Nicolas Goaziou 7450db62da
gnu: Add texlive-glossaries.
* gnu/packages/tex.scm (texlive-glossaries): New variable.
2023-08-24 11:11:31 +02:00
Nicolas Goaziou 52ba95aa66
gnu: Add texlive-tocbibind.
* gnu/packages/tex.scm (texlive-tocbibind): New variable.
2023-08-24 11:11:30 +02:00
Nicolas Goaziou 217922f8a5
gnu: Add texlive-morewrites.
* gnu/packages/tex.scm (texlive-morewrites): New variable.
2023-08-24 11:11:30 +02:00
Nicolas Goaziou 696e5bc49b
gnu: Add texlive-accsupp.
* gnu/packages/tex.scm (texlive-accsupp): New variable.
2023-08-24 11:11:30 +02:00
Nicolas Goaziou 5314a17d62
gnu: Add texlive-mparhack.
* gnu/packages/tex.scm (texlive-mparhack): New variable.
2023-08-24 11:11:30 +02:00