hg-download: Use ‘swh-download-directory-by-nar-hash’.
This allows content-addressed access to the checkout, which is
preferable.
* guix/hg-download.scm (hg-fetch): Add call to
‘swh-download-directory-by-nar-hash’ before ‘swh-download’ call.
Change-Id: I2afc8badc1f8bb2c8bdd3a47abbb72d455d93e64
swh: ‘lookup-origin-revision’ handles branches pointing to directories.
Fixes <https://issues.guix.gnu.org/69070>.
* guix/swh.scm (branch-target): Add clause for 'directory and 'alias.
(lookup-origin-revision): Iterate over all the visits of ORIGIN instead
of just the first one. Handle the case where ‘branch-target’ returns
something other than a release or revision.
* tests/swh.scm ("lookup-origin-revision"): New test.
Change-Id: I7f636739a719908763bca1d3e7376341dd62e816
swh: ‘origin-visits’ takes an optional ‘max’ parameter.
* guix/swh.scm (origin-visits): Add optional ‘max’ parameter and honor
it.
Change-Id: I642d7d4b0672b68fb5c7ce2b49161307e13d3c95
swh: Add ‘type’ field to <visit>.
* guix/swh.scm (<visit>)[type]: New field.
Change-Id: I7677984c7daef38d8f3c3bef19723fa0efb035ba
lint: archival: Trigger “Save Code Now” for VCSes other than Git.
Until now, ‘save-origin’ would be called only when given a
<git-reference>. With this change, ‘save-origin’ gets called for other
version control systems as well.
* guix/lint.scm (swh-response->warning): New procedure, formerly in
‘check-archival’.
(vcs-origin, save-package-source): New procedures.
(check-archival)[response->warning]: Remove.
Call ‘save-package-source’ in both the Git and the non-Git cases.
* tests/lint.scm ("archival: missing svn revision"): New test.
Change-Id: I535e4ec89488faf83bfa544d5e4935fa73ef54fb
lint: archival: Fix crash in non-Git case.
Fixes a bug introduced in 29f3089c841f00144f24f5c32296aebf22d752cc where
‘guix lint -c archival guile-wisp’ (for instance) would crash with a
match error because ‘lookup-by-nar-hash’ returns a string.
* guix/lint.scm (check-archival): Add SWHID case in the non-Git case.
Change-Id: I66fb060172d372041df47d90a14df168b0fa762d
lint: Switch to SRFI-71.
* guix/lint.scm: Switch from SRFI-11 to SRFI-71.
Change-Id: I62e6cd304ad73570bd12bd67f7051566205596bb
gnu: Add python-3.12 and python-next.
* gnu/packages/python.scm (python-3.12, python-next): New variables.
* gnu/packages/patches/python-3.12-fix-tests.patch: New file.
Change-Id: Ie393b732a8863569578e72e62603b75a1655a34e
Signed-off-by: Tanguy Le Carrour <tanguy@bioneland.org>
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
gnu: Add gimp-next.
* gnu/packages/gimp.scm (gimp-next): New variable.
gnu: gimp: Update to 2.10.36.
* gnu/packages/gimp.scm (gimp): Update to 2.10.36.
gnu: gegl: Build with introspection.
* gnu/packages/gimp.scm (gegl)[arguments]: Remove #:configure-flags.
gnu: babl: Build with introspection.
* gnu/packages/gimp.scm (babl)[#:configure-flags]: Remove “-Denable-gir=false”.
gnu: gegl: Update to 0.4.48.
* gnu/packages/gimp.scm (gegl): Update to 0.4.48.
gnu: babl: Update to 0.1.108.
* gnu/packages/gimp.scm (babl): Update to 0.1.108.
gnu: netsurf: Update to 3.11.
* gnu/packages/web.scm (netsurf): Update to 3.11.
[arguments]: Adjust to new source. Netsurf's JS engine cannot handle
DuckDuckGo's redirect urls, so replace websearch form with post to DuckDuckGo
Lite.
(netsurf-buildsystem): Update to 1.10
(libparserutils): Update to 0.2.5.
(hubbub): Update to 0.3.8.
[source]: Remove hubbub-maybe-uninitialized.patch.
(libcss): Update to 0.9.2.
[source]: Remove snippet. Add patch for tests.
(libdom): Update to 0.4.2.
(libsvgtiny): Update to 0.1.8.
(libnsbmp): Update to 0.1.7.
(libnsgif): Update to 1.0.0.
(libnsutils): Update to 0.1.1.
(libnspsl): Update to 0.1.7.
(nsgenbind): Update to 0.9.
* gnu/packages/patches/netsurf-message-timestamp.patch: Adjust to latest
source.
* gnu/packages/patches/hubbub-maybe-uninitialized.patch: Delete patch.
* gnu/packages/patches/libcss-check-format.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Adjust.
Change-Id: I5834b0418270309aa30b6cd0a5a307e20c00fd4a
gnu: plasma-desktop: Fix build.
* gnu/packages/kde-plasma.scm (plasma-desktop)[inputs]: Replace
qtwayland with qtwayland-5.
Change-Id: I88b4a81b8e93ed94877344f86f8b7787ed5937ed
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu: darktable: Update to 4.6.1.
* gnu/packages/photo.scm (darktable): Update to 4.6.1.
Change-Id: I2642b78036205c97c8183349fc809fcfec78f866
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu: xnedit: Update to 1.5.3.
* gnu/packages/text-editors.scm (xnedit): Update to 1.5.3.
Change-Id: I65242f061e8ecbb8d23e7a3e9ad5c50b2fe98842
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu: oil: Update to 0.20.0.
* gnu/packages/shells.scm (oil): Update to 0.20.0.
Change-Id: I052cd9a41feb81e0883f70554f1b99d240a1f920
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>