Commit graph

89339 commits

Author SHA1 Message Date
Marius Bakke 00ec9e3414
gnu: rtv: Disable sanity check.
* gnu/packages/syndication.scm (rtv)[arguments]: Delete phase.
2021-12-16 22:21:13 +01:00
Marius Bakke ee4561b08e
gnu: python-vcrpy: Fix test failure.
* gnu/packages/python-check.scm (python-vcrpy)[arguments]: Don't override
PYTHONPATH.
2021-12-16 22:21:13 +01:00
Marius Bakke 1f4319886a
gnu: python-magic: Work around crash on .crx files.
* gnu/packages/patches/python-magic-python-bytecode.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-xyz.scm (python-magic)[source](patches): Add it.
[inputs]: Add FILE-NEXT.
[arguments]: While at it, remove input labels.
* gnu/packages/diffoscope.scm (diffoscope)[native-inputs]: Add FILE-NEXT.
2021-12-16 22:21:13 +01:00
Marius Bakke 12c75628b4
gnu: file: Add 5.41.
* gnu/packages/file.scm (file-next): New variable.
2021-12-16 22:21:13 +01:00
Marius Bakke 3dcf972944
gnu: python-magic: Run more tests.
* gnu/packages/python-xyz.scm (python-magic): Invoke one more test file.
2021-12-16 22:21:13 +01:00
Marius Bakke 83651eef15
gnu: python-daemon: Fix test failure.
* gnu/packages/python-xyz.scm (python-daemon)[arguments]: Patch one test &
remove trailing #t.
2021-12-16 22:21:13 +01:00
Marius Bakke aec6bd0169
chromium-extension: Build .crx files in a deterministic fashion.
* gnu/build/chromium-extension.scm (make-crx): Pass #:keep-mtime? #t to
COPY-RECURSIVELY.  Remove defunct FAKETIME workaround.  While at it, pack the
extension in the scratch working directory instead of the transient
store-mapped /tmp.
2021-12-16 22:21:13 +01:00
Marius Bakke 40ebf85b86
chromium-extension: Avoid usage of gcrypt at evaluation time.
* gnu/build/chromium-extension.scm (make-signing-key): Wrap builder in
with-extensions, and compute the seed checksum at build time.
2021-12-16 22:21:13 +01:00
Marius Bakke 173860eb41
chromium-extension: Reduce imported-modules scope.
* gnu/build/chromium-extension.scm (make-crx): Delay with-imported-modules
until the builder code.
(crx->chromium-json): Remove needless define* while at it.
2021-12-16 22:21:13 +01:00
Marius Bakke f59bb27557
chromium-extension: Simplify builder code.
* gnu/build/chromium-extension.scm (chromium-json->profile-object): Remove
variable.
(file-sha256): New variable.
(make-chromium-extension): Rename OUTPUT parameter to prevent conflict.
Adjust other variable names for clarity.
[inputs]: Clear.
[arguments]: Inline and simplify the final transformation with a gexp.
2021-12-16 22:21:13 +01:00
Marius Bakke fdd71babc7
gnu: ungoogled-chromium: Improve Vulkan support.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Add absolute
reference to libvulkan.so.1.  Install SwiftShader support files.
[inputs]: Add VULKAN-LOADER.
2021-12-16 22:21:12 +01:00
Marius Bakke 745d6cb7d3
gnu: ungoogled-chromium: Unexpire accelerated video decoding.
* gnu/packages/patches/ungoogled-chromium-accelerated-video-decode.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/chromium.scm (%guix-patches): Add it.
2021-12-16 22:21:12 +01:00
Marius Bakke 48a1bb314d
gnu: ungoogled-chromium: Enable RUNPATH validation.
* gnu/packages/patches/ungoogled-chromium-RUNPATH.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/chromium.scm (%guix-patches): Add it.
(ungoogled-chromium)[arguments]: Remove #:validate-runpath?.
2021-12-16 22:21:12 +01:00
Danny Milosavljevic d2af1df65f
gnu: openocd: Explicitly enable all the programmers.
* gnu/packages/embedded.scm (openocd)[arguments]<#:configure-flags>: Add
"enable" flags for rshim, ft232r, xds110, cmsis-dap-v2, nulink, kitprog,
jtag_dpi, bcm2835gpio, imx_gpio, ep93xx, at91rm9200, sysfsgpio,
xlnx-pcie-xvc.
2021-12-16 21:31:45 +01:00
Danny Milosavljevic c4f4fd8f16
gnu: openocd: Make build reproducible.
* gnu/packages/embedded.scm (openocd)[arguments]<#:phases>[bootstrap]:
Make build reproducible.
2021-12-16 21:31:45 +01:00
Danny Milosavljevic b47fcf1cbe
gnu: openocd: Update to 0.11.0.
* gnu/packages/embedded.scm (openocd): Update to 0.11.0.
2021-12-16 21:31:43 +01:00
Leo Famulari 18d5e7c96b
lint: 'kdoctools' is typically used only while building.
* guix/lint.scm (check-inputs-should-be-native): Add kdoctools.
2021-12-16 13:51:54 -05:00
Tobias Geerinckx-Rice 88b4dcdabe
gnu: php: Properly fix openssl_x509_checkpurpose_basic.phpt.
* gnu/packages/php.scm (php)[source]: Add patch.
* gnu/packages/patches/php-openssl_x509_checkpurpose_basic.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Thanks to Diego Nicola Barbato <dnbarbato@posteo.de>
2021-12-16 19:06:50 +01:00
Tobias Geerinckx-Rice via Guix-patches via 13f1355443
linux-modules: Ignore EINVAL in ‘modprobe’ mode.
Loading the framebuffer-coreboot module simply fails with EINVAL on a
non-Corebooted system.  Crashing the system with a kernel panic is not
a reasonable reaction to loading valid modules on unsupported hardware.
The kernel should log an error, which the user is expected to see.

Bogus module names will still be fatally reported by linux-modules.drv.

* gnu/build/linux-modules.scm (load-linux-module*):
Ignore EINVAL errors when operating recursively.
2021-12-16 12:53:52 -05:00
Tobias Geerinckx-Rice via Guix-patches via bc09e7ab56
gnu: linux-libre: Support the Coreboot framebuffer.
Without this, the kernel cannot write to the display until the
full-featured driver module (often i915) is loaded from the root file
system.

If the root file system is encrypted, the initrd's passphrase prompt
won't make it to the screen, and the fully responsive system will appear
frozen whilst waiting for user input.

* gnu/packages/aux-files/linux-libre/4.4-i686.conf,
gnu/packages/aux-files/linux-libre/4.4-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.14-i686.conf,
gnu/packages/aux-files/linux-libre/4.14-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.19-i686.conf,
gnu/packages/aux-files/linux-libre/4.19-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf:
Mark simple framebuffers as generic system ones and enable ‘Google’
firmware drivers to enable Coreboot table support and its dependent
framebuffer driver module.
* gnu/system/linux-initrd.scm (default-initrd-modules):
Add the framebuffer_coreboot and simplefb modules on x86 systems.
2021-12-16 12:53:52 -05:00
Leo Famulari d78ca1cbb1
gnu: linux-libre 4.4: Update to 4.4.295.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.295.
(linux-libre-4.4-pristine-source): Update hash.
2021-12-16 12:53:52 -05:00
Leo Famulari 5557bd3787
gnu: linux-libre 4.9: Update to 4.9.293.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.293.
(linux-libre-4.9-pristine-source): Update hash.
2021-12-16 12:53:51 -05:00
Leo Famulari ce91ff36c7
gnu: linux-libre 4.14: Update to 4.14.258.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.258.
(linux-libre-4.14-pristine-source): Update hash.
2021-12-16 12:53:51 -05:00
Leo Famulari c93c7af1ce
gnu: linux-libre 4.19: Update to 4.19.221.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.221.
(linux-libre-4.19-pristine-source): Update hash.
2021-12-16 12:53:51 -05:00
Leo Famulari 4e54ab957f
gnu: linux-libre 5.4: Update to 5.4.165.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.165.
(linux-libre-5.4-pristine-source): Update hash.
2021-12-16 12:53:51 -05:00
Leo Famulari cf35bc8a20
gnu: linux-libre 5.10: Update to 5.10.85.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.85.
(linux-libre-5.10-pristine-source): Update hash.
2021-12-16 12:53:51 -05:00
Leo Famulari b80cbab45d
gnu: linux-libre: Update to 5.15.8.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.8.
(linux-libre-5.15-pristine-source): Update hash.
2021-12-16 12:53:41 -05:00
Tobias Geerinckx-Rice 5e59153595
gnu: php: Disable yet another failing test.
* gnu/packages/php.scm (php)[arguments]: Delete the
openssl_x509_checkpurpose_basic.phpt test.
2021-12-16 18:28:43 +01:00
Tobias Geerinckx-Rice b329c2139b
gnu: chrony: Update to 4.2.
* gnu/packages/ntp.scm (chrony): Update to 4.2.
[arguments]: Don't explicitly return #t from phases.
2021-12-16 16:27:03 +01:00
Tobias Geerinckx-Rice 12e9687eb9
gnu: dpkg: Update to 1.21.0.
* gnu/packages/debian.scm (dpkg): Update to 1.21.0.
[arguments]: Don't explicitly return #t from phases.
2021-12-16 16:27:03 +01:00
Ricardo Wurmus d83cc1e7d2
gnu: Add r-shinyhelper.
* gnu/packages/cran.scm (r-shinyhelper): New variable.
2021-12-16 15:17:51 +01:00
Julien Lepiller 86d6c6053c
gnu: java-log4j-api: Update to 2.16.0.
This is a follow-up release because of an incorrect fix to
CVE-2021-45046.

* gnu/packages/java.scm (java-log4j-api): Update to 2.16.0.
2021-12-16 13:56:54 +01:00
Nicolas Goaziou 615dda2de4
gnu: emacs-eacl: Update to 2.2.0.
* gnu/packages/emacs-xyz.scm (emacs-eacl): Update to 2.2.0.
2021-12-16 13:25:04 +01:00
Nicolas Goaziou a975a90824
gnu: manuskript: Update to 0.13.1.
* gnu/packages/text-editors.scm (manuskript): Update to 0.13.1.
2021-12-16 13:22:49 +01:00
Jacob MacDonald b99200632f
gnu: Add cl-april.
* gnu/packages/lisp-xyz.scm (sbcl-april, cl-april, ecl-april): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-16 11:20:22 +01:00
Jacob MacDonald 7836ca8743
gnu: Add cl-simple-date-time.
* gnu/packages/lisp-xyz.scm (sbcl-simple-date-time, cl-simple-date-time,
  ecl-simple-date-time): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-16 11:11:07 +01:00
Jacob MacDonald 92433c2d74
gnu: Add cl-decimals.
* gnu/packages/lisp-xyz.scm (sbcl-decimals, cl-decimals, ecl-decimals):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-16 11:06:27 +01:00
Jacob MacDonald d1269c65d3
gnu: Add cl-random-state.
* gnu/packages/lisp-xyz.scm (sbcl-random-state, cl-random-state,
  ecl-random-state): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-16 11:02:25 +01:00
Jacob MacDonald abd2aed926
gnu: Add cl-maxpc.
* gnu/packages/lisp-xyz.scm (sbcl-maxpc, cl-maxpc, ecl-maxpc): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-16 10:56:55 +01:00
Lars-Dominik Braun 08218fd7a4
gnu: python-pyflow: Rename to python2-pyflow.
The package was never compatible with Python 3. Not adding a deprecated
package variant, because going from Python 3 to Python 2 is a breaking
change and it’s unlikely anyone ever used the package anyway (it was
likely broken).

* gnu/packages/python-science.scm (python-pyflow): Move…
(python2-pyflow): …here.
[arguments]: Use Python 2.
2021-12-16 09:48:02 +01:00
Lars-Dominik Braun 974264af37
gnu: python-flask-restful: Rewrite import.
It seems a function inside python-flask moved to a different module.

* gnu/packages/python-web.scm (python-flask-restful)[arguments]: Add
phase rewriting imports from flask.helpers to flask.scaffold.
2021-12-16 09:04:57 +01:00
Lars-Dominik Braun 44e1300994
gnu: Add js-mathjax-3.
* gnu/packages/javascript.scm (js-mathjax-3): New variable.
* gnu/packages/patches/mathjax-disable-webpack.patch,
gnu/packages/patches/mathjax-no-a11y.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.
2021-12-16 08:58:07 +01:00
Lars-Dominik Braun 13c6ed07ea
gnu: Add todoman.
* gnu/packages/task-management.scm (todoman): New variable.
2021-12-16 08:58:07 +01:00
Lars-Dominik Braun c63b55d128
gnu: Replace JUPYTER_CONFIG_DIR with JUPYTER_CONFIG_PATH.
Judging by the documentation
(https://jupyter.readthedocs.io/en/latest/use/jupyter-directories.html)
_DIR can only be a single value, whereas _PATH supports :-delimited
values and extends _DIR with extra directories.

* gnu/packages/python-xyz.scm (python-jupyter-core)[native-search-paths]:
Replace _DIR with _PATH.
(python-nbconvert)[arguments]: Unset JUPYTER_CONFIG_PATH during tests.
(python-notebook)[arguments]: Dito.
2021-12-16 08:58:06 +01:00
Lars-Dominik Braun dfb5f088cb
gnu: python-sanic: Update to 20.12.4.
* gnu/packages/python-web.scm (python-sanic)[version]: Update to 20.12.4.
[arguments]: Skip more failing tests.
2021-12-16 08:58:06 +01:00
terramorpha 6335c94b1d
gnu: Add qdirstat.
* gnu/packages/disk.scm (qdirstat): New variable

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-16 00:38:04 -05:00
Nikolay Korotkiy 33de36e5f9
gnu: gqrx: Update to 2.15.
* gnu/packages/radio.scm (gqrx): Update to 2.15.
[source]: Update source URI.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-15 23:54:20 -05:00
Tobias Geerinckx-Rice ceb9c6c50e
gnu: nss-certs: Avoid top-level reference to NSS.
This is the only hammer I know for dealing with module cycles and
effectively fixes, for example, ‘guix show nss’ today.

It's also a very poor solution.

* gnu/packages/certs.scm (nss-certs)[version, source]: Copy verbatim
from the nss package rather than referring to it at the top level.

Reported by several users of #guix.
2021-12-16 01:55:34 +01:00
terramorpha 18b1497673
gnu: xdot: Build with harfbuzz.
This fixes a crash when launching xdot.

* gnu/packages/graphviz.scm (xdot)[inputs]: Add harfbuzz.
[arguments]: Add harfbuzz to the GI_TYPELIB_PATH wrapper in the 'wrap' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-15 17:40:52 -05:00
Liliana Marie Prikler b574ccc453
gnu: polari: Use polari command to launch Polari.
The rationale for patching the Exec line is similar to what is done for
gnome-weather.

* gnu/packages/gnome.scm (polari)[#:phases]: Add ‘fix-desktop-file’ phase.
2021-12-15 20:37:02 +01:00