1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-19 08:40:30 +02:00
Commit Graph

4727 Commits

Author SHA1 Message Date
Ludovic Courtès
1ce3424e22 home: services: Add dicod.
* gnu/home/services/dict.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/services/dict.scm (<dicod-configuration>)[home-service?]: New
field.
(dicod-shepherd-service): Do not map /dev/log when 'home-service?' is
true.  Remove 'user-processes' requirement when 'home-service?' is
true.
(dicod-shepherd-service): Set #:user and #:group to #f when
'home-service?' is true.
* doc/guix.texi (Miscellaneous Home Services): New node.
(Miscellaneous Services): Add cross-reference.
2023-08-20 22:48:47 +02:00
Maxim Cournoyer
9e4008e36e gnu: Add ergodox-firmware-colemak-jc-mod.
* gnu/packages/firmware.scm (make-ergodox-firmware): New procedure
(ergodox-firmware-colemak-jc-mod): New variable.
* gnu/packages/patches/ergodox-firmware-fix-json-target.patch: New file.
* gnu/packages/patches/ergodox-firmware-fix-numpad.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
75cb7e1866 gnu: Add qmk-firmware-ergodox-ez-hacker-dvorak.
* gnu/packages/firmware.scm (qmk-firmware-ergodox-ez-hacker-dvorak): New
variable.
* gnu/packages/patches/qmk-firmware-fix-hacker-dvorak.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-10-10 00:06:14 -04:00
Greg Hogan
1ae56be99e gnu: spdlog: Fix tests.
* gnu/packages/patches/spdlog-fix-tests.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/logging.scm (spdlog)[source]: Use patch.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-08-27 19:16:45 +01:00
Jean-Pierre De Jesus DIAZ
a9a51b0dca gnu: Add gcc-cross-avr-toolchain.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add cross-toolchain.scm.
* gnu/packages/cross-toolchain.scm (gcc-cross-avr-toolchain): New variable.

Change-Id: Ie768d5cc0663dd57753af1d4ac631b3cafbf9e8c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:21 +02:00
Rodion Goritskov
a90bc8b6a8 gnu: openmw: Update to 0.48.0.
* gnu/packages/game-development.scm (openmw): Update to 0.48.0.
* gnu/packages/graphics.scm (openmw-openscenegraph): Update to commit 68c5c5.

Change-Id: I5e1ae0d59ead8de7976714cb82e8d514c308f19a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-10 22:28:53 +01:00
Felix Gruber
be73e08ba2 gnu: Add python-accupy.
* gnu/packages/maths.scm (python-accupy): New variable.
* gnu/packages/patches/python-accupy-fix-use-of-perfplot.patch: New
  file.
* gnu/packages/patches/python-accupy-use-matplotx.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add new patch files.

Change-Id: I0222665d54a36830844b3b33e3dcb546741cfaa1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-04 22:26:37 +01:00
Gabriel Wicki
27c24ce83f gnu: igt-gpu-tools: Update to 1.28
* gnu/packages/admin.scm (igt-gpu-tools): Update to 1.28.
[source]: Remove patch.
[inputs]: Add python.
* gnu/packages/patches/igt-gpu-tools-Use-libproc2.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: I5dccd7d5a5df0084fabf713949940775671aecd7
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:08 +01:00
Ekaitz Zarraga
a8a7153996 gnu: zig: Build with baseline cpu by default.
* gnu/packages/patches/zig-use-baseline-cpu-by-default.patch: Add file.
* gnu/packages/zig.scm (zig-0.10.1): Apply patch above.
* gnu/local/mk (dist_patch_DATA): Register it.

Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-03 09:54:03 +02:00
Hilton Chain
6ccc8e1e16 gnu: Add llvm-17.
* gnu/packages/llvm.scm (llvm-17): New variable.
* gnu/packages/patches/clang-17.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I8cdda0737b1137cf86887fb5b854e71977a88b6b
2023-11-12 08:49:46 +02:00
Hilton Chain
9638e007a7 gnu: Add llvm-16.
* gnu/packages/llvm.scm (llvm-16): New variable.
* gnu/packages/patches/clang-16.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I27738152ca95aeeef8d8b7150fdf14825b6b0b4d
2023-11-12 08:49:45 +02:00
Hilton Chain
afce101047 gnu: emacs-debbugs: Fix build.
The current release already contains the changes.

* gnu/packages/emacs-xyz.scm (emacs-debbugs)[source]: Remove patch.
* gnu/packages/patches/emacs-debbugs-keep-patch-subject.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.

Change-Id: Id51e6c9dec138721d288be28cd1c5e954d3228a9
2023-11-09 20:22:43 +08:00
Leo Famulari
8b8607a945 gnu: rxvt-unicode: Fix the cursor position when opening new windows in 9.31.
Fixes <https://issues.guix.gnu.org/64719>.

* gnu/packages/patches/rxvt-unicode-fix-cursor-position.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (rxvt-unicode)[source]: Use it.
2023-07-23 22:26:00 -04:00
Jaeme Sifat
bf6fdf76b0 gnu: Remove dunst.scm.
The dunst package is much beter suited to be in wm.scm. This patch deletes
dunst.scm, moves dunst to wm.scm, and removes dunst.scm from the build
process.

* gnu/local.mk (GNU_SYSTEM_MODULES): Remove dunst.scm.
* gnu/packages/dunst.scm: Delete file.
* gnu/packages/wm.scm (dunst): New variable.

Change-Id: I3b074f12f34e14ef1101069ed45ddb33f8d3ea51
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 17:57:56 +00:00
Maxim Cournoyer
7c3df13f22 gnu: qtbase: Fix qmake link directives.
* gnu/packages/qt.scm (qtbase) [origin]: Add patch, specifying patches
explicitly.
[arguments] <phases>: Augment LIBRARY_PATH in check phase.
* gnu/packages/patches/qtbase-qmake-use-libname.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-08-07 23:34:58 -04:00
Nguyễn Gia Phong
4eeb35595b gnu: Add ibus-table.
* gnu/packages/patches/ibus-table-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/ibus.scm (ibus-table): New variable.

Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
2023-08-03 18:30:45 +08:00
Efraim Flashner
23e2ff223c gnu: apr: Fix building on powerpc-linux.
* gnu/packages/apr.scm (apr): When building for powerpc-linux add a
phase to apply a patch.
[native-inputs]: When building for powerpc-linux add a patch.
* gnu/packages/patches/apr-fix-atomics.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-08-02 20:23:01 +03:00
Liliana Marie Prikler
4c204d01d5 Merge branch 'master' into gnome-team 2023-07-23 10:11:29 +02:00
John Kehayias
62e917a0c6 gnu: kitty: Update to 0.21.2.
There are newer versions of kitty but there are additional requirements.  From
v0.22.0 kitty requires additional Sphinx packages which use node to build
themes.  From v0.27.0 kitty additionally uses Go to build statically compiled,
standalone binaries to use on servers.  This will require more work to
package, if possible at all currently (in the case of node and sphinx themes).

* gnu/packages/patches/kitty-fix-wayland-protocols.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/terminals.scm (kitty): Update to 0.21.2.
[source]: Use kitty-fix-wayland-protocols.patch.
[native-inputs, inputs]: Remove labels.
[phases]: Use gexps.  Improve style.  Use search-input-file.
Remove trailing #t.
{check}: Respect tests?.
2023-07-30 18:34:40 -04:00
Tobias Geerinckx-Rice
8244aea182 gnu: curlftpfs: Add patches to fix bugs.
* gnu/packages/file-systems.scm (curlftpfs)[source]: Add patches.
* gnu/packages/patches/curlftpfs-fix-error-closing-file.patch,
gnu/packages/patches/curlftpfs-fix-file-names.patch,
gnu/packages/patches/curlftpfs-fix-memory-leak.patch,
gnu/packages/patches/curlftpfs-fix-no_verify_hostname.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2023-07-23 02:00:00 +02:00
Tobias Geerinckx-Rice
76e041f9ee gnu: lvm2: Update to 2.03.21.
* gnu/packages/linux.scm (lvm2): Update to 2.03.21.
[source]: Remove patch.  Don't explicitly return #t from snippet.
[arguments]: Don't explicitly return #t from phases.
* gnu/packages/patches/lvm2-static-link.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-07-23 02:00:00 +02:00
Andy Tai
27d4563e82 gnu: libmateweather: Update to 1.26.1.
* gnu/packages/mate.scm (libmateweather): Update to 1.26.1.
[source]: Add libmateweather-use-TZDIR.patch.
[inputs]: Replace tzdata with tzdata-for-tests.
[arguments]: Set TZDIR, ignore test failure for 'check-timezones.sh'.
* gnu/packages/patches/libmateweather-use-TZDIR.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
2023-07-22 16:36:49 +08:00
Maxim Cournoyer
acbb9d2dad gnu: linux-libre: Apply wireguard patch fixing keep-alive bug.
* gnu/packages/patches/linux-libre-wireguard-postup-privkey.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/linux.scm (linux-libre-6.4-source, linux-libre-6.3-source)
(linux-libre-6.2-source, linux-libre-6.1-source, linux-libre-5.15-source)
(linux-libre-5.10-source): Apply it.
2023-07-21 11:58:45 -04:00
Janneke Nieuwenhuizen
c4713ad89d gnu: Oops, distribute ghostscript-CVE-* patches again.
This is a follow-up to commit
    03f35ff390
    gnu: ghostscript: Fix build for the Hurd.

Reported by bjc via IRC.

* gnu/local.mk (dist_patch_DATA): Re-add ghostscript-CVE-2023-36664.patch, and
ghostscript-CVE-2023-36664-fixup.patch.
2023-07-21 17:53:07 +02:00
Efraim Flashner
261422e745 chez-sheme-for-racket: Fix building on riscv64-linux.
* gnu/packages/racket.scm (%racket-origin): Add patch.
* gnu/packages/patches/racket-rktboot-riscv64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-07-21 13:19:30 +03:00
Tobias Geerinckx-Rice
9bba3eb336 gnu: qxlsx: Fix include directory.
* gnu/packages/qt.scm (qxlsx)[source]: Add patch.
* gnu/packages/patches/qxlsx-fix-include-directory.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2023-07-16 02:00:00 +02:00
Janneke Nieuwenhuizen
8c5891d50b gnu: fontforge: Support build on the Hurd.
* gnu/packages/patches/fontforge-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/fontutils.scm (fontforge)[arguments]: When building natively on
the Hurd, add new phase 'apply-hurd-patch' and use it, and replace phase
'check' to skip two tests.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
03f35ff390 gnu: ghostscript: Fix build for the Hurd.
* gnu/packages/patches/ghostscript-leptonica-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: When building for the
Hurd, add phase 'patch-leptonica' and use it.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
d3a1684c8a gnu: doxygen: Fix build for the Hurd.
* gnu/packages/patches/doxygen-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/documentation.scm (doxygen)[arguments]: When building for the
Hurd, add new phase 'apply-patch' and use it.
2023-07-20 10:11:36 +02:00
Maxim Cournoyer
ffbcc113df gnu: Add python-u-boot-pylib.
* gnu/packages/bootloaders.scm (python-u-boot-pylib): New variable.
* gnu/packages/patches/u-boot-fix-u-boot-lib-build.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-07-19 22:54:34 -07:00
Vagrant Cascadian
b0d47d9e18 gnu: u-boot: Update to 2023.07.02.
* gnu/packages/patches/u-boot-infodocs-target.patch: Delete file.
* gnu/packages/patches/u-boot-patman-guix-integration.patch: Delete file.
* gnu/local.mk: De-register patches.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: Refresh.
* gnu/packages/bootloaders.scm (u-boot): Update to 2023.07.02.
[native-inputs]: Add python-pyelftools.
[source]: Remove patches.
(u-boot-tools)[phases]: Update substitution for python3-coverage.
Adjust 'patch to catch more openssl incompatibilities.
Split lines in 'patch phase.
[native-inputs]: Add python-filelock and python-pytest-xdist.
(make-u-boot-sunxi64-package): Set SCP environment variable.
(u-boot-sifive-unleashed): Update to use opensbi.
(u-boot-puma-rk3399)[inputs]: Add arm-trusted-firmware-rk3399 to
package-inputs instead of native-inputs.
(u-boot-rockpro64-rk3399): Disable CONFIG_SPL_FIT_SIGNATURE in config.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-19 22:54:08 -07:00
Nicolas Goaziou
3aeca58073 gnu: biber -> texlive-biber.
Build from sources provided by TeX Live distribution, so they always match
BibLaTeX version.

* gnu/packages/patches/biber-adapt-perl-5.36.patch: Delete file.
* gnu/local.mk: Apply removal.
* gnu/packages/tex.scm (texlive-biber): New variable.
(biber): Deprecate variable.
(perl-text-bibtex): Move from here...
* gnu/packages/perl.scm (perl-text-bibtex): ... to here.
2023-07-18 18:15:50 +02:00
Nicolas Goaziou
c769425a71 gnu: Clear or deprecate hyphen-related texlive packages or functions.
* gnu/packages/tex.scm (define-deprecated-package): Move near the top of the
module so it can be called earlier.
(hyph-utf8-scripts): Remove package.
(texlive-hyphen-package): Remove function.
(texlive-dehyph):
(texlive-generic-dehyph-exptl):
(texlive-generic-hyph-utf8):
(texlive-hyphen-afrikaans):
(texlive-hyphen-ancientgreek):
(texlive-hyphen-armenian):
(texlive-hyphen-basque):
(texlive-hyphen-belarusian):
(texlive-hyphen-bulgarian):
(texlive-hyphen-catalan):
(texlive-hyphen-chinese):
(texlive-hyphen-churchslavonic):
(texlive-hyphen-coptic):
(texlive-hyphen-croatian):
(texlive-hyphen-czech):
(texlive-hyphen-danish):
(texlive-hyphen-dutch):
(texlive-hyphen-english):
(texlive-hyphen-esperanto):
(texlive-hyphen-estonian):
(texlive-hyphen-ethiopic):
(texlive-hyphen-finnish):
(texlive-hyphen-french):
(texlive-hyphen-friulan):
(texlive-hyphen-galician):
(texlive-hyphen-georgian):
(texlive-hyphen-german):
(texlive-hyphen-greek):
(texlive-hyphen-hungarian):
(texlive-hyphen-icelandic):
(texlive-hyphen-indic):
(texlive-hyphen-indonesian):
(texlive-hyphen-interlingua):
(texlive-hyphen-irish):
(texlive-hyphen-italian):
(texlive-hyphen-kurmanji):
(texlive-hyphen-latin):
(texlive-hyphen-latvian):
(texlive-hyphen-lithuanian):
(texlive-hyphen-macedonian):
(texlive-hyphen-mongolian):
(texlive-hyphen-norwegian):
(texlive-hyphen-occitan):
(texlive-hyphen-pali):
(texlive-hyphen-piedmontese):
(texlive-hyphen-polish):
(texlive-hyphen-portuguese):
(texlive-hyphen-romanian):
(texlive-hyphen-romansh):
(texlive-hyphen-russian):
(texlive-hyphen-sanskrit):
(texlive-hyphen-schoolfinnish):
(texlive-hyphen-serbian):
(texlive-hyphen-slovak):
(texlive-hyphen-slovenian):
(texlive-hyphen-spanish):
(texlive-hyphen-swedish):
(texlive-hyphen-thai):
(texlive-hyphen-turkish):
(texlive-hyphen-turkmen):
(texlive-hyphen-ukrainian):
(texlive-hyphen-uppersorbian):
(texlive-hyphen-welsh):
(texlive-ruhyphen):
(texlive-ukrhyph): Deprecate package.
* gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
2023-07-18 18:12:54 +02:00
Ludovic Courtès
4e11cac6be gnu: mig: Update to 1.8+git20230520.
This reinstates 999a6ac0cf, which was
reverted by a041bbb4bf, but without
resorting to 'git-fetch'.

* gnu/packages/hurd.scm (mig): Update to 1.8+git20220827.
[source]: Remove patch.
* gnu/packages/patches/mig-cpu.h-generation.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-07-18 17:21:54 +02:00
Janneke Nieuwenhuizen
94f83088d2 gnu: Remove unused gnumach patch.
This is a followup to commit
    2edd67d34b
    gnu: gnumach: Update to 1.8+git20221224.

* gnu/packages/patches/gnumach-add-missing-const_mach_port_name_array_t-type.patch:
Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-07-18 14:28:17 +02:00
Bruno Victal
460b2afeb3 gnu: Add mactelnet.
* gnu/packages/admin.scm (mactelnet): New variable.
* gnu/packages/patches/mactelnet-remove-init.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-18 00:41:15 +02:00
Liliana Marie Prikler
d67507cacf Merge branch 'master' into gnome-team 2023-07-14 07:46:15 +02:00
Liliana Marie Prikler
15406013fe Merge branch 'master' into emacs-team 2023-07-13 17:21:32 +02:00
John Kehayias
15f9870eb3 gnu: rocm: Update to 5.6.0.
Update all of the ROCm packages at the same time as they share a version
number and should be upgraded together, including llvm-for-rocm.

* gnu/packages/llvm.scm (llvm-for-rocm): Update to 5.6.0.
[source]{patches}: Remove unneeded patches (linkdl and remove-isystem-usr-include).
* gnu/packages/rocm.scm (rocm-cmake, roct-thunk-interface): Update
to 5.6.0.
(rocclr-src): Update to 5.6.0.
[source]{patches}: Add enable-gfx800 patch.
(rocm-device-libs):  Update to 5.6.0.
[inputs]: Update style.
(rocm-comgr): Update to 5.6.0.
[inputs]: Remove lld.  Update style.
(rocr-runtime): Update to 5.6.0.
[arguments]: Use gexps.  Remove configure-flags.  Add add-rocm-device-lib-path
phase.
[inputs]: Add libdrm.  Update style.
[native-inputs]: Add pkg-config.  Update style.
(rocm-opencl-runtime): Update to 5.6.0.
[source]{patches}: Remove noopencl patch.
[arguments]{configure-flags}: Add BUILD_ICD=OFF and
FILE_REORG_BACKWARD_COMPATIBILITY=OFF flags.
[inputs]: Add opencl-headers.
(rocminfo): Update to 5.6.0.
[arguments]: Use gexps.  Use search-input-file instead of assoc-ref and which.
(rocm-bandwidth-test): Update to 5.6.0.
[source]{patches}: Add fix-includes patch.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update patches.
* gnu/packages/patches/llvm-roc-4.0.0-remove-isystem-usr-include.patch,
gnu/packages/patches/llvm-roc-5.0.0-linkdl.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: Delete files.
* gnu/packages/patches/rocm-bandwidth-test-5.5.0-fix-includes.patch,
gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch: New files.
* gnu/local.mk (dist_patch_DATA): Update patches.
2023-07-11 12:21:00 -04:00
Tobias Geerinckx-Rice
aa576321f2 gnu: oath-toolkit: Update to 2.6.9.
* gnu/packages/authentication.scm (oath-toolkit): Update to 2.6.9.
[source]: Remove patch.
* gnu/packages/patches/oath-toolkit-xmlsec-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-07-09 02:00:09 +02:00
Maxim Cournoyer
65c77f6089 gnu: lightdm: Apply patch to fix VNC server address binding ordering.
* gnu/packages/patches/lightdm-vnc-ipv6.patch: New patch file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
* gnu/tests/lightdm.scm (run-lightdm-test): Remove comment and expected fail
directive for the "can connect to TCP port 5900 on IPv6" test.

Suggested-by: Bruno Victal <mirai@makinata.eu>
2023-07-09 22:51:08 -04:00
Tobias Geerinckx-Rice
67fb8efdf7 gnu: ghostscript: Fix CVE-2023-36664.
* gnu/packages/ghostscript.scm (ghostscript/fixed): New variable.
(ghostscript)[replacement]: Assign it to new field.
* gnu/packages/patches/ghostscript-CVE-2023-36664.patch,
gnu/packages/patches/ghostscript-CVE-2023-36664-fixup.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2023-07-09 02:00:04 +02:00
Christopher Baines
a041bbb4bf Revert "gnu: mig: Update to 1.8+git20230520."
As noted in the comment, I think using git-fetch caused problems computing
derivaations for i586-linux (Guix would just use more and more memory).

This reverts commit 999a6ac0cf.
2023-07-14 11:53:12 +01:00
Efraim Flashner
ddbfef2e95 gnu: zig-0.9: Fix building on riscv64-linux.
* gnu/packages/zig.scm (zig-0.9)[source]: Add patch.
[arguments]: Skip tests when building for riscv64-linux. When building
for riscv64-linux add a phase to adjust the tests.
* gnu/packages/patches/zig-0.9-riscv-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-07-14 09:20:01 +03:00
Janneke Nieuwenhuizen
37256c02a2 gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1.
* gnu/packages/patches/netdde-build-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (netdde)[source]: Update to
e67c284ac113d939b10b4578334f27dab29d5b08 and use it.
[inputs]: Add zlib:static.
[arguments]: Remove #true from build phases.  In 'build' phase, remove
obsolete CFLAGS, and also build static version.  In 'install' phase,
install them in <out>/hurd.  There is no check target, so set #:tests?
to #false.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:22 +02:00
Janneke Nieuwenhuizen
bbfb41ed9d gnu: gnumach: Support "noide" argument.
* gnu/packages/patches/gnumach-support-noide.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach-headers): Use it.
* doc/guix.texi (Bootloader Configuration): Document it.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:17 +02:00
Janneke Nieuwenhuizen
5981e99f0a gnu: hurd: Add rumpkernel.
* gnu/packages/patches/hurd-fix-rumpdisk-build.patch,
gnu/packages/patches/hurd-rumpdisk-no-hd.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/hurd.scm (hurd): Use them.
(hurd)[inputs]: Replace util-linux with util-linux:static, add parted,
rumpkernel.
[arguments]: Rename `prepare-dde' phase to 'prepare-addons'.  Add "rumpdisk"
directory.  Add --enable-static-progs=... option to #:configure-flags, and
remove --without-parted.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:53 +02:00
Josselin Poiret
999a6ac0cf gnu: mig: Update to 1.8+git20230520.
* gnu/packages/hurd.scm (mig)[source]: Update to 1.8+git20230520.
* gnu/packages/patches/gnumach-add-missing-const_mach_port_name_array_t-type.patch:
Drop patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
2023-07-13 18:20:06 +02:00
Josselin Poiret
0dd293b4d9 gnu: Add libc-for-target and glibc/hurd.
* gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch
* gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch
* gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.

* gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables.
(glibc/hurd-headers): Use glibc/hurd.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[outputs,
source, arguments]
(glibc-final)[source]: Use libc-for-target instead of glibc.
* gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use
libc-for-target.

This part fixes

    https://issues.guix.gnu.org/63641#25

* gnu/packages/commencement.scm (%final-inputs): Change to memoized lambda
taking "system".
* gnu/packages/commencement.scm (canonical-package): Likewise, and update
user, passing (%current-system).
(make-gcc-toolchain): Update user, passing (%current-system).
* gnu/packages/base.scm (%final-inputs): Likewise.
* guix/scripts/refresh.scm (options->update-specs): Likewise.
* guix/build-system/gnu.scm (standard-packages): Add optional "system"
parameter.
(lower): Update caller.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-07-13 18:20:05 +02:00
Ludovic Courtès
ff208b4b62 gnu: arpack-ng: Update to 3.9.0.
* gnu/packages/maths.scm (arpack-ng): Update to 3.9.0.
[source]: Add 'patches'.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, and LIBTOOL.
(arpack-ng-openmpi)[inputs]: Use 'modify-inputs'.
[arguments]: Use gexps.
* gnu/packages/patches/arpack-ng-propagate-rng-state.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2023-07-13 17:59:57 +02:00