Commit graph

4852 commits

Author SHA1 Message Date
Andrew Stubbs
a20df73c7d
gnu: thefuck: Remove broken tests.
These tests were reported broken upstream, but nothing has been done
about it. See the upstream bug report for more information:

https://github.com/nvbn/thefuck/issues/1438

Fixes <https://issues.guix.gnu.org/75464>.

* gnu/packages/admin.scm (thefuck)[source]: Add patch.
* gnu/packages/patches/thefuck-remove-broken-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: Ib6bbda92b29cd2a26b9c08d79e309e2c78602b71
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-01-30 00:42:37 -05:00
Sören Tempel
4176f6c52f
gnu: mandoc: Support zstd-compressed man pages.
Since #68242 Guix uses zstd compression for man pages.  Unfortunately,
upstream mandoc only supports gzip compressed man pages.  Luckily, zstd
provides a wrapper library which easily allows adapting software using
zlib to zstd compression.  This patch uses this wrapper library in
conjunction with mandoc to add support for zstd compression to it,
thereby allowing Guix man pages to be viewed with mandoc again.

Without this patch, mandoc is essentially defunct on Guix.

* gnu/packages/man.scm (mandoc): Support zstd compression.
* gnu/local.mk: Add new patch.
* gnu/packages/patches/mandoc-support-zstd-compression.patch: New file.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I49a6b9f81309aa1b9f0e5d19b1813dbac13cf968
2025-01-29 22:13:39 +09:00
David Elsing
c8ceb0cb83
gnu: python-optree: Update to 0.14.0.
* gnu/packages/python-xyz.scm (python-optree): Update to 0.14.0.
[source]: Remove patch.
[arguments]<#:test-flags>: Disable additional failing test.
[native-inputs]: Replace pybind11 with pybind11-2.13 and cmake with
cmake-minimal.
* gnu/packages/patches/python-optree-fix-32-bit.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
Sharlatan Hellseher
75437dbb76
Merge remote-tracking branch 'origin/go-team'
Change-Id: I3672a7dc248a41b1a83e4c488523f62cf1806710
2025-01-26 20:55:06 +00:00
Maxim Cournoyer
be058cf6fc
gnu: dolphin-emu: Patch data.
This resolves a hang in the menu of the WaveRace game.

* gnu/packages/patches/dolphin-emu-data.patch: New file.
* gnu/packages/patches/libretro-dolphin-emu-data.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/emulators.scm (dolphin-emu) [source]: Apply dolphin-emu patch.
(libretro-dolphin-emu) [source]: Apply libretro-dolphin-emu patch.

Reviewed-by: Sou Bunnbu (宋文武) <iyzsong@member.fsf.org>
Change-Id: Ie22a7bba527724179f5296a44f1874d2efdbd94c
2025-01-26 22:59:59 +09:00
Sharlatan Hellseher
4cf6d0f134
gnu: Add packages/golang-vcs module.
* gnu/packages/golang-vcs.scm: New file.
* gnu/local.mk: Add gnu/packages/golang-vcs.scm to the scope.

Change-Id: Ie318d25052d72e25ce9207dc890709f7321431b4
2025-01-21 23:41:51 +00:00
Sharlatan Hellseher
b789eff407
gnu: go-github-com-urfave-cli-v2: Update to 2.27.5.
* gnu/packages/golang.scm (go-github-com-urfave-cli-v2): Update to 2.27.5.
[source]<patches>: Remove patch as no longer required.
[propagated-inputs]: Add go-github-com-burntsushi-toml,
go-github-com-go-md2man, go-github-com-xrash-smetrics, and
go-gopkg-in-yaml-v3.

* gnu/packages/patches/go-github-com-urfave-cli-fix-v2-tests.patch: Delete file.
* gnu/local.mk: Deregister patch.

Change-Id: I18c5b778b18d44bb8a6508440174cd87f5ec390a
2025-01-21 23:41:45 +00:00
Sharlatan Hellseher
94cefaab3a
gnu: go-github-com-urfave-cli: Update to 1.22.16.
* gnu/packages/golang.scm (go-github-com-urfave-cli): Update to 1.22.16.
[source]: Remove patch.
[native-iputs]: Add go-github-com-stretchr-testify.

* gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch: Delete file.
* gnu/local.mk: Deregister patch.

Change-Id: If4f1db104fbdcd5b603003065c88110746d12ebb
2025-01-21 23:41:45 +00:00
Sharlatan Hellseher
3ce9151a03
gnu: python-typing-inspect: Update to 0.9.0.
* gnu/packages/python-xyz.scm (python-typing-inspect): Update to 0.9.0.
[source]: Remove patch, as
<https://github.com/ilevkivskyi/typing_inspect/issues/60> was resolved.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

* gnu/packages/patches/python-typing-inspect-fix.patch: Delete file.
* gnu/local.mk: Deregester the patch.

Change-Id: Idc6e8745d4b85624863a5c2dc24e533a7dd92f46
2025-01-20 21:38:04 +01:00
Ricardo Wurmus
eee88d70aa
gnu: python-hiredis: Update to 3.1.0.
* gnu/packages/patches/python-hiredis-fix-header.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/databases.scm (python-hiredis): Update to 3.1.0.
[source]: Remove patch.
[arguments]: Remove.

Change-Id: I095c89329e4c42316398c7fccc86e1dee0affaea
2025-01-20 21:37:54 +01:00
Ricardo Wurmus
4c4fdcaf2d
gnu: python-zeep: Update to 4.3.1.
* gnu/packages/patches/python-zeep-Fix-pytest_httpx-test-cases.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/python-web.scm (python-zeep): Update to 4.3.1.
[source]: Remove patch.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'compatibility; replace custom 'check phase with
'set-HOME phase.
[propagated-inputs]: Remove python-cached-property.
[native-inputs]: Remove python-aiohttp, python-aioresponses, and python-mock;
add nss-certs-for-test, python-coverage, python-flake8,
python-flake8-blind-except, python-flake8-debugger, python-isort,
python-setuptools, and python-wheel.

Change-Id: I0385e304fcb2eeda508bc7d019ca645cf8a36c64
2025-01-20 21:37:53 +01:00
Andreas Enge
cb6a9bd81f
gnu: pari-gp: Update to 2.17.1.
* gnu/packages/algebra.scm (pari-gp): Update to 2.17.1.
* gnu/packages/patches/pari-gp-qfcvp.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.

Change-Id: I1d681737c7e7b19de8f2b01bfff11d72d5d936bf
2025-01-20 11:47:27 +01:00
Javier Olaechea
5aa63d06a9
gnu: emacs-eglot-x: Fix compatibility with emacs-eglot.
The current emacs-eglot-x version we package is broken when used with an eglot
version higher than 1.16  (emacs-eglot is currently at version 1.17).
Upstream has an as-of-yet unreleased fix, so let's backport that to our
package.

* gnu/packages/patches/emacs-eglot-x-fix-apply-text-edits.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/emacs-xyz.scm (emacs-eglot-x)[patches]: Use it here.

Change-Id: Id39f4805dc37902048139049785a4f7852202a8c
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-01-19 13:06:09 +01:00
Liliana Marie Prikler
1cf47e57f2
gnu: emacs-next: Don't hash file names in native compilation.
* gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/emacs.scm (emacs-minimal)[source]: Use it here.
2025-01-19 13:06:08 +01:00
Liliana Marie Prikler
8f799ca8ce
gnu: emacs: Pin natively compiled packages.
* gnu/packages/patches/emacs-native-comp-pin-packages.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/emacs.scm (emacs)[source]: Use it here.
[#:phases]: Remove ‘disable-native-compilation’.

Fixes: Emacs native-comp collisions <https://issues.guix.gnu.org/67292>
2025-01-19 13:06:08 +01:00
Ludovic Courtès
f68060a101
home: services: Add log rotation service.
* gnu/home/services/admin.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Shepherd Home Service): Document it.

Change-Id: I37ac171147c236b05d6d3b226e9072ab7524dfe9
2025-01-16 22:32:11 +01:00
Ludovic Courtès
e7336ba225
gnu: doxygen: Remove now unnecessary Hurd patch.
* gnu/packages/documentation.scm (doxygen)[arguments]: Remove
‘apply-patch’ phase.
* gnu/packages/patches/doxygen-hurd.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.

Reported-by: yelninei
Change-Id: Ifa5eca19e0504b9c5df1f7a57c4d5c355049a41f
2025-01-16 12:51:49 +01:00
Ludovic Courtès
7c79be186b
gnu: libgpg-error: Remove now unnecessary x86_64-gnu patch.
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: Remove
‘apply-hurd64-patch’ phases.
* gnu/packages/patches/libgpg-error-hurd64.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.

Reported-by: yelninei
Change-Id: I2c5a5c19ba673f7d8946f755207fc260b7d452b9
2025-01-16 12:51:48 +01:00
Andreas Enge
ea7c240bd3
gnu: pari-gp: Update to 2.17.0.
* gnu/packages/algebra.scm (pari-gp): Update to 2.17.0.
* gnu/packages/patches/pari-gp-qfcvp.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: If0ea83651ae7aa4cb5de61dfaa5ec2b11051eaab
2025-01-16 11:24:07 +01:00
Ashvith Shetty
eb2092db0f
gnu: Add corectrl.
* gnu/packages/admin.scm (corectrl): New variable.
* gnu/packages/patches/corectrl-polkit-install-dir.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add reference to it.

Change-Id: I7b0f85c917eb58d7518d7ee7c5b22ef2debde7d9
2025-01-16 00:38:11 +08:00
Vasilii Smirnov
e42c9da557
gnu: flatpak: Fix icon validation.
* gnu/packages/package-management.scm (flatpak): Substitute a marker in
icon-validator/validate-icon.c for the store location.
* gnu/packages/patches/flatpak-fix-icon-validation.patch: Bind the guix
store during flatpak-validate-icon invocation in sandbox mode, along
with a few environment variables necessary for image format detection.

Change-Id: I15dfdd0ecadc57ed383e2985c1c3caa36be4a1de
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-12 18:50:52 +01:00
Sören Tempel
8db6cfe022
services: dns: Add unbound service.
This allows using Unbound as a local DNSSEC-enabled resolver. This
commit also allows configuration of the Unbound DNS resolver via a
Scheme API. The API currently provides very common options and
includes an escape hatch to enable less common configurations.

* gnu/service/dns.scm (unbound-serialize-field): New procedure.
(unbound-serialize-alist, unbound-serialize-section)
(unbound-serialize-string, unbound-serialize-boolean)
(unbound-serialize-list-of-strings): New procedures.
(unbound-zone): New record type.
(unbound-serialize-unbound-zone)
(unbound-serialize-list-of-unbound-zone): New procedures.
(unbound-remote): New record type.
(unbound-serialize-unbound-remote): New procedure.
(unbound-server): New record type.
(unbound-serialize-unbound-server): New procedure.
(unbound-configuration): New record type.
(unbound-config-file, unbound-shepherd-service): New procedures.
(unbound-account-service): New variable.
(unbound-service-type): New services.
* gnu/tests/dns.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (DNS Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I4c9646c9e17d4882e596d33ff8f738e1877fa1ae
2025-01-11 23:36:58 +01:00
Nicolas Graves
02cd7d7586
gnu: Add rust-onenote-parser-for-clamav.
* gnu/packages/crates-io.scm (rust-onenote-parser-for-clamav): New
variable.
* gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
* gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
* gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
Add patches here...
* gnu/local.mk: ...and here.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I6c2bb1d7afef8328317a54dcfee9204614864e64
2025-01-07 08:57:15 +02:00
Herman Rimm
073e1e6606
gnu: nushell: Move to other modules.
* gnu/packages/shells.scm (nushell): Move to (gnu packages nushell).
(rust-nu-ansi-term-0.50, rust-nu-ansi-term-0.49,
rust-nu-ansi-term-0.46, rust-nu-ansi-term-0.44, rust-nu-cli-0.91,
rust-nu-cmd-base-0.91, rust-nu-cmd-dataframe-0.91,
rust-nu-cmd-extra-0.91, rust-nu-cmd-lang-0.91,
rust-nu-color-config-0.91, rust-nu-command-0.91, rust-nu-engine-0.91,
rust-nu-explore-0.91, rust-nu-glob-0.91, rust-nu-json-0.91,
rust-nu-lsp-0.91, rust-nu-parser-0.91, rust-nu-path-0.91,
rust-nu-plugin-0.91, rust-nu-pretty-hex-0.91, rust-nu-protocol-0.91,
rust-nu-std-0.91, rust-nu-system-0.91, rust-nu-table-0.91,
rust-nu-term-grid-0.91, rust-nu-test-support-0.91, rust-nu-utils-0.91):
Move ...
* gnu/packages/crates-shell.scm: ... to here.
* gnu/packages/nushell.scm: Move nushell here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register files.

Change-Id: I4f515e897da9bbc7e68599409562efc04a142578
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:20:25 +02:00
Efraim Flashner
bc88cf9c29
gnu: rust-cargo-edit: Update to 0.13.0.
* gnu/packages/rust-apps.scm (rust-cargo-edit): Update to 0.13.0.
[source]: Remove patch.
[arguments]: Remove custom phases.  Don't skip the tests.  Add
cargo-test-flags.
[cargo-inputs]: Add rust-tame-index-0.13, rust-cargo-test-macro-0.3,
rust-cargo-test-support-0.3.  Replace rust-snapbox-0.4 with 0.6.  Remove
rust-crates-index-0.19, rust-git2-0.17, rust-native-tls-0.2.
[inputs]: Add curl, libgit2-1.8.  Remove libgit2-1.6.
* gnu/packages/patches/rust-cargo-edit-remove-ureq.patch: Remove file.
gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: I10001bec2ccf09cce2aadfc62b7fb9abdbdad137
2025-01-06 12:19:41 +02:00
Efraim Flashner
5fd24a1d8d
gnu: rust-brotli: Move to (gnu packages crates-compression).
* gnu/packages/crates-io.scm (rust-brotli-7, rust-brotli-6,
rust-brotli-3, rust-brotli-decompressor-4, rust-brotli-decompressor-2,
rust-brotli-sys-0.3, rust-brotli2-0.3): Move from here ...
* gnu/packages/crates-compression.scm: ... to here.

Change-Id: I61968fe7600e3e2cf52a52f24b2527ba3e3c9236
2025-01-06 12:19:34 +02:00
Efraim Flashner
ab643b2a20
gnu: rust-rusqlite: Move to (gnu packages crates-database).
* gnu/packages/crates-io.scm (rust-rusqlite-0.32, rust-rusqlite-0.31,
rust-rusqlite-0.30, rust-rusqlite-0.29, rust-rusqlite-0.26,
rust-rusqlite-macros-0.3, rust-rusqlite-macros-0.2,
rust-rusqlite-macros-0.1): Move from here ...
* gnu/packages/crates-database.scm: ... to here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new file.

Change-Id: Ibdfc2d09e9ced422572041ef0fbcf0d57fb685fb
2025-01-06 12:19:32 +02:00
Efraim Flashner
44825fea34
gnu: rust-lv2: Move to (gnu packages crates-audio).
* gnu/packages/crates-io.scm (rust-lv2-0.6, rust-lv2-atom-2,
rust-lv2-core-3, rust-lv2-core-derive-2, rust-lv2-midi-1,
rust-lv2-state-2. rust-lv2-sys-2, rust-lv2-time-0.1, rust-lv2-units-0.1,
rust-lv2-urid-2, rust-lv2-worker-0.1): Move from here ...
* gnu/packages/crates-audio.scm: ... to here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new file.

Change-Id: Ifa9fa397290735dd4c9c6ed3e2004baafc472416
2025-01-06 12:19:26 +02:00
Efraim Flashner
b7741fab9e
gnu: rust-webbrowser-0.8: Update to 0.8.15.
* gnu/packages/crates-io.scm (rust-webbrowser-0.8): Update to 0.8.15.
[source]: Remove patch.
[arguments]: Don't skip the build.  Add cargo-test-flags.
[cargo-inputs]: Add rust-core-foundation-0.9, rust-home-0.5,
rust-jni-0.21, rust-ndk-context-0.1, rust-objc-0.2,
rust-raw-window-handle-0.5.
[cargo-development-inputs]: Add rust-actix-files-0.6, rust-actix-web-4,
rust-crossbeam-channel-0.5, rust-env-logger-0.9, rust-ndk-glue-0.5,
rust-rand-0.8, rust-serial-test-0.10, rust-tokio-1, rust-urlencoding-2.
[native-inputs]: Add pkg-config.
[inputs]: Add zstd:lib.
* gnu/packages/patches/rust-webbrowser-remove-unsupported-os.patch:
Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: Ib585361789c2615654ddeaab88aadcab702ac6c0
2025-01-06 12:18:14 +02:00
Maxim Cournoyer
aff0cecd28
gnu: Add rust-mark-flaky-tests-macro-1.
* gnu/packages/crates-check.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I11e91a86ca66d669cacb92aabf24e6acd43ded90
2025-01-06 12:15:07 +02:00
Efraim Flashner
07bdee0277
gnu: mrustc: Update to 0.11.0-1.5e01a76.
* gnu/packages/rust.scm (%mrustc-commit): Update to newest commit.
(%mrustc-source): Update to 0.11.0-1.5e01a76.  Add a patch.  Adjust the
snippet to not use vendored openssl.
(rust-bootstrap)[source]: Remove patch, remove patch-flags.  Add to the
snippet a substitution for compatibility with llvm-13.
[inputs]: Remove input labels.  Remove conditional use of clang.
[arguments]: Allow parallel building on all architectures.  Update the
make-flags.  Replace the 'unpack phase to unpack the mrustc sources.
Delete the custom 'set-mrustc-sources and 'patch-cargo-checksum phases.
Adjust the custom 'patch-makefiles phase.  Adjust the 'configure and
'build phases to no longer use clang on some architectures.
* gnu/packages/patches/mrustc-patches.patch: New file.
* gnu/packages/patches/rustc-1.54.0-src.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Update it.

Change-Id: I7e444abe4b386b1bb77f05a278ddef45152ddb3c
2025-01-06 12:15:04 +02:00
Andy Tai
a707ebe5d3
gnu: whisper-cpp: Enable sdl2 and tests.
* gnu/packages/patches/whisper-cpp-enable-tests.patch: New file.
* gnu/packages/machine-learning.scm (whisper-cpp)[source]: Add reference to
patch.
[arguments]<#:configure-flags>: Add configure flags.
[arguments]<#:phases>: Disable big test on 32 bit.
[inputs]: Add sdl2.
[synopsis]: Modify.
[description]: Modify.
* gnu/local.mk (dist_PATCH_DATA): Register patch.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Change-Id: Icdb82c3c7d3d485346f89fe699d0d64b34c1b21a
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-01-02 23:55:34 +01:00
jgart
20089e2449
gnu: Remove python-pyls-black.
* gnu/packages/python-xyz.scm (python-pyls-black): Delete variable and remove
associated patch.

Project is no longer maintained as of 4 years to this date and has been
succeeded and forked by python-lsp-black.

Change-Id: Ic209f23e6368744db74b93e2a9c01a9859b04f82
2025-01-02 10:20:43 -06:00
Efraim Flashner
a6d9faf7dc
gnu: zig: Respect the PKG_CONFIG environment variable.
* gnu/packages/patches/zig-0.9-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.10-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.11-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.12-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.13-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/zig.scm (zig-0.9,zig-0.10,zig-0.11,zig-0.12,zig-0.13)[source]:
Add patches.
* guix/build/zig-build-system.scm (configure): set PKG_CONFIG.

Change-Id: I0abf871c6990144fc472191bf1167aa2fc765161
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-31 10:56:34 +08:00
Hilton Chain
8808ea98ae
gnu: Add zig-0.13.
* gnu/packages/patches/zig-0.13-fix-runpath.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/zig.scm (zig-0.13-glibc-abi-tool,zig-0.13): New variables.

Change-Id: I217a1d444acb600d8cc38abcaa3950156b11cbae
2024-12-31 10:54:17 +08:00
Hilton Chain
368c1f4c5e
gnu: Add zig-0.12.
* gnu/packages/patches/zig-0.12-fix-runpath.patch: New file.
* gnu/packages/patches/zig-0.12-use-baseline-cpu-by-default.patch: New file.
* gnu/packages/patches/zig-0.12-use-system-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter them.
* gnu/packages/zig.scm (zig-0.12-glibc-abi-tool,zig-0.12): New variables.

Change-Id: I700d0afa2b373bf24a4f3527548e86dbed1aff17
2024-12-31 10:54:17 +08:00
Hilton Chain
ab89793218
gnu: Add zig-0.11.
* gnu/packages/patches/zig-0.11-fix-runpath.patch: New file.
* gnu/packages/patches/zig-0.11-use-system-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/zig.scm (zig-0.11-glibc-abi-tool,zig-0.11): New variables.

Change-Id: I2507af62918f3989967d55dec942b84655d6d8bd
2024-12-31 10:54:15 +08:00
Hilton Chain
a7cfce944e
gnu: Add zig-0.10.0-1638.
* gnu/packages/patches/zig-0.10.0-1638-re-add-qualCast.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/zig.scm (zig-0.10.0-1637-source,zig-0.10.0-1638): New variables.

Change-Id: I66853da969d7cb2afc820a860757ef08b4577fbd
2024-12-31 10:54:13 +08:00
Hilton Chain
813ac2ec3c
gnu: Add zig-0.10.0-747.
* gnu/packages/patches/zig-0.10.0-747-CallOptions.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/zig.scm (zig-0.10.0-747): New variable.

Change-Id: I06e3255cbb3a4ddea28a7d663c8f72040ce993af
2024-12-31 10:54:11 +08:00
Hilton Chain
530f87e406
gnu: Add zig-0.10.0-675.
* gnu/packages/patches/zig-0.10.0-675-TypeOf-hack.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/zig.scm (zig-0.10.0-675): New variable.

Change-Id: Id508a2611bbfbbe5fc5a104d76209e9168b1596d
2024-12-31 10:54:11 +08:00
Hilton Chain
003ec2756f
gnu: Add zig-0.10.0-610.
* gnu/packages/patches/zig-0.10.0-610-bootstrap-resolve-conflicts.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/zig.scm (zig-0.10.0-538-source,zig-0.10.0-539-patch)
(zig-0.10.0-542-patch,zig-0.10.0-610): New variables.
2024-12-31 10:54:11 +08:00
Hilton Chain
3927e61481
gnu: zig-0.10: Fix RUNPATH issue.
* gnu/packages/patches/zig-0.10-fix-runpath.patch: New file.
* gnu/packages/patches/zig-0.10-use-system-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter them.
* gnu/packages/zig.scm (zig-0.10)[source]: Add patches.
Use zig-source.
[arguments]<#:validate-runpath?>: Unset.
<#:phases>: Adjust 'patch-more-shebangs to use a file in inputs instead.

Change-Id: Ic4fd22d8bba664e3d42f433875f9d099969b9df9
2024-12-31 10:54:11 +08:00
Hilton Chain
cf74ecc947
gnu: zig-0.9: Update patches.
* gnu/packages/patches/zig-0.9-fix-runpath.patch: New file.
* gnu/packages/patches/zig-use-baseline-cpu-by-default.patch: Rename to...
* gnu/packages/patches/zig-0.9-use-baseline-cpu-by-default.patch: ...this.
* gnu/packages/patches/zig-use-system-paths.patch: Rename to...
* gnu/packages/patches/zig-0.9-use-system-paths.patch: ...this and update.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zig.scm (zig-0.9-glibc-abi-tool,zig-0.10-glibc-abi-tool): New
variables.
(zig-0.9)[source]: Use zig-source.
Add patches.
[arguments]<#:phases>: Generate and install abilists.
[native-inputs]: Add zig-0.9-glibc-abi-tool.
(zig-0.10)[source]<patches>: Adjust patch name.
[native-inputs]: Replace zig-0.9-glibc-abi-tool with zig-0.10-glibc-abi-tool.
2024-12-31 10:54:05 +08:00
Wiktor Żelazny
4a4a8c9d26
gnu: csvkit: Fix tests.
* gnu/packages/wireservice.scm (csvkit): Fix tests
[source]: Apply patch.
[native-inputs]: Add (libc-utf8-locales-for-target).
* gnu/packages/patches/csvkit-set-locale-for-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I787c0da270fa4062491efcfa0c55a1b8bbac7b59
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-12-29 11:33:36 +01:00
Danny Milosavljevic
0aeb38eac6
gnu: Add modglue.
* gnu/packages/patches/modglue-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add reference to it.
* gnu/packages/engineering.scm (modglue): New variable.

Change-Id: I3ffe9e8b258f49021a21b17f088bebb44245cbad
2024-12-24 00:37:54 +01:00
Homo
c302b7a596
gnu: hugs: Fix build with GCC.
* gnu/packages/patches/hugs-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/hugs.scm (hugs)[source]: Use it.
[native-inputs]: Remove.

Change-Id: I8b17f6c8a89fbc25ac9fe40b58962c83b08cbc21
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-23 20:45:33 +01:00
Zheng Junjie
3e92082463
gnu: elfutils: Fix cross-compilation.
* gnu/packages/elf.scm (elfutils): Fix cross-compilation
[arguments]: When cross-compilation, apply patch.
<#:phases>: Use G-expressions.
* gnu/packages/patches/elfutils-libdwfl-string-overflow.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: Ia1ab9c09124a140608bda34bf62f0ae80eb44f9b
2024-12-24 00:46:02 +08:00
unmush
84df0c4f39
gnu: Add mono-6.12.0.
This includes a patch to add support for a <runpath> element to
mono's *.dll.config and *.exe.config files.  See
mono-6.12.0-add-runpath.patch for details.

* gnu/packages/dotnet.scm (mono-6.12.0-external-repo-specs,
mono-6.12.0): New variable.
* gnu/packages/patches/mono-6.12.0-add-runpath.patch,
gnu/packages/patches/mono-6.12.0-fix-AssemblyResolver.patch,
gnu/packages/patches/mono-6.12.0-fix-ConditionParser.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register new patches.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I937715ad00df17b92137b8cd364652e7d445e22e
2024-12-22 15:37:35 +02:00
unmush
8e8653fcfb
gnu: Add mono-5.10.0.
* gnu/packages/dotnet.scm (mono-5.10.0-external-repo-specs,
mono-5.10.0): New variables.
* gnu/packages/patches/mono-5.10.0-later-mcs-changes.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register new patch.

Change-Id: I59dc84c100f6a540c981dfc4747fab4e5a7eca26
2024-12-22 15:37:35 +02:00
unmush
bdfdd356bf
gnu: Add mono-pre-5.10.0.
* gnu/packages/dotnet.scm (mono-pre-5.10.0-external-repo-specs,
mono-pre-5.10.0): New variables.
* gnu/packages/patches/mono-mcs-patches-from-5.10.0.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register new patch.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I8895edf924aea8c87446c351db241f73d50b6c11
2024-12-22 15:37:35 +02:00