Mark H Weaver
485ac28235
utils: Allow text substitution even in the presence of NUL characters.
...
Fixes <https://issues.guix.gnu.org/30116 >.
Before this change, the presence of a NUL character on a line meant that
the (glibc) regexp engine used by Guile would either 1. stop scanning the
string or 2. crash with the error "string contains #\\nul character",
depending on the locale used.
This change works around this limitation by first replacing the NUL character
by an unused Unicode code point, doing the substitution, then reverting the
replacement.
* guix/build/utils.scm (unused-private-use-code-point)
(replace-char): New procedures.
(substitute): Make use of the above procedures to work around the NUL
character regexp engine limitation.
* tests/build-utils.scm: Add tests.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-01-08 14:10:33 -05:00
Nicolas Goaziou
ddb51f3e90
gnu: emacs-howm: Update to 1.4.7.
...
* gnu/packages/emacs-xyz.scm (emacs-howm): Update to 1.4.7.
2021-01-08 18:29:39 +01:00
Pierre Neidhardt
789dcf5bc4
gnu: emacs-emms: Fix vorbiscomment path.
...
* gnu/packages/emacs-xyz.scm (emacs-emms)[arguments]: Replace call to
"vorbiscomment" by its full store path.
2021-01-08 18:13:56 +01:00
Ricardo Wurmus
bc8ea17b33
gnu: Add liquidsfz.
...
* gnu/packages/music.scm (liquidsfz): New variable.
2021-01-08 16:03:15 +01:00
Ricardo Wurmus
55f71f0ef7
gnu: yoshimi: Update to 1.7.4.
...
* gnu/packages/music.scm (yoshimi): Update to 1.7.4.
2021-01-08 16:03:15 +01:00
Guillaume Le Vaillant
9524a2877b
gnu: monero-gui: Update to 0.17.1.9.
...
* gnu/packages/finance.scm (monero-gui): Update to 0.17.1.9.
[source]: Fetch submodules. Add snippet to remove embedded monero sources.
2021-01-08 13:39:24 +01:00
Guillaume Le Vaillant
bd089edd1a
gnu: monero: Update to 0.17.1.9.
...
* gnu/packages/finance.scm (monero): Update to 0.17.1.9.
2021-01-08 13:39:24 +01:00
Ricardo Wurmus
0a40da604f
gnu: Add schmutz.
...
* gnu/packages/guile-xyz.scm (schmutz): New variable.
2021-01-08 13:34:46 +01:00
Efraim Flashner
f4cc6787f5
gnu: rust-pin-utils-0.1: Deduplicate duplicate definitions.
...
* gnu/packages/crates-io.scm (rust-pin-utils-0.1): Combine duplicate
definitions.
2021-01-08 12:55:32 +02:00
Sharlatan Hellseher
375c44de40
gnu: Add cl-markdown.
...
* gnu/packages/lisp-xyz.scm (cl-markdown, ecl-cl-markdown, sbcl-cl-markdown):
New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-08 10:47:46 +01:00
Sharlatan Hellseher
b76ae07372
gnu: Add cl-dynamic-classes.
...
* gnu/packages/lisp-xyz.scm (cl-dynamic-classes, ecl-dynamic-classes,
sbcl-dynamic-classes): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-08 10:47:46 +01:00
Hartmut Goebel
a240686cc3
gnu: sequoia: Update to 1.0.0.
...
* gnu/packages/sequoia.scm (sequoia): Update to 1.0.0.
[arguments]{cargo-inputs}: Add rust-eax, rust-futures-util,
rust-sha1collisiondetection, rust-socket2. Update rust-capnp, rust-capnp-rpc,
rust-capnpc, rust-futures, rust-http,rust-hyper rust-hyper-tls, rust-tokio,
rust-win-crypto-ng.
2021-01-08 10:33:12 +01:00
Hartmut Goebel
e0158630d3
gnu: rust-socket2: Update to 0.3.19.
...
* gnu/packages/crates-io.scm (rust-socket2): Update to 0.3.19.
[arguments]{cargo-inputs}: Remove rust-redox-syscall.
2021-01-08 10:33:12 +01:00
Hartmut Goebel
fe9ed313eb
gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4.
...
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): Update to 0.4.0 and
rename to (rust-win-crypto-ng-0.4). [arguments]{cargo-inouts}: Add
rust-cipher.
2021-01-08 10:33:12 +01:00
Hartmut Goebel
2e4bfeb4fe
gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13.
...
* gnu/packages/crates-io.scm (rust-capnpc-0.10): Update to 0.13.1 and rename
to rust-capnpc-0.13. [arguments] Add skip-build. {cargo-inputs}: Update
rust-capnp to rust-capnp-0.13.
2021-01-08 10:33:11 +01:00
Hartmut Goebel
d5653a37a2
gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13.
...
* gnu/packages/crates-io.scm (rust-capnp-rpc-0.10): Update to 0.13.1 and
rename to rust-capnp-rpc-0.13. [arguments] Add skip-build. {cargo-inputs}:
Update rust-capnp to rust-capnp-0.13. Update rust-capnp-futures to
rust-capnp-futures-0.13.
2021-01-08 10:33:11 +01:00
Hartmut Goebel
d6e63eb48b
gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13.
...
* gnu/packages/crates-io.scm (rust-capnp-futures-0.10): Update to 0.13.2 and
rename to (rust-capnp-futures-0.13). [arguments] Add skip-build.
{cargo-inputs}: Update rust-capnp to rust-capnp-0.13.
2021-01-08 10:33:11 +01:00
Hartmut Goebel
f1676daac7
gnu: Replace rust-capnp-0.10 by rust-capnp-0.13.
...
* gnu/packages/crates-io.scm (rust-capnp-0.10): Update to 0.13.6 and rename to
rust-capnp-0.13. [arguments] Add skip-build.
2021-01-08 10:33:10 +01:00
Hartmut Goebel
beb03faee7
gnu: Add rust-pin-utils-0.1.
...
* gnu/packages/crates-io.scm (rust-pin-utils-0.1): New variable.
2021-01-08 10:33:10 +01:00
Hartmut Goebel
4c640083f5
gnu: Add rust-crypto-mac-0.10.
...
* gnu/packages/crates-io.scm (rust-crypto-mac-0.10): New variable.
(rust-crypto-mac-0.8) Inherit from rust-crypto-mac-0.10.
2021-01-08 10:33:10 +01:00
Hartmut Goebel
5fb1ad6e57
gnu: Add rust-sha1collisiondetection-0.2.
...
* gnu/packages/crates-io.scm (rust-sha1collisiondetection-0.2): New variable.
2021-01-08 10:33:09 +01:00
Hartmut Goebel
7079060cb0
gnu: Add rust-eax-0.3.
...
* gnu/packages/crates-io.scm (rust-eax-0.3): New variable.
2021-01-08 10:33:09 +01:00
Hartmut Goebel
7ce8284fbc
gnu: Add rust-dbl-0.3.
...
* gnu/packages/crates-io.scm (rust-dbl-0.3): New varible.
2021-01-08 10:33:08 +01:00
Hartmut Goebel
91f05b1bc4
gnu: Add rust-ctr-0.6.
...
* gnu/packages/crates-io.scm (rust-ctr-0.6): New variable.
2021-01-08 10:33:08 +01:00
Hartmut Goebel
cecd572bd7
gnu: Add rust-cmac-0.5.
...
* gnu/packages/crates-io.scm (rust-cmac-0.5): New variable.
2021-01-08 10:33:07 +01:00
Hartmut Goebel
cb09ac57b4
gnu: Add rust-cipher-0.2.
...
* gnu/packages/crates-io.scm (rust-cipher-0.2): New variable.
2021-01-08 10:33:07 +01:00
Leo Famulari
efa773f94a
gnu: linux-libre 4.19: Update to 4.19.165.
...
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.165.
(linux-libre-4.19-pristine-source): Update hash.
2021-01-07 18:23:13 -05:00
Leo Famulari
bf83d3aae1
gnu: linux-libre 5.4: Update to 5.4.87.
...
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.87.
(linux-libre-5.4-pristine-source): Update hash.
2021-01-07 18:23:13 -05:00
Leo Famulari
82a98146ef
gnu: linux-libre: Update to 5.10.5.
...
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.5.
(linux-libre-5.10-pristine-source): Update hash.
2021-01-07 18:23:09 -05:00
Leo Famulari
8027711ee8
gnu: tzdata-for-tests: Update to 2020d.
...
* gnu/packages/base.scm (tzdata-for-tests): Update to 2020d.
[inputs]: Update tzcode.
2021-01-07 15:50:50 -05:00
Tobias Geerinckx-Rice
df0447be61
gnu: obs: Update to 26.1.1.
...
* gnu/packages/video.scm (obs): Update to 26.1.1.
2021-01-07 21:45:47 +01:00
Tobias Geerinckx-Rice
b6c42727b6
gnu: system-config-printer: Update to 1.5.14.
...
* gnu/packages/gnome.scm (system-config-printer): Update to 1.5.14.
2021-01-07 21:45:46 +01:00
Tobias Geerinckx-Rice
b974e34c17
gnu: starfighter: Update to 2.4.
...
* gnu/packages/games.scm (starfighter): Update to 2.4.
2021-01-07 21:45:46 +01:00
Tobias Geerinckx-Rice
d17e6f2b6b
gnu: youtube-viewer: Update to 3.8.1.
...
* gnu/packages/video.scm (youtube-viewer): Update to 3.8.1.
2021-01-07 21:45:46 +01:00
Tobias Geerinckx-Rice
4203024e65
gnu: perl-test-file: Update to 1.444.
...
* gnu/packages/perl-check.scm (perl-test-file): Update to 1.444.
2021-01-07 21:45:46 +01:00
Tobias Geerinckx-Rice
91d2e6f9ba
gnu: gtkwave: Update to 3.3.108.
...
* gnu/packages/fpga.scm (gtkwave): Update to 3.3.108.
2021-01-07 21:45:45 +01:00
Tobias Geerinckx-Rice
84ea98d611
gnu: ngircd: Update to 26.1.
...
* gnu/packages/messaging.scm (ngircd): Update to 26.1.
2021-01-07 21:45:45 +01:00
Efraim Flashner
a675c01ffe
gnu: vtk: Use more system libraries.
...
* gnu/packages/image-processing.scm (vtk)[source]: Remove more bundled
sources in snippet.
[arguments]: Add to configure-flags to use more system libraries.
[inputs]: Remove libogg. Add double-conversion, eigen, gl2ps, glew, lz4,
netcdf, proj.4 and sqlite.
2021-01-07 22:42:47 +02:00
Efraim Flashner
fac4e4aee5
gnu: vtk: Sort inputs alphabetically.
...
* gnu/packages/image-processing.scm (vtk)[inputs]: Sort alphabetically.
2021-01-07 22:42:46 +02:00
Efraim Flashner
b17b54113a
gnu: vtk: Remove some vendored libraries.
...
* gnu/packages/image-processing.scm (vtk)[source]: Add snippet to remove
some vendored sources.
2021-01-07 22:42:44 +02:00
Leo Famulari
87eaa42072
gnu: tzdata: Update to 2020f.
...
* gnu/packages/base.scm (tzdata): Update to 2020f.
[inputs]: Update tzcode.
2021-01-07 15:37:39 -05:00
Leo Prikler
4765cf4d24
gnu: Update copyright line.
...
* gnu/packages/gnome-xyz.scm: Bump year in copyright line.
2021-01-07 19:34:39 +01:00
Leo Prikler
a72414832b
gnu: Add materia-theme.
...
* gnu/packages/gnome-xyz.scm (materia-theme): New variable.
2021-01-07 19:34:36 +01:00
Leo Prikler
579a5eff08
gnu: gnome-xyz.scm: Reorder packages.
...
Make it so that icon themes, shell extensions and GTK themes are grouped in
that order.
* gnu/packages/gnome-xyz.scm (matcha-theme): Move before numix-gtk-theme.
(papirus-icon-theme): Move after moka-icon-theme.
2021-01-07 19:34:31 +01:00
Leo Prikler
43c8b56f72
gnu: Move faba-icon-theme and moka-icon-theme to gnome-xyz.scm
...
They need to be moved together, as the latter inherits the former.
* gnu/packages/gnome.scm (faba-icon-theme, moka-icon-theme): Move from here...
* gnu/packages/gnome-xyz.scm (faba-icon-theme, moka-icon-theme): ... to here.
2021-01-07 19:34:23 +01:00
Leo Prikler
7ae52dd04f
gnu: arc-icon-theme: Move to gnome-xyz.
...
* gnu/packages/gnome.scm (arc-icon-theme): Move from here...
* gnu/packages/gnome-xyz.scm (arc-icon-theme): ... to here.
2021-01-07 19:34:21 +01:00
Leo Prikler
364bc7a01b
gnu: arc-theme: Move to gnome-xyz.
...
* gnu/packages/gnome.scm (arc-theme): Move from here...
* gnu/packages/gnome-xyz.scm (arc-theme): ... to here.
2021-01-07 19:34:18 +01:00
Leo Prikler
0759cde4fe
gnu: papirus-icon-theme: Update to 20210101.
...
* gnu/packages/gnome-xyz.scm (papirus-icon-theme): Update to 20210101.
Also use upstream versioning.
2021-01-07 19:34:15 +01:00
Leo Prikler
67b1ef5f65
gnu: greybird-gtk-theme: Update to 3.22.13.
...
* gnu/packages/gnome-xyz.scm (greybird-gtk-theme): Update to 3.22.13.
2021-01-07 19:34:13 +01:00
Leo Prikler
51d3c84502
gnu: matcha-theme: Update to 2021-01-01.
...
* gnu/packages/gnome-xyz.scm (matcha-theme): Update to 2021-01-01.
2021-01-07 19:34:11 +01:00