This change allows for importing of modules situated in repos where they're
not at the root directory.
* guix/import/go.scm (go-module-verstion-string): Delete
(go-module-version-info): New procedure
(module-path->repository-root): Add parameter
(vcs->origin): Add parameter
(path-diff): New procedure
Change-Id: If50f7a951ce8e527e5ea44ed24db10d6a3676ff0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This implements logic to handle cases where Go can have multiple modules
at different versions within a single repository. It distinguishes their
releases by using tags along with their subdirectories. See
https://go.dev/ref/mod#vcs-version.
* guix/build-system/go.scm (go-version->git-ref): Add <#:subdir> keyword
parameter and extend condition checks.
Change-Id: I68bc9e785e49877bb0b756de8458308549f4c957
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Don't replace the
gccgo input on architectures bootstrapping go with it.
Change-Id: I26831b2bcfe623f6eb0ac7c16b463e5e873110e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
By allowing the use of test flags, we can more precisely skip failing tests
(for go version >=1.20), disable the vetting stage or select a subset of tests
(e.g. if an upstream flag is provided to skip tests which require a network
connection). At the moment, the only way around these test failures is to
remove the test file completely or patch the code ourselves.
* guix/build-system/go.scm (go-build): Add test-flags variable.
(go-cross-build): Add test-flags variable.
* guix/build/go-build-system.scm (check): Pass the additional test flags to the invoke call.
* doc/guix.texi (go-build-system): Document <#:test-flags> parameter.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I4015870fbbc15503cb405fe9ef6032953a5ff17f
Not in use by any packages in Guix, no updates for 4y.
* gnu/packages/golang.scm (go-github-com-rylans-getlang): Delete variable.
Change-Id: I6a7e1201d52166fc43b5e99e38181c6a5dedea69
Not in use by any packages in Guix: "This repository has been archived by
the owner on May 25, 2021. It is now read-only."
* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): Delete variable.
Change-Id: If80ceb32e4624f08d04cb0270341cac41e6b11fb
* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I10c1c8b2e0ad69913068cf89bc646a4ceb471c8f
* gnu/packages/golang-web.scm (go-html2text): New variable.
(go-github-com-jaytaylor-html2text) [source]: Adjust module import path
to use in CLI.
Change-Id: Ia440d027cb02a1d6584c6f32ff81353b22d4145a
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Move from here ...
* gnu/packages/golang-web.scm ... to here.
Change-Id: Ie2e79aa4a7f034579433f9ea7d55bcfdea1b90d8
* gnu/packages/golang.scm (go-github-com-gogs-chardet): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I88666bcaf2e8ea62274a0b01a5cf7247da160fa2
Not in use by any other packages, not maintained fork of
<https://github.com/kr/pretty>.
* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): Delete variable.
Change-Id: I6b3340fa95a6bdf6735cace1bcd979766afd6453
gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Move from
here ...
gnu/packages/golang-xyz.scm: ... to here.
Change-Id: Ica80efe706f97694f5f6584fe64f9a764e5d082b
New upstream version. The 132.0-2-1 release switches to the firefox-l10n
repository, necessitating rework of locale handling.
131.0.3-1 fixes CVEs:
CVE-2024-9936: Undefined behavior in selection node cache
132.0-1 fixes CVEs:
CVE-2024-10458: Permission leak via embed or object elements
CVE-2024-10459: Use-after-free in layout with accessibility
CVE-2024-10460: Confusing display of origin for external protocol
handler prompt
CVE-2024-10461: XSS due to Content-Disposition being ignored in
multipart/x-mixed-replace response
CVE-2024-10462: Origin of permission prompt could be spoofed by long
URL
CVE-2024-10463: Cross origin video frame leak
CVE-2024-10468: Race conditions in IndexedDB
CVE-2024-10464: History interface could have been used to cause a
Denial of Service condition in the browser
CVE-2024-10465: Clipboard "paste" button persisted across tabs
CVE-2024-10466: DOM push subscription message could hang Firefox
CVE-2024-10467: Memory safety bugs fixed in Firefox 132, Thunderbird
132, Firefox ESR 128.4, and Thunderbird 128.4
* gnu/packages/librewolf.scm (librewolf): Update to 132.0-1.
Change-Id: I4afbcb496a8b0a329254762259cd1598d574761e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
As noted in run-time warnings, lack of zlib support “may result in
longer-than-normal startup times and larger memory footprints”.
* gnu/packages/parallel.scm (openpmix)[inputs]: Add zlib.
Change-Id: I90fd7cc4c3c84f6447e7116b4c00dcb07b35460b
Rename knights with knightsgame to package knights from KDE games module.
* gnu/packages/games.scm (knights): Rename with knightsgame.
Change-Id: I6eec8189fd29fe2ede67d98c26fdd9cafe4c2aef
* gnu/packages/xml.scm (xlsx2csv)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.
Change-Id: I13809dd414bc0e27b5bf404c35dabf67bbc4c4f4
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom
'build-shared-library phase to use the correct compiler for the target.
Change-Id: I7db740fca974aa719e06fab4d67cee1a3e014312
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.
Change-Id: Id085358cc07572be3bcee887c825c826f1b00f58
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Adjust the
custom 'check and 'check-x86 phases to honor the #:tests? flag.
Change-Id: I663eba70df61569928e167ffe1af9411e405da80