1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-12 16:10:39 +02:00
Commit Graph

4723 Commits

Author SHA1 Message Date
Zheng Junjie
4491dec50a gnu: busybox: Fix build on non x86 platform.
* gnu/packages/patches/busybox-add-missing-sha-NI-guard.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/busybox.scm (busybox): Use it.

Change-Id: I1e6a24dd5b86871a3479ab6ecd247b31c746ec75
2024-10-29 11:46:41 +08:00
Nicolas Graves
386399296a gnu: libtar: Patch CVEs. [security fixes]
This fixes CVE-2021-33643, CVE-2021-33644, CVE-2021-33645,
CVE-2021-33646.

* gnu/packages/compression.scm (libtar)[source]<patches>: Add patches
here...
* gnu/local.mk (dist_patch_DATA): ...and here.
* gnu/packages/patches/libtar-CVE-2021-33643-CVE-2021-33644.patch,
gnu/packages/patches/libtar-CVE-2021-33645-CVE-2021-33646.patch: New files.

Signed-off-by: Andreas Enge <andreas@enge.fr>
Change-Id: I60a6b753fddc1a0d08f96010ef3d57ec66c2251b
2024-10-28 10:06:42 +01:00
Sughosha
ee758cc436 gnu: Add calligra.
* gnu/packages/kde-office.scm: New file.
* gnu/local.mk: Register it.

Change-Id: Id114f80ba804ee2d0129b5a17722be2eda54250b
2024-10-26 10:10:12 +08:00
Ashish SHUKLA
a5338945c4 gnu: knot: Update to 3.4.1.
* gnu/packages/dns.scm (knot): Update to 3.4.1.
[source](patches) Add a patch.
* gnu/packages/patches/knot-remove-runtime-deps.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.

Change-Id: I2fcb61a161631954137eaf058bc7c6095fceef47
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-25 12:25:26 +02:00
Nicolas Graves
04f084f2d4 gnu: debops: Update to 3.2.2.
* gnu/packages/patches/debops-constants-for-external-program-names.patch
and gnu/packages/patches/debops-debops-defaults-fall-back-to-less.patch:
Remove patches.
* gnu/packages/patches/debops-setup-py-avoid-git.patch: Add patch.
* gnu/local.mk: Adjust patches.
* gnu/packages/admin.scm (debops): Update to 3.2.2.
[source]<patches>: Adjust patches.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove git.
[inputs]: Add git, git-crypt.
[propagated-inputs]: Reorder. Add python-dotenv, python-future,
python-gitpython, python-jinja2, python-pyyaml, python-pyxdg,
python-toml.
[arguments]<#:tests?>: Unset (although no tests in source).
<#:phases>: Remove all existing modifications. Add 'wrap-script phase.
<#:modules>: Add for <#phases>.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-23 12:59:58 +02:00
Sharlatan Hellseher
194d8e51cf gnu: Add packages/python-graphics module.
* gnu/packages/python-graphics.scm: New file.
* gnu/local.mk: Add gnu/packages/python-graphics.scm to the scope.

Change-Id: I1d077c838ff1c3c014c3d699b539eaf8befd5084
2024-10-18 21:09:33 +01:00
Fabio Natali
8c6d24d388 gnu: services: Add readymedia service.
* gnu/services/upnp.scm, gnu/tests/upnp.scm: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* doc/guix.texi (Miscellaneous Services): Document the service.

Change-Id: I6a3c9db9e7504df308038343ed48e4409a323581
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-18 20:56:02 +01:00
Nicolas Graves
d268c964af gnu: sipwitch: Fix build.
* gnu/packages/telephony.scm (sipwitch): Fix build.
[origin]<patches>: Add sipwitch-fix-build-with-exosip5.patch here...
* gnu/packages/patches: ...here and...
* gnu/local.mk: ...here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-15 18:40:09 +02:00
Nicolas Graves
6870c3a4d0 gnu: osip: Update to 5.3.1.
* gnu/packages/telephony.scm (osip): Update to 5.3.1.
[origin]<patches>: Remove patch.
* gnu/packages/patches/osip-CVE-2017-7853.patch : Remove it.
* gnu/local.mk: Remove patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-15 18:40:09 +02:00
Nicolas Graves
ebf369563a gnu: xen: Update to 4.19.0. [security fixes]
This fixes at least 10 different CVEs.

* gnu/packages/virtualization.scm (xen): Update to 4.19.0.
[arguments]<#make-flags>: Add SHLIB flags.
           <#phases>: Update 'patch phase.
[origin]<patches>: Remove xen-docs-use-predictable-ordering.patch and
                   xen-remove-config.gz-timestamp.patch from here...
* gnu/packages/patches: ...here and...
* gnu/local.mk: ...here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-14 14:08:44 +02:00
Herman Rimm
36c794c0ed guile-ssh: Update to 0.17.0 and use patch.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.17.0 and apply patch.
* gnu/packages/patches/guile-ssh-rename-bool.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
Change-Id: Iafb5630430ba122861b7e2fe2c76c84739b4e00f
2024-10-13 10:45:19 +03:00
Rutherther
979003c0f0 gnu: arm-none-eabi toolchain 12.3.rel1
Introduces arm-none-eabi 12.3.rel1 toolchain

The arguments for this toolchain are taken mostly out of here
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads/12-3-rel1

* gnu/packages/patches/newlib-getentropy.patch: Add a patch.
* gnu/local.mk: Register it.
* gnu/packages/embedded.scm (make-gcc-arm-none-eabi-12.3.rel1): Add variable.
* gnu/packages/embedded.scm (make-newlib-arm-none-eabi-12.3.rel1): Add variable.
* gnu/packages/embedded.scm (make-newlib-nano-arm-none-eabi-12.3.rel1): Add variable.
* gnu/packages/embedded.scm (make-arm-none-eabi-toolchain-12.3.rel1): Add variable.
* gnu/packages/embedded.scm (make-arm-none-eabi-toolchain-nano-12.3.rel1): Add variable.

Change-Id: If4220c6bc7b1def240cbb9d5d245758f7c51a8a0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-12 19:23:34 +02:00
Arnaud Daby-Seesaram
b64f7984a5 home: services: Add 'home-sway-service-type'.
* gnu/home/services/sway.scm: New file.
(home-sway-service-type): New variable.
(sway-configuration->file): New procedure.
(sway-configuration): New configuration record.
(sway-bar): New configuration record.
(sway-output): New configuration record.
(sway-input): New configuration record.
(point): New configuration record.
(sway-color): New configuration record.
(sway-border-color): New configuration record.
(sway-mode): New configuration record.
(flatmap): New procedure.
* gnu/local.mk: Add gnu/home/services/sway.scm.
* doc/guix.texi (Sway window manager): New node to document the above
changes.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
Change-Id: I880261570c5afdb795f2ce18bac2b9a5c898677f
2024-10-12 14:26:01 +02:00
Josselin Poiret
2419302ca1 gnu: agda-categories: Update to 0.2.0.
* gnu/packages/patches/agda-categories-use-stdlib-1.7.3.patch ->
gnu/packages/patches/agda-categories-use-newer-stdlib.patch: Adapt patch.
* gnu/local.mk (dist_patch_DATA): Change registered name to new name.
* gnu/packages/agda.scm (agda-categories): Update to 0.2.0.  Use new patch
name.

Change-Id: Id5d1e335fe22c2d5809116083ed72e7b9208d69e
2024-10-12 11:12:26 +02:00
Ekaitz Zarraga
0a221730a4 gnu: lsof: Fix build with Linux 6.9
* gnu/packages/lsof.scm(lsof)[source]: Add patch.
* gnu/packages/patches/lsof-compat-linux-6.9.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I98b895ecaf1b952bfd33ea7ae3af70b1c39a0a94
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-10-10 17:35:23 +03:00
Ian Eure
5eaebebdea gnu: librewolf: Revert video acceleration fix.
This patch partly reverts #73429, because that change makes livestreaming
video refuse to play.

* gnu/packages/librewolf.scm (librewolf) [source]: Remove
the librewolf-add-paths-to-rdd-allowlist patch.
[phases] <wrap-program>: Reinstate previous LD_LIBRARY_PATH wrapping.
* gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch: Delete
file.
* gnu/local.mk (dist_patch_DATA): De-register it.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Iaf36c64464cd078538fda677ea4fa7b13e7c110f
2024-10-08 16:34:38 +09:00
Giacomo Leidi
91d2e0b567 gnu: Add libguestfs-minimal.
* gnu/packages/virtualization.scm (libguestfs-minimal): New variable.
* gnu/packages/patches/libguestfs-syms.patch: Add file.
* gnu/local.mk: Add it.

Change-Id: Ide22707724ecd41145243c9f41adc3f5557c593e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:25 +02:00
Sören Tempel
923fac07db gnu: python-angr: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-angr): Update to 9.2.112.
[propagated-inputs]: Remove python-progressbar2; add python-pyformlang,
add python-rich, add python-unique-log-filter.
* gnu/packages/patches/python-angr-addition-type-error.patch:
Remove patch (merged upstream and included in new release).
* gnu/packages/patches/python-angr-check-exec-deps.patch:
Rebase for new release.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
242615ce3d gnu: python-pyvex: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-pyvex): Update to 9.2.112.
* gnu/packages/patches/python-pyvex-remove-angr-dependency.patch:
Remove patch (merged upstream and included in new release).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Maxim Cournoyer
866fc620b3 gnu: cling: Update to 1.1.
* gnu/packages/llvm.scm (llvm-cling-base): New variable
(llvm-cling): Use it.  Update to version 16-20240621-02.
[source]: Delete patches.
(clang-cling-runtime): Base on clang-runtime-16.
[phases]: Delete change-directory phase.
(clang-cling): Base on clang-16.
[phases]: Delete change-directory and delete-static-libraries phases (the
later would cause CMake to fail due to baking the static targets in).
(cling): Update to 1.1.
[source]: Delete patches.
[arguments] <#:tests?>: Reference upstream discussion in comment.
[phases] <patch-paths>: Adjust file name of clang lib directory.
<set-CLANG>: New phase.
[native-inputs]: Add clang-cling, used by the test suite.
* gnu/packages/patches/clang-cling-13-libc-search-path.patch
* gnu/packages/patches/clang-cling-13-remove-crypt-interceptors.patch
* gnu/packages/patches/clang-cling-runtime-13-glibc-2.36-compat.patch
* gnu/packages/patches/cling-use-shared-library.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): De-register deleted files.

Change-Id: Ia8b58188ad9de2795a52289bd46ed15a8e722bfa
2024-10-07 01:20:22 +09:00
Maxim Cournoyer
3f20214662 gnu: retroarch: Extend search-path support.
* gnu/packages/patches/retroarch-improved-search-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/emulators.scm (retroarch) [source]: Apply patch.
[configure-flags]: Add '--disable-update_assets'.
[native-search-paths]: New search paths for LIBRETRO_ASSETS_DIRECTORY,
LIBRETRO_AUTOCONFIG_DIRECTORY, LIBRETRO_VIDEO_FILTER_DIRECTORY and
LIBRETRO_VIDEO_SHADER_DIRECTORY.

Fixes: https://issues.guix.gnu.org/38439
Change-Id: I593c223ad887277e4637adc8d7ef7439f9ced611
2024-10-07 01:20:21 +09:00
Maxim Cournoyer
9875fbfeba gnu: retroarch: Reduce bundled libraries to a minimum.
* gnu/packages/emulators.scm (retroarch) [source]: Add snippet removing
most bundled sources.  Apply patch to allow using system SPIRV-Cross.
[phases] <configure>: Add --disable-builtinspirv_cross.  Disable non-core features making use of bundled
libraries (7zip, cheevos crtswitchres, discord, dr_mp3, ixbm, stb_font,
stb_image, stb_vorbis and xdelta).
[inputs]: Add spirv-cross.
[license]: Add licenses of bundled sources.
* gnu/packages/patches/retroarch-unbundle-spirv-cross.patch: New file.

Change-Id: I824391424bf0fa2ec3888f02535b94dea3021378
2024-10-07 01:20:21 +09:00
Liliana Marie Prikler
dcf77f8fca gnu: Add cadical.
* gnu/packages/patches/cadical-add-shared-library.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/maths.scm (cadical): New variable.
2024-10-06 12:17:16 +02:00
Andy Tai
c32dcfd09c gnu: ddd: Update to 3.4.1.
* gnu/packages/debug.scm (ddd): Update to 3.4.1.
[source](origin): Add new patch to fix build.
[arguments]<#:configure-flags>: Add explicit flag fir freetype
include path.
[native-inputs]: Add bison, flex and perl.
[inputs]: Add freetype, libxaw, and libxft.
* gnu/packages/patches/ddd-build.patch: New file.
* gnu/local.mk: Register new file.

Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-04 17:28:51 +02:00
Liliana Marie Prikler
93ceb2d901 gnu: rapidcheck: Fix pkg-config libs.
Using rapidcheck as a dependency in a project currently results in a linker
error, because the pkg-config file is missing relevant linker flags.

* gnu/packages/patches/rapidcheck-fix-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/check.scm (rapidcheck)[patches]: Use it here.
2024-09-29 11:10:30 +02:00
Ludovic Courtès
73c5f1df05 build: Add missing patch to ‘gnu/local.mk’.
* gnu/local.mk (dist_patch_DATA): Add missing patch, added in
67a2073d27.

Change-Id: Ie5f51b432e5331a4ad7f6050002f3fdd55ce5564
2024-09-28 12:55:54 +02:00
Tobias Geerinckx-Rice
9356a8ccdd gnu: Register CUPS patch.
* gnu/local.mk (dist_patch_DATA): Add missing patch.

Change-Id: Iec177d4cfaa9b2d5ba4a795f46db1db05194d71f
2024-09-22 02:00:00 +02:00
Yann Dupont
0594985555 gnu: ceph: Update to 17.2.7.
Fixes a build failure introduced with newer versions of Boost.

* gnu/packages/patches/ceph-fix-for-newer-boost.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/storage.scm (ceph): Update to 17.2.7.  Use the patch.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>

Change-Id: I00f2d369d7a86926b00c680d5ab0fe8044ca9065
2024-09-28 00:20:18 +02:00
Ashish SHUKLA
7c840b2063 gnu: fuzzel: Update to 1.11.0.
* gnu/packages/xdisorg.scm (fuzzel): Update to 1.11.0.
[sources](origin)<patches>: Add patch.
* gnu/packages/patches/fuzzel-fix-gcc-error.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.

Change-Id: I7ed41e6b23657833369f9d319c22421161559dc7
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-09-27 19:08:05 +08:00
Josselin Poiret
13b6254abc gnu: waybar: Fix missing tray icons on 0.11.0.
* gnu/packages/patches/waybar-0.11.0-fix-tray-icons.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/wm.scm (waybar)[source]: Use it.

Change-Id: Ib480b815faf3a331e1fc093dee72bb3099df57c5
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-09-26 23:34:47 -04:00
Maxim Cournoyer
64e1ae00e7 gnu: Add xdg-desktop-portal-next.
This is based on Dan's "xdg-desktop-portal: Update to 1.18.4." commit, now
reverted.

* gnu/packages/freedesktop.scm (xdg-desktop-portal-next): New variable.
* gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I7360d915bb0450f6772232c126fd0d4a4fec8997
2024-09-27 09:39:18 +09:00
Maxim Cournoyer
ce6f571fbe Revert "gnu: xdg-desktop-portal: Update to 1.18.4."
This reverts commit 1b4304ea29.  This broke
setting themes in GNOME 44.1.

Reported-by: Ada Stevenson <adanskana@gmail.com>
Change-Id: Iaa8632a743d6fefd46f6415010b33f69bd6d2a04
2024-09-27 09:39:12 +09:00
Jorge Acereda
4fcbb5787c gnu: Add decker.
Change-Id: Id0879002f9ce0928051dda40ba0dc7bc233ea439
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-09-26 21:57:54 +09:00
dan
2b6006fc50 gnu: telegram-desktop: Update to 5.5.5.
* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: Update patch file to match upstream changes.
* gnu/packages/patches/webrtc-for-telegram-desktop-unbundle-libsrtp.patch: Update patch file to match upstream changes.
* gnu/packages/patches/telegram-desktop-unbundle-cppgir.patch: New file.
* gnu/packages/patches/telegram-desktop-unbundle-gsl.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/telegram.scm:
(libyuv-for-telegram-desktop, cmake-helpers-for-telegram-desktop)
(codegen-for-telegram-desktop, lib-base-for-telegram-desktop)
(lib-crl-for-telegram-desktop, lib-lottie-for-telegram-desktop)
(lib-qr-for-telegram-desktop, lib-storage-for-telegram-desktop)
(lib-tl-for-telegram-desktop, lib-webrtc-for-telegram-desktop)
(tgcalls-for-telegram-desktop, webrtc-for-telegram-desktop): Bump to submodule checkout.
(cmake-helpers-for-telegram-desktop)[origin]: Add patches to unbundle gsl and cppgir.
(libprisma-for-telegram-desktop): Use %telegram-version.
(telegram-desktop): Update to 5.5.5.
[:configure-flags]: Add disable jemalloc flag.
[#:phases]<unpack-additional-sources>: Add libprisma-for-telegram-desktop.
<patch-gir-ignore-paths>: New phase.
<use-system-xdg-desktop-portal>: New phase.
<patch-libwebview>: New phase.
[native-inputs]: Add cpp-ada-url-parser, gobject-introspection and xdg-desktop-portal.
[inputs]: Add boost, cppgir-for-telegram-desktop, expected-lite and remove jemalloc.

Change-Id: I0ea3ea5a3e416a9d5b2b5b7b55ca1af679bc3d38
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-09-26 14:21:17 +09:00
dan
1b4304ea29 gnu: xdg-desktop-portal: Update to 1.18.4.
* gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/freedesktop.scm (xdg-desktop-portal): Update to 1.18.4.
[patches]: Disable portal tests.
[native-inputs]: Remove autoconf, automake, libtool and which.  Add python,
python-dbusmock, python-pytest and python-pytest-xdist.
[inputs]: Add bubblewrap.
[arguments]<#:configure-flags>: Replace “--with-systemd=no” with
“-Dsystemd=disabled”.

Change-Id: Ic9876565e9119443fedd082273be4f372ebce1d4
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-09-26 13:17:47 +09:00
Danny Milosavljevic
a2edd2a4eb gnu: clang-runtime: Fix build.
* gnu/packages/patches/clang-runtime-12-remove-crypt-interceptors.patch: New
file.
* gnu/local.mk (dist_PATCH_DATA): Register it.
* gnu/packages/llvm.scm (clang-runtime-12)[source]: Use it.

Change-Id: I78e078ff09beb2943ba9387813ebc29069ae8f7d
2024-09-26 00:06:11 +02:00
Andrew Tropin
75824be1ac gnu: librewolf: Add rdd paths allowlist patch.
* gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.

Change-Id: Ice417148b0ddf9acf0062eb6d16a875a81e350e6
2024-09-24 12:26:07 +04:00
Ashvith Shetty
9d75215a59 gnu: Add gemrb-0.9.3.
* gnu/packages/games.scm (gemrb-0.9.3): New variable.
* gnu/packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: Ic05eacf362f9a4ebfe88b1e0967e72e824c4f404
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-09-21 09:38:48 +02:00
Jakob Kirsch
e9d903f146 gnu: lxc: Update to 6.0.1
* gnu/packages/virtualization.scm (lxc): Update to 6.0.1.
[source] Add patch lxc-no-static-bin.patch.
[build-system]: Change to meson-build-system.
[inputs]: Add apparmor and dbus.
[arguments]: Replace “--docdir=…” with “-Ddoc-path=…”.
Replace “--sysconfdir=/etc” with “-Ddistrosysconfdir=/etc”.
Remove “--localstatedir=/var”.
Add “-Dinit-script=sysvinit”.
Add “-Dinstall-state-dirs=false”.
Add “-Dinstall-init-files=false”.
Add “-Dspecfile=false”.
Add “-Db_lto=false”.
<#:phases>: No longer replace ‘install’.
* gnu/packages/patches/lxc-static-link.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it here.

Change-Id: I089d53611a996e44cb9a92986c2b8de9cb69634f
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-09-20 08:42:59 +02:00
Maxim Cournoyer
0feeac35cb gnu: clang-cling-runtime: Fix build.
New patches were applied to clang-runtime only, not the whole LLVM base
source, hence they were not applied to the cling variants.

* gnu/packages/llvm.scm (llvm-cling) [source]: Add
clang-cling-runtime-13-glibc-2.36-compat.patch and
clang-cling-13-remove-crypt-interceptors.patch patches.
* gnu/packages/patches/clang-cling-13-remove-crypt-interceptors.patch: New file.
* gnu/packages/patches/clang-cling-runtime-13-glibc-2.36-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I4c5ee5f65b2bc04935865ad8e67bc2c3833da2eb
2024-09-20 00:20:48 +09:00
Nguyễn Gia Phong
254c8f2c8c gnu: dyninst: Update to 13.0.0.
* gnu/packages/instrumentations.scm (dyninst): Update to 13.0.0.
  [propagated-inputs]: Add libiberty.
* gnu/packages/patches/dyninst-fix-glibc-compatibility.patch:
  Remove file.

Change-Id: I6e5dfa9d698de4d45614c535b5dd5cdaad239425
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-19 14:32:50 +02:00
Efraim Flashner
610b395424 gnu: expat: Fix security vulnerabilities.
Fixes CVE-2024-45490, CVE-2024-45491, CVE-2024-45492.

* gnu/packages/xml.scm (expat)[replacement]: New field.
(expat/fixed): New variable.
* gnu/packages/patches/expat-CVE-2024-45490.patch,
gnu/packages/patches/expat-CVE-2024-45491.patch,
gnu/packages/patches/expat-CVE-2024-45492.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I74d5d7bce98d6c983b989c1afec7cf28777d1617
2024-09-19 09:57:10 +03:00
Konrad Hinsen
f13599b5f7 gnu: cl-lack: Update to 0.3.0-1.35d3a8e.
* gnu/packages/patches/sbcl-lack-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/lisp-xyz.scm (sbcl-lack): Update to 0.3.0-1.35d3a8e.
  [source]: Use patch.
  [native-inputs]: Add sbcl-cl-cookie, sbcl-dexador and sbcl-hunchentoot.
  [inputs]: Add sbcl-alexandria, sbcl-anypool, sbcl-bordeaux-threads,
  sbcl-cl-base64, sbcl-cl-isaac, sbcl-cl-redis, sbcl-dbi and
  sbcl-trivial-rfc-1123.
  [arguments]: Add lack-app-directory, lack-app-file,
  lack-middleware-accesslog, lack-middleware-auth-basic, lack-middleware-csrf,
  lack-middleware-dbpool, lack-middleware-mount, lack-middleware-session,
  lack-session-store-dbi and lack-session-store-redis to 'asd-systems'.
  Enable tests.
  [license]: Switch to expat.

Change-Id: I4285cf208b76d6f461735fff04293833ef163e08
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-09-13 11:14:59 +02:00
Efraim Flashner
b555d987b9 gnu: python-pygpgme: Update to 0.4.
* gnu/packages/gnupg.scm (python-pygpgme): Update to 0.4.
[source]: Remove patches.
[build-system]: Switch to the pyproject build system.
[arguments]: Remove custom phases.
[native-inputs]: Remove gnupg-1.  Add gnupg.
[home-page]: Update home-page.
* gnu/packages/patches/pygpgme-disable-problematic-tests.patch,
gnu/packages/patches/python-pygpgme-fix-pinentry-tests.patch: Remove
files.
* gnu/local.mk (dist_patch_DATA): Remove patches.

Change-Id: I0986e0f87a1b824bce5cc24f34467132d14296e4
2024-09-12 11:26:05 +03:00
宋文武
56cc832d07 gnu: qrcodegen-cpp: Update to 1.8.0.
* gnu/packages/aidc.scm (qrcodegen-cpp): Update to 1.8.0.
[source]: Use qrcodegen-cpp-cmake.patch.
[build-system]: Switch to cmake-build-system.
[arguments]: Enable tests and build shared libraries.
* gnu/packages/patches/qrcodegen-cpp-make-install.patch: Remove file.
* gnu/packages/patches/qrcodegen-cpp-cmake.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: I0272a28ab2cda89700b5523e96f3014eff7ebf65
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-09-07 18:12:20 +04:00
Konrad Hinsen
683cbb283a gnu: Add sbcl-ciel-repl.
* gnu/packages/patches/sbcl-clei-repl.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/lisp-xyz.scm (sbcl-ciel-repl): New variable.

Change-Id: I85eabe27d35a6d540a634f4121209b59a6c7085b
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-09-07 13:19:15 +02:00
David Elsing
595cc594b6 gnu: onnx: Update to 1.16.2.
* gnu/packages/machine-learning.scm (onnx): Update to 1.16.2.
[source]: Remove patch.
[build-system]: Move to pyproject-build-system.
[arguments]<#:tests?>: Disable for systems where python-nbval is not
supported.
<#:phases>: Remove 'relax-requirements' phase.  Pass "-DONNX_BUILD_TESTS" to
CMake depending on tests?.
[native-inputs]: Add python-fb-re2 and python-parameterized-next.  Remove
python-nbval on unsupported systems.
* gnu/packages/patches/onnx-shared-libraries.patch: Adjust patch.
* gnu/packages/patches/onnx-skip-model-downloads.patch: Adjust patch.
* gnu/packages/patches/onnx-use-system-googletest.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Co-authored-by: Andy Tai <atai@atai.org>
2024-09-06 11:46:25 +02:00
David Elsing
f1d0626605 gnu: xnnpack: Update to commit 08f1489.
More tests fail when building the shared library, so they are disabled.  The
scripts to generate the autogenerated files run all commands at once, so they
are converted to Makefiles first.

* gnu/packages/machine-learning.scm (xnnpack): Update to commit 08f1489.
[source]: Remove patch.  Adjust snippet.
[arguments]<#:configure-flags>: Add "-DXNNPACK_BUILD_TESTS=OFF".
<#:tests?>: Disable tests.
<#:phases>: Adjust 'fix-cmake' phase.  Convert code generation scripts to
Makefiles and run them.  Run different missing scripts.
* gnu/packages/patches/xnnpack-remove-broken-tests.patch: Remove file.
* gnu/packages/patches/xnnpack-system-libraries.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove them.
2024-09-06 11:46:24 +02:00
Andrew Tropin
b0e224566f gnu: libcamera: Disable signature verification.
Signature verification breaks, when libcamera is grafted.  Running built-in
libcamera modules via proxy is not recommended by upstream and not always
work.  We control the build process of all libcamera modules, so to workaround
the issue we disable signature verification.  For more information see:
<https://issues.guix.gnu.org/72828>

* gnu/packages/patches/libcamera-ipa_manager-disable-signature-verification.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/networking.scm (libcamera): Disable signature verification.
[inputs]: Remove gnutls and openssl.
[arguments]: Remove re-sign-binaries phase.
[source]: Add disable-signature patch.

Change-Id: Icf422553c0f49b28d7997a1e818a4b8d9a6b5732
2024-09-05 10:28:45 +04:00
Leo Famulari
583d881884 gnu: Transmission: Update to 4.0.6.
* gnu/packages/bittorrent.scm (transmission): Update to 4.0.6.
[source]: Use the new patch.
[arguments]: Adjust the custom build phase 'remove-kernel-version' for 4.0.6.
* gnu/packages/patches/transmission-4.0.5-fix-build.patch: Delete file.
* gnu/packages/patches/transmission-4.0.6-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Change-Id: Id546b8537f48afd50bb00183abf7821ad7601fe9
2024-09-02 20:00:40 -04:00