Commit Graph

134895 Commits

Author SHA1 Message Date
Ludovic Courtès
54be7795b5
utils: Don’t re-export ‘call-with-temporary-output-file’.
* guix/utils.scm: Remove re-export of ‘call-with-temporary-output-file’.
Autoload a number of modules.
* guix/download.scm, guix/import/hackage.scm,
guix/import/hexpm.scm, guix/import/opam.scm,
guix/import/pypi.scm, tests/cpio.scm, tests/egg.scm,
tests/opam.scm, tests/publish.scm, tests/store-database.scm,
tests/utils.scm: Adjust imports accordingly.

Change-Id: I3f5e94631397996a30be2ea4ff8b50a3371e8ee7
2024-04-15 22:36:42 +02:00
Ludovic Courtès
6dc238f261
guix system: Autoload some more.
* guix/scripts/system.scm: Autoload more modules.

Change-Id: I665857109bbfd1e3755135daacc01affcb3eb2eb
2024-04-15 22:36:42 +02:00
Ludovic Courtès
276e658943
channels: Autoload (git …) modules.
Autoloading Guile-Git is important in cases where (guix channels) is
used for little more than the <channel> definition.  This is the case,
for example, of ‘guix describe’ or ‘guix shell’.

This reduces from 177 to 121 the number of .go files loaded when
running:

  ./pre-inst-env strace -e openat -o /tmp/log.strace \
     guix describe -p /var/guix/profiles/per-user/$USER/current-guix
  grep 'openat.*\.go.* = [0-9]' < /tmp/log.strace |wc -l

Likewise, it reduces the max RSS (as measured by ‘time -f %M guix
describe -p …’) from 54 to 37 MiB.

* guix/channels.scm: Autoload (git …) modules.

Change-Id: Ia58a99c865bf0f6fe461a1e71390d075e760f8d6
2024-04-15 22:36:42 +02:00
Ludovic Courtès
96d2de0185
git: Add ‘tag->commit’ and use it in (guix channels).
* guix/git.scm (tag->commit): New procedure, taken from…
(resolve-reference): … here.  Use it in the ‘tag’ case.
* guix/channels.scm (resolve-channel-news-entry-tag): Use ‘tag->commit’
instead of custom code.

Change-Id: I46ea387345dc1b695ce0702991a52d0cde29e2f0
2024-04-15 22:36:41 +02:00
Ludovic Courtès
088e181c0a
channels: Move ‘commit-short-id’ to (guix git).
* guix/channels.scm (commit-short-id): Move to…
* guix/git.scm (commit-short-id): … here.

Change-Id: If4b34b1d82b1aa5068d157f26e57e8aecc967061
2024-04-15 22:36:41 +02:00
Ludovic Courtès
a57518484e
git: Add ‘repository-info’ and use it in (guix channels).
* guix/git.scm (repository-info): New procedure.
* guix/channels.scm (repository->guix-channel): Use it instead of local
code.

Change-Id: I74c758c73a22e16031571ca4271cc9cab0492f6e
2024-04-15 22:36:41 +02:00
Ludovic Courtès
3cadb61963
channels: Use SRFI-71 instead of SRFI-11.
* guix/channels.scm (latest-channel-instance): Use SRFI-71.

Change-Id: I73531c98b3034e228006ed91518cc7bfedc784fd
2024-04-15 22:36:41 +02:00
Artyom V. Poptsov
a8353e9d6b
gnu: Add tr7.
* gnu/packages/scheme.scm (tr7): New variable.

Change-Id: I60e34f0f918ea7c9b36cea02358d69ab7bfad24b
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-04-15 12:32:42 +02:00
Vinicius Monego
53dba8c808
gnu: Add trac.
* gnu/packages/version-control.scm (trac): New variable.

Change-Id: I51b86a6b8a913c18f785dbd92a936b8964bebdbc
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-04-15 12:21:15 +02:00
Suhail Singh
dc0d7dae16
gnu: Add emacs-noman.
* gnu/packages/emacs-xyz.scm (emacs-noman): New variable.

Change-Id: I4ef3de3723025832c6b6eae47de67c3377366602
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-04-15 12:09:48 +02:00
Erik Eduardo
91239079f3
gnu: Add sandbar.
* gnu/packages/wm.scm (sandbar): New variable.

Change-Id: I93f91436420a733a3b74d9b88ed5d69a9369ee38
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-04-15 12:01:22 +02:00
cage-dev@twistfold.it
8e3831eb12
gnu: telescope: Update to 0.9.
* gnu/packages/web-browsers.scm (telescope): Update to 0.9.
[inputs]: Replace libevent with libgrapheme.

Change-Id: I1eb6567ddc5047d4d36f588086f14f69136588c4
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:14:31 +01:00
Jean-Pierre De Jesus DIAZ
37579d04dc
gnu: coin3d: Update to 4.0.2.
* gnu/packages/graphics.scm (coin3d): Update to 4.0.2.

Change-Id: I0ca8cd6eff933a764005447d648ca2f020d8ee7f
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:14:06 +01:00
Jean-Pierre De Jesus DIAZ
39689ffd30
gnu: coin3d: Avoid use of dlopen.
* gnu/packages/graphics.scm (coin3d): Avoid use of dlopen and add
missing inputs.

Change-Id: I48d93218bd93f6ef4f10fb1c4f1cc22396040d7d
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:14:06 +01:00
Jean-Pierre De Jesus DIAZ
949c3682b7
gnu: coin3d: Use system expat.
* gnu/packages/graphics.scm (coin3d): Remove bundled expat and use the
system one.

Change-Id: Ief176e320b7f57c5c3f349f244ed7d76e54f8281
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:14:06 +01:00
Jean-Pierre De Jesus DIAZ
94fa92cc8e
gnu: coin3d: Use G-Expressions.
* gnu/packages/graphics.scm (coin3d) <source>, <arguments>: Use
G-Expressions.

Change-Id: I79a77bda6fc919d9c3b80e77e38855824e81f6e6
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:14:06 +01:00
Jean-Pierre De Jesus DIAZ
f2c5482af4
gnu: coin3D: Rename to coin3d.
* gnu/packages/graphics.scm (coin3d): New Variable.
(coin3D): Define as deprecated.
(coin3D-4): Point to coin3d.
* gnu/packages/engineering.scm (freecad): Use coin3d instead of coin3D.
* gnu/packages/python-xyz.scm (python-pivy): Ditto.
* gnu/packages/qt.scm (soqt): Ditto.

Change-Id: I4e83e25e80c512350f38024847891eac14723f26
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:14:06 +01:00
Timotej Lazar
84a88f5ed9
gnu: widelands: Improve package style.
* gnu/packages/games.scm (widelands): Use new package style.
[snippet]: Simplify and drop trailing #t.
[arguments]: Use gexps. Tweak #:configure-flags to install the binary in bin/
instead of bin/games/ and data under share/ instead of bin/share/. Modify
'unbundle-fonts phase to not depend on input labels.
[inputs, native-inputs]: Drop input labels.
[home-page]: Drop trailing slash.

Change-Id: I75c535005ad1325ad170205b6e80b1039125619a
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:12:33 +01:00
Timotej Lazar
27f4896a18
gnu: widelands: Update to 1.2.
* gnu/packages/games.scm (widelands): Update to 1.2.
[inputs]: Drop boost, curl.
[native-inputs]: Replace python-wrapper with python.

Change-Id: I1a98739a5da801d3686acf152989c8ce15f16a90
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:12:33 +01:00
Andy Tai
83a2ff488d
gnu: xpra: Update to 5.0.8.
* gnu/packages/xorg.scm (xpra): Updatw to 5.0.8.

Change-Id: I6107d5c3469ca0576c668d1a68bf1148b8f055b6
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:11:43 +01:00
Andy Tai
d447a0c693
gnu: meld: Update to 3.22.2.
* gnu/packages/patchutils.scm (meld): Update to 3.22.2.

Change-Id: I6f292a1a8579f8a18ca4421750541932076a3555
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:11:21 +01:00
Vasile Dumitrascu
de26171174
gnu: conky: Update to 1.19.8.
* gnu/packages/conky.scm (conky): Update to 1.19.8.
[inputs]: Add libxi.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:10:52 +01:00
Jean-Pierre De Jesus DIAZ
4e7c3867ad
gnu: Add gcc-cross-x86_64-w64-mingw32-toolchain-13.
* gnu/packages/cross-toolchain.scm
(gcc-cross-x86_64-w64-mingw32-toolchain-13): New variable.

Change-Id: I64fbce5d4af30c9c5df2faf61d3243fcf6dfbf5b
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:09:36 +01:00
Jean-Pierre De Jesus DIAZ
97bad5e194
gnu: cross-gcc: Add patch for GCC 13.
* gnu/local.mk (dist_patch_DATA): Add gcc-13-cross-system-header-dir.patch.
* gnu/packages/cross-base.scm (cross-gcc) <source>: Add patch for
GCC 13.
* gnu/packages/patches/gcc-13-cross-system-header-dir.patch: New patch.

Change-Id: Ib4771ff78222fb7b7df58891d25938d338bd5df8
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:09:36 +01:00
Jean-Pierre De Jesus DIAZ
ffd1d0c2d4
gnu: cross-gcc-patches: Avoid patch for GCC 13+.
* gnu/packages/cross-base.scm (cross-gcc-patches): Avoid
gcc-4.9.3-mingw-gthr-default.patch patch for GCC 13+ versions since it
does not apply.

Change-Id: I4bb14d687c53733d77099a761844815900b1266a
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:09:36 +01:00
Vagrant Cascadian
4dec6e9fb7
gnu: diffoscope: Increase test verbosity.
* gnu/packages/diffoscope.scm (diffoscope)[phases]: Replace 'check.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:08:32 +01:00
Andy Tai
d95ed91f38
gnu: rsync: Update to 3.3.0.
* gnu/packages/rsync.scm (rsync): Update to 3.3.0.

Change-Id: I03ba540e44f54e371cd362baf2aeb1877f853f72
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 10:06:09 +01:00
Sughosha
8a257582e3
gnu: signon-plugin-oauth2: Fix installing in a doubled prefix.
This commit fixes creating one more /gnu/store/ directory inside its
own prefix, creating again the same prefix inside it and then
installing in it.

* gnu/packages/qt.scm (signon-plugin-oauth2)[arguments]:
<#:make-flags>: Remove argument.
<#:phases>: In configure phase, add SIGNON_PLUGINS_DIR variable.

Change-Id: I10e973980228354c9943741dd480544bffca65b8
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 09:58:50 +01:00
Richard Sent
027419626f
gnu: tests: Add system test for sddm.
Create a basic suite of tests to verify the display manager starts.

* gnu/tests/sddm.scm: New file.

Change-Id: Ia84926e9aab42c6781430c22aae0f892387d1a29
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-15 09:52:44 +01:00
Jean-Pierre De Jesus DIAZ
188168ee08
gnu: simavr: Remove modules from arguments.
* gnu/packages/avr-xyz.scm (simavr)<arguments>: Remove the #:modules keyword
argument as it contains the default modules only.

Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: Idf350cad53db879e90a53849c23ac4e63b53cfd1
2024-04-15 09:35:00 +01:00
Leo Famulari
2c05986348
gnu: borg: Update to 1.2.8.
* gnu/packages/backup.scm (borg): Update to 1.2.8.
[arguments]: Remove a variety of workarounds that have been obviated by
changes upstream and in the Python package build tools.

Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I031bb4e6ac2f562a3e387a5e815b31416367766f
2024-04-15 09:28:26 +01:00
Sharlatan Hellseher
6b3c90f638
gnu: go-github-com-francoispqt-gojay: Run tests only on x86-64.
Address the build issue on i686-linux as seen in CI
<https://ci.guix.gnu.org/build/3395366/details>.

* gnu/packages/golang-web.scm (go-github-com-francoispqt-gojay):
[arguments]: Swap to list style. <#:tests?>: Only run on x86-64.
[home-page]: Move above synopsis.
[description]: Fix indentation.

Change-Id: I93a0970933de0b32729cf9a620b10e69e8e244eb
2024-04-14 14:52:23 +01:00
Sharlatan Hellseher
ec8eef5e7e
gnu: go-go-uber-org-atomic: Run tests only on x86-64.
Address the build issue on i686-linux as seen in CI
<https://ci.guix.gnu.org/build/3395284/details>.

* gnu/packages/golang-xyz.scm (go-go-uber-org-atomic): [arguments]:
<#:tests?>: Only run on x86-64.

Change-Id: Iab5a896be05d879f3552471d8789a11dba7826ce
2024-04-14 14:51:59 +01:00
Sharlatan Hellseher
42b4580f6b
gnu: go-github-com-golang-groupcache: Update to 0.0.0-3.41bb18b.
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache): Update
to 0.0.0-3.41bb18b.

Change-Id: If1016af57bde9b25fa5348e820899c87985b43dc
2024-04-14 12:05:51 +01:00
Sharlatan Hellseher
191e5674d9
gnu: go-github-com-golang-groupcache: Move to golang-web.
* gnu/packages/syncthing.scm (go-github-com-golang-groupcache): Move
from here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: I3e5393d13630529a0cf309e08b9e7dc9d5cba18a
2024-04-14 12:05:51 +01:00
Sharlatan Hellseher
1cfaa79e6d
gnu: go-github-com-golang-groupcache-lru: Import all go modules.
Rename go-github-com-golang-groupcache-lru to
go-github-com-golang-groupcache to reflect go.mod import path as seen in
<https://pkg.go.dev/github.com/golang/groupcache>. It will provide other
available submodules together with main module groupcache: lru,
singleflight, groupcachepb and consistenthash.

* gnu/packages/syncthing.scm (go-github-com-golang-groupcache):
[arguments]: Remove <#:unpack-path>, update <#:import-path> to make
other modules available.
[propagated-inputs]: Add go-github-com-golang-protobuf-proto.

* gnu/packages/ipfs.scm (kubo): [inputs]: Remove
go-github-com-golang-groupcache-lru, add
go-github-com-golang-groupcache.

Change-Id: I455eecd2ebeff5f456f83621aa85b4de7d60304e
2024-04-14 12:05:51 +01:00
Sharlatan Hellseher
e48d51faf0
gnu: go-go-uber-org-fx: Fix home-page, again.
Amend lint warning: URI https://go.uber.org/fx returned suspiciously
small file (549 bytes).

* gnu/packages/golang-xyz.scm (go-go-uber-org-fx): [home-page]: Swap to
redirected URL.

Change-Id: Ica2a4580dde04ac7242e92bcd0f740bfbd730b1d
2024-04-14 12:05:51 +01:00
Artyom V. Poptsov
1c5e419ee7
gnu: go-go-uber-org-fx: Fix repository URI.
* gnu/packages/golang-xyz.scm (go-go-uber-org-fx) [source]: Fix repository
  URI.

Change-Id: I82b340a094efa9157bc56ae851ad94c9b0ffaff6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-14 12:05:39 +01:00
Janneke Nieuwenhuizen
e5dda412c2
maint: Fix header.
* build-aux/xgettext.scm: Add `Guix' parts to header.

Change-Id: I4fb03b8b0588f0482bcb1a095518b6751d111031
2024-04-14 11:41:41 +02:00
Janneke Nieuwenhuizen
416f11f1d4
maint: Ensure generated file reproducibility for dist.
* doc/local.mk (doc-clean): New target.
(DIST_CONFIGURE_FLAGS): New variable.
(auto-clean): Use them in new target.
* Makefile.am (dist-doc-pot-update): Use it in new target.
(dist): Change to depend on it to clean possibly stale files, instead of
doc-pot-update directly.
Add a toplevel check to ensure that Autotools cache is up to date.

Change-Id: I2ff2d88db9fe1e708ab65e33e1f3d7ecee882cb4
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen
3d8d0642da
maint: Reset CreationDate metadata on generated PDFs.
* doc/local.mk (.dot.pdf): Create PDF in UTC0 and reset CreationDate metadata.

Change-Id: I3873ecdeec781c30874d53d032406cbe23922a25
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen
abc47993ea
maint: Avoid PNG and PDF generation to fail silently.
* doc/local.mk (.dot.png): Split single shell command into separate recipe
lines, prefixed by $(AM_V_at).
(.dot.pdf): Likewise.

Change-Id: I41fb856bb73f947abd91361ed203132e939f3897
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen
4099b12f9f
maint: Avoid EPS generation to fail silently, ensure reproducibility.
Currently, Graphviz' dot does not insert a %%CreationDate.  ImageMagick's
convert on PNG->EPS does insert a %%CreationDate but it respects
SOURCE_DATE_EPOCH.

* doc/local.mk (.png.eps): Split single shell command into separate recipe
lines, prefixed by $(AM_V_at).
(.dot.png): Likewise.  Check that generated EPS file has no %%CreationDate.

Change-Id: I5a03485c19c72f0c46411815c51290e52a8e5399
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen
ecf0e22dcf
maint: Use reproducible Git timestamp for POT-Creation-Date.
* po/doc/local.mk (%D%/%.pot): Replace POT-Creation-Date using timestamp from
Git.
(%D%/guix-manual.pot): Likewise.

Change-Id: I1b7f8cc147084c1804deb7be9d36e5eeda2599cb
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen
6c63c36677
maint: Use xgettext.scm wrapper to create .PO files reproducibly.
* build-aux/xgettext.scm: New script.
* po/guix/Makevars (XGETTEXT): Set it.
(XGETTEXT_OPTIONS): Add --xgettext option to `real' xgettext.
* po/packages/Makevars (XGETTEXT): Set it.
(XGETTEXT_OPTIONS): Add --xgettext option to `real' xgettext.

Change-Id: I71b6b843970090f765f46ac346b92a346560e3f0
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen
b4d2838d51
maint: Generate 'doc/version-LANG.texi' reproducibly.
* doc/local.mk ($(srcdir)/doc/stamp-vti): Change rule into...
(version.texi-from-git): ...this new function.  Call it with vti,guix.texi,;
and for all MANUAL_LANGUAGES with $(i),po/doc/guix-manual.$(lang).po,
-$(lang.po).

Change-Id: Ia8df618178066cad320eecea0299337224e23a73
2024-04-14 10:29:10 +02:00
Janneke Nieuwenhuizen
b850d77e11
maint: Generate AUTHORS and ChangeLog reproducibly.
* Makefile.am (gen-ChangeLog): Set LC_ALL=en_US.UTF-8 TZ=UTC0.
(gen-AUTHORS): Likewise.

Change-Id: I109ceffdf07b8dde6385b6b509366c47564c9f31
2024-04-14 10:29:10 +02:00
Janneke Nieuwenhuizen
ea23a124ad
maint: Help help2man generate reproducible man-pages.
* doc/local.mk (SOURCE_DATE_EPOCH): New exported variable.

Change-Id: I6636693695d5502657f1475d93d31949e0b0b39d
2024-04-14 10:29:10 +02:00
Timothy Sample
8fdc372841
maint: Generate 'doc/version.texi' reproducibly.
* doc/local.mk ($(srcdir)/doc/stamp-vti): New rule (overriding one provided
by Automake).

Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>

Change-Id: If44965e9a3ecfb45865c58ee7a558951be8d15ae
2024-04-14 10:29:10 +02:00
Janneke Nieuwenhuizen
b0c33b1997
maint: Use reproducible timestamps and name for tarball.
* Makefile.am (gen-tarball-version): Add reproducible timestamp to tarball.
(am__tar): Use it in new variable, overriding the Automake default.
(GZIP_ENV): New variable, overriding the Automake default.
2024-04-14 10:29:10 +02:00