1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-18 07:05:53 +02:00
Commit Graph

102118 Commits

Author SHA1 Message Date
Ludovic Courtès b814bdf441 Update NEWS. 2022-09-24 18:08:05 +02:00
kiasoc5 3165c1dd5c gnu: avizo: Update to 1.2.1.
* gnu/packages/wm.scm (avizo): Update to 1.2.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:06 +02:00
zimoun 7ab5c85f4c gnu: emacs-lua-mode: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-buttercup-1.25): New variable.
(emacs-lua-mode): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Maxime Devos 736bda211b gnu: go-ipfs: Unbundle many dependencies.
Tested with "./pre-inst-env guix build go-ipfs" and "make check-system
TESTS=ipfs".

go-github-com-blang-semver is currently out-of-date, so it cannot be unbundled
yet (at least, the build process seems to complain about the version).

* gnu/packages/ipfs.scm (go-ipfs)[source]: Add snippet removing many
bundled dependencies.
[inputs]: Add many inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Maxime Devos 9e4d8c7518 build-system/go: Respect #:imported-modules when cross-compiling.
Previously, #:imported-modules was ignored, causing cross-compilation
failures.  This bug seems seems to have been introduced in
e37dcf63dc.

After this commit, there remain other cross-compilation problems,
e.g. <https://issues.guix.gnu.org/51981> fixes one of them.

* guix/build-system/go.scm (go-cross-build)[builder]: Wrap in
with-imported-modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
M 1cf39c41cf gnu: Add rot8.
* gnu/packages/rust-apps.scm (rot8): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
M 870422a15e gnu: Add batsignal.
* gnu/packages/monitoring.scm (batsignal): New variable.

Co-authored-by: ( <paren@disroot.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Wiktor Żelazny 9b4d2147c7 gnu: Add texlive-latex-sidecap.
* gnu/packages/tex.scm (texlive-latex-sidecap): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Wiktor Żelazny beec17a724 gnu: Add texlive-latex-frankenstein.
* gnu/packages/tex.scm (texlive-latex-frankenstein): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Ludovic Courtès 00d5bb5d7f linux-container: Mark socket pair as SOCK_CLOEXEC.
* gnu/build/linux-container.scm (run-container): Pass SOCK_CLOEXEC to
'socketpair'.
2022-09-24 17:59:04 +02:00
Ludovic Courtès 08023bcab3 substitute: Test behavior with unroutable substitute server addresses.
* tests/substitute.scm (%unroutable-substitute-url): New variable.
("query narinfo signed with authorized key, unroutable URL first")
("substitute, authorized key, first substitute URL is unroutable"): New
tests.
2022-09-24 17:59:04 +02:00
Ludovic Courtès 95e06bc3e1 narinfo: Fix misleading docstring.
The misleading docstring had been here from the start, in commit
cdea30e061.

* guix/narinfo.scm (valid-narinfo?): Fix docstring.
2022-09-24 17:59:04 +02:00
Mathieu Othacehe 20fbc0bb08 gnu: openvswitch: Disable tests.
On berlin the following test fails:

;; 25. bfd.at:268: 25. bfd - bfd decay (bfd.at:268): FAILED (bfd.at:397)

while this one fails on hydra-114:

1040. dpif-netdev - meters (dpif-netdev.at:269): FAILED (dpif-netdev.at:376)

Disable the tests for now.

* gnu/packages/networking.scm (openvswitch)[arguments]: Disable them.
2022-09-24 15:11:35 +02:00
Alex Griffin c8112f3bd9 system: images: Add wsl2 module.
* gnu/system/images/wsl2.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-24 14:49:09 +02:00
Alex Griffin 233cf9f036 system: image: Add wsl2 support.
* gnu/image.scm (<image>)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image->root-file-system): Add wsl2 image support.
(system-image): Ditto.
2022-09-24 14:49:09 +02:00
Alex Griffin 8757c3f293 system: image: Add tarball support.
* gnu/image.scm (<image>)[fields]: Add tarball to the supported formats.
* gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
(system-tarball-image): New procedure.
(image->root-file-system): Add tarball image support.
(system-image): Ditto.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-24 14:49:09 +02:00
Mathieu Othacehe ebe9d660a5 gnu: Add compression module.
Move the compression record to a dedicated module so that it can be used
outside (guix scripts pack) module.

* guix/scripts/pack.scm (<compressor>, %compressors, lookup-compressor): Move
it to ...
* gnu/compression.scm: ... this new file.
* gnu/ci.scm: Adapt it.
* local.mk (GNU_SYSTEM_MODULES): Add it.
2022-09-24 14:49:09 +02:00
Mathieu Othacehe a13f5ead02 doc: Add a "System Images" chapter.
* doc/guix.texi ("System Images"): New chapter.
2022-09-24 14:49:09 +02:00
Mathieu Othacehe 61bf25bb4e doc: Add a "Platforms" chapter.
* doc/guix.texi ("Platforms"): New chapter.
("Porting"): Link it.
2022-09-24 14:49:08 +02:00
Mathieu Othacehe 08a7eb187f platforms: x86: Rename Hurd hurd to i586-gnu.
* guix/platforms/x86.scm (hurd): Rename it to ...
(i586-gnu): ... this variable.
* gnu/system/images/hurd.scm (hurd-disk-image, hurd-barebones-disk-image,
hurd-barebones-qcow2-image): Adapt those.
2022-09-24 14:49:07 +02:00
Mathieu Othacehe c009c286a2 image: Make the operating-system field mandatory.
Make the operating-system field mandatory as creating an image without it
makes no sense. Introduce a new macro, image-without-os for the specific cases
where the image is only created to be inherited from afterwards.

* gnu/image.scm (<image>)[operating-system]: Make it mandatory.
* gnu/system/image.scm (image-without-os): New macro.
(efi-disk-image, efi32-disk-image, iso9660-image, docker-image,
raw-with-offset-disk-image): Use it.
* gnu/system/images/hurd.scm (hurd-disk-image): Ditto.
2022-09-24 14:20:36 +02:00
Mathieu Othacehe f38e91a84c installer: tests: Fix typo.
* gnu/installer/tests.scm (edit-configuration-file): Fix it.
2022-09-24 14:15:47 +02:00
Lars-Dominik Braun dc7191302e Revert "gnu: samba: Add avahi to inputs."
This reverts commit 4cbc162296.

samba/fixed inherits from samba, which causes ~9000 rebuilds.
2022-09-24 13:15:42 +02:00
Mathieu Othacehe fe4663ae24 installer: Fix configuration edition during testing.
When the configuration is edited, it looks like there are some leftover
fragments from the input configuration:

Example content of config.scm after edition:

  #:imported-modules
  '((gnu services herd)
    (guix build utils)
    (guix combinators)))

unted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.

...

This is strange because call-with-output-file uses the O_TRUNC flag which
resets the file size to zero. Remove the configuration file before writing it
as a work-around.

* gnu/installer/tests.scm (edit-configuration-file): Remove the configuration
file before re-writing it.
2022-09-24 12:48:16 +02:00
Simon Streit e1ce100915 services: Add wsdd service.
* doc/guix.texi: Add documentation for wsdd service.
* gnu/services/samba.scm (<wsdd-configuration>): New record.
(wsdd-service-type): New variable.
(wsdd-shepherd-services): New procedure.
* gnu/tests/samba.scm (%wsdd-os): Add variable.
(run-wsdd-test): New procedure.
(%test-wsdd): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00
Simon Streit 14359befa9 gnu: Add wsdd.
* gnu/packages/samba.scm (wsdd): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00
Simon Streit d68721c55a services: Add samba service.
* gnu/services/samba.scm: New file.
* gnu/tests/samba.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* po/guix/POTFILES.in Add 'gnu/services/samba.scm'.
* doc/guix.texi: Document it.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:38:57 +02:00
Simon Streit 4cbc162296 gnu: samba: Add avahi to inputs.
* gnu/packages/samba.scm (samba) <inputs>: Add avahi.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:38:57 +02:00
Liliana Marie Prikler a5c876cdb2 gnu: emacs-jsonrpc: Correct URL.
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)[source]<url>: Drop trailing slash.
2022-09-24 06:53:37 +02:00
Fredrik Salomonsson ff643b077c gnu: emacs-jsonrpc: Correct hash.
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)[source]: Correct hash.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 06:50:04 +02:00
Maxim Cournoyer 35e8615d38 Revert "tests: telephony: Add extra packages to %jami-os for debugging."
This reverts commit 829c19142e, as it broke
'guix pull'.
2022-09-24 00:22:19 -04:00
Maxim Cournoyer fd109c5c09 tests: jami-provisioning: Fix test derivation name.
* gnu/tests/telephony.scm (run-jami-test): Fix test derivation name.
2022-09-23 23:56:16 -04:00
Maxim Cournoyer effdc6c83e services: jami-service-type: Streamline stop slot.
* gnu/services/telephony.scm (jami-shepherd-services)
[stop]: Use make-kill-destructor with SIGKILL.  Add comment.
2022-09-23 23:56:16 -04:00
Maxim Cournoyer 829c19142e tests: telephony: Add extra packages to %jami-os for debugging.
* gnu/tests/telephony.scm (make-jami-os): Add libjami:debug, gdb, guile,
guile-ac-d-bus, guile-readline, guile-fibers, screen and strace.
(run-jami-test)<jami service actions, ban/unban contacts>: Add (ice-9 match),
for lambda-match (worked without it but needed when manually testing).
2022-09-23 23:56:15 -04:00
Maxim Cournoyer 21afbf54cd build: jami-service: account->username always return a fingerprint.
This change is motivated by the fact that Account.registeredName is a volatile
account data, not exported along the account and retrieved from the name
server.  Have it always return Account.username instead, so that the result is
reproducible independent of whether networking is available or not.

* gnu/build/jami-service.scm (account->username): Always return the account
fingerprint.  Adjust doc.
(id->username): Likewise.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer c50231cfcb gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.
* gnu/packages/jami.scm (ffmpeg-jami): Update to 5.0.1.
[tests?]: Delete argument.
[phases]{disable-problematic-tests}: New phase.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer c8ab64b2df gnu: pjproject-jami: Update to 2.12-0.5e478bb.
* gnu/packages/jami.scm (pjproject-jami): Update to 2.12-0.5e478bb.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer 84369105d4 gnu: jami: Update to 20220825.0828.c10f01f.
* gnu/packages/jami.scm (jami): Update to 20220825.0828.c10f01f.
(%jami-version): Set to latest release.
(%jami-sources): Remove jami-fix-esc-bug.patch; add
jami-fix-crash-on-block-contact.patch.
* gnu/packages/patches/jami-fix-esc-bug.patch: Delete file.
* gnu/packages/patches/jami-fix-crash-on-block-contact.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer 503cfd5421 gnu: pjproject: Update to 2.12.1.
* gnu/packages/telephony.scm (pjproject): Update to 2.12.1.
[source]: Delete patches field.
[arguments]: Use gexps.
* gnu/packages/patches/pjproject-install-libpjsua2.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2022-09-23 23:56:14 -04:00
Nicolas Graves dab3800691 gnu: Add emacs-org-babel-eval-in-repl.
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:49:55 +02:00
Nicolas Graves 7b1d02247b gnu: Add emacs-ob-elm.
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:49:54 +02:00
Nicolas Graves 0b120ad5f8 gnu: Add emacs-eval-in-repl packages.
* gnu/packages/emacs-xyz.scm (make-emacs-eval-in-repl)
(emacs-eval-in-repl-cider, emacs-eval-in-repl-elm, emacs-eval-in-repl-erlang)
(emacs-eval-in-repl-geiser, emacs-eval-in-repl-hy, emacs-eval-in-repl-ielm)
(emacs-eval-in-repl-iex, emacs-eval-in-repl-javascript)
(emacs-eval-in-repl-lua, emacs-eval-in-repl-ocaml, emacs-eval-in-repl-prolog)
(emacs-eval-in-repl-python, emacs-eval-in-repl-racket)
(emacs-eval-in-repl-shell, emacs-eval-in-repl-slime, emacs-eval-in-repl-sly)
(emacs-eval-in-repl-sml): New variables.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:46:34 +02:00
Nicolas Graves 7a4465473e gnu: Add emacs-alchemist.
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:46:34 +02:00
Nicolas Graves 10420af4b1 gnu: Add emacs-js-comint.
* gnu/packages/emacs-xyz.scm (emacs-js-comint): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:46:34 +02:00
Nicolas Graves 63ba25cf67 gnu: Add emacs-eval-in-repl.
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:16:55 +02:00
Fredrik Salomonsson 08d5152332 gnu: emacs-jsonrpc: Use upstream source.
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)[version]: Use git-version.
[source]: Use Emacs' git repository.
[arguments]: Replace ‘unpack’ phase to only unpack jsonrpc.el.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-23 18:18:29 +02:00
Maxim Cournoyer a57c4eff6b Update NEWS. 2022-09-23 00:50:17 -04:00
Maxim Cournoyer 46fee48d5c services: configuration: Fix typo.
* gnu/services/configuration.scm (interpose): Fix typo in doc.
(text-config?): Add a newline following definition.
2022-09-23 00:50:12 -04:00
Ricardo Wurmus cbe8391d7c gnu: Add mudskipper.
* gnu/packages/bioinformatics.scm (mudskipper): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus 2eb7061aa2 gnu: Add rust-libradicl-0.4.
* gnu/packages/crates-io.scm (rust-libradicl-0.4): New variable.
2022-09-23 00:21:40 +02:00