aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-02doc: Recommend 'match-record'.Ludovic Courtès
* doc/contributing.texi (Data Types and Pattern Matching): Recommend 'match-record'.
2022-12-02records: 'match-record' checks fields at macro-expansion time.Ludovic Courtès
This allows 'match-record' to be more efficient (field offsets are computed at compilation time) and to report unknown fields at macro-expansion time. * guix/records.scm (map-fields): New macro. (define-record-type*)[rtd-identifier]: New procedure. Define TYPE as a macro and use a separate identifier for the RTD. (lookup-field, match-record-inner): New macros. (match-record): Rewrite in terms of 'match-error-inner'. * tests/records.scm ("match-record, simple") ("match-record, unknown field"): New tests. * gnu/services/cuirass.scm (cuirass-shepherd-service): Rename 'log-file' local variable to 'main-log-file'. * gnu/services/getmail.scm (serialize-getmail-configuration-file): Move after <getmail-configuration-file> definition.
2022-12-02gnu: Add alfa.Sharlatan Hellseher
* gnu/packages/astronomy.scm (alfa): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-02etc: teams: Add chez.scm to Racket team's scope.Philip McGrath
Racket's variant of Chez Scheme is defined in that file. * etc/teams.scm.in (racket)[#:scope]: Add gnu/packages/chez.scm. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-02gnu: guile-gcrypt: Update to 0.4.0.Ludovic Courtès
* gnu/packages/gnupg.scm (guile-gcrypt): Update to 0.4.0.
2022-12-01gnu: raspberry-pi: Add a bootloader-chain for the Raspberry Pi and os examples.Stefan
* gnu/packages/raspberry-pi.scm (grub-efi-bootloader-chain-raspi-64): New bootloader variable, capable to boot a Raspberry Pi over network or from a local storage. * gnu/system/examples/raspberry-pi-64.tmpl: New operating-system example. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl: New operating-system example for booting over network. * Makefile.am (EXAMPLES): Register the new files. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: raspberry-pi: New make-raspi-bcm28-dtbs procedure.Stefan
* gnu/packages/raspberry-pi.scm (make-raspi-bcm28-dtbs): New procedure. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: raspberry-pi: Add helpers for config.txt file generation.Stefan
* gnu/packages/raspberry-pi.scm (raspi-config-file, raspi-custom-txt): New functions. (%raspi-config-txt, %raspi-bcm27-dtb-txt, %raspi-bcm28-dtb-txt %raspi-u-boot-bootloader-txt): New variables. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: raspberry-pi: Add defconfig objects to build customized Linux kernels.Stefan
gnu/packages/raspberry-pi.scm (make-raspi-defconfig): New procedure. (%bcm2709-defconfig, %bcm2711-defconfig, %bcm2711-defconfig-64) (%bcmrpi3-defconfig): New variables. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: linux: Add a 'customize-linux' procedure.Stefan
* gnu/packages/linux.scm (linux-srcarch): New procedure. (customize-linux): Likewise. (make-defconfig): New procedure. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: bootloader: Add U-Boot packages for Raspberry Pi models.Stefan
* gnu/packages/bootloader.scm (make-u-boot-package): Add keyword parameters 'name-suffix' and 'append-description'. (make-u-boot-bin-package): New procedure (%u-boot-rpi-efi-configs): New variable. (%u-boot-rpi-description-32-bit, %u-boot-rpi-description-64-bit, %u-boot-rpi-efi-description, %u-boot-rpi-efi-description-32-bit): New variables. (u-boot-rpi-2-efi, u-boot-rpi-2-bin, u-boot-rpi-2-efi-bin}) (u-boot-rpi-3-32b-efi, u-boot-rpi-3-32b-bin, u-boot-rpi-3-32b-efi-bin) (u-boot-rpi-4-32b-efi, u-boot-rpi-4-32b-bin, u-boot-rpi-4-32b-efi-bin) (u-boot-rpi-arm64-efi, u-boot-rpi-arm64-bin) u-boot-rpi-arm64-efi-bin): New packages. (u-boot-tools): Reuse the description of u-boot. (u-boot-am335x-boneblack, u-boot-am335x-evm) (u-boot-nintendo-nes-classic-edition, u-boot-novena): Make use of new keyword parameters of make-u-boot-package. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader.Stefan
This rework allows to use an (efi-bootloader-chain) like this, which is able to boot over network or local storage, depending on whether the bootloader target has support for symbolic links: (operating-system (bootloader (bootloader-configuration (bootloader (efi-bootloader-chain grub-efi-netboot-removable-bootloader #:packages (list my-firmware-package my-u-boot-package) #:files (list (plain-file "config.txt" "kernel=u-boot.bin")) #:hooks my-special-bootloader-profile-manipulator)) (targets '("/booti/efi")) …)) …) * doc/guix.texi (Bootloader Configuration): Describe the new ‘grub-efi-netboot-removable-bootloader’. Mention the file names used and that the UEFI Boot Manager is not modified. Advise to disable write-access over TFTP. * gnu/bootloader.scm (efi-bootloader-profile): Allow a list of packages and collect everything directly in the profile, avoiding a separate collection directory. Renamed the profile from "bootloader-profile" to "efi-bootloader-profile". [bootloader-collection]: Rename to... [efi-bootloader-profile-hook]: ... this and remove unused modules. Do not create the now extraneous collection directory. (efi-bootloader-chain): Add PACKAGES and DISK-IMAGE-INSTALLER arguments. Remove handling of the collection directory, now only calling the given installer procedure. * gnu/bootloader/grub.scm (make-grub-efi-netboot-installer): New helper. (make-grub-configuration): New helper based on (grub-configuration-file). Add a GRUB argument, fix indentation, remove previous code retrieving GRUB from CONFIG. (grub-configuration-file): Make use of make-grub-configuration. (grub-efi-configuration-file): New procedure. (grub-cfg): New variable to replace "/boot/grub/grub.cfg". (install-grub-efi-netboot): Remove, splitting logic to... (make-grub-efi-netboot-installer): ... this new helper procedure, as well as to make-grub-efi-netboot, added below. (grub-bootloader): Adjust to use the GRUB-CFG. (grub-efi-bootloader): Likewise. Removed inheritance and declare all fields explicitly. (make-grub-efi-netboot-bootloader): New procedure. (grub-efi-netboot-bootloader): Use it. (grub-efi-netboot-removable-bootloader): New variable. * gnu/packages/bootloaders.scm (make-grub-efi-netboot): New procedure. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01linux-container: Do not replace nscd-service-type.Ricardo Wurmus
* gnu/system/linux-container.scm (containerized-operating-system): Respect customizations to the nscd-service-type and only modify the caches field.
2022-12-01gnu: u-boot-pinebook-pro-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-pinebook-pro-rk3399): Fix indentation.
2022-12-01gnu: u-boot-rockpro64-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399): Fix indentation.
2022-12-01gnu: u-boot-firefly-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-firefly-rk3399): Fix indentation.
2022-12-01gnu: u-boot-puma-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399): Fix indentation.
2022-12-01gnu: u-boot-nintendo-nes-classic-edition: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition): Fix indentation.
2022-12-01gnu: make-u-boot-package: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (make-u-boot-package): Fix indentation.
2022-12-01gnu: u-boot-tools: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-tools): Fix indentation.
2022-12-01gnu: dtc: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (dtc): Fix indentation.
2022-12-01gnu: grub-efi32: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (grub-efi32): Fix indentation.
2022-12-01gnu: grub: Normalize indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (grub): Re-indent package and remove trailing #t.
2022-12-01build: kconfig: Add new module to modify defconfig files.Stefan
* guix/build/kconfig.scm: New file. * Makefile.am: Register it. * gnu/packages/bootloaders.scm (make-u-boot-package) (make-u-boot-sunxi64-package): Add DEFCONFIGS and CONFIGS arguments. Remove dead code. (u-boot-am335x-boneblack, u-boot-pinebook) (u-boot-novena,u-boot-rockpro64-rk3399): Simplify packages by using the new keyword arguments. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: linux-libre: Move info manual to doc output.Maxim Cournoyer
The kernel Linux is installed in the system profile, which means the manual was not easily discoverable. Move it to the "doc" output, so that users can install the Linux documentation explicitly in their user profile without pulling the whole Linux package. * gnu/packages/linux.scm (make-linux-libre*) [outputs]: Conditionally add a "doc" output. [phases] {install-doc}: Install the info manual to the doc output, an create a "linux" symlink to it for convenience. * guix/build-system/linux-module.scm (make-linux-module-builder): Delete the "doc" output, if present.
2022-12-01gnu: linux: Fix the extra-version parameter in make-linux-libre*.Stefan
* gnu/packages/linux.scm (make-linux-libre*) [phases] {configure}: Remove now extraneous INPUTS argument and Move code setting environment variables to... {set-environment}: ... this new phase. Patch the Makefile to accept EXTRAVERSION from the environment. Fix the usage of an empty extra-version string. {install}: Remove extraneous NATIVE-INPUTS argument. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01services: network-manager: Add iwd backend support.Andrew Tropin
* gnu/services/networking.scm (network-manager-configuration)[iwd?]: New field. (network-manager-shepherd-service): Add iwd to requirements if needed. * doc/guix.texi: Add information about iwd? option.
2022-12-01home: xdg: Export xdg-base/user-directories getters.Andrew Tropin
* gnu/home/services/xdg.scm: Export xdg-base/user-directories getters.
2022-12-01gnu: sssd: Update to 2.8.1.Ricardo Wurmus
* gnu/packages/sssd.scm (sssd): Update to 2.8.1. [source]: Remove obsolete patch. * gnu/packages/patches/sssd-optional-systemd.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove patch.
2022-12-01gnu: Add r-metaneighbor.Mădălin Ionel Patrașcu
* gnu/packages/bioconductor.scm (r-metaneighbor): New variable.
2022-12-01gnu: cook: Fix building.Efraim Flashner
* gnu/packages/cook.scm (cook)[native-inputs]: Replace bison with bison-3.0.
2022-12-01gnu: openrgb: Unbundle more libraries.Efraim Flashner
* gnu/packages/hardware.scm (openrgb)[source]: Adjust snippet to remove more bundled dependencies.
2022-12-01gnu: openrgb: Update to 0.8.Kaelyn Takata
* gnu/packages/hardware.scm (openrgb): Update to 0.8. [native-inputs]: Add qttools-5 for generating translations. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-12-01gnu: eolie: Build with webkitgtk-with-libsoup2.Efraim Flashner
* gnu/packages/gnome.scm (eolie)[inputs]: Replace webkitgtk with webkitgtk-with-libsoup2.
2022-11-30gnu: r-plotly: Replace bundled minified JavaScript.Ricardo Wurmus
* gnu/packages/statistics.scm (r-plotly)[source]: Delete bundled minified JavaScript files. [arguments]: Add phase "process-javascript" to minify JavaScript. [native-inputs]: Add esbuild, js-colourpicker, js-plotly, js-selectize, and js-typedarray.
2022-11-30gnu: texinfo-7: Update to 7.0.1.Efraim Flashner
* gnu/packages/texinfo.scm (texinfo-7): Update to 7.0.1.
2022-11-30gnu: gst-plugins-bad: Skip elements/camerabin test on riscv64-linux.Efraim Flashner
* gnu/packages/gstreamer.scm (gst-plugins-bad)[arguments]: Skip the elements/camerabin test on riscv64-linux too.
2022-11-30gnu: p2pool: Update to 2.6.Guillaume Le Vaillant
* gnu/packages/finance.scm (p2pool): Update to 2.6.
2022-11-30gnu: Add cl-clavier.jgart via Guix-patches via
* gnu/packages/lisp-xyz.scm (cl-clavier, ecl-clavier, sbcl-clavier): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-30gnu: Remove unused patch.Guillaume Le Vaillant
This a followup to 9b714ec75ee74d9f5464a8a08144f27eae817cd9. * gnu/packages/patches/sbcl-fix-build-on-arm64-with-clisp-as-host.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
2022-11-30gnu: r-sendmailr: Update to 1.3-1.Ricardo Wurmus
* gnu/packages/statistics.scm (r-sendmailr): Update to 1.3-1.
2022-11-30gnu: r-text2vec: Update to 0.6.3.Ricardo Wurmus
* gnu/packages/cran.scm (r-text2vec): Update to 0.6.3.
2022-11-30gnu: r-proj4: Update to 1.0-12.Ricardo Wurmus
* gnu/packages/cran.scm (r-proj4): Update to 1.0-12.
2022-11-30gnu: r-biodb: Update to 1.6.1.Ricardo Wurmus
* gnu/packages/bioconductor.scm (r-biodb): Update to 1.6.1.
2022-11-30gnu: r-biocparallel: Update to 1.32.3.Ricardo Wurmus
* gnu/packages/bioconductor.scm (r-biocparallel): Update to 1.32.3.
2022-11-30gnu: r-alpine: Update to 1.24.0.Ricardo Wurmus
* gnu/packages/bioconductor.scm (r-alpine): Update to 1.24.0.
2022-11-30gnu: rust-svd-parser-0.9: Rename to rust-svd-parser-0.10.Efraim Flashner
* gnu/packages/crates-io.scm (rust-svd-parser-0.9): Rename to rust-svd-parser-0.10. * gnu/packages/rust-apps.scm (svd2rust)[cargo-inputs]: Adjust accordingly.
2022-11-30gnu: crates-io: Resort some unsorted packages.Efraim Flashner
* gnu/packages/crates-io.scm (rust-clap-conf-0.1, rust-rt-format-0.8, rust-enquote-1, rust-im-rc-15, rust-impl-codec-0.5, rust-impl-rlp-0.3, rust-impl-serde-0.3, rust-impl-trait-for-tuples-0.2, rust-indicatif-0.16, rust-inflections-1, rust-pam-sys-0.5, rust-rustc-workplace-hack-1, rust-svd-parser-0.9, rust-svgtypes-0.5, rust-sxd-document-0.3, rust-sxd-xpath-0.4, rust-xi-unicode-0.3): Sort into their proper places. (skim, skim-0.7, svd2rust): Move to ... * gnu/packages/rust-apps.scm: ... here.
2022-11-30gnu: gnuzilla.scm: Move rust packages to standard locations.Efraim Flashner
* gnu/packages/gnuzilla.scm (rust-textwrap-0.15-promise, rust-lex-0.2, rust-clap-derive-3.2-promise): Remove variables. (icecat,icedove)[native-inputs]: Replace rust-cbindgen-0.23-promise with rust-cbindgen-0.23. (rust-cbindgen-0.24-promise, rust-cbindgen-0.23-promise): Move to ... * gnu/packages/rust-apps.scm (rust-cbindgen-0.24, rust-cbindgen-0.23): ... here. Rename without '-promise' suffix.
2022-11-30gnu: Remove duplicate rust-clap-lex-0.2.Efraim Flashner
* gnu/packages/crates-io.scm (rust-clap-lex-0.2): Merge definitions.