Commit graph

126197 commits

Author SHA1 Message Date
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
Efraim Flashner 742554f9b9
guix: import: Don't import yanked rust crates.
* guix/import/crate.scm (<crate-version>): Add yanked? field.
(crate->guix-package)[find-crate-version]: Remove versions which have
been yanked.
* tests/crate.scm: Adjust tests for new yanked? field.
2023-10-22 16:46:39 +03:00
Efraim Flashner 6d4f4e916a
gnu: Add xremap-gnome.
* gnu/packages/rust-apps.scm (xremap-gnome): New variable.
2023-10-22 16:38:42 +03:00
Aleksandr Vityazev 4c0e5651b6
gnu: Add xremap-x11.
* gnu/packages/rust-apps.scm (xremap-x11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 16:38:42 +03:00
Aleksandr Vityazev dc114cb898
gnu: Add xremap-sway.
* gnu/packages/rust-apps.scm (xremap-sway): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 16:38:42 +03:00
Aleksandr Vityazev 0d6d68ca51
gnu: Add xremap-wlroots.
* gnu/packages/rust-apps.scm (xremap-wlroots): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 16:38:42 +03:00
Efraim Flashner b6abadfc1b
gnu: rust-xremap: Install shell completions.
* gnu/packages/rust-apps.scm (rust-xremap)[arguments]: Add a phase to
install the shell completions.
2023-10-22 16:38:42 +03:00
Aleksandr Vityazev 14ce473e8e
gnu: Add rust-xremap.
* gnu/packages/rust-apps.scm (rust-xremap): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 16:13:01 +03:00
Efraim Flashner 25fc05fa8c
gnu: Add rust-zbus-polkit-1.
* gnu/packages/crates-io.scm (rust-zbus-polkit-1): New variable.
2023-10-22 15:43:36 +03:00
Aleksandr Vityazev ee4f504a19
gnu: Add rust-zbus-1.
* gnu/packages/crates-io.scm (rust-zbus-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 15:43:36 +03:00
Aleksandr Vityazev 5421b5fa4e
gnu: Add rust-zvariant-2.
* gnu/packages/crates-io.scm (rust-zvariant-2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 15:43:35 +03:00
Aleksandr Vityazev be2a9ff2c6
gnu: Add rust-zvariant-derive-2.
* gnu/packages/crates-io.scm (rust-zvariant-derive-2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 15:43:35 +03:00
Aleksandr Vityazev 8f2d1307fc
gnu: Add rust-zbus-macros-1.
* gnu/packages/crates-io.scm (rust-zbus-macros-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 15:43:34 +03:00
Aleksandr Vityazev 608df1c98b
gnu: Add rust-enumflags2-0.6.
* gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 15:18:23 +03:00
Aleksandr Vityazev 1bd7c3a124
gnu: Add rust-enumflags2-derive-0.6.
* gnu/packages/crates-io.scm (rust-enumflags2-derive-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-22 15:17:25 +03:00