summary refs log tree commit diff
AgeCommit message (Collapse)Author
2023-07-21locale: Set %default-locale-definitions to glibc/hurd on the Hurd. hurd-teamJanneke Nieuwenhuizen
* gnu/system/locale.scm (%default-locale-libcs): Use only glib/hurd when building on the Hurd.
2023-07-21gnu: Add libc-locales-for-target and glibc-locales/hurd.Janneke Nieuwenhuizen
* gnu/packages/base.scm (glibc-locales/hurd): New variable (libc-locales-for-target): Use it in new procedure. (glibc-utf8-locales/hurd): New variable. (libc-utf8-locales-for-target): Use it in new procedure.
2023-07-21DRAFT system: examples: Add devel-hurd.tmpl.Janneke Nieuwenhuizen
For your hacking pleasure -- Not intended for review / merge just yet. Try something like ./pre-inst-env guix system image --image-type=hurd-qcow2 --image-size=15G \ --no-offload gnu/system/examples/devel-hurd.tmpl cp /gnu/store/...disk-image devel.img guix shell qemu -- qemu-system-i386 -enable-kvm -m 4096 \ -device rtl8139,netdev=net0 \ -netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \ -hda devel-hurd.img ssh -p 10022 root@localhost GUIX_PROFILE=/run/current-system/bootstrap-profile source $GUIX_PROFILE/etc/profile git clone git://git.savannah.gnu.org/guix cd guix ./bootstrap ./configure --localstatedir=/var --sysconfdir=/etc --with-courage make Note that we don't have an ld-wrapper, so you need some ld.so and LD_LIBRARY_PATH hackery for compiled binaries to run.
2023-07-21DRAFT hurd-boot: Support second boot.Janneke Nieuwenhuizen
* gnu/build/hurd-boot.scm (boot-hurd-system): Check for stale shepherd socket and remove it. Be chattier about /hurd symlink replacement.
2023-07-21DRAFT hurd: Support second boot.Janneke Nieuwenhuizen
XXX This works beautifully, also on my x60, as long as the filesystem is clean. Although our fsck in libexec/runsystem doesn't work without or with the current ftab, this may be a bad idea? This avoids hanging upon second boot and ensures a declarative /hurd and /dev. * gnu/packages/patches/hurd-startup.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/hurd.scm (hurd): Use it. [arguments]: In stage create-runsystem remove /dev/urandom.
2023-07-21system: hurd: Add swap-services to hurd-default-essential-services.Janneke Nieuwenhuizen
* gnu/services/base.scm (swap-service-type): Do not include 'udev' requirement for the Hurd. Use system* with "swapon", "swapoff" for the Hurd. * gnu/system.scm (hurd-default-essential-services): Add swap-services. * gnu/services/base.scm (swap-service-type):
2023-07-21system: hurd: Add procps to %base-packages/hurd.Janneke Nieuwenhuizen
* gnu/system/hurd.scm (%base-packages/hurd): Add procps.
2023-07-21hurd-boot: Support system init: Create essential device nodes.Janneke Nieuwenhuizen
* gnu/build/hurd-boot.scm (make-hurd-device-nodes): Cater for existing directories (dev, servers). (set-hurd-device-translators): Remove /servers/socket/1, that is created by libexec/console-run. Cater for nonexistent /dev/console. (boot-hurd-system): Call make-hurd-device-nodes on initial run.
2023-07-21hurd: Support system init in /libexec/runsystem.Janneke Nieuwenhuizen
This is the first step to support booting after guix system init, which does not create /servers. * gnu/packages/hurd.scm (hurd)[arguments]: In stage create-runsystem, do not assume /servers/socket/ exists, remove any existing /servers/socket/1.
2023-07-21gnu: guix: Update to 1.4.0-9.ee343946cc.Janneke Nieuwenhuizen
* gnu/packages/package-management.scm (guix): Update to 1.4.0-9.ee343946cc.
2023-07-21gnu: guix: Update to 1.4.0-8.5623ab503f.Janneke Nieuwenhuizen
* gnu/packages/package-management.scm (guix): Update to 1.4.0-8.5623ab503f.
2023-07-21self: Build gnu/packages/*.go in 26 steps on the Hurd.Janneke Nieuwenhuizen
Similar to the Makefile.am change, this breaks-up packages into 26 chunks when building for the Hurd. Also force garbage collection. * guix/self.scm (compiled-modules)[process-directory/hurd]: New inner define. Use it when building on the Hurd.
2023-07-21build: Build gnu/packages/*.go in five steps.Janneke Nieuwenhuizen
This breaks-up packages into five chunks of ~150,000 lines, allowing guix build --target=i586-pc-gnu from an x86 host. This is a followup to 1aa7ee52c6c520c2dbbdb06f1381466e9fd96294. * Makefile.am (first_half): Rename to... (first_quart): ...this, and also split into... (second_quart): ...this. (third_quart, MODULES_PACKAGES3, MODULES_PACKAGE4): New variables. (make-packages3-go, make-packages4-go): New targets. (make-packages-go): Add them.
2023-07-21gnu: guix: Disable some tests on the Hurd.Janneke Nieuwenhuizen
* gnu/packages/package-management.scm (guix)[arguments]: When building on the Hurd, add phase disable-tests/hurd.
2023-07-21gnu: guix: Disable some test on 32bit.Janneke Nieuwenhuizen
* gnu/packages/package-management.scm (guix)[arguments]: When building on or for 32bit, add phase 'disable-tests'.
2023-07-21tests: texlive: Remove texlive-texworks from propagated-inputs.Josselin Poiret
* tests/texlive.scm ("texlive->guix-package, meta-package"): Remove texlive-texworks from expected propagated-inputs, as it is now ignored by texlive->guix-package.
2023-07-21tests: packages: Set system for expected result of package->bag.Josselin Poiret
* tests/packages.scm ("package->bag"): Parameterize the expected result by the system used to lower the package to a bag.
2023-07-21tests: store-roots: Initial gc-roots should be empty.Josselin Poiret
* tests/store-roots.scm ("gc-roots, initial"): Set expected result to empty. Also do not error out if /profiles doesn't exist.
2023-07-21gnu: Oops, distribute ghostscript-CVE-* patches again.Janneke Nieuwenhuizen
This is a follow-up to commit 03f35ff390d5f77843d65a9df4bd763f82049d24 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-21gnu: emacs-no-littering: Update to 1.5.0.Ahmad Draidi
* gnu/packages/emacs-xyz.scm (emacs-no-littering): Update to 1.5.0. Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-07-21gnu: swig: Skip tests when cross-compiling.Efraim Flashner
* gnu/packages/swig.scm (swig)[arguments]: Adjust #:tests? to skip tests when cross-compiling.
2023-07-21gnu: libpaper: Skip tests when cross-compiling.Efraim Flashner
* gnu/packages/ghostscript.scm (libpaper)[arguments]: Adjust #:tests to skip tests when cross-compiling.
2023-07-21gnu: parted: Skip tests when cross-compiling.Efraim Flashner
* gnu/packages/disk.scm (parted)[arguments]: Adjust #:tests? to skip tests when cross-compiling.
2023-07-21gnu: newick-utils: Skip tests when cross-compiling.Efraim Flashner
* gnu/packages/bioinformatics.scm (newick-utils)[arguments]: Adjust #: tests? to skip tests when cross-compiling.
2023-07-21gnu: zstd: Skip tests when cross-compiling.Efraim Flashner
* gnu/packages/compression.scm (zstd)[arguments]: Adjust #:tests? to skip tests when cross-compiling.
2023-07-21chez-sheme-for-racket: Fix building on riscv64-linux.Efraim Flashner
* 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-16gnu: libopenshot-audio: Use G-expressions.Tobias Geerinckx-Rice
* gnu/packages/audio.scm (libopenshot-audio)[arguments]: Rewrite as G-expressions.
2023-07-16gnu: libopenshot-audio: Update to 0.3.2.Tobias Geerinckx-Rice
* gnu/packages/audio.scm (libopenshot-audio): Update to 0.3.2.
2023-07-16gnu: libopenshot: Update to 0.3.2.Tobias Geerinckx-Rice
* gnu/packages/video.scm (libopenshot): Update to 0.3.2. [arguments]: Don't explicitly return #t from phases.
2023-07-16gnu: stellarium: Update to 23.2.Tobias Geerinckx-Rice
* gnu/packages/astronomy.scm (stellarium): Update to 23.2.
2023-07-16gnu: qxlsx: Fix include directory.Tobias Geerinckx-Rice
* 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-16gnu: xa: Use G-expressions.Tobias Geerinckx-Rice
* gnu/packages/assembly.scm (xa)[arguments]: Rewrite as G-expressions.
2023-07-16gnu: xa: Update to 2.3.14.Tobias Geerinckx-Rice
* gnu/packages/assembly.scm (xa): Update to 2.3.14.
2023-07-20gnu: bootloaders: Avoid top-level circular references.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/64745>. The regression was introduced in ed5dc3a25d858a394bb7db937a51d866c3cdc6ed: at the top level, bootloaders.scm and firmware.scm would depend on each other, leading to unbound variables when loaded, depending on the order in which they got loaded. * gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Expect 'scp-firmware' to be a promise; force it in 'native-inputs'. (u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Wrap the 3rd argument to 'make-u-boot-sunxi64-package' into 'delay'. Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-16gnu: fontforge@20190801: Fix build.Tobias Geerinckx-Rice
* gnu/packages/fontutils.scm (fontforge-20190801)[arguments]: Rewrite as G-expressions.
2023-07-16gnu: adanaxisgpl: Install the .mush files (again).Tobias Geerinckx-Rice
This out of an abundance of caution more than anything. * gnu/packages/games.scm (adanaxisgpl)[arguments]: Add an 'install-data phase. [native-inputs]: Use a later commit for adanaxis-data.
2023-07-16gnu: adanaxisgpl: Remove input labels.Tobias Geerinckx-Rice
* gnu/packages/games.scm (adanaxisgpl)[native-inputs, inputs]: Remove input labels. [arguments]: Adjust the 'unpack-inputs phase to search for files, not labels.
2023-07-16gnu: adanaxisgpl: Build from Git.Tobias Geerinckx-Rice
* gnu/packages/games.scm (adanaxisgpl-mush): Remove variable. (adanaxisgpl)[source]: Fetch from Git. In the snippet, create missing directories, arrange to create missing files, and don't explicitly return #t. [arguments]: Add an 'unpack-inputs phase, replace the default 'bootstrap, and remove 'install-data. [native-inputs]: Remove adanaxis-mush. Add adanaxis-data, adanaxis-mushruby, autoconf, automake, and perl.
2023-07-16gnu: sdl2-ttf: Update to 2.20.2.Tobias Geerinckx-Rice
* gnu/packages/sdl.scm (sdl2-ttf): Update to 2.20.2.
2023-07-16gnu: sdl2-mixer: Update to 2.6.3.Tobias Geerinckx-Rice
* gnu/packages/sdl.scm (sdl2-mixer): Update to 2.6.3. [source]: Don't explicitly return #t from snippet.
2023-07-16gnu: sdl2-image: Update to 2.6.3.Tobias Geerinckx-Rice
* gnu/packages/sdl.scm (sdl2-image): Update to 2.6.3.
2023-07-16gnu: wsdd: Fix cross-‘compilation’.Tobias Geerinckx-Rice
The copy-build-system appears unsuitable for scripts. * gnu/packages/samba.scm (wsdd)[build-system]: Switch to the GNU build system. [arguments]: Replace #:install-plan with custom #:phases.
2023-07-16gnu: wsdd: Remove input labels.Tobias Geerinckx-Rice
* gnu/packages/samba.scm (wsdd)[inputs]: Remove input labels.
2023-07-16gnu: wsdd: Update to 0.7.1.Tobias Geerinckx-Rice
* gnu/packages/samba.scm (wsdd): Update to 0.7.1.
2023-07-16gnu: rpi-imager: Update to 1.7.5.Tobias Geerinckx-Rice
* gnu/packages/raspberry-pi.scm (rpi-imager): Update to 1.7.5.
2023-07-16gnu: qxlsx: Update to 1.4.6.Tobias Geerinckx-Rice
* gnu/packages/qt.scm (qxlsx): Update to 1.4.6.
2023-07-16gnu: python-pyzstd: Unbundle and dynamically link Zstd.Tobias Geerinckx-Rice
* gnu/packages/python-compression.scm (python-pyzstd)[source]: Delete bundled Zstd. [arguments]: Add "--dynamic-link-zstd" configure flag, and honour it. [inputs]: Add zstd.
2023-07-16gnu: python-pyzstd: Update to 0.15.9.Tobias Geerinckx-Rice
* gnu/packages/python-compression.scm (python-pyzstd): Update to 0.15.9.
2023-07-16gnu: lensfun: Update to 0.3.4.Tobias Geerinckx-Rice
* gnu/packages/photo.scm (lensfun): Update to 0.3.4.
2023-07-16gnu: xpdf: Update to 4.04.Tobias Geerinckx-Rice
* gnu/packages/pdf.scm (xpdf): Update to 4.04.