Commit graph

133362 commits

Author SHA1 Message Date
Nguyễn Gia Phong
5b507280d7
gnu: qbe: Update to 1.2.
* gnu/packages/c.scm (qbe): Update to 1.2.

Change-Id: I0fc2039b416026dc0563b9ead967713e594446bc
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-10 12:03:00 +08:00
宋文武
c9ce94b5e1
gnu: qt5ct: Update to 1.8.
* gnu/packages/qt.scm (qt5ct): Update to 1.8.

Change-Id: Ic8637433e18f4913bf77b1ef8003daafddcae5cd
2024-03-10 11:55:00 +08:00
Zheng Junjie
b05bb6608c
gnu: gperftools: Fix build on riscv64-linux.
* gnu/packages/cpp.scm(gperftools)[arguments]: When building for riscv64-linux
always link with libatomic.

Change-Id: I067087fffd8c142759b6d113f993c3e2ab1aef9b
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-10 11:07:24 +08:00
Andy Tai
7f1cd8847f
gnu: xpra: Update to 5.0.7.
* gnu/packages/xorg.scm (xpra): Update to 5.0.7.

Change-Id: I5a1f3e6d39fb0bf7a8a1858574e34c49d57630f5
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-10 09:39:39 +08:00
nicodebo
1f89e15207
gnu: Add x2goclient.
* gnu/packages/nx.scm (x2goclient): New variable.

Reviewed-by: Steve George <steve@futurile.net>
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ib0ff6328ede3fb4a0b48462ac1a003438c53c862
2024-03-09 19:56:36 -05:00
nicodebo
05b19cd071
gnu: Add nx-libs.
* gnu/packages/nx.scm: New file.

Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I13e088521d5e5577fed5d6a4b10867ca10f4293f
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-03-09 19:56:36 -05:00
Maxim Cournoyer
59ff9d0088
gnu: qttools-5: Patch path to qmake for the lprodump command.
This previously would lead to this cryptic error: "WARNING: Could not find
qmake spec 'default'", which turned out to be caused by lprodump erroneously
attempting to run 'qmake' from its own prefix (qmake is from the qtbase
package, not qttools).

* gnu/packages/qt.scm (qttools-5) [phases]
<patch-qmake>: New phase.

Change-Id: I6e9a2d35fec987451fd1e30b84a82023dbfd3316
2024-03-09 19:54:34 -05:00
Maxim Cournoyer
d8c9d27ffb
gnu: Add man2html.
* gnu/packages/man.scm (man2html): New variable.

Change-Id: Ia9d290b52af29867f6b3e0fff1aa0af8c788a9cc
2024-03-09 19:54:34 -05:00
Liliana Marie Prikler
7b9a23ea31
gnu: gnome-photos: Build against gegl-0.4.44.
On gnome-team, this dependency was already accounted for in commit
4beac7d95c, but it was forgotten when updating
gimp on master.

* gnu/packages/gimp.scm (babl-0.1.96, gegl-0.4.44): New variables.
* gnu/packages/gnome.scm (gnome-photos)[inputs]: Replace gegl with gegl-0.4.44.
2024-03-09 22:16:40 +01:00
Ludovic Courtès
2f441fc738
download: Honor ‘GUIX_DOWNLOAD_METHODS’ environment variable.
This replaces ‘GUIX_DOWNLOAD_FALLBACK_TEST’ and allows you to test
various download methods, like so:

  GUIX_DOWNLOAD_METHODS=nar guix build guile-gcrypt -S --check
  GUIX_DOWNLOAD_METHODS=disarchive guix build hello -S --check

* guix/build/download.scm (%download-methods): New variable.
(download-method-enabled?): New procedure.
(url-fetch): Define ‘initial-uris’; honor ‘download-method-enabled?’.
Call ‘disarchive-fetch/any’ only when the 'disarchive method is enabled.
* guix/build/git.scm (git-fetch-with-fallback): Honor
‘download-method-enabled?’.
* guix/download.scm (%download-methods): New variable.
(%download-fallback-test): Remove.
(built-in-download): Add #:download-methods parameter and honor it.
(url-fetch*): Pass #:content-addressed-mirrors and #:disarchive-mirrors
unconditionally.
* guix/git-download.scm (git-fetch/in-band*): Pass “git url”
unconditionally.
(git-fetch/built-in): Likewise.  Pass “download-methods”.
* guix/bzr-download.scm (bzr-fetch)[build]: Honor ‘download-method-enabled?’.
Pass ‘GUIX_DOWNLOAD_METHODS’ to #:env-vars.
* guix/cvs-download.scm (cvs-fetch)[build]: Honor ‘download-method-enabled?’.
Pass ‘GUIX_DOWNLOAD_METHODS’ to #:env-vars.
* guix/hg-download.scm (hg-fetch): Honor ‘download-method-enabled?’.
Pass #:env-vars to ‘gexp->derivation’.
* guix/scripts/perform-download.scm (perform-download): Honor
“download-methods” from DRV.  Parameterize ‘%download-methods’ before
calling ‘url-fetch’.
(perform-git-download): Likewise.
* guix/svn-download.scm (svn-fetch): Honor ‘download-method-enabled?’.
Pass ‘GUIX_DOWNLOAD_METHODS’ to #:env-vars.
(svn-multi-fetch): Likewise.

Change-Id: Ia3402e17f0303dfa964bdc761265efe8a1dd69ab
2024-03-09 18:55:50 +01:00
Ludovic Courtès
abd0cca2a9
perform-download: Allow use of ‘download-nar’ for ‘--check’ builds.
Previously, the nar fallback would always fail on ‘--check’ build
because the output directory in that case is different from the store
file name.  This change fixes that.

* guix/build/git.scm (git-fetch-with-fallback): Add #:item parameter and
pass it to ‘download-nar’.
* guix/scripts/perform-download.scm (perform-git-download): Pass #:item
to ‘git-fetch-with-fallback’.

Change-Id: I30fc948718e99574005150bba5215a51ef153c49
2024-03-09 18:55:50 +01:00
Ludovic Courtès
3e9bea7ee3
download-nar: Distinguish ‘output’ and ‘item’ parameter.
This is useful when running a ‘--check’ build, where the output file
name differs from the store file name we are trying to restore.

* guix/build/download-nar.scm (download-nar): Add ‘output’ parameter and
distinguish it from ‘item’.

Change-Id: I42219b6d4c8fd1ed506720301384efc1aa351561
2024-03-09 18:55:50 +01:00
Ludovic Courtès
8a42fc7140
bzr-download: Implement nar fallback.
* guix/bzr-download.scm (bzr-fetch)[guile-json, guile-lzlib,
guile-gnutls]: New variables.
[build]: Add ‘with-extensions’ and import more modules.  Invoke
‘download-nar’ when ‘bzr-fetch’ returns #f.
* guix/build/bzr.scm (bzr-fetch): Actually return #t on success.

Change-Id: Id5d4ebd0f9ddc3c44b6456d3b46c0000cc7b9997
2024-03-09 18:55:49 +01:00
Ludovic Courtès
0e73f933b2
svn-download: Use ‘swh-download-directory-by-nar-hash’.
Fixes <https://issues.guix.gnu.org/43442>.

* guix/svn-download.scm (svn-fetch)[build]: Add
‘swh-download-directory-by-nar-hash’ call as a last resort.
Import (guix swh).
* guix/svn-download.scm (svn-multi-fetch)[build]: Likewise.

Change-Id: Ifcb9be1e9c2b05ce172c44e45dcf3a3ea6df8e76
2024-03-09 18:55:49 +01:00
Ludovic Courtès
2a9f817ffd
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
2024-03-09 18:55:49 +01:00
Ludovic Courtès
ddd455c0dd
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
2024-03-09 18:55:49 +01:00
Ludovic Courtès
ed9d7d8431
swh: ‘origin-visits’ takes an optional ‘max’ parameter.
* guix/swh.scm (origin-visits): Add optional ‘max’ parameter and honor
it.

Change-Id: I642d7d4b0672b68fb5c7ce2b49161307e13d3c95
2024-03-09 18:55:49 +01:00
Ludovic Courtès
a813d6890b
swh: Add ‘type’ field to <visit>.
* guix/swh.scm (<visit>)[type]: New field.

Change-Id: I7677984c7daef38d8f3c3bef19723fa0efb035ba
2024-03-09 18:55:49 +01:00
Ludovic Courtès
47a0e5d9fb
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
2024-03-09 18:55:49 +01:00
Ludovic Courtès
3328dec087
lint: archival: Fix crash in non-Git case.
Fixes a bug introduced in 29f3089c84 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
2024-03-09 18:55:49 +01:00
Ludovic Courtès
cfc63f673f
lint: Switch to SRFI-71.
* guix/lint.scm: Switch from SRFI-11 to SRFI-71.

Change-Id: I62e6cd304ad73570bd12bd67f7051566205596bb
2024-03-09 18:55:48 +01:00
Efraim Flashner
d53ca79370
gnu: Register patch.
This is a follow-up to d1b660a00c.

* gnu/local.mk (dist_patch_DATA): Register new patch.

Change-Id: I281aa1e7ed9f30dc17fd3092d0db9e193f94f9d5
2024-03-09 18:44:14 +02:00
Tanguy Le Carrour
d1b660a00c
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>
2024-03-09 16:59:20 +01:00
Liliana Marie Prikler
1bc05c6f6d
gnu: Add gimp-next.
* gnu/packages/gimp.scm (gimp-next): New variable.
2024-03-09 07:10:17 +01:00
Liliana Marie Prikler
0f816853b9
gnu: gimp: Update to 2.10.36.
* gnu/packages/gimp.scm (gimp): Update to 2.10.36.
2024-03-09 07:10:17 +01:00
Liliana Marie Prikler
1f0767a85b
gnu: gegl: Build with introspection.
* gnu/packages/gimp.scm (gegl)[arguments]: Remove #:configure-flags.
2024-03-09 07:10:17 +01:00
Liliana Marie Prikler
99cfb624ca
gnu: babl: Build with introspection.
* gnu/packages/gimp.scm (babl)[#:configure-flags]: Remove “-Denable-gir=false”.
2024-03-09 07:10:17 +01:00
Liliana Marie Prikler
d6d9e65175
gnu: gegl: Update to 0.4.48.
* gnu/packages/gimp.scm (gegl): Update to 0.4.48.
2024-03-09 07:10:17 +01:00
Liliana Marie Prikler
9c78902d8a
gnu: babl: Update to 0.1.108.
* gnu/packages/gimp.scm (babl): Update to 0.1.108.
2024-03-09 07:10:16 +01:00
Eric Bavier
a10cce5246
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
2024-03-08 22:32:17 -06:00
Zheng Junjie
e51c26ef2d
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>
2024-03-09 11:55:46 +08:00
Alex Devaure
fd3e618cf0
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>
2024-03-09 11:30:23 +08:00
Andy Tai
f16a112500
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>
2024-03-09 11:30:23 +08:00
Felix Gruber
757dc108b8
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>
2024-03-09 11:30:23 +08:00
Zheng Junjie
584e240842
gnu: catch2-3: Update to 3.5.3.
* gnu/packages/check.scm (catch2-3): Update to 3.5.3.
[arguments]: Remove -DCMAKE_CXX_FLAGS from configure-flags.

Change-Id: Ib9e88dd6071d14ef70177fa83964a5d92b916ac0
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-09 11:30:23 +08:00
unwox
06ff53d94c
gnu: fennel: Update to 1.4.2.
* gnu/packages/lua.scm (fennel): Update to 1.4.2.

Change-Id: I40957cd55dc9278158551952bdfbabc77ecd5885
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-09 11:30:23 +08:00
Skylar Chan
3db5702e0b
gnu: cmark: Update to 0.31.0.
* gnu/packages/markup.scm (cmark): Update to 0.31.0.

Change-Id: Ie9890dec34400e2c4b11f20e2dc67aa5dc111574
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-09 11:30:23 +08:00
Andy Tai
d13cfbc3f9
gnu: mc: Update to 4.8.31.
* gnu/packages/mc.scm (mc): Update to 4.8.31.

Change-Id: Ib610e76b2ef5e6c1a1f49f34073015c0b260ea77
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-09 11:30:23 +08:00
dan
52f9db6503
gnu: Add sioyek.
* gnu/packages/patches/sioyek-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/pdf.scm (sioyek): New variable.

Change-Id: Id2708745bd7ef672b620b8e9c907126bdc5a1f55
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-03-09 09:38:27 +08:00
Hilton Chain
8d6d5b2a94
gnu: qbittorrent-enhanced-nox: Rename to qbittorrent-enhanced-no-x.
* gnu/packages/bittorrent.scm (qbittorrent-enhanced-no-x): New variable, renamed
from…
(qbittorrent-enhanced-nox): …this package, now redefined as a
DEPRECATED-PACKAGE.

Change-Id: I4d1f9da937df6d6145ffbf9e9f2dd544365b9872
2024-03-09 09:34:59 +08:00
Hilton Chain
55c5f54f03
gnu: qbittorrent-no-x: Actually remove qtsvg from inputs.
* gnu/packages/bittorrent.scm (qbittorrent-no-x)[inputs]: Correct "qtsvg-5" to
"qtsvg".

Change-Id: I77bae8ccf3de7a1be51a74228e135176dc72425d
2024-03-09 09:34:53 +08:00
Hilton Chain
c5cb09e42f
gnu: qbittorrent-enhanced: Update to 4.6.3.10.
* gnu/packages/bittorrent.scm (qbittorrent-enhanced): Update to 4.6.3.10.

Change-Id: I415d228dbbff2f4d5abf9bda2ca84ac81c0d0602
2024-03-09 09:34:47 +08:00
Hilton Chain
67c45d8367
gnu: font-lxgw-wenkai-tc: Update to 1.320.
* gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Update to 1.320.

Change-Id: Id7881c2fd486341a48cc7f1cb9708988f672ab5a
2024-03-09 09:34:09 +08:00
Hilton Chain
334f9f6b4f
gnu: font-lxgw-wenkai: Update to 1.320.
* gnu/packages/fonts.scm (font-lxgw-wenkai): Update to 1.320.

Change-Id: I2c533eec088a5b62a4a54138c179a5a9f89d79a6
2024-03-09 09:34:03 +08:00
Hilton Chain
5759e8be03
gnu: sway: Update package style.
* gnu/packages/wm.scm (sway)[arguments]: Use gexps.
<#:phases>: Adjust to use ‘search-input-file’.
Remove trailing #t.

Change-Id: I5bd91faf2c79566486437b37cf72964d2c6a85fc
2024-03-09 09:32:13 +08:00
Hilton Chain
0e9c2d2eba
gnu: sway: Update to 1.9.
* gnu/packages/wm.scm (sway): Update to 1.9.
[arguments]<#:phases>: Don't hardcode path to scdoc.
[inputs]: Replace wlroots-0.16 with wlroots.

Change-Id: I2108e57180a91dc2873d5398dc5f6981002e1c3d
2024-03-09 09:32:07 +08:00
Hilton Chain
a900fa3c6c
gnu: font-chiron-sung-hk: Split outputs.
* gnu/packages/fonts.scm (font-chiron-sung-hk)[arguments]: Split outputs.
[outputs]: Add "otf" and "ttf".

Change-Id: Id96bba47e8f9ae9404a528bcceab3e110a05db4e
2024-03-09 09:28:27 +08:00
Hilton Chain
e4265aa97f
gnu: font-chiron-hei-hk: Update to 2.509.
* gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.509.

Change-Id: I29f2ad3409eaa9ecbdf964397d03110d83a91f75
2024-03-09 09:28:21 +08:00
Hilton Chain
c8529c3201
gnu: font-chiron-sung-hk: Update to 1.011.
* gnu/packages/fonts.scm (font-chiron-sung-hk): Update to 1.011.

Change-Id: Ib462e1707e611a2ff8053d69d38d28324e8d1cfe
2024-03-09 09:28:16 +08:00
Hilton Chain
8f8ec56052
linux-initrd: Avoid looking up builtin modules.
* gnu/system/linux-initrd.scm (flat-linux-module-directory)
[build-exp]<builtin-modules,modules-to-lookup>: New variables.
<modules>: Use ‘modules-to-lookup’ to avoid looking up builtin modules.

Change-Id: I60fdae0211bb6632508b1c63582e013e78186cd1
2024-03-09 09:21:19 +08:00