Commit graph

107294 commits

Author SHA1 Message Date
Attila Lendvai
363b20b685
records: match-record supports specifying a different variable name.
An example:

(match-record obj <my-type>
  (field1 (field2 custom-var-name) field3)
  ...)

* guix/records.scm (match-record-inner): Add support for the new syntax.
* tests/records.scm ("match-record, simple"): Add a simple test case for the
new syntax.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:42 +01:00
Simon South
361aad5ce3
gnu: ola: Use gexps.
* gnu/packages/lighting.scm (ola)[arguments]: Use gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:42 +01:00
Simon South
5f8a51993e
gnu: ola: Remove input labels.
* gnu/packages/lighting.scm (ola)[inputs]: Remove input labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:42 +01:00
Simon South
45c5710267
gnu: ola: Update to 0.10.8.
* gnu/packages/lighting.scm (ola): Update to 0.10.8.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:41 +01:00
Simon South
94cab6a703
gnu: abc: Update to 0.0-2.70cb339.
* gnu/packages/fpga.scm (abc): Update to 0.0-2.70cb339.
[source]: Fetch from current source-code repository.
[native-inputs]: Remove as obsolete.
[arguments]<#:tests?>: Update comment.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:41 +01:00
Simon South
79240b4b4e
gnu: abc: Use gexps.
* gnu/packages/fpga.scm (abc)[arguments]: Use gexps; simplify "install" phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:41 +01:00
Simon South
c10238966e
gnu: abc: Convey license information.
* gnu/packages/fpga.scm (abc)[arguments]: Add #:license-file-regexp so license
information is included in package output.
[license]: Specify URI of actual package license.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:41 +01:00
Remco van 't Veer
e4f39ace86
gnu: ruby: Add ruby-3.2.
* gnu/packages/ruby.scm (ruby-3.2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:41 +01:00
Simon Josefsson
a4461df9b2
gnu: libksba: Update replacement to 1.6.3 [fixes CVE-2022-47629].
* gnu/packages/gnupg.scm (libksba/fixed): Update to 1.6.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-27 23:53:41 +01:00
Ricardo Wurmus
a70a1d8edf
gnu: fossil: Remove obsolete snippet.
* gnu/packages/version-control.scm (fossil)[source]: Remove obsolete
substitution.
2022-12-27 22:38:03 +01:00
kiasoc5
5e27c9a0d2
gnu: fossil: Update to 2.20.
* gnu/packages/version-control.scm (fossil): Update to 2.20.
2022-12-27 22:38:03 +01:00
Maxim Cournoyer
fd0e69984f
gnu: jami: Update to 20221220.0956.79e1207.
* gnu/packages/jami.scm (%jami-version): Update to 20221220.0956.79e1207.
(%jami-sources): Remove all but the 'jami-disable-integration-tests.patch' and
'jami-libjami-headers-search.patch' patches.
* gnu/packages/patches/jami-fix-qml-imports.patch: Delete file.
* gnu/packages/patches/jami-fix-unit-tests-build.patch: Likewise.
* gnu/packages/patches/jami-no-webengine.patch: Likewise.
* gnu/packages/patches/jami-sip-contacts.patch: Likewise.
* gnu/packages/patches/jami-sip-unregister.patch: Likewise.
* gnu/packages/patches/jami-sipaccount-segfault.patch: Likewise.
* gnu/packages/patches/jami-xcb-link.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register them.
2022-12-27 13:27:25 -05:00
Leo Famulari
aeb42167fd
gnu: Borg: Update to 1.2.3.
* gnu/packages/backup.scm (borg): Update to 1.2.3.
2022-12-27 12:55:34 -05:00
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