Commit graph

107181 commits

Author SHA1 Message Date
Leo Famulari 86e4c50e25
gnu: linux-libre-documentation: Organize.
This package was miscategorized as a "Generic kernel package".

* gnu/packages/linux.scm (linux-libre-documentation): Move variable into
its own section.
2022-12-27 12:54:36 -05:00
Andrew Tropin 8f93a1e01a
snippets: Remove unwanted git-commit-mode invocation.
We only need to check if git-commit-mode is t, not enable it in all text-mode
buffers.

* etc/snippets/tempel/text-mode: Remove unwanted git-commit-mode invocation.
2022-12-27 12:38:05 +04:00
Maxim Cournoyer 60d4652c5d
image: Enhance compatibility of the root ext4 partition.
Generating a raw-with-offset image would previously not be bootable with
U-Boot.

* gnu/system/image.scm (root-partition) [file-system-options]: New field.
2022-12-26 22:47:02 -05:00
Hartmut Goebel 7c476873e0
doc: Describe how to update to a specific version.
* doc/guix.texi (Invoking guix refresh): Describe how to update to a specific
version.
2022-12-26 17:38:07 +01:00
Hartmut Goebel f7eaed6858
upstream: Allow updating to a specific version.
* guix/upstream.scm(package-latest-release): Add keyword-argument 'version'
  and pass it on to the updater's 'import' function.
  (package-update): add keyword-argument 'version' and pass it on to
  package-latest-release.  Differentiate the error message issued when
  no package was found, depending on whether version was given or not.
2022-12-26 17:38:07 +01:00
Hartmut Goebel 8aeccc6240
refresh: Allow updating to a specific version.
* guix/scripts/refresh.scm (options->packages)[args-packages]: Handle version
  specification in package name arguments.
  (update-package): Add #:version argument and pass it on to called functions.
  (guix-refresh): When updating, pass the specified version (if any) to
  update-package.
  [package-list-without-versions, package-list-with-versions]: New functions.
2022-12-26 17:38:07 +01:00
Hartmut Goebel b82eb8d67a
import: pypi: Allow updating to a specific version.
* guix/import/pypi.scm (latest-release): Rename to 'import-release',
  add #:version argument and pass it on to called functions.
2022-12-26 17:38:06 +01:00
Hartmut Goebel 3986caacae
import: launchpad: Allow updating to a specific version.
* guix/import/launchpad.scm (latest-release): Rename to 'import-release',
  add #:version argument.
  If version is given, return an upstream-source for this version.
2022-12-26 17:38:06 +01:00
Hartmut Goebel 424a871f1f
import: kde: Allow updating to a specific version.
* guix/import/kde.scm (latest-kde-release): Rename to 'import-kde-release',
  add #:version argument.  Rework the code to not sort the relevant files,
  but just find the requested or latest version.
  [find-latest-archive-version]: New function.
2022-12-26 17:38:06 +01:00
Hartmut Goebel e689f97033
import: hexpm: Allow updating to a specific version.
* guix/import/hexpm.scm (latest-release): Rename to 'import-release',
  add #:version argument.
  If version is given, return an upstream-source for this version.
2022-12-26 17:38:05 +01:00
Hartmut Goebel c7faeae2b1
import: gnome: Allow updating to a specific version.
* guix/import/gnome.scm (latest-gnome-release): Rename
  to 'import-gnome-release', add #:version argument. If version is
  given, try to find the respective version
  [find-latest-release]: New function, based on former code.
  [find-version-release]: New function.
2022-12-26 17:38:05 +01:00
Hartmut Goebel be3f48bff0
import: github: Allow updating to a specific version.
* guix/import/github.scm (latest-released-version): Add #:version argument.
  If version is given, try to find the respective release.
  (latest-releease) Rename to 'import-release', add #:version argument
  and pass it on to 'latest-released-version'.
2022-12-26 17:38:05 +01:00
Hartmut Goebel 6da60453e2
import: git: Allow updating to a specific version.
* guix/import/git.scm
  (latest-tag): Add #:version argument. If version is given, try to
  find the respective version tag.
  (latest-git-tag-version): Add #:version argument and pass it on to
  called functions.
  (latest-releease) Rename to 'import-release', add #:version argument
  and pass it on to called functions.
2022-12-26 17:38:05 +01:00
Hartmut Goebel 1e39f475a2
import: gem: Allow updating to a specific version.
* guix/import/gem.scm (latest-release): Rename to 'import-release',
  add #:version argument.
  If version is given, return an upstream-source for this version.
2022-12-26 17:38:03 +01:00
Hartmut Goebel af44a8550c
import: egg: Allow updating to a specific version.
* guix/import/egg.scm (latest-release): Rename to 'import-release',
  add #:version argument.
  If version is given, return an upstream-source for this version.
2022-12-26 17:38:03 +01:00
Hartmut Goebel 7c4aab1f7d
import: crate: Allow updating to a specific version.
* guix/import/crate.scm (latest-release): Rename to 'import-release',
  add #:version argument.
  If version is given, return an upstream-source for this version.
2022-12-26 17:38:03 +01:00
Hartmut Goebel 53af560543
gnu-maintenance: Allow updating to a specific version.
* guix/gnu-maintenance.scm
  (latest-ftp-release): Rename to … (import-ftp-release) … this,
  add #:version argument.
  If version is given, try to find the respective version.
  (latest-html-release): Rename to … (import-html-release) … this,
  add #:version argument.
  If version is given, try to find the respective version.
  (latest-gnu-release): Rename to … (import-gnu-release) … this,
  add #:version argument. Refactor to first select archives for
  respective package, the find the requested or latest version, then create
  the upstream-source.
  (latest-release): Rename to … (import-release) … this,
  add #:version argument, pass on to … (import-ftp-release) … this.
  (import-release*): Rename to … (import-release*) … this,
  add #:version argument, pass on to … (latest-release) … this.
  (latest-savannah-release): Rename to … (import-savannah-release) … this,
  add keword-argument version, pass on to … (import-html-release) … this.
  (latest-xorg-release): Rename to … (import-xorg-release) … this,
  add keword-argument version, pass on to … (import-ftp-release) … this.
  (latest-kernel.org-release): Rename to … (import-kernel.org-release) … this,
  add #:version argument, pass on to … (import-html-release) … this.
  (latest-html-updatable-release): Rename to … (import-html-updatable-release)
  … this, add #:version argument, pass on to … (import-html-release) … this.
* guix/import/gnu.scm(gnu->guix-package): Adjust function call.
2022-12-26 17:38:03 +01:00
Hartmut Goebel abc72eeac0
import: sourceforge: Issue error-message if version is given.
Due to the complicated directory structure at sourceforce,
enabling the  sourceforge importer to update to a specific version
is very complicated to implement. Since only 2.0% of the
packages in guix are covered by this updater I dedided to not
implement this.

* guix/gnu-maintenance.scm (latest-sourceforge-release): Add #:version
  argument.  Issue error-message if version is given.
2022-12-26 17:15:07 +01:00
Hartmut Goebel 21703b5120
import: Issue error-message if version is given.
These importer don't support importing a specific version, thus the updater
does neither.  Issue an error message in case version is given.

* guix/import/cpan.scm (latest-release),
  guix/import/elpa.scm (latest-release),
  guix/import/hackage.scm (latest-release),
  guix/import/minetest.scm (latest-minetest-release),
  guix/import/opam.scm (latest-release): Add #:version argument,
  issue error if version is given.
* guix/import/cran.scm (latest-cran-release): Same.
  (latest-bioconductor-release) Same. <version>: rename to <latest-version>.
* guix/import/stackage.scm (latest-lts-release): For each generated updater,
  add #:version argument and issue error if version is given.
2022-12-26 17:15:07 +01:00
Hartmut Goebel 9500c11c8b
import: cpan: Remove unused exports.
* guix/import/cpan.scm (#:export): Remove unused exports.
2022-12-26 17:15:06 +01:00
Hartmut Goebel a274a6a1ac
upstream-updater: Rename record field.
The next commits will make the functions, which are currently importing the
latest version of a package, change into importing the latest or a given
version of the package (for those updaters supporting specifying a version).
Thus the name ‘latest‘ is no longer appropriate.

* guix/upstream.scm (upstream-updater) Rename field [latest] to
  [import]. (lookup-updater, package-latest-release) Adjust fieldname
  accordingly.
* guix/gnu-maintenance.scm (%gnu-updater, %gnu-ftp-updater,
  %savannah-updater, %sourceforge-updater, %xorg-updater,
  %kernel.org-updater, %generic-html-updater),
  guix/import/cpan.scm (%cpan-updater),
  guix/import/cran.scm (%cran-updater, %bioconductor-updater),
  guix/import/crate.scm (%crate-updater),
  guix/import/egg.scm (%egg-updater),
  guix/import/elpa.scm (%elpa-updater),
  guix/import/gem.scm (%gem-updater),
  guix/import/git.scm (%generic-git-updater),
  guix/import/github.scm (%github-updater),
  guix/import/gnome.scm (%gnome-updater),
  guix/import/hackage.scm (%hackage-updater),
  guix/import/hexpm.scm (%hexpm-updater),
  guix/import/kde.scm (%kde-updater),
  guix/import/launchpad.scm (%launchpad-updater),
  guix/import/minetest.scm (%minetest-updater),
  guix/import/opam.scm (%opam-updater),
  guix/import/pypi.scm (%pypi-updater),
  guix/import/stackage.scm (%stackage-updater),
  tests/import-github.scm (found-sexp)
  tests/transformations.scm ("options->transformation, with-latest"):
  Adjust fieldname accordingly.
2022-12-26 17:15:06 +01:00
dan c50cd1bbec
images: wsl2: Create XDG_RUNTIME_DIR on first login.
* gnu/system/images/wsl2.scm (wsl-boot-program): Create XDG_RUNTIME_DIR on
first login and set it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-26 09:34:26 +01:00
Ivan Vilata i Balaguer 9369c1ccf4
gnu: services: Fix bluetooth-service docstring.
* gnu/services/desktop.scm (bluetooth-service): Sync docstring with info,
remove mention to group not really needed to access D-Bus service.
* doc/guix.texi (Desktop Services): Also remove mention to group here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:48:05 +01:00
Tobias Kortkamp bc157ca62b
gnu: Add wvkbd.
* gnu/packages/xdisorg.scm (wvkbd): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:46:31 +01:00
宋文武 5f6bd3f92d
teams: Add 宋文武.
* etc/team.scm.in: Add 宋文武.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:40:59 +01:00
宋文武 58d129c460
teams: Add localization.
* etc/teams.scm.in (localization): New team.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:40:16 +01:00
Yarl Baudig 800b3234fb
shell: Make --help show --system and --list-systems.
These options are callable and documented in the manual but not
shown by --help.

* guix/scripts/shell.scm: Make --help show --system and
--list-systems.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:30:50 +01:00
Ludovic Courtès badad2653f
gnu: pipe-viewer: Update to 0.4.4.
* gnu/packages/video.scm (pipe-viewer): Update to 0.4.4.
2022-12-26 00:06:26 +01:00
Nicolas Goaziou 2b101bf9e7
gnu: emacs-circadian: Update to 0.3.3.
* gnu/packages/emacs-xyz.scm (emacs-circadian): Update to 0.3.3.
[arguments]<#:test-command>: Update test procedure.
[native-inputs]: Remove EMACS-ERT-RUNNER.
2022-12-25 22:57:32 +01:00
Nicolas Goaziou 3fe33baed6
gnu: emacs-ement: Update to 0.5.2.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.5.2.
2022-12-25 22:57:32 +01:00
jgart c408b9042f
gnu: Add emacs-snow.
* gnu/packages/emacs-xyz.scm (emacs-snow): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-12-25 22:57:31 +01:00
Efraim Flashner 10a661c8c8
gnu: syslinux: Honor #:tests? flag.
* gnu/packages/bootloaders.scm (syslinux)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.
2022-12-25 22:07:32 +02:00
Michael Rohleder 91bcc26b1c
gnu: hstr: Update to 2.6.
* gnu/packages/shellutils.scm (hstr): Update to 2.6.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 17:20:58 +01:00
Michael Rohleder 333f359f7a
gnu: ristretto: Update to 0.12.4.
* gnu/packages/xfce.scm (ristretto): Update to 0.12.4.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 17:18:20 +01:00
Michael Rohleder d93ab41288
gnu: xfce4-notifyd: Update to 0.6.5.
* gnu/packages/xfce.scm (xfce4-notifyd): Update to 0.6.5.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 17:17:55 +01:00
Michael Rohleder cb823181d3
gnu: xfce4-taskmanager: Update to 1.5.5.
* gnu/packages/xfce.scm (xfce4-taskmanager): Update to 1.5.5.
[inputs]: Add libxfce4ui.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 17:17:24 +01:00
Michael Rohleder 40cdf88892
gnu: vcsh: Update to 2.0.5.
* gnu/packages/version-control.scm (vcsh): Update to 2.0.5.
[native-inputs]: Remove which. Add autoconf, automake, ronn-ng, perl,
perl-test-harness, perl-shell-command, perl-test-most, pkg-config.
[inputs]: Remove perl, perl-test-harness, perl-shell-command,
perl-test-most.
[arguments]: Remove phase install-bash-completion. Add phase fix-version-gen.
Remove deletion of configure and build phases.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 17:17:10 +01:00
Artyom V. Poptsov 34feda1def
gnu: guile-png: Update to 0.3.0.
* gnu/packages/guile-xyz.scm (guile-png): Update to 0.3.0.
  [arguments]: Patch tests to silence Guile-SMC logs.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 17:01:23 +01:00
Timo Wilken 2967abf1a2
services: wireguard: Allow specifying pre-shared keys.
* gnu/services/vpn.scm (<wireguard-peer>)[preshared-key]: New field.
* doc/guix.texi (VPN Services): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-12-25 16:56:48 +01:00
Marius Bakke f81c05d89b
gnu: QEMU: Unbundle OpenSBI.
* gnu/packages/virtualization.scm (qemu)[source](snippet): Delete precompiled
riscv64 firmware, and its source code.
[arguments]: Provide OpenSBI.
[inputs]: Add OPENSBI-QEMU.
2022-12-25 14:15:59 +01:00
Marius Bakke c8e836991d
gnu: Add opensbi-qemu.
* gnu/packages/firmware.scm (opensbi-qemu): New variable.
2022-12-25 14:15:59 +01:00
Marius Bakke 699aef4bc6
gnu: opensbi: Use the same source file name regardless of variant.
* gnu/packages/firmware.scm (make-opensbi-package)[source](file-name): Don't
use the NAME variable which changes depending on the variant.
2022-12-25 14:15:59 +01:00
Marius Bakke 71b8707100
gnu: QEMU: Unbundle OpenBIOS.
* gnu/packages/virtualization.scm (qemu)[source](snippet): Remove precompiled
PPC OpenBIOS firmware, and its source code.
[arguments]: Replace with the one from Guix.
[inputs]: Add OPENBIOS-QEMU-PPC.
2022-12-25 14:15:59 +01:00
Marius Bakke 53a1fce25a
gnu: Add openbios-qemu-ppc.
* gnu/packages/firmware.scm (make-openbios-package): New procedure.
(openbios-qemu-ppc): New variable.
* gnu/packages/patches/openbios-gcc-warnings.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-12-25 14:15:59 +01:00
Marius Bakke c97de4a989
services: ganeti: Label mcron jobs.
* gnu/services/ganeti.scm (ganeti-watcher-jobs): Label job as "ganeti-watcher".
(ganeti-cleaner-jobs): Labels jobs as "ganeti master cleaner" and "ganeti node
cleaner".
2022-12-25 14:15:59 +01:00
Artyom V. Poptsov 860e949896
gnu: freecad: Fix the package hash.
* gnu/packages/engineering.scm (freecad): Fix the package hash.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2022-12-25 13:08:31 +04:00
Ricardo Wurmus 36bc92a3ec
gnu: mumi: Update to 0.0.4-2.0a90eed.
* gnu/packages/mail.scm (mumi): Update to 0.0.4-2.0a90eed.
2022-12-25 00:26:02 +01:00
Ricardo Wurmus 8bf58c1b35
gnu: mumi: Update to 0.0.4-1.18acd2b.
* gnu/packages/mail.scm (mumi): Update to 0.0.4-1.18acd2b.
2022-12-24 16:33:21 +01:00
Guillaume Le Vaillant aae8371f72
gnu: qdmr: Update to 0.10.4.
* gnu/packages/radio.scm (qdmr): Update to 0.10.4.
2022-12-24 14:39:07 +01:00
Vinicius Monego 7e7659d34f
gnu: shotcut: Update to 22.12.21.
* gnu/packages/video.scm (shotcut): Update to 22.12.21.
2022-12-24 09:04:31 -03:00