Commit graph

142149 commits

Author SHA1 Message Date
Maxime Devos
dbb5650682
gnu: bandage: Do not yet use the 'imagemagick/stable' variant.
Once <https://issues.guix.gnu.org/47475> (‘Closure of bandage is way too
large’) has been fixed, the variant will probably be usable.

* gnu/packages/bioinformatics.scm (bandage):
[arguments]<#:disallowed-references>: Once the issue
has been fixed, prevent the imagemagick/stable package from ending up in the
closure.
[native-inputs]: Note that 'imagemagick/stable' cannot be used yet.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ie13100eb424b14971055ff91db49bc7029cb6168
2024-08-31 10:44:41 +02:00
Maxime Devos
7c7ca0b625
guix: build-system: qt: Support #:disallowed-references.
* guix/build-system/qt.scm
(qt-build): Support #:allowed-references and #:disallowed-references.
(qt-cross-build): Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ia2c36152bc3500a4e73b204b0a006f3bb9405d58
2024-08-31 10:44:41 +02:00
Maxime Devos
94153591c5
gnu: wpa-supplicant-gui: Use 'imagemagick/stable' variant.
* gnu/packages/admin.scm (wpa-supplicant-gui):
[native-inputs]: Use the 'imagemagick/stable' variant.
[arguments]<#:disallowed-phases>: Prevent 'imagemagick/stable'
from entering the closure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I8a998857b2d366744da16ea4850b02c52ba7c565
2024-08-31 10:44:41 +02:00
Maxime Devos
2090a563bd
gnu: sphinx: Use 'imagemagick/stable' variant.
As the store item does not retain a reference to imagemagick,
it should be safe to use the 'imagemagick/stable' variant.

* gnu/packages/sphinx.scm (python-sphinx)
[arguments] Add #:disallowed-references to make sure no references to
imagemagick are retained.
[native-inputs]: Use 'imagemagick/stable' instead of 'imagemagick' and explain
why that's a safe thing to do.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I04bdc94e012f3fcb30c4ec113a0ae2e9d9373210
2024-08-31 10:44:41 +02:00
Maxim Cournoyer
f9b04997f2
build-system: pyproject: Add allowed/disallowed keyword arguments.
* gnu/build-system/pyproject.scm (pyproject-build) Add ALLOWED-REFERENCES and
DISALLOWED-REFERENCES keywords.

Change-Id: I404cbd8409332705b023c7a3b0b8fafbfaefe28b
2024-08-31 10:44:40 +02:00
Maxime Devos
725960c9ba
build-system: python: Add allowed/disallowed keyword arguments.
* gnu/build-system/python.scm (python-build) Add ALLOWED-REFERENCES and
DISALLOWED-REFERENCES keywords.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I80bfe8e23b8475a8ca277cddd4275f1e757db8c3
2024-08-31 10:44:40 +02:00
Maxime Devos
e3178b088a
gnu: Use 'gtk-doc/stable' in native-inputs instead of 'gtk-doc'.
Commit 9dea161875 only
replaced 'gtk-doc' with 'gtk-doc/stable' in the native-inputs
of some packages, but we may as well do this for all packages.

* gnu/packages/admin.scm (thermald) [native-inputs]:
Replace 'gtk-doc' with 'gtk-doc/stable'.
* gnu/packages/glib.scm (glib-with-documentation): Likewise.
* gnu/packages/mate.scm (mate-desktop, atril, caja-extensions)
(mate-utils, eom, engrampa, pluma, mate-polkit) [native-inputs]: Likewise.
* gnu/packages/messaging.scm
(libgnt, loudmouth) [native-inputs]: Likewise.
* gnu/packages/music.scm
(denemo, gsequencer) [native-inputs]: Likewise.
* gnu/packages/photo.scm (entangle) [native-inputs]: Likewise.
* gnu/packages/security-token.scm
(libu2f-host, libu2f-server) [native-inputs]: Likewise.
* gnu/packages/wm.scm (keybinder, keybinder-3.0)
[native-inputs]: Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I6c647ff1394e0a48bef0e6fb1ae43533673f1d79
2024-08-31 10:44:40 +02:00
Maxim Cournoyer
17e6ce2f88
gnu: inkscape/stable: Add imagemagick to inputs.
* gnu/packages/inkscape.scm (inkscape/stable) [inputs]:  Add imagemagick.

Fixes: https://issues.guix.gnu.org/47479
Change-Id: Ibcc05563e7a020c331907f6bd40038656bb54a34
2024-08-31 10:44:40 +02:00
Romain GARBAGE
af15de3d6a
guix: build: Expand `copy-recursively'.
* guix/build/utils.scm (copy-recursively): Add `select?' key.

Change-Id: Icfe226164bb88dfede58ae24c15a98db9b696c3b
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:40 +02:00
Maxim Cournoyer
92f66ab60d
packages: Silence tar's support for --sort check output.
* guix/packages.scm (patch-and-repack)
<tar-supports-sort?>: Invoke with 'invoke/quiet', catching any message
condition.

Change-Id: I1feee605f77bfe633d22901a3250e4c530fee6a6
2024-08-31 10:44:40 +02:00
Danny Milosavljevic
3c8ca6b26b
gnu: openjdk15: Make reproducible.
* gnu/packages/java.scm (openjdk15)[source]: Add patch.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:40 +02:00
Danny Milosavljevic
dbce2fc287
gnu: openjdk14: Make reproducible.
* gnu/packages/java.scm (openjdk14)[source]: Add patches.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:40 +02:00
Danny Milosavljevic
5996fb5b0c
gnu: openjdk13: Make reproducible.
* gnu/packages/patches/openjdk-13-classlist-reproducibility.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/java.scm (openjdk13)[source]: Add patch.
[arguments]<#:phases>[remove-timestamping]: Modify phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I1b2943c989e2d6acfd8131ea4ede978c61948811
2024-08-31 10:44:39 +02:00
Danny Milosavljevic
d109a7322c
gnu: openjdk12: Make reproducible.
* gnu/packages/java.scm (openjdk12)[arguments]<#:phases>[remove-timestamping]:
Modify phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:39 +02:00
Danny Milosavljevic
edf8fc9a48
gnu: openjdk11: Make more reproducible.
* gnu/packages/java.scm (openjdk11)[source]: Add patch.
[arguments]<#:phases>[remove-timestamping]: Add phase.
* gnu/packages/patches/openjdk-11-classlist-reproducibility.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I67f1b7746a2c7016aec32c438b94d24a16bc77b2
2024-08-31 10:44:39 +02:00
Danny Milosavljevic
48ea1a2b3b
gnu: openjdk10: Make more reproducible.
* gnu/packages/patches/openjdk-10-char-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-classlist-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-corba-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-jar-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-jtask-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-module-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-module3-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-10-module4-reproducibility.patch: New file.
* gnu/packages/java.scm (openjdk10)[source]: Add patches.
[arguments]<#:phases>[remove-timestamping]: New phase.
* gnu/local.mk (dist_patch_DATA): Add patches.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:39 +02:00
Danny Milosavljevic
2f1daa3574
gnu: openjdk9: Make build reproducible.
* gnu/packages/patches/openjdk-9-classlist-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-9-jar-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-9-module-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-9-module2-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-9-module3-reproducibility.patch: New file.
* gnu/packages/patches/openjdk-9-idlj-reproducibility.patch: New file.
* gnu/packages/java.scm (openjdk9)[source]: Add patches.
[arguments]<#:phases>[strip-zip-timestamps]: Modify.
[native-inputs, inputs]: Use new-style syntax.
* gnu/local/mk (dist_patch_DATA): Add patches.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifb7a87b0c11f3a7032597013ac904aefc9234db1
2024-08-31 10:44:39 +02:00
Maxim Cournoyer
10d45f6a0e
gnu: webrtc-audio-processing: Update to 1.3.
* gnu/packages/audio.scm (webrtc-audio-processing): Update to 1.3.

Change-Id: I00e216810cf4f93b05196b7912e80ebf5f063cb6
2024-08-31 10:44:39 +02:00
Maxim Cournoyer
3010b20f9c
gnu: qpdf: Update to 11.8.0.
* gnu/packages/pdf.scm (qpdf): Update to 11.8.0.
[home-page]: Update URL.

Change-Id: I79b158436b3b1221f5c7fc3767878afd3f13c5bd
2024-08-31 10:44:39 +02:00
Maxim Cournoyer
112fd4617e
gnu: patchelf: Update to 0.18.0.
* gnu/packages/elf.scm (patchelf): Update to 0.18.0.

Change-Id: I094841b6cbd9ac2eb9dcab132e28be5c3acb3cb4
2024-08-31 10:44:38 +02:00
Maxim Cournoyer
61f1947c08
gnu: libice: Update to 1.1.1.
* gnu/packages/xorg.scm (libice): Update to 1.1.1.

Change-Id: I560ce3f78840bbe7b92ca4c917fff40f57d9215c
2024-08-31 10:44:38 +02:00
Maxim Cournoyer
fc9926b90b
gnu: libgpg-error: Update to 1.47.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.47.

Change-Id: I1f947b904eb1f91b44d6c870d19f29a99f068ffd
2024-08-31 10:44:38 +02:00
Roman Scherer
944d99af26
Agnu: mesa: Build asahi driver on aarch64.
* gnu/packages/gl.scm (mesa): Build asahi driver on aarch64.

Change-Id: I597e70732b9ebd18960131f1b664b2dc83683b8e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Roman Scherer
337fc6732e
build/cargo-build-system: Support 16k page sizes on aarch64.
* guix/build/cargo-build-system.scm (configure): Support 16k page sizes on aarch64.

Change-Id: I523c192159908483577301da246d75d16b694bc8
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Roman Scherer
77f46f39b5
gnu: jemalloc: Build with large page size.
* gnu/packages/jemalloc.scm (jemalloc): Build with large page size.

Change-Id: Ic813e7b0fe4c7ee79a1e703247abea77ad9d53f0
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Konrad Hinsen
d5e0180805
gnu: python: Normalize sys.prefix in sitecustomize.py.
* gnu/packages/aux-files/python/sitecustomize.py: normalize sys.prefix to deal
with situations where it contains "../", as can happen in relocatable packs.

Change-Id: Ibfe13d7c2a14beaa199f599e64bc0b7bfb500fe8
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Tomas Volf
be86f3de1e
gnu: python: Make the build reproducible.
While Python build was reproducible on a single machine, once multiple file
systems entered the picture, it was no longer true.  The solution adopted by
the upstream (and Debian) was cherry-picked.

More info: <https://github.com/python/cpython/pull/8226>.

* gnu/packages/python.scm (python-3.10) [source]: Apply reproducibility patch.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I0273dc0f8511a7acdcc2b462a26cc29a9756c801
2024-08-31 10:44:38 +02:00
Maxim Cournoyer
3de22656ad
packages: Fix repacked file name extension when zstd is unavailable.
This is a follow-up commit to a869f4bef3 ("packages: Repack patched source
archives via zstd by default.").

* guix/packages.scm (patch-and-repack): Do not have xz fallback into the zstd
variable, which is confusing and caused the extension selection to be wrong
when the xz fallback was used.  Refine how PATH is set to avoid duplicates.

Change-Id: I580deba4de822eccf5f6fe53355b8ba57178c166
2024-08-31 10:44:37 +02:00
Maxim Cournoyer
47c595b147
gnu: font-go: Update home page URL.
* gnu/packages/fonts.scm (font-go) [home-page]: Update URL.

Change-Id: I2d6962a015cb777c6daaed86490e8d01b1e40d2e
2024-08-31 10:44:37 +02:00
Maxim Cournoyer
8829cdf91b
gnu: font-fontna-yasashisa-antique: Remove input labels.
* gnu/packages/fonts.scm (font-fontna-yasashisa-antique)
[phases]: Remove trailing #t.
[native-inputs]: Remove labels.

Change-Id: I4d0f113a9f3866c0a0d14de893d3cd03c7741393
2024-08-31 10:44:37 +02:00
Maxim Cournoyer
84be7d9db9
gnu: bluez: Update to 5.72.
* gnu/packages/linux.scm (bluez): Update to 5.72.

Change-Id: Id9ee1cdae8226af161ea75f097730c9edc6d43b0
2024-08-31 10:44:37 +02:00
Maxim Cournoyer
18a39e7f67
gnu: bluez: Update home page URL.
* gnu/packages/linux.scm (bluez) [home-page]: Update URL.

Change-Id: Ice8bc802b29407f803caae61864e72a4db74074d
2024-08-31 10:44:37 +02:00
Maxim Cournoyer
a6a1b9cce8
gnu: openjdk11: Update home page.
* gnu/packages/java.scm (openjdk11) [home-page]: Update URL.

Change-Id: If57dcd1e99d0f93d79bbc3f10c45cf3b09fcff7a
2024-08-31 10:44:37 +02:00
Pierre Langlois
8c238042cb
gnu: findutils-boot0: Re-enable most tests.
* gnu/packages/commencement.scm (findutils-boot0) [arguments]: Enable tests.
Rename skip-fnmatch-test phase skip-problematic-tests.  Only disable
test-fnmatch on x86_64 and i686.  Disable pthread tests on other platforms.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I1efd62d98a27c3d9b878f37c890d6ff0ea6ea675
2024-08-31 10:44:36 +02:00
Milkey Mouse
3a930659a4
gnu: rust: Add profiling support.
* gnu/packages/rust.scm (rust-1.52)
[phases] <unpack-profiler-rt, enable-profiling>: New phases.

Change-Id: Iecb4aef518e52f71ff7f539778bf0341288a3458
2024-08-31 10:44:36 +02:00
Sarah Morgensen
af85c38b01
import: go: Emit new-style package inputs.
Since PACKAGE-NAMES->PACKAGE-INPUTS is used by both the go and crate
importers, give the crate importer a copy of the original so it
continues to use old-style inputs until it is updated.

* guix/import/utils.scm (package-names->package-inputs)[make-input]:
Return new-style package inputs.
(maybe-inputs): Wrap PACKAGE-INPUTS in 'list' instead of 'quasiquote'.
* guix/import/crate.scm (package-names->package-inputs): New variable.
* tests/go.scm ("go-module->guix-package"): Adjust to new-style package
inputs.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:36 +02:00
Sarah Morgensen
b8af6694b9
import: crate: Emit new-style package inputs.
* guix/import/crate.scm (maybe-cargo-development-inputs)
(maybe-cargo-inputs): Wrap PACKAGE-INPUTS in unquoted 'list'.
* tests/crate.scm ("crate->guix-package")
("cargo-recursive-import")
("cargo-recursive-import-honors-existing-packages"): Adjust accordingly.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I4dfb745272ecbc893926446872514fb815c07236
2024-08-31 10:44:36 +02:00
Sarah Morgensen
969fb0b2be
build-system/go: Honor #:parallel-tests?.
guix/build/go-build-system.scm (build): Honor #:parallel-tests?.
guix/build-system/go.scm (go-build): Add PARALLEL-TESTS? parameter.
[builder]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:36 +02:00
Sarah Morgensen
92046a65fa
build-system/go: Honor #:parallel-build?.
guix/build/go-build-system.scm (build): Honor #:parallel-build?.
guix/build-system/go.scm (go-build): Add PARALLEL-BUILD? parameter.
[builder]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:36 +02:00
Maxime Devos
d86b0d9689
gnu: dbm: Regenerate Autotools files.
This way, overriding the 'detection of 'build' isn't needed anymore.

* gnu/packages/dbm.scm (bdb-snippet): New procedure.
(bdb-4.8)[source]: Add the snippet.
[arguments]: Copy "config.sub"," "config.guess" and "install-sh" in a new
'boostrap phase', this time from automake.  Move macros from aclocal_java
to aclocal.  Move configure flags to #:configure-flags.  Remove 'configure'
phase, instead add a pre-configure phase for adjusting Makefile.in and use
'#:out-of-source' to perform an out-of-source build.  Run "s_config" to fix up
the version numbers.
(bdb-5.3)[source]: Inherit from bdb-4.8's source, to get the snippet.
(bdb-6)[source]: Likewise, and be careful to not add a patch.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I03aa7ed4afda15d970856efed9f14fd851ee7634
2024-08-31 10:44:35 +02:00
Lilah Tascheter
a3ef89714f
gnu: man-pages-posix: Remove redundant manpage compression.
* gnu/packages/man.scm (man-pages-posix)[arguments]: Don't run build
  phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Lilah Tascheter
1d16506c32
build/gnu: Support compressing non-numeric man sections.
* guix/build/gnu-build-system.scm (compress-documentation)
  [maybe-compress]: Expand regex to include man sections with alphabetic
  suffixes.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
kiasoc5
6667139960
gnu: bluez: enable wiimote plugin.
* gnu/packages/linux.scm (bluez)[configure-flags]: Add "--enable-wiimote".

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
79af01a4ed
gnu: libxres: Update to 1.2.2.
* gnu/packages/xorg.scm (libxres): Update to 1.2.2.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
6f5278d68a
gnu: xset: Update to 1.2.5.
* gnu/packages/xorg.scm (xset): Update to 1.2.5.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
2df44ae0ad
gnu: xprop: Update to 1.2.6.
* gnu/packages/xorg.scm (xprop): Update to 1.2.6.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:35 +02:00
Petr Hodina
e6bfe68e19
gnu: transset: Update to 1.0.3.
* gnu/packages/xorg.scm (transset): Update to 1.0.3.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:34 +02:00
Petr Hodina
67495f8333
gnu: libice: Update to 1.1.0.
* gnu/packages/xorg.scm (libice): Update to 1.1.0.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:34 +02:00
Petr Hodina
7be0cb7736
gnu: libxcomposite: Update to 0.4.6.
* gnu/packages/xorg.scm (libxcomposite): Update to 0.4.6.
[source]: Fix uri due to release of xz archive.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:34 +02:00
Adam Faiz
7c092f727e
gnu: webrtc-audio-processing: Update to 1.0.
* gnu/packages/audio.scm (webrtc-audio-processing): Update to 1.0.
[source]: Add snippet that fixes building on riscv and powerpc
architectures.
[arguments]: Remove patch-source phase.
[build-system]: Update to meson-build-system.
[inputs]: Add abseil-cpp as input.
* gnu/packages/patches/webrtc-audio-processing-big-endian.patch: Update
to 1.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I3e4a9e34aa23336ab09d4d5f098abe8c53f32f9d
2024-08-31 10:44:34 +02:00