Commit graph

106102 commits

Author SHA1 Message Date
Marius Bakke 3c8bd23d0a
gnu: Add rust-sha1-smol.
* gnu/packages/crates-io.scm (rust-sha1-smol-1): New variable.
2022-12-02 19:35:46 +01:00
Marius Bakke ddb87e8acc
gnu: rust-md-5: Add 0.10.5.
* gnu/packages/crates-io.scm (rust-md-5-0.10): New variable.
(rust-md-5-0.9): Inherit from it.
2022-12-02 19:35:45 +01:00
Marius Bakke 3492a01928
gnu: rust-md5-asm: Update to 0.5.0.
* gnu/packages/crates-io.scm (rust-md5-asm-0.5): New variable.
(rust-md5-asm-0.4): Inherit from it.
2022-12-02 19:35:45 +01:00
Marius Bakke 3d90b39d9e
gnu: Add rust-atomic.
* gnu/packages/crates-io.scm (rust-atomic-0.5): New variable.
2022-12-02 19:35:45 +01:00
Marius Bakke 26582405c3
gnu: rust-memoffset: Add 0.7.1.
* gnu/packages/crates-io.scm (rust-memoffset-0.7): New variable.
(rust-memoffset-0.6): Inherit from it.
2022-12-02 19:35:45 +01:00
Marius Bakke 5e8f23a7fd
gnu: rust-gl: Add 0.14.
* gnu/packages/crates-graphics.scm (rust-gl-0.14): New variable.
(rust-gl-0.11): Inherit.
2022-12-02 19:35:45 +01:00
Marius Bakke 365b0b5533
gnu: ungoogled-chromium: Use git tag in ungoogled origin.
* gnu/packages/chromium.scm (%ungoogled-origin)[uri]: Use %UNGOOGLED-REVISION
instead of commit identifier.
2022-12-02 19:10:51 +01:00
Marius Bakke 11b0670a9d
gnu: kicad: Remove obsolete phases.
* gnu/packages/engineering.scm (kicad)[arguments]: Remove two phases.
2022-12-02 19:08:27 +01:00
Marius Bakke ea0e6e5d65
gnu: golly: Update to 4.2.
* gnu/packages/games.scm (golly): Update to 4.2.
[arguments]: Remove configure phase.
[inputs]: Remove PYTHON-2 and WXWIDGETS-GTK2.  Add PYTHON, SDL2, and
WXWIDGETS.  Remove labels while at it.
2022-12-02 19:08:27 +01:00
Marius Bakke 6aac95ae2b
gnu: python-wxpython: Update to 4.2.0.
* gnu/packages/wxwidgets.scm (python-wxpython): Update to 4.2.0.
[propagated-inputs]: Add PYTHON-ATTRDICT.
2022-12-02 19:08:27 +01:00
Marius Bakke f16358144f
gnu: wxWidgets: Update to 3.2.1.
* gnu/packages/wxwidgets.scm (wxwidgets): Update to 3.2.1.
[source](modules, snippet): New fields.
[inputs]: Remove SDL.  Add CATCH-FRAMEWORK, EXPAT, GSTREAMER,
GST-PLUGINS-BASE, LIBNOTIFY, LIBPNG, LIBSECRET, PCRE, SDL2,
WEBKITGTK-WITH-LIBSOUP2, and ZLIB
[arguments]: Add "--enable-mediactrl" and "--enable-gui" to #:configure-flags.
Remove aarch64 workaround.  Install catch header in refer-to-inputs phase.
Add phase to adjust WebKitGTK version.
(wxwidgets-3.1, wxwidgets-gtk2-3.1): Remove variables.
(wxwidgets-3.0, (wxwidgets-gtk2-3.0): New variables.
(wxsvg)[inputs]: Change from WXWIDGETS-3.1 to WXWIDGETS.
* gnu/packages/audio.scm (audacity)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/astronomy.scm (imppg)[inputs]: Change from WXWIDGETS to
WXWIDGETS-3.0.
* gnu/packages/ftp.scm (filezilla)[inputs]: Likewise.
* gnu/packages/games.scm (megaglest)[inputs]: Likewise.
* gnu/packages/geo.scm (opencpn)[inputs]: Likewise.
* gnu/packages/music.scm (sooperlooper)[inputs]: Likewise.
* gnu/packages/engineering.scm (kicad)[arguments]: Enable EGL support.
2022-12-02 19:08:27 +01:00
Marius Bakke 8737ee0479
gnu: wxWidgets: Remove input labels.
* gnu/packages/wxwidgets.scm (wxwidgets)[inputs]: Remove labels.
[arguments]: Use SEARCH-INPUT-FILE.
(wxwidgets-gtk2)[inputs]: Use MODIFY-INPUTS.
2022-12-02 19:08:27 +01:00
Marius Bakke 2cf835ae28
gnu: jucipp: Update to 1.7.2.
* gnu/packages/text-editors.scm (jucipp): Update to 1.7.2.
[arguments]: Skip one more test.
2022-12-02 19:08:26 +01:00
Marius Bakke fa3dac025a
gnu: universal-ctags: Update to 5.9.20221127.0.
* gnu/packages/code.scm (universal-ctags): Update to 5.9.20221127.0.
2022-12-02 19:08:26 +01:00
Ricardo Wurmus 62ddd3bc80
gnu: Add python-fanc.
* gnu/packages/bioinformatics.scm (python-fanc): New variable.

Co-authored-by: Navid Afkhami <navid.afkhami@mdc-berlin.de>
2022-12-02 17:43:20 +01:00
Ricardo Wurmus ee069ec651
gnu: Add python-genomic-regions.
* gnu/packages/bioinformatics.scm (python-genomic-regions): New variable.

Co-authored-by: Navid Afkhami <navid.afkhami@mdc-berlin.de>
2022-12-02 17:20:54 +01:00
Navid Afkhami 9ddc4e5b03
gnu: python-msgpack-numpy: Update to 0.4.8.
* gnu/packages/python-science.scm (python-msgpack-numpy): Update to 0.4.8.
2022-12-02 15:04:15 +01:00
Ricardo Wurmus 0c2dad9951
gnu: Add python-pybloom-live.
* gnu/packages/python-xyz.scm (python-pybloom-live): New variable.
2022-12-02 15:03:00 +01:00
Ricardo Wurmus 840d543939
gnu: python-xxhash: Update to 3.1.0.
* gnu/packages/digest.scm (python-xxhash): Update to 3.1.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools-scm.
2022-12-02 15:03:00 +01:00
Maxim Cournoyer 4781f0458d
Revert "gnu: linux-libre: Move info manual to doc output."
This reverts commit 748ec62882.  It broke the
linux-libre-module-builder like so:

   builder for
   `/gnu/store/293jxydym9z7ck7afmrjqhiw3xpfs4i1-linux-libre-module-builder-6.0.10.drv'
   failed to produce output path
   `/gnu/store/ghmp1q5w6r1s9364rz53jd42152wgz2v-linux-libre-module-builder-6.0.10-doc'

for reasons difficult to understand.
2022-12-01 21:37:12 -05:00
Marius Bakke 2775bb95c7
gnu: ungoogled-chromium: Update to 108.0.5359.71-1.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for M108.
(%chromium-version): Set to 108.0.5359.71-1.
(%arch-revision): Bump to newer commit.
(%ungoogled-origin): Update hash.
(%gcc-patches): Remove.
(%reverse-patches): Remove one patch.
(%arch-patches): New variable.
(%patches): New variable.
(ungoogled-chromium-snippet): Apply %PATCHES instead of individual variables.
(ungoogled-chromium)[source]: Update hash.
[arguments]: Adjust configure flag.
[inputs]: Change from HARFBUZZ-3 to HARFBUZZ-5.
2022-12-02 00:21:25 +01:00
Marius Bakke 503fb0dcb4
gnu: ungoogled-chromium: Generalize OpenJPEG substitution.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Don't hard code
openjpeg version.
2022-12-02 00:21:25 +01:00
Marius Bakke 1a8d063a44
gnu: harfbuzz: Add 5.3.1.
* gnu/packages/gtk.scm (harfbuzz-5): New variable.
2022-12-02 00:21:25 +01:00
Marius Bakke c091339204
gnu: balsa: Update to 2.6.4.
* gnu/packages/mail.scm (balsa): Update to 2.6.4.
2022-12-02 00:21:25 +01:00
Marius Bakke dee7c94b59
gnu: balsa: Add release-monitoring-url.
* gnu/packages/mail.scm (balsa)[properties]: New field.
2022-12-02 00:21:25 +01:00
Marius Bakke 168afe2976
gnu: svt-av1: Update to 1.3.0.
* gnu/packages/video.scm (svt-av1): Update to 1.3.0.
[supported-systems]: Remove.
[description]: Update.
2022-12-02 00:21:25 +01:00
Marius Bakke 84c577d7a7
gnu: QtWebEngine: Simplify code to remove third-party files.
* gnu/packages/qt.scm (remove-third-party-files): Simplify some procedures.
2022-12-02 00:21:25 +01:00
Marius Bakke 9252f14722
gnu: qtwebengine@6: Fix third-party code removal snippet.
* gnu/packages/qt.scm (qtwebengine-5)[source](snippet): Move code to delete
third-party files out to ...
(remove-third-party-files): ... this new variable.
(qtwebengine)[source](snippet): Use that variable instead of the broken
duplicate implementation.  Adjust PRESERVED-THIRD-PARTY-FILES accordingly.
[native-inputs]: Add PYTHON-BEAUTIFULSOUP4.
2022-12-02 00:21:25 +01:00
Marius Bakke 6f0a8371fe
gnu: gn: Use G-expression.
* gnu/packages/build-tools.scm (gn)[arguments]: Convert to G-expression.
2022-12-02 00:21:24 +01:00
Marius Bakke e069db7e30
gnu: gn: Remove input labels.
* gnu/packages/build-tools.scm (gn)[native-inputs]: Remove labels.
2022-12-02 00:21:24 +01:00
Marius Bakke c02a77bdd6
gnu: gn: Update to 0.0-2072.1c4151f.
* gnu/packages/build-tools.scm (gn): Update to 0.0-2072.1c4151f.
[arguments]: Adjust create-last-commit-position phase to be identical with
upstream code.
2022-12-02 00:21:24 +01:00
Marius Bakke 34a70b1f86
gnu: balsa: Fix build.
* gnu/packages/mail.scm (balsa)[arguments]: Add #:phase to build with newer
WebKitGTK.
[inputs]: Change from GTKSOURCEVIEW to GTKSOURCEVIEW-4.
2022-12-02 00:21:24 +01:00
Ludovic Courtès 00ddf185e6
services: networking: Avoid 'match' on records.
* gnu/services/networking.scm (dhcp-client-shepherd-service): Use
accessors instead of 'match'.
(inetd-shepherd-service): Likewise.
(tor-shepherd-service): Likewise.
(network-manager-service-type): Likewise.
(modem-manager-service-type): Likewise.
(wpa-supplicant-service-type): Likewise.
(openvswitch-activation): Likewise.
(openvswitch-shepherd-service): Likewise.
(dhcpd-shepherd-service): Use 'match-record' instead of 'match'.
(dhcpd-activation): Likewise.
(ntp-server->string): Likewise.
(ntp-shepherd-service): Likewise.
(tor-configuration->torrc): Likewise.
(network-manager-activation): Likewise.
(network-manager-environment): Likewise.
(network-manager-shepherd-service): Likewise.
(usb-modeswitch-configuration->udev-rules): Likewise.
(wpa-supplicant-shepherd-service): Likewise.
(iptables-shepherd-service): Likewise.
(nftables-shepherd-service): Likewise.
(keepalived-shepherd-service): Likewise.
2022-12-02 00:03:40 +01:00
Ludovic Courtès adfe1064c8
services: base: Use 'match-record' instead of 'match'.
* gnu/services/base.scm (agetty-shepherd-service)
(mingetty-shepherd-service)
(nscd.conf-file)
(udev-shepherd-service)
(udev-etc)
(gpm-shepherd-service)
(network-set-up/linux)
(network-tear-down/linux)
(static-networking-shepherd-service)
(greetd-agreety-tty-session-command)
(greetd-agreety-tty-xdg-session-command): Use 'match-record' instead of
'match'.
(guix-accounts): Use <guix-configuration> accessors.
(udev-service-type): Use <udev-configuration> accessors.
2022-12-02 00:02:13 +01:00
Ludovic Courtès 4c8eea027a
home: services: Use 'match-record' instead of 'match'.
* gnu/home/services/mcron.scm (home-mcron-shepherd-services): Use
'match-record' instead of 'match'.
* gnu/home/services/shells.scm (home-bash-extensions): Likewise.
* gnu/home/services/xdg.scm (serialize-xdg-desktop-entry): Likewise.
2022-12-02 00:02:13 +01:00
Ludovic Courtès cc9ee514e3
doc: Recommend 'match-record'.
* doc/contributing.texi (Data Types and Pattern Matching): Recommend
'match-record'.
2022-12-02 00:02:12 +01:00
Ludovic Courtès 7c1161dba4
records: 'match-record' checks fields at macro-expansion time.
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-02 00:02:12 +01:00
Sharlatan Hellseher 594f5ef351
gnu: Add alfa.
* gnu/packages/astronomy.scm (alfa): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-02 00:02:12 +01:00
Philip McGrath 5a7e496c5d
etc: teams: Add chez.scm to Racket team's scope.
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-02 00:02:12 +01:00
Ludovic Courtès 8e416c979d
gnu: guile-gcrypt: Update to 0.4.0.
* gnu/packages/gnupg.scm (guile-gcrypt): Update to 0.4.0.
2022-12-02 00:02:12 +01:00
Stefan c7793b82ef
gnu: raspberry-pi: Add a bootloader-chain for the Raspberry Pi and os examples.
* 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-01 14:31:29 -05:00
Stefan 0ea8328052
gnu: raspberry-pi: New make-raspi-bcm28-dtbs procedure.
* gnu/packages/raspberry-pi.scm (make-raspi-bcm28-dtbs): New procedure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01 14:31:29 -05:00
Stefan 4e2e4b222f
gnu: raspberry-pi: Add helpers for config.txt file generation.
* 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-01 14:31:29 -05:00
Stefan 13f9110e5f
gnu: raspberry-pi: Add defconfig objects to build customized Linux kernels.
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-01 14:31:28 -05:00
Stefan 16ecfda418
gnu: linux: Add a 'customize-linux' procedure.
* 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-01 14:31:28 -05:00
Stefan c2c1dfdf57
gnu: bootloader: Add U-Boot packages for Raspberry Pi models.
* 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-01 14:31:28 -05:00
Stefan a9acbf919a
gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader.
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-01 14:31:28 -05:00
Ricardo Wurmus 1a63aea943
linux-container: Do not replace nscd-service-type.
* gnu/system/linux-container.scm (containerized-operating-system): Respect
customizations to the nscd-service-type and only modify the caches field.
2022-12-01 19:52:13 +01:00
Maxim Cournoyer df25165530
gnu: u-boot-pinebook-pro-rk3399: Fix indentation.
* gnu/packages/bootloaders.scm (u-boot-pinebook-pro-rk3399): Fix indentation.
2022-12-01 11:57:10 -05:00
Maxim Cournoyer 24b0fe3463
gnu: u-boot-rockpro64-rk3399: Fix indentation.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399): Fix indentation.
2022-12-01 11:57:10 -05:00