aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/hurd.scm
Commit message (Collapse)AuthorAge
* gnu: gnumach: Fix build for i686-linux.Janneke Nieuwenhuizen2024-08-31
| | | | | | | | | | | * gnu/packages/patches/gnumach-fix-i686-linux-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/hurd.scm (gnumach)[source]: Use it. [arguments]: Remove #:make-flags to avoid overriding now-essential CFLAGS set by configure. Rewrite to use gexps. [supported-systems]: Add i686-linux. Change-Id: Ibec03121f90b30160725c87e999e38f677b2e369
* gnu: netdde: Fix building libdde_linux26.Janneke Nieuwenhuizen2024-08-31
| | | | | | * gnu/packages/hurd.scm (netdde)[arguments]: Set "ARCH=x86" in make-flags. Change-Id: I24760f55fd0ae231f4a73bda158c70c2ac880723
* gnu: hurd: Fix building libdde_linux26.Janneke Nieuwenhuizen2024-08-31
| | | | | | | * gnu/packages/hurd.scm (hurd)[arguments]: In phases `build-libdde-linux' and `install-goodies', also set ARCH=x86. Change-Id: I2e7f14afda03c9e21ba9c3b24e195a00ae141701
* Revert "gnu: hurd: Add gnumach-headers as native input."Janneke Nieuwenhuizen2024-08-31
| | | | | | | gnumach-headers[-cross] are contained in the toolchain; it was only the `include/mach/machine' symlink that was missing. This reverts commit 2dd16f46766997c0b3e4ee973ce6e792a4d84fcb.
* gnu: hurd: Add gnumach-headers as native input.Janneke Nieuwenhuizen2024-08-31
| | | | | | | | | | This provides the include/mach/machine/mach_i386.h. * gnu/packages/hurd.scm (hurd)[native-inputs]: Add gnumach-headers, or gnumach-headers-cross when cross-building. [arguments]: Remove #t from phases. Change-Id: Id57e0cf184c7793be52192bdc5587c6e6ef2a312
* gnu: gnumach-headers: Also build and install new `machine' symlink.Janneke Nieuwenhuizen2024-08-31
| | | | | | | | | | | | | | | | | This is a follow-up to commit fe83aaf28369dd0548be6ced8a1f007eede01ded gnu: glibc/hurd: Update to 2.38. and fixes No rule to make target 'mach/machine/mach_i386.h', needed by 'trivfs_server.o'. Stop. * gnu/packages/hurd.scm (gnumach-headers)[arguments]: In phase `install' also build `install-data-hook'. Change-Id: I1985a17fa4a3fb789fe75791c2f9f4c8fd225d9a
* gnu: dde-sources: Update to 066797b576.Janneke Nieuwenhuizen2024-08-31
| | | | | | | | | | | | | | This fixes the build with reinforced build options: condvar.c: In function ‘ddekit_condvar_init’: condvar.c:16:19: error: old-style function definition [-Werror=old-style-definition] 16 | ddekit_condvar_t *ddekit_condvar_init() { | ^~~~~~~~~~~~~~~~~~~ * gnu/packages/hurd.scm (dde-sources): Update to 066797b576ebf8364ad157f50bef2a655597deeb. Change-Id: Icf6f97897852e21dfcf9b77629fde4ce6a7d1469
* gnu: hurd: Prettify origin file names.Ludovic Courtès2024-08-31
| | | | | | | | * gnu/packages/hurd.scm (hurd-headers): Drop “v” from ‘version’ string. (dde-sources): Strip COMMIT in ‘file-name’ field. (rumpkernel)[source]: Pass VERSION rather than COMMIT to ‘git-file-name’. Change-Id: I403048d5ba79ef410383c567157aca416843a529
* gnu: hurd-headers: Update to v0.9.git20231217.Janneke Nieuwenhuizen2024-08-31
| | | | | | * gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20231217. Change-Id: I1d9739ba912e425e66accfcb56a91ac8efc4fe7c
* gnu: gnumach-headers: Update to v1.8+git20230410.Janneke Nieuwenhuizen2024-08-31
| | | | | | * gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20230410. Change-Id: I2ca1efb8610bbd2fa85b44c60ae065f0323b552c
* gnu: hurd: Support native build on the Hurd.Janneke Nieuwenhuizen2023-07-20
| | | | | | * gnu/packages/hurd.scm (hurd)[arguments]: In phases 'build-libdde-linux' and 'install-goodies', also look in inputs for dependencies. There is no check target, so set #:tests? to #false.
* gnu: mig: Use git-fetch.Josselin Poiret2023-07-19
| | | | | | | | | | Now that we have `git-fetch-from-tarball' to break the cycle in commencement for git-fetch sources, we can finally update mig to use git-fetch to allow `--with-commit' builds. * gnu/packages/hurd.scm (mig)[source]: Use git-fetch again. * gnu/packages/commencement.scm (mig-boot0)[source]: Use git-fetch-from-tarball accordingly.
* gnu: mig: Update to 1.8+git20230520.Ludovic Courtès2023-07-18
| | | | | | | | | | | This reinstates 999a6ac0cfd9339e138007ed9e4e544a55e92e3e, which was reverted by a041bbb4bf98cce72b14c554369fc56eeacc2f5d, 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.
* gnu: rumpkernel: Don't error for non x86 systems.Christopher Baines2023-07-14
| | | | | | | As the lack of handling other systems, say aarch64-linux here seemed to cause problems with guix pull on these systems. This should work around #64609. * gnu/packages/hurd.scm (rumpkernel)[arguments]: Don't error for any system.
* Revert "gnu: mig: Update to 1.8+git20230520."Christopher Baines2023-07-14
| | | | | | | 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 999a6ac0cfd9339e138007ed9e4e544a55e92e3e.
* gnu: gnumach: Disable builtin networking.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | | | See also https://logs.guix.gnu.org/hurd/2023-05-25.log#163610 * gnu/packages/hurd.scm (gnumach)[arguments]: Add --disable-net-group, --disable-pcmcia-group, and --disable-wireless-group. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | | | | | | * 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>
* gnu: gnumach: Support "noide" argument.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | * 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>
* gnu: hurd: Add rumpkernel.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | | | | | | * 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>
* gnu: hurd-minimal: Include libshouldbeinlibc and libstore.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | | * gnu/packages/hurd.scm (hurd-minimal)[inputs]: Add gnumach-headers. [arguments]: Rewrite to include libshouldbeinlibc and libstore. * gnu/packages/cross-base.scm (cross-kernel-headers*): Update xhurd-minimal accordingly: Add xgnumach-headers, add them to cpath, use gexps for modify-phases, add delete-shared-target phase. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu: Add rumpkernel.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | | | | | This uses the Debian Salsa rumpkernel package git as upstream as that is where delopment happens. Once things have stabalized upstream may change to the NetBSD git from where Debian takes their snapshots. * gnu/packages/hurd.scm (rumpkernel): New variable. (hurd-headers)[native-inputs]: Use cross-mig directly. (gnumach)[native-inputs]: Likewise. (hurd)[native-inputs]: Likewise. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu: hurd: Update libpciaccess to 0.17.Janneke Nieuwenhuizen2023-07-13
| | | | | | | | | | | | | | As suggested by youpi on IRC https://logs.guix.gnu.org/hurd/2023-05-17.log#132259 libpciaccess-0.16 is too old for the Hurd and would need Hurd-specific patches while libpciaccess-0.17 works out of the box. * gnu/packages/hurd.scm (hurd)[inputs]: Use libpciaccess-0.17. (netdde)[inputs]: Likewise. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu: hurd: Update to v0.9.git20230216.Josselin Poiret2023-07-13
| | | | * gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20230216.
* gnu: mig: Update to 1.8+git20230520.Josselin Poiret2023-07-13
| | | | | | | * 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.
* gnu: gnumach: Update to 1.8+git20221224.Josselin Poiret2023-07-13
| | | | * gnu/packages/hurd.scm (gnumach-headers): Update to 1.8+git20221224.
* gnu: hurd: Update supported systems.Josselin Poiret2023-07-13
| | | | | * gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal, hurd-core-headers, gnumach): Update supported systems to %hurd-systems.
* gnu: gnumach-headers: Cross-build without relying on x86.Josselin Poiret2023-07-13
| | | | | | | | * gnu/packages/hurd.scm (gnumach-headers): Remove configure flags where we say the builder is running x86. * gnu/packages/cross-base.scm (cross-gnumach-headers): Work around limitation of build system, by manually changing the target host_cpu without relying on --host, because we don't have a working cross-compiler yet.
* gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.Janneke Nieuwenhuizen2023-06-17
| | | | | | | | * gnu/packages/hurd.scm (hurd-target?): Remove. (hurd-system?): Move to... * guix/utils.scm (system-hurd?): ...here. * gnu/packages/*: Update all users, removing (gnu packages hurd) include where now unused.
* gnu: mig/32-bit: Remove.Josselin Poiret2023-03-30
| | | | | | * gnu/packages/hurd.scm (mig/32-bit): Remove unneeded variant. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: hurd: Update DDE and use libdde_linux26.Josselin Poiret2023-03-30
| | | | | | | * gnu/packages/hurd.scm (dde-sources): Update. (hurd): Build libdde_linux26 and install it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gnumach, hurd-headers, hurd: Switch to using cross-mig.Josselin Poiret2023-03-30
| | | | | | | * gnu/packages/hurd.scm (gnumach, hurd-headers, hurd): Switch to cross-mig when cross-building. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: hurd: Remove useless glibc/hurd-headers input.Josselin Poiret2023-03-30
| | | | | | * gnu/packages/hurd.scm (hurd): Do it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: hurd: Update to 3ff7053.Josselin Poiret2023-03-30
| | | | | | | | | | | | | | | | * gnu/packages/hurd.scm (hurd-headers): Do it. Also backport some patches to make it build, and remove older patches. Also stop pretending we're on i586-pc-gnu. (hurd): Remove unneeded patches. * gnu/packages/patches/hurd-add-without-rump-configure-option.patch: * gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods-2.patch: * gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods.patch: New files. * gnu/packages/patches/hurd-cross.patch: * gnu/packages/patches/hurd-xattr.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Register and unregister them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gnumach: Update to 1.8+git20220827.Josselin Poiret2023-03-30
| | | | | | | | | | * gnu/packages/hurd.scm (gnumach-headers): Do it. * gnu/packages/patches/gnumach-add-missing-const_mach_port_name_array_t-type.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: mig: Update to 1.8+git20220827.Josselin Poiret2023-03-30
| | | | | | | | * gnu/packages/hurd.scm (mig): Do it. * gnu/packages/patches/mig-cpu.h-generation.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: cross-base: Inherit arguments from 'mig'.Ludovic Courtès2023-03-04
| | | | | | | | | That way, 'xmig' inherits the 'avoid-perl-dependency' build phase. * gnu/packages/hurd.scm (mig)[arguments]: In 'avoid-perl-dependency', use 'find-files' to locate the "mig" executable(s). * gnu/packages/cross-base.scm (cross-kernel-headers*)[xmig]: Use 'substitute-keyword-arguments'.
* gnu: mig: Remove dependency on Perl.Ludovic Courtès2023-03-04
| | | | | | * gnu/packages/hurd.scm (mig)[inputs]: Remove PERL. [arguments]: Remove 'patch-non-shebang-references' phase and add 'avoid-perl-dependency' phase.
* gnu: mig: Use gexps.Ludovic Courtès2023-03-04
| | | | * gnu/packages/hurd.scm (mig)[arguments]: Use gexps.
* gnu: hurd: Adjust to the transition from "--system" to "gnu.system".Ludovic Courtès2022-03-09
| | | | | | | | This is a followup to 0dc019e19a23fea614be5623360849ab9bc35e74, which inadvertently led the Hurd to fail to boot. * gnu/packages/hurd.scm (hurd)[arguments]: In 'create-runsystem' phase, expect "gnu.system=" instead of "--system=".
* gnu: hurd: Remove leftover export.Jan (janneke) Nieuwenhuizen2022-02-15
| | | | * gnu/packages/hurd.scm: Remove 'hurd-triplet?' export.
* gnu: Simplify package inputs.Ludovic Courtès2021-12-13
| | | | | | | | This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
* gnu: Use 'search-input-file' some more.Ludovic Courtès2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces occurrences of: (string-append (assoc-ref %build-inputs "…") "/…") by: (search-input-file %build-inputs "/…") * doc/guix.texi (Miscellaneous Services): Use 'search-input-file' in R Shiny example. * gnu/packages/admin.scm (screenfetch): Use 'search-input-file'. (ufetch): Likewise. (hosts): Likewise. * gnu/packages/backup.scm (dirvish): Likewise. * gnu/packages/code.scm (colormake): Likewise. * gnu/packages/compression.scm (makeself-safeextract): Likewise. * gnu/packages/debug.scm (scanmem): Likewise. * gnu/packages/education.scm (snap): Likewise. (omnitux): Likewise. * gnu/packages/emacs-xyz.scm (epipe): Likewise. * gnu/packages/games.scm (openttd-opensfx): Likewise. (openttd-openmsx): Likewise. (openrct2-title-sequences): Likewise. (openrct2-objects): Likewise. (mrrescue): Likewise. (0ad-data): Likewise. (xonotic-data): Likewise. (drascula): Likewise. (make-lure-package): Likewise. (make-queen-package): Likewise. (sky): Likewise. * gnu/packages/gnome.scm (network-manager): Likewise. * gnu/packages/gnuzilla.scm (icedove): Likewise. * gnu/packages/guile-xyz.scm (guile-shapefile): Likewise. * gnu/packages/hurd.scm (netdde): Likewise. * gnu/packages/javascript.scm (js-context-menu): Likewise. (js-commander): Likewise. (js-xmldom-sre): Likewise. * gnu/packages/kde-frameworks.scm (krunner): Likewise. * gnu/packages/kodi.scm (kodi-cli): Likewise. * gnu/packages/libreoffice.scm (hunspell-dict-pl): Likewise. * gnu/packages/linux.scm (e2fsck/static): Likewise. * gnu/packages/markup.scm (markdown): Likewise. * gnu/packages/maths.scm (hdf-java): Likewise. * gnu/packages/multiprecision.scm (libtomcrypt): Likewise. * gnu/packages/networking.scm (batctl): Likewise. * gnu/packages/python-xyz.scm (python-pymediainfo): Likewise. * gnu/packages/shells.scm (fish-foreign-env): Likewise. * gnu/packages/tex.scm (texlive-fonts-iwona): Likewise. * gnu/packages/upnp.scm (miniupnpc): Likewise. * gnu/packages/version-control.scm (git-annex-remote-rclone): Likewise. * gnu/packages/virtualization.scm (qemu): Likewise. * gnu/packages/web.scm (icedtea-web): Likewise. * gnu/packages/wm.scm (stumpish): Likewise.
* gnu: hurd: Fix build.Mathieu Othacehe2021-10-05
| | | | | * gnu/packages/hurd.scm (hurd)[configure-flags]: Turn it into a GEXP. Pass the -fcommon flag to fix the build with GCC 10.
* gnu: netdde: Fix build.Mathieu Othacehe2021-10-05
| | | | * gnu/packages/hurd.scm (netdde)[configure-flags]: Turn it into a GEXP.
* gnu: gnumach: Add -fcommon to GCC flags.Ricardo Wurmus2021-09-30
| | | | * gnu/packages/hurd.scm (gnumach)[arguments]: Add -fcommon GCC flag.
* gnu: Use 'search-input-directory' when looking for C/C++ library headers.Ludovic Courtès2021-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/arcan.scm (arcan)[arguments]: Use 'search-input-directory' for "include/libdrm" and "include/apr-1". * gnu/packages/bioinformatics.scm (sailfish): Likewise for jellyfish. * gnu/packages/boost.scm (boost-for-irods): Likewise for libcxx headers. * gnu/packages/cedille.scm (cedille): Likewise for IAL headers. * gnu/packages/compression.scm (snappy-with-clang6): Likewise for libcxx headers. * gnu/packages/cups.scm (hplip): Likewise for libusb headers. * gnu/packages/emulators.scm (pcsxr): Likewise for libcdio headers. * gnu/packages/game-development.scm (python2-renpy): Likewise for fribidi headers. * gnu/packages/games.scm (pokerth): Likewise for libircclient. * gnu/packages/guile-xyz.scm (guile-persist): Likewise for Guile. * gnu/packages/hurd.scm (hurd): Likewise for libtirpc. * gnu/packages/irods.scm (irods, irods-client-icommands): Likewise for libcxx, catch2, and nlohmann-json-cpp. * gnu/packages/julia.scm (julia): Use 'search-input-file' for libuv's errno.h. * gnu/packages/kde-pim.scm (kdepim-runtime): Use 'search-input-directory' for "include/KF5". (kmessagelib): Likewise. * gnu/packages/kde.scm (kdeconnect): Likewise. * gnu/packages/llvm.scm (clang-runtime-3.5): Likewise for libtirpc. * gnu/packages/mpi.scm (openmpi): Likewise for "include/infiniband". * gnu/packages/pumpio.scm (pumpa): Use 'search-input-file' for "tidy.h" and "aspell.h". * gnu/packages/radio.scm (dream): Use 'search-input-file' and 'search-input-directory' for pulseaudio, sndfile, etc. * gnu/packages/selinux.scm (policycoreutils): Likewise for PAM and libaudit. * gnu/packages/serialization.scm (avro-cpp-1.9-for-irods): Likewise for libcxx. * gnu/packages/sync.scm (nextcloud-client): Likewise for "include/KF5". * gnu/packages/video.scm (mkvtoolnix): Likewise for "include/gtest". (libopenshot): Likewise for "include/UnitTest++". * gnu/packages/virtualization.scm (criu): Likewise for libnl3 and for protobuf file.
* utils: Define 'target-hurd?' predicate.Maxime Devos2021-07-14
| | | | | | | | | | | | | | | | | | | | | | | It behaves similarily to the other target-...? procedures. The usage of hurd-triplet? / target-hurd? in libgc appears incorrect to me, as (%current-system) is normally never false. * gnu/packages/hurd.scm (hurd-triplet?): Move to ... * guix/util.scm (target-hurd?): ... here, let its argument default to (%current-target-system) or (%current-system), and write a docstring. * gnu/packages/hurd.scm (hurd-target?, hurd-system?): Use target-hurd? instead of hurd-triplet?. * gnu/packages/bdw-gc.scm (libgc): Likewise. * gnu/packages/cross-base.scm (cross-libc)[arguments]<#:configure-flags>: Likewise. (cross-libc)[arguments]<#:phases>: Likewise. (cross-libc)[arguments]<#:native-inputs>: Likewise. * gnu/packages/make-boostrap.scm (%glibc-stripped)[inputs]: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: Remove unneeded import.Ludovic Courtès2021-05-17
| | | | | * gnu/packages/hurd.scm: Remove unneeded (gnu build hurd-boot) that was pulling in (system base compile).
* gnu: mig: Define 'mig/32-bit'.Ludovic Courtès2020-10-10
| | | | | | * gnu/packages/hurd.scm (mig/32-bit): New variable. (hurd)[native-inputs]: Use it. Previous inline variant would drop the 'patch-non-shebang-references' phase.
* gnu: hurd-core-headers: Strictly include header packages.Jan (janneke) Nieuwenhuizen2020-06-30
| | | | | * gnu/packages/hurd.scm (hurd-core-headers)[arguments]: Strictly include header package inputs in union.