Commit graph

90047 commits

Author SHA1 Message Date
Sarah Morgensen 717be95339
build-system/go: Use go-1.17 by default.
Build all Go packages with go-1.17 by default.  Explicitly specify an
older Go version in packages which cannot build with go-1.17.

* gnu/packages/golang.scm (go): Update from 'go-1.14' to 'go-1.17'.
* gnu/packages/docker.scm (docker)[native-inputs]: Explicitly use 'go-1.14'.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)[arguments]:
Explicitly use Go 1.16.
(go-ipfs)[arguments]: Use the default version of Go.
* gnu/packages/syncthing.scm (syncthing)[arguments]: Likewise.
* gnu/packages/admin.scm (runitor)[arguments]: Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-24 16:32:25 -05:00
Sarah Morgensen d6121d7dd6
build-system/go: Add pre-built standard library as implicit input.
* gnu/packages/golang.scm (make-go-std): New procedure.
* guix/build-system/go.scm (make-go-std): New procedure.
(lower): Use it.  Add pre-built standard library to inputs.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-24 16:32:25 -05:00
Sarah Morgensen c90f73f816
build-system/go: Initialize build cache from input packages.
* guix/build/go-build-system.com (setup-go-environment): Set GOCACHE to
a location within the build directory.  Union "/var/cache/go/build"
input directories to initialize the cache.  Generate "trim.txt" within
the cache, with the current time.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-24 16:32:25 -05:00
Sarah Morgensen d0050ea8ad
build-system/go: Add #:substitutable? argument.
* guix/build-system/go.scm (go-build): Add 'substitutable?' argument.
(go-cross-build): Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-24 16:32:21 -05:00
Liliana Marie Prikler ef4c9abeba
gnu: wine: Update to 6.20.
This patch updates the logic by which the “so_dir” is patched onto RPATH.
Unlike the old hack, this one affects all Unix libraries, so it might be a tad
bit overkill, but better be safe than sorry when it comes to stuff that'd
break in validate-runpaths.

* gnu/packages/wine.scm (wine): Update to 6.20.
[#:phases]: Replace ‘patch-makefile’ with ‘patch-makedep’.
(wine64): Likewise.
2021-12-24 16:31:04 +01:00
Liliana Marie Prikler 46772aa0f0
gnu: Add bibutils.
* gnu/packages/textutils.scm (bibutils): New variable.
2021-12-24 16:31:04 +01:00
Liliana Marie Prikler 9d636f2d7b
gnu: Move go-github-com-aswinkarthik-csvdiff to textutils.
This fixes a build error caused by cross-module use of deprecated-package.

* gnu/packages/golang.scm (go-github-com-aswinkarthik-csvdiff): Move from
here...
* gnu/packages/textutils.scm (go-github-com-aswinkarthik-csvdiff): ... to here.
2021-12-24 16:31:04 +01:00
Liliana Marie Prikler 43b9419bdc
gnu: telegram-desktop: Update to 2.9.3.
* gnu/packages/telegram.scm (telegram-desktop): Update to 2.9.3.
[#:configure-flags]: Add "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON".
[#:phases]: Copy lib_waylandshells and lib_webview.
[native-inputs]: Bump cmake_helpers to a bespoke commit.
[inputs]: Add glibmm, jemalloc, qtsvg, and rnnoise.
Add sources for lib_waylandshells and lib_webview.
Bump lib_base, lib_crl, lib_lottie, lib_qr, lib_rpl, lib_spellcheck,
lib_storage, lib_tl, and lib_webrtc to bespoke commits that would otherwise
be used by recursive checkout.
2021-12-24 16:31:04 +01:00
Liliana Marie Prikler e77c62d394
gnu: webrtc-for-telegram-desktop: Update to 91d836dc84a16584c6ac52b36c04c0de504d9c34.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Update to
91d836dc84a16584c6ac52b36c04c0de504d9c34.
[inputs]: Add glib, libxcomposite, libxdamage, libxrender, libxrandr
and pipewire.
2021-12-24 16:31:03 +01:00
Liliana Marie Prikler 60541df3c4
gnu: Add xiph-rnnoise.
* gnu/packages/xiph.scm (xiph-rnnoise): New variable.
2021-12-24 16:31:03 +01:00
Christopher Baines 6b01be8b04
gnu: guix-build-coordinator: Update to 0-43.f8013a0.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-43.f8013a0.
2021-12-24 14:14:44 +00:00
Liliana Marie Prikler 25a9752e60
gnu: komikku: Update to 0.36.0.
* gnu/packages/gnome.scm (komikku): Update to 0.36.0.
2021-12-24 01:37:45 +01:00
Liliana Marie Prikler a142cd980c
gnu: libhandy: Update to 1.5.0.
* gnu/packages/gnome.scm (libhandy): Update to 1.5.0.
2021-12-24 01:37:45 +01:00
Philip McGrath 71adecd51a
gnu: node: Add an npmrc file to set nodedir.
* gnu/packages/node.scm (node, node-lts)[arguments]: Add a phase
'install-npmrc to create a "built-in" npmrc file that configures
"nodedir" to point to the output store path.
(libnode)[arguments]: Delete the 'install-npmrc phase.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-12-24 01:37:45 +01:00
Philip McGrath bcaf6f14a1
gnu: node: Patch shebangs in node_modules.
* gnu/packages/node.scm (node)[arguments]: Replace 'patch-npm-shebang
and 'patch-node-shebang with a new 'patch-nested-shebangs that also
handles node-gyp and other shebangs under "/lib/node_modules".
[inputs]: Add Python for node-gyp as "python-for-target".
(node-lts)[inputs]: Likewise.
(libnode)[arguments]: Adjust to delete 'patch-nested-shebangs rather
than 'patch-npm-shebang and 'patch-node-shebang.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-12-24 01:37:45 +01:00
Philip McGrath 3179e32eb9
gnu: node: Update to 10.24.1 for bootstrapping.
* gnu/packages/node.scm (node): Update to 10.24.1.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-12-24 01:37:45 +01:00
Philip McGrath 2d6d881eb3
gnu: node: Avoid duplicating build phases.
* gnu/packages/node.scm (node)[arguments]: Split 'patch-files phase
into 'patch-hardcoded-program-references and
'delete-problematic-tests. Adapt 'patch-hardcoded-program-references
and 'configure to work unmodified on node-lts, but don't try to
share 'delete-problematic-tests, because those details seem to change
too much between node versions.
(node, node-lts)[inputs]: Use bash-minimal rather than bash.
(node-lts)[arguments]: Inherit 'patch-hardcoded-program-references,
and 'configure phases from the bootstrap node.
Remove the 'patch-files phase, keeping its remaining
non-inherited work in a new 'replace-llhttp-sources phase.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-12-24 01:37:45 +01:00
Leo Famulari ba744faeb1
tests: git: Avoid ambiguous module import.
Fixes this warning:

WARNING: (guix tests git): `reset' imported from both (git) and (ice-9 control)

This is a followup to commit 07145c8a8c.

* guix/tests/git.scm: Only import LET/EC from (ice-9 control).
2021-12-23 18:49:05 -05:00
Ricardo Wurmus 56478abbd0
gnu: axoloti-patcher-next: Fix file names.
* gnu/packages/axoloti.scm (axoloti-patcher-next)[arguments]: Add missing
slash.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 14697c93c8
gnu: axoloti-patcher-next: Remove trailing #T.
* gnu/packages/axoloti.scm (axoloti-patcher-next)[source]: Remove trailing #T
from snippet.
[arguments]: Remove trailing #T from build phase.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus e44a0d2ce2
gnu: java-simple-xml: Delete failing test.
This is a follow-up to commit 8e32bd1720336ec62258cb842dce812f7f979d04.

* gnu/packages/xml.scm (java-simple-xml)[arguments]: Disable test by deleting
it, as #:test-exclude doesn't have any effect.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus d04261241b
gnu: java-simple-xml: Disable one test.
* gnu/packages/xml.scm (java-simple-xml)[arguments]: Disable
NoAnnotationsRequiredTest.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 6fbff5c8bd
gnu: java-kafka-clients: Disable failing test.
* gnu/packages/java.scm (java-kafka-clients)[arguments]: Disable
Serializationtest that fails on i686.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 843193eab7
gnu: java-slf4j-simple: Disable one test.
* gnu/packages/java.scm (java-slf4j-simple)[arguments]: Disable
SimpleLoggerMultithreadedInitializationTest because it fails when more CPUs
are available.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus fc62b7d2a4
gnu: java-mail: Use new input style.
* gnu/packages/java.scm (java-mail)[native-inputs]: Use new style.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus ab0f1227f5
gnu: java-mail: Remove trailing #T.
* gnu/packages/java.scm (java-mail)[arguments]: Remove trailing #T from build
phases.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 550b33a414
gnu: java-mail: Disable SSL test.
* gnu/packages/java.scm (java-mail)[arguments]: Disable WriteTimeoutSocketTest
because it uses as disabled SSL protocol version.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 9dd210dfe1
gnu: java-kafka-clients: Update to 1.1.1.
* gnu/packages/java.scm (java-kafka-clients): Update to 1.1.1.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 38b9fdb2ff
gnu: java-kafka-clients: Use new input style.
* gnu/packages/java.scm (java-kafka-clients)[native-inputs]: Use new style.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 6cb8869bc1
gnu: java-kafka-clients: Disable SSL test.
This is due to changes in the enabled cipher suites in the updated icedtea-8.

* gnu/packages/java.scm (java-kafka-clients)[arguments]: Disable the
SslTransportLayerTest.
2021-12-23 20:27:48 +01:00
Ricardo Wurmus 2767ee5796
gnu: java-icu4j: Update to 70.1.
* gnu/packages/icu4c.scm (java-icu4j): Update to 70.1.
[arguments]: Remove trailing #T from build phases.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus 173a38c6b0
gnu: libantlr3c: Move below the Java bootstrap packages.
* gnu/packages/java.scm (libantlr3c): Move package definition below the Java
bootstrap packages.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus bafa843f96
gnu: drip: Move it below the Java bootstrap packages.
* gnu/packages/java.scm (drip): Move definition down.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus f94fae9b38
gnu: classpath-devel: Use label-less input style.
* gnu/packages/java.scm (classpath-devel)[native-inputs]: Use new style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus 607d452855
gnu: classpath-0.99: Use label-less input style.
* gnu/packages/java.scm (classpath-0.99)[native-inputs]: Use new style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus d55aad0a1b
gnu: ecj-bootstrap: Use label-less input style.
* gnu/packages/java.scm (ecj-bootstrap)[native-inputs]: Use new style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus e8a6138ab1
gnu: ant-bootstrap: Use label-less input style.
* gnu/packages/java.scm (ant-bootstrap)[native-inputs]: Use new style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus fab1af81e0
gnu: jamvm-1-bootstrap: Use label-less input style.
* gnu/packages/java.scm (jamvm-1-bootstrap)[inputs]: Use new style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus 513f0ed751
gnu: classpath-bootstrap: Use label-less input style.
* gnu/packages/java.scm (classpath-bootstrap)[native-inputs]: Use new style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus b1ee7a9a9d
gnu: classpath-devel: Remove trailing #T.
* gnu/packages/java.scm (classpath-devel)[arguments]: Remove trailing #T from
'remove-unsupported-annotations build phase.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus 380c52e901
gnu: classpath-jamvm-wrappers: Use G-Expression.
* gnu/packages/java.scm (classpath-jamvm-wrappers)[arguments]: Use a gexp to
remove references to %build-inputs and %outputs.
[native-inputs]: Replace bash with bash-minimal; use label-less style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus de48029bb3
gnu: ecj-javac-wrapper: Use G-Expression.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Use a gexp to remove
references to %outputs and %build-inputs.
[native-inputs]: Use label-less style.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus 8a47f274fc
gnu: ecj-bootstrap: Remove #:modules from arguments.
* gnu/packages/java.scm (ecj-bootstrap)[arguments]: Remove #:modules.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus 81804f8726
gnu: ecj-bootstrap: Remove trailing #T.
* gnu/packages/java.scm (ecj-bootstrap)[arguments]: Remove trailing #T from
build phase.
2021-12-23 20:27:47 +01:00
Ricardo Wurmus bebdfcd821
gnu: ant-bootstrap: Remove trailing #T from build phase.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Remove trailing #T from
'strip-jar-timestamps phase.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 7bd34b0b19
gnu: ant-bootstrap: Bind OUTPUTS in build phase.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Bind OUTPUTS to remove
reference to global %OUTPUTS.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 993e26cbe1
gnu: jamvm-1-bootstrap: Simplify snippet.
* gnu/packages/java.scm (jamvm-1-bootstrap)[source]: Simplify snippet.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 4959142b41
gnu: icedtea-8: Update to 3.19.0.
* gnu/packages/java.scm (icedtea-8): Update to 3.19.0.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 7f83c8be80
gnu: icedtea-8: Simplify source snippet.
* gnu/packages/java.scm (icedtea-8)[source]: Simplify snippet.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus a21c9a9102
gnu: icedtea-8: Remove trailing #T from build phases.
* gnu/packages/java.scm (icedtea-8)[arguments]: Remove trailing #T.
2021-12-23 20:27:46 +01:00