Commit Graph

4130 Commits

Author SHA1 Message Date
Efraim Flashner
13e252af79
gnu: mariadb: Fix building on riscv64-linux.
* gnu/packages/databases.scm (mariadb)[arguments]: Add a phase when
building for riscv64-linux to apply a patch.
[native-inputs]: When building for riscv64-linux add patch and a patch
file.
* gnu/packages/patches/mariadb-rocksdb-atomic-linking.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-05-15 11:16:39 +03:00
Andy Tai
930e6e3e7a
gnu: mesa-opencl: Remove reference to patch.
Fixes <https://bugs.gnu.org/63456>.

* gnu/packages/patches/mesa-opencl-all-targets.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gl.scm (mesa-opencl)[source]: Remove patch application.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-05-14 10:19:39 +02:00
宋文武
6419ca7fd7
gnu: Add Free as in Freedom (2.0).
* gnu/packages/fsf.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2023-05-12 20:22:02 +08:00
Bruno Victal
1e4c45b0dc
tests: Add vnstat tests.
* gnu/tests/vnstat.scm: New file.
* gnu/local.mk: Register it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:29 +02:00
Ivana Drazovic
b984ac16dc
gnu: laby: Add patch for being able to execute game code.
Reported upstream at https://github.com/sgimenez/laby/pull/68

* gnu/packages/patches/laby-use-tmpdir-from-runtime.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/games.scm (laby)[source]: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-11 16:38:28 +02:00
Eric Bavier
b4e5844700
gnu: kodi: Fix build against latest mesa.
* gnu/packages/patches/kodi-mesa-eglchromium.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/kodi.scm (kodi)[source]: Use it.
2023-05-10 13:56:10 -05:00
Ricardo Wurmus
96c51a9dbf
gnu: python-scikit-optimize: Fix build with newer numpy and sklearn.
* gnu/packages/patches/python-scikit-optimize-1148.patch,
gnu/packages/patches/python-scikit-optimize-1150.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/python-science.scm (python-scikit-optimize)[source]: Fetch with
git and apply patches.
2023-05-10 19:27:07 +02:00
Efraim Flashner
649ce7b433
Merge branch 'rust-team' 2023-05-09 09:56:33 +03:00
Kaelyn Takata
0be7838105
gnu: mesa: Update to 23.0.3.
* gnu/packages/gl.scm (mesa): Update to 23.0.3.
[source]: Remove obsolete patch and update HTTPS url.
[arguments]: Enable the crocus gallium driver.
* gnu/packages/patches/mesa-fix-sporadic-test-failures.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-05-07 13:04:24 -04:00
Pierre Langlois
84c70fd18a
gnu: Add rust-webbrowser-0.8.
* gnu/packages/crates-io.scm (rust-webbrowser-0.8): New variable.
(rust-webbrowser-0.5): Inherit from rust-webbrowser-0.8.
* gnu/packages/patches/rust-webbrowser-remove-unsupported-os.patch: New file.
* gnu/local.mk: Register it.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-05-07 19:29:43 +03:00
Efraim Flashner
3cede546d4
gnu: rust-adblock: Update to 0.7.5.
* gnu/packages/crates-io.scm (rust-adblock-0.4): Replace with
rust-adblock-0.7.5.
[source]: Remove patch.
[arguments]: Add cargo-test-flags.
[cargo-inputs]: Replace rust-cssparser-0.25 with 0.28,
rust-selectors-0.21 with 0.23.
[cargo-development-inputs]: Replace rust-criterion-0.3 with 0.4,
rust-tokio-1.8 with rust-tokio.
[native-inputs]: Remove pkg-config, openssl.
* gnu/packages/patches/rust-adblock-ignore-live-tests.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-05-07 19:29:23 +03:00
Hilton Chain
bd3f19c874
gnu: llhttp-bootstrap: Update to 6.0.10.
* gnu/packages/node.scm (llhttp-bootstrap): Update to 6.0.10.
* gnu/packages/patches/llhttp-bootstrap-CVE-2020-8287.patch: Remove file.
* gnu/local.mk: Remove it.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
2023-05-06 13:53:22 +02:00
Felix Gruber
59640af1c5
gnu: dune-common: Skip tests that fail on aarch64-linux.
* gnu/packages/patches/dune-common-skip-failing-tests.patch: New file.
* gnu/packages/maths.scm (dune-common)[source]: Add it
* gnu/local.mk (dist_patch_DATA): Register it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-05-04 13:08:59 +02:00
宋文武
cb563fa4a9
gnu: lxqt-session: Update to 1.3.0.
* gnu/packages/lxqt.scm (lxqt-session): Update to 1.3.0.
[patches]: Remove.
* gnu/packages/patches/lxqt-session-procps-4.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-05-03 09:30:20 +08:00
Eric Bavier
97abc5d45a
gnu: mars: Update to commit 84664cda.
* gnu/packages/games.scm (mars): Update commit to 84664cda, revision2.
[source]: Remove upstreamed patches.
[arguments]: Move 'fix-install-path' phase to #:configure-flags.  Remove
boolean return values from phases.
[home-page]: Use https.
* gnu/packages/patches/mars-install.patch,
gnu/packages/patches/mars-sfml-2.3.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2023-05-02 14:11:31 -05:00
Efraim Flashner
3988a81c10
gnu: quilt: Patch for newer grep.
* gnu/packages/patchutils.scm (quilt)[source]: Add patch to work with
newer versions of grep.
* gnu/packages/patches/quilt-grep-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-05-02 15:11:57 +03:00
Efraim Flashner
b62c9fbdd3
gnu: libaio: Fix building on riscv64-linux.
* gnu/packages/linux.scm (libaio)[arguments]: When building for
riscv64-linux add a patch to account for undeclared behavior.
[native-inputs]: Add patch file, patch.
* gnu/packages/patches/libaio-riscv-test5.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-05-02 14:32:03 +03:00
Felix Gruber
53e4330774
gnu: dune-istl: Update to 2.9.0.
* gnu/packages/maths.scm (dune-istl): Update to 2.9.0.
  [source](patches): Add patch to fix test phase.
* gnu/packages/patches/dune-istl-fix-solver-playground.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-02 11:57:58 +02:00
Felix Gruber
2667b838c8
gnu: dune-grid: Update to 2.9.0.
* gnu/packages/maths.scm (dune-grid): Update to 2.9.0.
  [source](patches): Add patch to fix build.
* gnu/packages/patches/dune-grid-add-missing-include-cassert.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-02 11:57:55 +02:00
Maxim Cournoyer
39ba8a1097
gnu: python-wxpython: Apply patch to fix TypeError exceptions.
This is caused by Python 3.10's new behavior of native extension now rejecting
float values as input when the expected type is an integer.

* gnu/packages/patches/python-wxwidgets-type-errors.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/wxwidgets.scm (python-wxpython) [source]: Apply it.  Delete
trailing #t.
[arguments]: Delete trailing #t.
2023-05-01 17:13:53 -04:00
Maxim Cournoyer
a9cbf8b379
gnu: git: Apply patch adding the --header-cmd feature.
In preparation to fix <https://issues.guix.gnu.org/58813>.

* gnu/packages/patches/git-header-cmd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/version-control.scm (git) [source]: Apply patch.
2023-05-01 12:39:10 -04:00
Leo Famulari
8b3ae46ae3
gnu: Transmission: Update to 4.0.3.
* gnu/packages/bittorrent.scm: Update to 4.0.3.
[build-system]: Use cmake-build-system.
[source]: Remove obsolete patch.
[inputs]: Add gtkmm, glib:bin, and python.
[arguments]: Run the test suite. Import the glib-or-gtk-build-system and wrap
the 'gui' build output.  Remove #:configure-flags. Adjust the 'move-gui' phase
to upstream changes.
* gnu/packages/patches/transmission-honor-localedir.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-05-01 00:34:28 -04:00
Marius Bakke
a34348967e
gnu: clitest: Fix test failure with newer grep.
* gnu/packages/patches/clitest-grep-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/check.scm (clitest)[source](patches): New field.
[arguments]: While at it, remove obsolete substitution.
2023-04-30 23:25:46 +08:00
Josselin Poiret
4884ee6dd4
gnu: libexpected: Update to 1.1.0.
* gnu/packages/patches/libexpected-use-provided-catch2.patch: Add new patch.
* gnu/packages/patches/libexpected-nofetch.patch: Remove unused patch.
* gnu/local.mk (dist_patch_DATA): Register changes.
* gnu/packages/cpp.scm (libexpected): Update to 1.1.0, and use new patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-28 21:13:36 +02:00
宋文武
aecc6e7058
gnu: dovecot: Fix build.
* gnu/packages/mail.scm (dovecot)[source]: Add patch for OpenSSL v3.
* gnu/packages/patches/dovecot-opensslv3.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-04-28 09:33:03 +08:00
Ricardo Wurmus
00cf71df80
gnu: rapidjson: Update to 1.1.0-1.949c771.
* gnu/packages/patches/rapidjson-gcc-compat.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/web.scm (rapidjson): Update to 1.1.0-1.949c771.
[source]: Remove obsolete patch.
2023-04-26 22:09:06 +02:00
Liliana Marie Prikler
d38bdca344
gnu: gitg: Fix build.
* gnu/packages/patches/gitg-fix-positional-argument.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/gnome.scm (gitg)[source]<patches>: Use it here.
2023-04-26 20:52:33 +02:00
Liliana Marie Prikler
d7e489d6e0
gnu: gnome-2048: Fix build.
* gnu/packages/patches/gnome-2048-fix-positional-argument.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/games.scm (gnome-2048)[source]<patches>: Use it here.
2023-04-26 20:52:32 +02:00
zimoun
c3509c2148
gnu: valgrind: Update to 3.20.0.
* gnu/packages/valgrind.scm (valgrind): Update to 3.20.0. Remove patch.
[arguments]<phases>: Remove trailing #t.
* gnu/packages/patches/valgrind-enable-arm.patch: Delete file.
* gnu/packages/valgrind.scm (dist_patch_DATA): Unregister patch.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-04-26 14:34:23 +02:00
Efraim Flashner
8720e22fd0
gnu: cppcheck: Skip failing test.
* gnu/packages/patches/check.scm (cppcheck)[source]: Add patch.
* gnu/packages/patches/cppcheck-disable-char-signedness-test.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-04-26 10:51:44 +03:00
Josselin Poiret
8c5ba69d6e
gnu: biber: Fix build with new Perl.
* gnu/packages/patches/biber-adapt-perl-5.36.patch: Backport patch from
upstream's 760e6e4ec08a3097f7e6136331541a7b8c1c9df7.
* gnu/packages/tex.scm (biber): Use it.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-04-25 18:42:22 +02:00
Andreas Enge
c919bfefd9
Merge remote-tracking branch 'origin/master' into core-updates 2023-04-25 15:19:29 +02:00
Ricardo Wurmus
8495069bed
gnu: scribus: Fix build with latest poppler.
* gnu/packages/patches/scribus-1.5.8-poppler-22.03.0.patch,
gnu/packages/patches/scribus-1.5.8-poppler-22.04.0.patch,
gnu/packages/patches/scribus-1.5.8-poppler-22.09.0.patch,
gnu/packages/patches/scribus-1.5.8-poppler-22.2.0-1.patch,
gnu/packages/patches/scribus-1.5.8-poppler-22.2.0-2.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/scribus.scm (scribus)[source]: Add patches.
[arguments]: Enable WANT_CPP17 option.
2023-04-25 06:17:16 +02:00
Janneke Nieuwenhuizen
5eb1d1b648
gnu: dezyne: Add patch to avoid "Exec format error".
This fixes

    In execvp of ./test/all/parse_import_order/run: Exec format error

on shell scripts that lack a shebang.

* gnu/packages/patches/dezyne-add-missing-shebangs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/dezyne.scm (dezyne): Use it.
2023-04-24 21:04:11 +02:00
Liliana Marie Prikler
827df9d1dd
gnu: python-magic: Update to 0.4.27.
* gnu/packages/patches/python-magic-python-bytecode.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/python-xyz.scm (python-magic): Update to 0.4.27.
[source]<patches>: Remove field.
[#:phases]<check>: Do not invoke ‘tests.py’.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-04-24 10:23:59 +02:00
Leo Famulari
186e516400
gnu: OpenColorIO: Fix build with GCC 11.
* gnu/packages/patches/opencolorio-fix-build-with-gcc11.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image-processing.scm (opencolorio)[source]: Use it.
2023-04-23 19:05:15 -04:00
Andreas Enge
d7ec2805fb
Merge remote-tracking branch 'origin/master' into core-updates 2023-04-23 22:21:00 +02:00
Ricardo Wurmus
e6994d7e3f
gnu: gcc-arm-none-eabi-4.9: Fix incompatible redeclaration.
* gnu/packages/patches/gcc-4.9-inline.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/embedded.scm (gcc-arm-none-eabi-4.9)[source]: Use it.
2023-04-23 19:29:25 +02:00
Karl Hallsby
44905f2795
gnu: webkitgtk: Update to 2.40.1 [security fixes].
Fixes CVE-2022-0108, CVE-2022-32885, CVE-2023-27932, CVE-2023-27954, and
CVE-2023-28205.

* gnu/packages/webkit.scm: Update to 2.40.1.
[source]: Remove obsolete patch.
* gnu/packages/patches/webkitgtk-libelogind.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2023-04-23 11:31:47 -04:00
Josselin Poiret
228c9308ff
gnu: zig: Fix build.
* gnu/packages/patches/zig-do-not-link-against-librt.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/zig.scm (zig-0.10): Use it.  Also force LLVM to be dynamically
linked, and set up the CC env variable.
(zig-0.9): Also use the above patch.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-04-22 13:50:20 +02:00
Guillaume Le Vaillant
5569971659
gnu: prusa-slicer: Update to 2.5.2.
* gnu/packages/patches/prusa-slicer-boost-fixes.patch: New file.
* gnu/packages/patches/prusa-slicer-fix-tests.patch: New file.
* gnu/packages/patches/prusa-slicer-with-cereal-1.3.1.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/engineering.scm (prusa-slicer): Update to 2.5.2.
  [source]: Use patches.
  [inputs]: Replace cereal-1.3.0 by cereal.
2023-04-22 12:57:03 +02:00
Andreas Enge
d1252b597d
Merge remote-tracking branch 'origin/master' into core-updates 2023-04-22 09:21:22 +02:00
Antero Mejr
2662f074a0
gnu: Add clog.
* gnu/packages/parallel.scm (clog): New variable.
* gnu/packages/patches/clog-fix-shared-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Nicolas Goaziou
72096b7330
gnu: Add converseen.
* gnu/packages/image.scm (converseen): New variable.
* gnu/packages/patches/converseen-hide-non-free-pointers.patch:
* gnu/packages/patches/converseen-hide-updates-checks.patch: New files.
* gnu/local.mk: Register files above.
2023-04-19 20:12:19 -04:00
Maxim Cournoyer
ff85597812
gnu: python-execnet: Update to 1.9.0-1.d6aa1a5.
* gnu/packages/patches/python-execnet-read-only-fix.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/python-xyz.scm (python-execnet): Update to 1.9.0-1.d6aa1a5.
[source]: Remove patch.  Fetch from git.
[build-system]: Use pyproject-build-system.
[arguments]: Remove check phase override.  Add adjust-for-pytest-7.2+,
pretend-version and prepare-for-tests phases.
[native-inputs]: Add python-hatchling, python-hatchling-vcs, python-py and
python-pytest-timeout.
2023-04-19 20:12:14 -04:00
Ludovic Courtès
0e2e7c7554
gnu: python-shiboken-2: Fix compilation with Python 3.10.
* gnu/packages/patches/python-shiboken-2-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (python-shiboken-2): Use it.
2023-04-19 23:21:46 +02:00
Ludovic Courtès
04a4fe2df2
gnu: emacs-xelb: Fix compilation error with xcb-proto@1.15.
* gnu/packages/patches/emacs-xelb-ignore-length-element.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/emacs-xyz.scm (emacs-xelb): Use it.
2023-04-19 22:32:58 +02:00
Andreas Enge
3b2761fae5
gnu: lxqt-session: Fix handling of procps@4.
* gnu/packages/patches/lxqt-session-procps-4.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/lxqt.cm (lxqt-session): Apply patch.
2023-04-19 15:03:07 +02:00
Timotej Lazar
7f5e067893
gnu: softhsm: Fix test failure with openssl-3.
* gnu/packages/patches/softhsm-fix-openssl3-tests.patch: New file.
* gnu/packages/security-token.scm (softhsm): Use it.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-04-18 22:06:01 +02:00
Ludovic Courtès
664a222cac
gnu: gdb: Remove Hurd patch.
The patch was useful for GDB 11 on the previous Hurd version that was
used; it's unnecessary on GDB 12 and GDB 11 has other build issues on
the current GNU/Hurd.

This change fixes "guix build gdb-minimal --target=i586-pc-gnu".

* gnu/packages/patches/gdb-fix-gnu-nat-build.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gdb.scm (gdb-11)[arguments]: Remove 'patch-gdb/hurd' phase.
[inputs]: Remove "hurd-build.patch" input.
[supported-systems]: New field.
(gdb-12)[supported-systems]: New field.
2023-04-18 15:52:02 +02:00