Commit graph

93616 commits

Author SHA1 Message Date
Efraim Flashner 758d3c99a7
gnu: squashfs-tools: Fix cross-compiling.
* gnu/packages/compression.scm (squashfs-tools)[arguments]: Adjust
make-flags to refer to the 'out' output specifically.
2022-03-07 22:53:57 +02:00
Efraim Flashner b657f062bb
gnu: libcap: Fix cross-compiling.
* gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when
cross-compiling.
2022-03-07 22:53:57 +02:00
Efraim Flashner 67d6544b6d
gnu: mtd-utils: Fix cross-compiling.
* gnu/packages/linux.scm (mtd-utils)[arguments]: Only add configure-flag
to enable unit-tests when not cross compiling.
2022-03-07 22:53:56 +02:00
Efraim Flashner df03e7a601
gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: When
cross-compiling to riscv64-linux correctly set CMAKE_SYSTEM_PROCESSOR.
2022-03-07 22:53:56 +02:00
Efraim Flashner 58e3a917e3
gnu: libxrender: Fix cross compiling to riscv64-linux.
* gnu/packages/xorg.scm (libxrender)[arguments]: When cross compiling to
riscv64-linux replace config.sub and config.guess with newer versions.
[native-inputs]: When cross compiling to riscv64-linux add config.
2022-03-07 22:53:26 +02:00
Efraim Flashner f80034c1ff
gnu: libopenmpt: Update dependencies.
* gnu/packages/audio.scm (libopenmpt)[inputs]: Move libvorbis, mpg123,
zlib from here ...
[propagated-inputs]: ... to here. Add libogg.
2022-03-07 22:50:41 +02:00
Jonathan Brielmaier dc1e2ce72c
gnu: icedove: Update to 91.6.2.
* gnu/packages/gnuzilla.scm (icedove): Update to 91.6.2.
2022-03-07 18:27:39 +01:00
Jelle Licht 256703fa6c
gnu: emacs-json-mode: Remove input for old versions.
* gnu/packages/emacs-xyz.scm (emacs-json-mode)[inputs]:
Remove emacs-json-reformat.
2022-03-07 13:48:00 +01:00
Jelle Licht 2fc12474bf
gnu: Add openriichi.
* gnu/packages/games.scm (openriichi): New variable.
2022-03-07 13:47:54 +01:00
Jelle Licht 98f58f7ae5
gnu: Add siege.
* gnu/packages/web.scm (siege): New variable.
2022-03-07 13:47:46 +01:00
Mark H Weaver 6c3c4f7088
gnu: icecat: Update to 91.6.1-guix0-preview1 [security fixes].
Includes fixes for CVE-2022-26485 and CVE-2022-26486.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2022-03-07 00:39:53 -05:00
Leo Famulari 0dc7b53aaa
gnu: linux-libre 4.9: Update to 4.9.304.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.304.
(linux-libre-4.9-pristine-source): Update hash.
2022-03-06 18:37:58 -05:00
Leo Famulari 664f63edf8
gnu: linux-libre 4.14: Update to 4.14.269.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.269.
(linux-libre-4.14-pristine-source): Update hash.
2022-03-06 18:37:57 -05:00
Leo Famulari cc9f9565c1
gnu: linux-libre 4.19: Update to 4.19.232.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.232.
(linux-libre-4.19-pristine-source): Update hash.
2022-03-06 18:37:57 -05:00
Leo Famulari f5f52b54ba
gnu: linux-libre 5.4: Update to 5.4.182.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.182.
(linux-libre-5.4-pristine-source): Update hash.
2022-03-06 18:37:57 -05:00
Leo Famulari 84affd71f6
gnu: linux-libre 5.10: Update to 5.10.103.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.103.
(linux-libre-5.10-pristine-source): Update hash.
2022-03-06 18:37:57 -05:00
Leo Famulari 64bd6bab42
gnu: linux-libre: Update to 5.15.26.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.26.
(linux-libre-5.15-pristine-source): Update hash.
2022-03-06 18:37:57 -05:00
Leo Famulari fb881af86d
gnu: linux-libre 5.16: Update to 5.16.12.
* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.12.
(linux-libre-5.16-pristine-source): Update hash.
2022-03-06 18:37:44 -05:00
Ludovic Courtès 3ac1366648
gnu: guile-ssh: Support cross-compilation.
Cross-compilation broke with the update to 0.15.1 in
eabc6af9b8.  'guile-snarf' would invoke
cpp instead of TRIPLET-cpp, which would thus fail to find libssh
headers.

* gnu/packages/ssh.scm (guile-ssh)[arguments]: Add
'support-cross-compilation' phase.
2022-03-07 00:26:51 +01:00
Алексей Дроздов afb9f27523
gnu: Add python-xmldiff.
* gnu/packages/python-xyz.scm (python-xmldiff): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-03-06 22:49:48 +01:00
Sheng Yang d3fb8036b7
gnu: Add jtdx.
* gnu/packages/radio.scm (jtdx-hamlib): New variable.
  (jtdx): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-06 22:49:48 +01:00
Evgeny Pisemsky b16e17f34c
gnu: Add python-stltools.
* gnu/packages/python-xyz.scm (python-stltools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-06 22:49:47 +01:00
terramorpha 8b426eb155
gnu: gnome-shell-extension-gsconnect: Update to 48
* gnu/packages/gnome-xyz (gnome-shell-extension-gsconnect): Update to 48

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-06 22:49:47 +01:00
Chadwain Holness df1959277c
gnu: cgdb: Reference gdb.
* gnu/packages/debug.scm (cgdb)[inputs]: Add gdb, bash-minimal
[arguments]: Add phase to fix hardcoded gdb and sh paths
Add configure flags for cross-compilation

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-06 22:49:47 +01:00
Ludovic Courtès a8d3033da6
import: github: Reuse HTTP connection for the /tags URL fallback.
* guix/import/github.scm (fetch-releases-or-tags): Call
'open-connection-for-uri' and reuse the same connection for the two
'http-fetch' calls.
* .dir-locals.el (scheme-mode): Add 'call-with-port'.
2022-03-06 22:49:47 +01:00
Ludovic Courtès 8786c2e8d7
http-client: Correctly handle redirects when #:keep-alive? #t.
Previously PORT would be closed unconditionally, which broke redirects
when #:keep-alive? #t is given.

* guix/http-client.scm (http-fetch): Make 'port' a parameter of 'loop'.
Upon 3xx responses, do not close PORT is KEEP-ALIVE? is true, but consume
RESP's body.  Add second argument to 'loop'.
2022-03-06 22:49:47 +01:00
Ludovic Courtès 55e8e283ae
import: github: Gracefully handle rate limit exhaustion.
Previously, 'guix refresh' would literally crash when the rate limit was
reached due to the call to 'error'.  With this change, the updater
notices when the rate limit is reached and it turns itself into a no-op
until the rate limit has been reset.

When running "guix refresh" (with no arguments), the 'github' updater
gets used until the rate limit has been reached, after which "guix
refresh" automatically picks up the next valid updater, typically
'generic-git'.

* guix/import/github.scm (fetch-releases-or-tags): Use 'http-fetch'
directly instead of 'json-fetch' to let 'http-get-error?' exceptions
through.  Handle 403 errors with an 'X-RateLimit-Remaining' header.
(%rate-limit-reset-time): New variable.
(update-rate-limit-reset-time!, request-rate-limit-reached?): New
procedures.
(latest-released-version): Remove calls to 'error'.
2022-03-06 22:49:47 +01:00
Ludovic Courtès ecad9b2213
http-client: Add response headers to '&http-get-error'.
* guix/http-client.scm (&http-get-error)[headers]: New field.
(http-fetch): Initialize the 'headers' field.
2022-03-06 22:49:46 +01:00
Ludovic Courtès 049aefddb2
tests: Add (guix http-client) tests.
* tests/http-client.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* .dir-locals.el (scheme-mode): Add 'with-http-server'.
2022-03-06 22:49:46 +01:00
Nicolas Goaziou f75becbb36
gnu: emacs-go-mode: Activate tests.
* gnu/packages/emacs-xyz.scm (emacs-go-mode)[arguments]: Activate tests.
2022-03-06 22:44:51 +01:00
Nicolas Goaziou 48e72ee82b
gnu: emacs-go-mode: Update to 1.6.0.
* gnu/packages/emacs-xyz.scm (emacs-go-mode): Update to 1.6.0.
[arguments]: Remove unnecessary phase.
2022-03-06 22:14:15 +01:00
Efraim Flashner e7886fd674
gnu: Add ncdu2.
* gnu/packages/ncdu.scm (ncdu2): New variable.
2022-03-06 14:15:15 +02:00
Efraim Flashner 78ff328d25
gnu: Add go-github-com-xdg-go-scram.
* gnu/packages/golang.scm (go-github-com-xdg-go-scram): New variable.
2022-03-06 12:24:59 +02:00
Efraim Flashner fe8c2d907a
gnu: Add go-github-com-xdg-go-pbkdf2.
* gnu/packages/golang.scm (go-github-com-xdg-go-pbkdf2): New variable.
2022-03-06 12:24:54 +02:00
Efraim Flashner 092dba879a
gnu: Add go-github-com-docker-go-units.
* gnu/packages/golang.scm (go-github-com-docker-go-units): New variable.
2022-03-06 12:24:51 +02:00
Efraim Flashner 18b0527765
gnu: Add go-github-com-niemeyer-pretty.
* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable.
2022-03-06 12:24:43 +02:00
Efraim Flashner 7722184e6f
gnu: Add go-github-com-xdg-go-stringprep.
* gnu/packages/golang.scm (go-github-com-xdg-go-stringprep): New variable.
2022-03-06 12:21:42 +02:00
Nicolas Goaziou 0c6bf910ef
gnu: wob: Update to 0.13.
* gnu/packages/xdisorg.scm (wob): Update to 0.13.
2022-03-05 22:26:47 +01:00
Leo Famulari 9af61f2ad1
gnu: Syncthing: Update to 1.19.1.
* gnu/packages/syncthing.scm (syncthing): Update to 1.19.1.
2022-03-05 15:51:12 -05:00
Nicolas Goaziou b0d023cba5
gnu: scintilla: Update to 5.2.1.
* gnu/packages/text-editors.scm (scintilla): Update to 5.2.1.
2022-03-05 11:07:00 +01:00
Jai Vetrivelan 089997998f
gnu: cl-md5: Update to 2.0.5.
* gnu/packages/lisp-xyz.scm (sbcl-md5): Update to 2.0.5.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-03-05 10:32:32 +01:00
Liliana Marie Prikler 97065f9fe3
gnu: komikku: Update to 0.37.0.
* gnu/packages/gnome.scm (komikku): Update to 0.37.0.
2022-03-04 23:44:59 +01:00
Philip McGrath 992ed3b4ce
gnu: racket-vm-cs: Build with "--enable-scheme".
* gnu/packages/racket.scm (racket-vm-cs)[native-inputs]: Replace
'chez-scheme-for-racket-bootstrap-bootfiles' with 'chez-scheme-for-racket'.
[arguments]<#:phases>: Delete 'unpack-bootfiles'.
<#:configure-flags>: Add "--enable-scheme".

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:44:54 +01:00
Philip McGrath 9e9e4686f7
gnu: chez: Add 'chez-scheme-for-system'.
* gnu/packages/chez.scm (chez-scheme-for-system): New procedure.
(chez-srfi, chez-web, chez-sockets, chez-matchable, chez-irregex)
(chez-fmt, chez-mit, chez-scmutils): Use 'chez-scheme-for-system'.
* gnu/packages/loko.scm (loko-scheme): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-geiser-chez): Likewise

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:44:49 +01:00
Philip McGrath 61ca3d9a84
gnu: Add chez-scheme-for-racket.
The Racket variant of Chez Scheme can be used to support platforms that
are not yet supported by upstream Chez Scheme.

* gnu/packages/chez.scm (chez-scheme-for-racket): New variable.
(chez-scheme-for-racket-bootstrap-bootfiles)[version]
[supported-systems]: Derive from 'chez-scheme-for-racket'.
* gnu/packages/racket.scm (%racket-version): Update comment.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:44:41 +01:00
Philip McGrath b639b36de2
gnu: chez-mit: Support chez-scheme-for-racket.
Racket's variant of Chez Scheme defines 'string->uninterned-symbol',
which conflicts with the definition from '(chez mit)'. See discussion at
<https://github.com/racket/racket/issues/4151>.

* gnu/packages/chez.scm (chez-mit)[origin]<snippet>: Add workaround for
chez-scheme-for-racket.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:44:33 +01:00
Philip McGrath f79049caae
gnu: chez-scheme: Explicitly package bootstrap bootfiles.
This makes the structure of the upstream Chez Scheme package the same as
for the Racket variant, it sets things up for (one day, hopefully)
actually being able to bootstrap the upstream Chez Scheme bootfiles, and
it may be useful for cross-compilation and adding support for
architectures without pre-built bootfiles from upstream.

* gnu/packages/chez.scm (chez-scheme-bootstrap-bootfiles): New
variable.
(chez-scheme)[native-inputs]: Add it.
[arguments]<#:phases>: Add 'unpack-bootfiles'.
(chez-scheme-for-racket-bootstrap-bootfiles): Inherit from
'chez-scheme-bootstrap-bootfiles'.
[arguments]: Adapt accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:44:21 +01:00
Philip McGrath 6bca38f282
gnu: Add chez-nanopass.
* gnu/packages/chez.scm (nanopass): Rename to ...
(chez-nanopass-bootstrap): ... this new variable, and promote it from an
origin to a package.
(chez-nanopass): New variable.
(unpack-nanopass+stex): New variable using 'chez-nanopass-bootstrap'.
(chez-scheme-for-racket-bootstrap-bootfiles)
(chez-scheme)[native-inputs]: Add 'chez-nanopass-bootstrap'.
[arguments]<#:phases>: Adapt 'unpack-nanopass+stex' phase
to use the new variable.
* gnu/packages/racket.scm (racket-vm-cs): Likewise.
(make-unpack-nanopass+stex): Remove it.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:44:11 +01:00
Philip McGrath e8518c43a3
gnu: Add stex.
* gnu/packages/chez.scm (stex-bootstrap): New hidden package.
(stex): Change from origin to package inheriting from 'stex-bootstrap'
(chez-scheme)[native-inputs]: Add 'stex-bootstrap'. Remove dependencies
of stex-bootstrap.
[arguments]<#:phases>: Remove 'prepare-stex'. Adjust
'unpack-nanopass+stex' and 'install-doc'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:43:53 +01:00
Philip McGrath 75f9f9441f
gnu: chez-scheme: Use new package style.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Remove labels.
[native-inputs]: Likewise.
[arguments]: Use G-expressions.
<#:phases>: Use 'search-input-file' instead of 'assoc-ref'.
(nanopass): Make public as a temporary workaround for Racket.
* gnu/packages/racket.scm (make-unpack-nanopass+stex): Update
accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-03-04 23:43:43 +01:00