me
/
guix
Archived
1
0
Fork 0
Commit Graph

126211 Commits (b6619c5db410fb01e552c6168bd6bc7f41c6c993)

Author SHA1 Message Date
Clément Lassieur b6619c5db4
build: Fix it.
* Makefile.am (.git/config): Add missing "\".

Change-Id: I0d1435ef33d9e6f2246631fa0eb8cbb617ea8fb5
2023-10-23 12:50:26 +02:00
Efraim Flashner 9210ca9b04
gnu: at-spi2-core: Skip tests on powerpc-linux.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: When building for
powerpc-linux skip the custom 'check phase.

Change-Id: I8c609c1cb6eb8b03746e294f7b8e3d0792c43443
2023-10-23 13:11:27 +03:00
Sören Tempel dae956e796
syscalls: Consistently use existing linux? definition.
Instead of duplicating this existing logic across the source file. This
will make it easier to add additional linux targets (e.g. linux-musl) in
the future.

* guix/build/syscalls.scm (readdir*, write-socket-address!)
(read-socket-address): Use linux? constant.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I833c1d1630dcb8319584de1ea918cb22696f0058
2023-10-23 11:58:16 +02:00
Sören Tempel 54e6788267
syscalls: Add support for musl libc.
This commit allows using Guix on a foreign distro which uses musl libc,
for example, Alpine Linux. Usage of musl libc is detected via a new
musl-libc? variable using the Guile %host-type.

Using the new musl-libc? variable, we can now implement musl-specific
quirks. The two compatibility problems I encountered in this regard are
that musl dose not export a readdir64 and statfs64 symbol. On musl,
these two functions are implemented as CPP macros that expand to
readdir/statfs. To workaround that, a case-distinction was added.

The existing linux? variable has been modified to return true if the
%host-system contains "linux-" in order to ensure it is true for both
linux-gnu as well as linux-musl host systems.

The patch has been tested on Alpine Linux and is already used for the
downstream Guix package shipped in Alpine Linux's package repository.

* guix/build/syscalls.scm (musl-libc?): New variable.
(linux?): Truth value on any linux system.
(statfs, readdir-procedure): Support musl libc.

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Icc4101a062381240f977f4550344bde696513c52
2023-10-23 11:56:54 +02:00
Ludovic Courtès 48c1a74b24
build-system/dub: Remove dependency on (guix build syscalls).
The (guix build syscalls) module was unused.

* guix/build-system/dub.scm (%dub-build-system-modules): Remove (guix
build syscalls).
2023-10-23 11:56:54 +02:00
Ludovic Courtès 4b5e31dc5e
build-system/android-ndk: Remove dependency on (guix build syscalls).
The (guix build syscalls) module was unused.

* guix/build-system/android-ndk.scm (%android-ndk-build-system-modules):
Remove (guix build syscalls).
2023-10-23 11:56:54 +02:00
Ludovic Courtès 542c906f16
build-system/ant: Remove dependency on (guix build syscalls).
The module has been unused since
a6343af221.

* guix/build-system/ant.scm (%ant-build-system-modules): Remove (guix
build syscalls).
2023-10-23 11:56:54 +02:00
Ludovic Courtès b4d6a43173
gnu: public-inbox: Remove dependency on (guix build syscalls).
* gnu/packages/mail.scm (public-inbox)[arguments]: Remove #:imported-modules.
Remove (guix build syscalls) from #:modules.  Rewrite ‘check’ phase to
reap processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:54 +02:00
Ludovic Courtès 8e3d710f4c
gnu: polkit: Remove dependency on (guix build syscalls).
Having a dependency on (guix build syscalls) this deep in the stack
would make it much harder to change syscalls.scm.

* gnu/packages/polkit.scm (polkit)[arguments]: Remove #:imported-modules.
Remove (guix build syscalls) from #:modules.
Rewrite ‘check’ phase to reap processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:53 +02:00
Ludovic Courtès 4eda89248d
gnu: python-dbusmock: Use ‘search-input-file’.
* gnu/packages/python-xyz.scm (python-dbusmock)[arguments]: In
‘patch-paths’ phase, use ‘search-input-file’ instead of ‘assoc-ref’.
2023-10-23 11:56:53 +02:00
Ludovic Courtès 4ac6999be7
gnu: python-dbusmock: Rewrite phases as a gexp.
* gnu/packages/python-xyz.scm (python-dbusmock)[arguments]: Use gexps.
2023-10-23 11:56:53 +02:00
Ludovic Courtès 9a23dd54ee
gnu: python-dbusmock: Remove dependency on (guix build syscalls).
Having a dependency on (guix build syscalls) this deep in the stack
would make it much harder to change syscalls.scm.

* gnu/packages/python-xyz.scm (python-dbusmock)[native-inputs]: Remove TINY.
[arguments]: Remove #:imported-modules, and remove (guix build syscalls)
from #:modules.  Rewrite ‘check’ phase to reap processes from the build
process itself.
2023-10-23 11:56:53 +02:00
Ludovic Courtès 5a3b712ad7
gnu: python-ipykernel: Remove dependency on (guix build syscalls).
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]:
Remove #:imported-modules.  Remove (guix build syscalls) from #:modules.
Rewrite ‘check’ phase to reap child processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:53 +02:00
Ludovic Courtès 64e678bdbc
gnu: mutter: Remove dependency on (guix build syscalls).
* gnu/packages/gnome.scm (mutter)[arguments]: Remove #:imported-modules.
Remove (guix build syscalls) from #:modules.
Rewrite ‘check’ phase to reap processes from the build process.
[native-inputs]: Remove TINI.
2023-10-23 11:56:53 +02:00
Clément Lassieur 25043e01b6
gnu: icecat: Support Guix packaged extensions and native manifests.
* gnu/build/icecat-extension.scm: New file with a MAKE-ICECAT-EXTENSION
procedure that makes sure the add-on directory is a symlink, so that Icecat
can normalize it into a package store path.
* gnu/local.mk (dist_patch_DATA): Register it, as well as new patches.
* gnu/packages/browser-extensions.scm (ublock-origin)[properties]: Store the
add-on ID so that it is accessible in MAKE-ICECAT-EXTENSION.
[arguments]: Use the add-on ID as root directory.
(ublock-origin/icecat): New procedure.
* gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Rewrite the unused
'apply-guix-specific-patches' phase so that it applies the following two
patches.
[native-search-paths]: New field.
* gnu/packages/patches/icecat-compare-paths.patch: New patch that compares
add-on paths (which are package store paths) to detect package changes.
* gnu/packages/patches/icecat-use-system-wide-dir.patch: New patch that
replaces "/usr/lib/mozilla" (the system-wide directory for extensions and
native manifests) with "$ICECAT_SYSTEM_DIR".
2023-10-23 11:19:02 +02:00
Liliana Marie Prikler a25a492f2b
gnu: mpd-mpc: Really fix directory for bash completions.
Commit 577fd21122 contains a typo wherein a dash
was used instead of an underscore.  Compare for example the git package to see
where completions should be installed.

* gnu/packages/mpd.scm (mpd-mpc)[move-completion]: Use “etc/bash_completion.d”
instead of “etc/bash-completion.d”.
2023-10-23 10:27:35 +02:00
Liliana Marie Prikler fc6325ea0d
gnu: emacs-haskell-snippets: Use correct directory for snippets.
This package instructs Yasnippet to look for snippets relative to its own
path.  However, it installs the snippets directly to site-lisp, which as of
79cfe30f3e is one directory above that.  Use the
elpa-directory procedure introduced in that commit to rectify this mistake.

* gnu/packages/emacs-xyz.scm (emacs-haskell-snippets)[#:phases]
<install-snippets>: Use elpa-directory.

Fixes: Wrong location for haskell snippets <https:issues.guix.gnu.org/66562>
2023-10-23 09:47:59 +02:00
Herman Rimm 54e88d8da5
gnu: Add rust-1.73.
* gnu/packages/rust.scm (rust-1.73): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I97ab62112cd9386427d3cf8f9f6e1700492966b1
2023-10-23 09:29:37 +03:00
Sharlatan Hellseher 56742f79c0
gnu: go-github-com-alecthomas-assert: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-alecthomas-assert): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:31 -04:00
Sharlatan Hellseher 0a881fdaa7
gnu: go-golang-org-sql-mock: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-golang-org-sql-mock): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher f6a03a8ba6
gnu: go-golang-org-x-lint: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-golang-org-x-lint): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher 4e65fb5b33
gnu: go-honnef-co-go-tools: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-honnef-co-go-tools): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher cf9c76223f
gnu: go-github-com-onsi-ginkgo: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-onsi-ginkgo):
Move from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher 18a537ec42
gnu: go-github-com-google-go-cmdtest: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-google-go-cmdtest): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher 1261ca098b
gnu: go-github-com-frankban-quicktest: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-frankban-quicktest): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:30 -04:00
Sharlatan Hellseher eeb397018d
gnu: go-github-com-cheekybits-is: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-cheekybits-is): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher 01b9dd8782
gnu: go-github-com-google-gofuzz: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-google-gofuzz): Move from
here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher 1b7175555e
gnu: go-github-com-jacobsa-ogletest: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-jacobsa-ogletest): Move
from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher 6272d5f7be
gnu: go-github-com-tdewolff-test: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-tdewolff-test):
Move from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher 981f0fee04
gnu: go-gopkg-in-go-playground-assert-v1: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-gopkg-in-go-playground-assert-v1):
Move from here...
* gnu/packages/golang.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:29 -04:00
Sharlatan Hellseher 7990756053
gnu: go-github-com-golangplus-testing: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-github-com-golangplus-testing): Move from
here...
* gnu/packages/golang-check.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:28 -04:00
Sharlatan Hellseher 28a9e296f8
gnu: go-github-com-jacobsa-oglematchers: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-github-com-jacobsa-oglematchers): Move
from here...
* gnu/packages/golang-check.scm: ... to here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:28 -04:00
Sharlatan Hellseher 4bb570a298
gnu: go-gopkg-in-check-v1: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-gopkg-in-check-v1): Move from here...
* gnu/packages/golang-check.scm (go-gopkg-in-check-v1): ... to here.

* gnu/packages/bioinformatics.scm: Add (gnu-packages golang-check) to
use-module.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:17:28 -04:00
Sharlatan Hellseher 1ac7f7d068
gnu: go-github-com-stretchr-testify: Remove labels.
* gnu/packages/golang-check.scm (go-github-com-stretchr-testify): Remove
input lables.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ibe9dcd7b55681cf6c5b76c44ef03de2e2f02bcd9
2023-10-22 22:17:13 -04:00
Sharlatan Hellseher 7d40f11e01
gnu: go-github-com-jacobsa-oglemock: Move to (gnu packages golang-check)
* gnu/packages/golang.scm (go-github-com-jacobsa-oglemock): Move from here...
* gnu/packages/golang-check.scm: ... to here.

* gnu/packages/file-systems.scm: Add use-module (gnu-packages golang-check).

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:03:04 -04:00
Sharlatan Hellseher dc01497850
gnu: go-github-com-stretchr-testify: Move to (gnu packages golang-check).
* gnu/packages/golang.scm (go-github-com-stretchr-testify): Move from
here...
* gnu/packages/golang-check.scm: ...to here.

* gnu/packages/databases.scm: Add (gnu packages golang-check) module.
* gnu/packages/education.scm: As above...
* gnu/packages/ipfs.scm: As above...
* gnu/packages/irc.scm: As above...
* gnu/packages/mail.scm: As above...
* gnu/packages/textutils.scm: As above...
* gnu/packages/version-control.scm: As above...

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:02:56 -04:00
Sharlatan Hellseher 4cd78484bb
gnu: Add (gnu packages golang-check) module.
* gnu/packages/golang-check.scm: New file.
* gnu/local.mk: Add to gnu/packages/golang-check.scm scope.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-22 22:02:52 -04:00
Maxim Cournoyer 75aba5a746
build: Avoid git config 'include' duplicates.
* Makefile.am (.git/config): Invoke git config --replace-all with a
value-pattern instead of --add.

Change-Id: Id6e19b15d3772105128eb9b48d0f4e039ae3d988
Reported-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-22 20:35:15 -04:00
Maxim Cournoyer 4cf4dcb8b3
teams: Adjust shebang to use 'guix repl'.
This ensures the correct Guix dependencies are always available for the
script.

* etc/teams.scm.in: Rename to...
* etc/teams.scm: ... this.  Adjust shebang.
* .gitignore: No longer ignore it.
* configure.ac: Do not process it with AC_CONFIG_FILES.

Reported-by: Clément Lassieur <clement@lassieur.org>
Fixes: https://issues.guix.gnu.org/66605
Change-Id: I7a01750c6c5f0696b6c36b1e6caa9389d9e6822c
2023-10-22 20:35:15 -04:00
Nicolas Goaziou 85f934ccff
gnu: colobot: Improve package style.
* gnu/packages/games.scm (colobot)[arguments]: Use G-expressions.
<#:phases>: Remove trailing #T.
[native-inputs, inputs]: Remove labels.
2023-10-23 01:12:19 +02:00
Nicolas Goaziou b24ec42686
gnu: colobot: Update to 0.2.1-alpha.
* gnu/packages/games.scm (colobot): Update to 0.2.1-alpha.
2023-10-23 01:11:58 +02:00
Maxim Cournoyer fb3707762d
etc: teams: Parse 'From' commit more leniently.
When a Change-Id is used, patman prepends a Message-Id field on the first line
of the patch, which broke the assumption that the 'From $commit' line must
appear on the first line.

* etc/teams.scm.in (git-patch->commit-id): Loop each line of the file until a
match is found.  Update doc.

Series-to: 66027@debbugs.gnu.org
Series-version: 3
Series-changes: 3
 - New commit
Series-cc: Giovanni Biscuolo <g@xelera.eu>, Simon Tournier <zimon.toutoune@gmail.com>
Change-Id: I20400f87469ffb761ffc82dd32e34cd06f619043
2023-10-22 16:09:05 -04:00
Maxim Cournoyer f44fa21c3e
gnu: patman: Apply patch for new Change-Id setting.
* gnu/packages/bootloaders.scm (u-boot) [source]: Apply patch.
* gnu/packages/patches/u-boot-patman-change-id.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* .patman (keep_change_id): Use it.

Series-changes: 3
 - New commit
Change-Id: I33c03013f6a260b5f5d80212b7b6ebe8a3f97efa
2023-10-22 16:09:04 -04:00
Maxim Cournoyer 8005e09b26
build: Add a commit-msg hook that embeds Change-Id in commit messages.
Partially implements <https://issues.guix.gnu.org/66027>.

This will make it possible to track a merged commit back to its original
posting on the mailing list, and open the door to new opportunities such as
closing fully merged series automatically.

* Makefile.am (COMMIT_MSG_MAGIC): New variable.
(.git/hooks/commit-msg): New target.
* etc/git/commit-msg: New file.
* doc/contributing.texi (Configuring Git): Document Change-Id.

Series-changes: 3
 - Clarify documentation text, as suggested by Simon
Change-Id: Ia92fa958eae600fdd4e180bad494c85db8bb4dd6
Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
2023-10-22 16:09:04 -04:00
Efraim Flashner faeebdc37e
gnu: make-opensbi-package: Set target to #false.
* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: Set
target to #false.
2023-10-22 20:32:27 +03:00
Efraim Flashner af89b109db
gnu: transanno: Don't set #:tests to #true.
* gnu/packages/bioinformatics.scm (transanno)[arguments]: Don't set
tests unconditionally to #true.
2023-10-22 20:25:39 +03:00
Efraim Flashner 50f514762b
gnu: wcslib-7.12: Remove pregenerated files.
* gnu/packages/astronomy.scm (wcslib-7.12)[source]: Add snippet to
remove pregenerated files.
2023-10-22 19:49:26 +03:00
Efraim Flashner 70690fd6c4
gnu: wcslib: Remove pregenerated files.
* gnu/packages/astronomy.scm (wcslib)[source]: Add snippet to remove
pregenerated files.
[native-inputs]: Add flex.
2023-10-22 19:49:26 +03:00
Efraim Flashner c48fb29d6b
gnu: gnuastro: Update to 0.21.
* gnu/packages/astronomy.scm (gnuastro): Update to 0.21.
2023-10-22 19:49:26 +03:00
Ricardo Wurmus f9b08aa134
gnu: Add python-flatbuffers.
* gnu/packages/serialization.scm (python-flatbuffers): New variable.
2023-10-22 17:27:42 +02:00