* gnu/packages/lua.scm (lua-cqueues): Update to 20200726.
[source]: Fetch from git repository.
[arguments]: Use G-expressions; disable two tests that need LuaJIT's ffi
module.
Change-Id: I969a9f173339d22e57fd6a5e4689889c0268c52d
This ensures (guix build syscalls) is loaded only when needed.
* guix/ui.scm (%text-width): Unconditionally alias ‘*line-width*’.
Remove initialization.
<top level>: Remove code for Guile < 2.2.7.
(package->recutils): Change default #:width to (terminal-columns).
Change-Id: I990a1b5b0f20a6243e47e314d1d3d4f8298b7151
(web …) modules pull in (gnutls) indirectly. Arrange to load them
lazily, thereby reducing I/O and allocations when GnuTLS is not needed
such as when running ‘guix describe’ or ‘guix shell’ on a cache hit.
* guix/download.scm: Autoload (web uri).
* guix/scripts/describe.scm: Likewise.
* guix/store.scm: Likewise.
(%default-substitute-urls): Remove ‘resolve-interface’ call and use
https URLs unconditionally.
Change-Id: Ide470c556a14866e8740966d25821df487a79859
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