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
* 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
* guix/git.scm (repository-info): New procedure.
* guix/channels.scm (repository->guix-channel): Use it instead of local
code.
Change-Id: I74c758c73a22e16031571ca4271cc9cab0492f6e
* gnu/packages/graphics.scm (coin3d): Avoid use of dlopen and add
missing inputs.
Change-Id: I48d93218bd93f6ef4f10fb1c4f1cc22396040d7d
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/graphics.scm (coin3d): Remove bundled expat and use the
system one.
Change-Id: Ief176e320b7f57c5c3f349f244ed7d76e54f8281
Signed-off-by: Christopher Baines <mail@cbaines.net>
* 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>
* 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>
* 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>
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>
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>
* 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
* 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
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
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
* gnu/packages/syncthing.scm (go-github-com-golang-groupcache): Move
from here ...
* gnu/packages/golang-web.scm: ... to here.
Change-Id: I3e5393d13630529a0cf309e08b9e7dc9d5cba18a
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
* 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
* doc/local.mk (.dot.png): Split single shell command into separate recipe
lines, prefixed by $(AM_V_at).
(.dot.pdf): Likewise.
Change-Id: I41fb856bb73f947abd91361ed203132e939f3897
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
* 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
* 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
* 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.