Commit graph

60883 commits

Author SHA1 Message Date
Maxim Cournoyer
b460ba7992
bootloader: grub: Allow booting from a Btrfs subvolume.
* gnu/bootloader/grub.scm (strip-mount-point): Remove procedure.
(normalize-file): Add procedure.
(grub-configuration-file): New BTRFS-SUBVOLUME-FILE-NAME parameter.  When
defined, prepend its value to the kernel and initrd file names, using the
NORMALIZE-FILE procedure.  Adjust the call to EYE-CANDY to pass the
BTRFS-SUBVOLUME-FILE-NAME argument.  Normalize the KEYMAP file as well.
(eye-candy): Add a BTRFS-SUBVOLUME-FILE-NAME parameter, and use it, along with
the NORMALIZE-FILE procedure, to normalize the FONT-FILE and IMAGE nested
variables.  Adjust doc.
* gnu/bootloader/depthcharge.scm (depthcharge-configuration-file): Adapt.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Likewise.
* gnu/system/file-systems.scm (btrfs-subvolume?)
(btrfs-store-subvolume-file-name): New procedures.
* gnu/system.scm (operating-system-bootcfg): Specify the Btrfs
subvolume file name the store resides on to the
`operating-system-bootcfg' procedure, using the new
BTRFS-SUBVOLUME-FILE-NAME argument.
* doc/guix.texi (File Systems): Add a Btrfs subsection to document the use of
subvolumes.
* gnu/tests/install.scm (%btrfs-root-on-subvolume-os)
(%btrfs-root-on-subvolume-os-source)
(%btrfs-root-on-subvolume-installation-script)
(%test-btrfs-root-on-subvolume-os): New variables.
2020-05-20 08:30:35 -04:00
Maxim Cournoyer
fa35fb58c8
file-systems: Add helpers for parsing the options string into an alist.
* gnu/system/file-systems.scm (file-system-options->alist)
(alist->file-system-options): New procedures.
* tests/file-systems.scm: New tests.
* doc/guix.texi (File Systems): Add note about the newly added procedures.
2020-05-20 08:30:34 -04:00
Maxim Cournoyer
281d80d8e5
linux-boot: Refactor boot-system.
The --root option can now be omitted, and inferred from the root file system
declaration instead.

* gnu/build/file-systems.scm (canonicalize-device-spec): Extend to support NFS
directly, and...
* gnu/build/linux-boot.scm (boot-system): ...remove NFS special casing from
here.  Remove nested definitions for root-fs-type, root-fs-flags and
root-fs-options, and bind those inside the let* instead.  Make "--root" take
precedence over the device field string representation of the root file
system.
* doc/guix.texi (Initial RAM Disk): Document that "--root" can be left
unspecified.
2020-05-20 08:30:34 -04:00
Michael Rohleder
42d41d86f3
gnu: Add emacs-vcsh.
* gnu/packages/emacs-xyz.scm (emacs-vcsh): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-05-20 12:42:12 +02:00
Holger Peters
90f44ee496
gnu: Add python-pyramid.
* gnu/packages/python-web.scm (python-pyramid): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:33:04 +02:00
Holger Peters
8bfc0512da
gnu: Add python-hupper.
* gnu/packages/python-web.scm (python-hupper): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:33:04 +02:00
Holger Peters
804b7722a5
gnu: Add python-plaster-pastedeploy.
* gnu/packages/python-web.scm (python-plaster-pastedeploy): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:33:03 +02:00
Holger Peters
79ddf25bc0
gnu: Add python-plaster.
* gnu/packages/python-web.scm (python-plaster): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:31:26 +02:00
Holger Peters
c557ae13f9
gnu: Add python-translationstring.
* gnu/packages/python-web.scm (python-translationstring): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:31:26 +02:00
Holger Peters
a9daf35cb1
gnu: Add python-zope-deprecation.
* gnu/packages/python-web.scm (python-zope-deprecation): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:31:26 +02:00
Holger Peters
44935b2ebb
gnu: Add python-venusian.
* gnu/packages/python-web.scm (python-venusian): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:26:29 +02:00
Holger Peters
712190edea
gnu: python-webob: Update to 1.8.6.
* gnu/packages/python-web.scm (python-webob): Update to 1.8.6.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-20 09:25:48 +02:00
Tobias Geerinckx-Rice
4d89e302df
gnu: toybox: Update to 0.8.3.
* gnu/packages/busybox.scm (toybox): Update to 0.8.3.
2020-05-20 06:05:29 +02:00
Tobias Geerinckx-Rice
abd90f636b
gnu: ccls: Update to 0.20190823.6.
* gnu/packages/cpp.scm (ccls): Update to 0.20190823.6.
2020-05-20 05:56:54 +02:00
Tobias Geerinckx-Rice
4d9e4801d2
gnu: http-parser: Update to 2.9.4.
* gnu/packages/web.scm (http-parser): Update to 2.9.4.
2020-05-20 05:56:54 +02:00
Tobias Geerinckx-Rice
72faca2c50
gnu: xonsh: Update to 0.9.18.
* gnu/packages/shells.scm (xonsh): Update to 0.9.18.
[snippet]: Adapt to more aggressive bundling.
2020-05-20 05:56:54 +02:00
Tobias Geerinckx-Rice
5a4d48af52
gnu: python-ply: Remove Python 2 variant.
* gnu/packages/python-xyz.scm (python2-ply): Remove variable.
2020-05-20 05:56:54 +02:00
Tobias Geerinckx-Rice
0645a24b56
gnu: python-ply: Update to 3.11.
* gnu/packages/python-xyz.scm (python-ply): Update to 3.11.
2020-05-20 05:56:54 +02:00
Tobias Geerinckx-Rice
9e8f73c49c
gnu: librepcb: Update to 0.1.4.
* gnu/packages/engineering.scm (librepcb): Update to 0.1.4.
[inputs]: Add qtsvg.
2020-05-20 05:56:54 +02:00
Tobias Geerinckx-Rice
2da5fcfdfa
gnu: hevea: Update to 2.34.
* gnu/packages/ocaml.scm (hevea): Update to 2.34.
2020-05-20 05:56:53 +02:00
Tobias Geerinckx-Rice
51fd92cef4
gnu: gtkwave: Update to 3.3.104.
* gnu/packages/fpga.scm (gtkwave): Update to 3.3.104.
2020-05-20 05:56:53 +02:00
Tobias Geerinckx-Rice
147499a469
gnu: handbrake: Update to 1.3.2.
* gnu/packages/video.scm (handbrake): Update to 1.3.2.
2020-05-20 05:56:53 +02:00
Tobias Geerinckx-Rice
0c39013afb
gnu: bs1770gain: Update to 0.6.9.
* gnu/packages/audio.scm (bs1770gain): Update to 0.6.9.
2020-05-20 05:56:53 +02:00
Ricardo Wurmus
5e3d169945
publish: Improve performance by increasing buffer size.
* guix/scripts/publish.scm (http-write): Increase socket send buffer.
2020-05-19 23:15:41 +02:00
Danny Milosavljevic
f523eaba7b
gnu: docker: Remove references to go.
Fixes <https://bugs.gnu.org/41406>.

* gnu/packages/docker.scm (docker)[arguments]<#:phases>[remove-go-references]:
New phase.
2020-05-19 21:04:47 +02:00
nikita
9593caff8d
gnu: cwm: Update to 6.6.
* gnu/packages/wm.scm (cwm): Update to 6.6.
[source, home-page]: Update URLs.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-05-19 14:31:10 -04:00
Efraim Flashner
cc83131006
gnu: python-ujson: Update to 2.0.3.
* gnu/packages/python-xyz.scm (python-ujson): Update to 2.0.3.
[source]: Remove bundled source.
[arguments]: Add phase to link to system double-conversion. Add custom
'check phase.
[native-inputs]: Add double-conversion, python-setuptools-scm,
python-pytest.
[home-page]: Update to new home-page.
[description]: Drop reference to python-2 support.
(python-ujson-1): New variable.
(python2-ujson): Rename to python2-ujson-1.
(python-jsonrpc-server)[propagated-inputs]: Replace python-ujson with
python-ujson-1.
2020-05-19 20:12:35 +03:00
Efraim Flashner
45838753bb
gnu: python-falcon: Update to 2.0.0.
* gnu/packages/python-web.scm (python-falcon): Update to 2.0.0.
[source]: Add snippet to remove bundled code.
[arguments]: Update custom 'check phase.
[propagated-inputs]: Remove python-six.
[native-inputs]: Remove python-jsonschema. Add python-mujson,
python-pytest-runner, python-rapidjson, python-ujson.
[properties]: New field.
(python2-falcon)[native-inputs]: Don't add python-rapidjson.
2020-05-19 20:05:59 +03:00
Efraim Flashner
255a206217
gnu: Add python-rapidjson.
* gnu/packages/python-web.scm (python-rapidjson): New variable.
2020-05-19 20:05:58 +03:00
Efraim Flashner
3d41d5dfef
gnu: python-jsonrpc-server: Update to 0.3.4.
* gnu/packages/python-xyz.scm (python-jsonrpc-server): Update to 0.3.4.
[propagated-inputs]: Remove python-future.
2020-05-19 20:05:58 +03:00
Efraim Flashner
64d1d2b271
gnu: Add python-mujson.
* gnu/packages/python-xyz.scm (python-mujson): New variable.
2020-05-19 20:05:58 +03:00
Tobias Geerinckx-Rice
75ac5c5281
gnu: opensmtpd: Update to 6.7.0p1 [security fixes].
* gnu/packages/mail.scm (opensmtpd): Update to 6.7.0p1.
2020-05-19 18:50:15 +02:00
Alex McGrath
970fcb0d4a
gnu: Add wofi.
* gnu/packages/xdisorg.scm (wofi): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-19 18:32:08 +02:00
Marius Bakke
4684580af5
gnu: vte: Remove obsolete input.
* gnu/packages/gnome.scm (vte)[native-inputs]: Remove INTLTOOL.  Add
GETTEXT-MINIMAL.
2020-05-19 15:39:38 +02:00
Marius Bakke
273380fda2
gnu: Add hitch.
* gnu/packages/web.scm (hitch): New public variable.
2020-05-19 15:28:51 +02:00
Marius Bakke
c5a2b70135
gnu: openvpn: Update to 2.4.9 [fixes CVE-2020-11810].
* gnu/packages/vpn.scm (openvpn): Update to 2.4.9.
2020-05-19 15:28:51 +02:00
Danny Milosavljevic
ef3cd15ed4
gnu: granite: Fix cross-compilation.
* gnu/packages/pantheon.scm (granite)[native-inputs]: Remove glib, libgee.
[inputs]: Add glib, libgee.
2020-05-19 13:06:27 +02:00
Ryan Prior
969811ad0e
gnu: Add pantheon-calculator.
* gnu/packages/pantheon.scm (pantheon-calculator): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-19 12:59:40 +02:00
Danny Milosavljevic
11491e1b1b
gnu: vte: Enable vala bindings.
* gnu/packages/gnome.scm (vte)[arguments]<#:configure-flags>: Add
"-Dvapi=true".
2020-05-19 12:49:13 +02:00
Ryan Prior via Guix-patches via
663def11df
gnu: vte: Update to 0.60.2.
* gnu/packages/gnome.scm (vte): Update to 0.60.2.
[arguments]<#:configure-flags>: Disable systemd.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-19 12:49:13 +02:00
Tobias Geerinckx-Rice
1942814978
gnu: bind: Update to 9.16.3 [fixes CVE-2020-8616 & CVE-2020-8617].
* gnu/packages/dns.scm (bind): Update to 9.16.3.
2020-05-19 12:44:29 +02:00
Ricardo Wurmus
9dc50c8c47
gnu: sra-tools: Update to 2.10.6.
* gnu/packages/bioinformatics.scm (sra-tools): Update to 2.10.6.
[arguments]: Replace CC variable in utf8proc Makefile.
[inputs]: Replace hdf5 with hdf5-1.10; add python-wrapper.
2020-05-19 12:42:01 +02:00
Ricardo Wurmus
68de995674
gnu: ncbi-vdb: Update to 2.10.6.
* gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.10.6.
2020-05-19 12:42:01 +02:00
Ricardo Wurmus
6437c598e7
gnu: ngs-sdk: Update to 2.10.5.
* gnu/packages/bioinformatics.scm (ngs-sdk): Update to 2.10.5.
2020-05-19 12:42:01 +02:00
Clément Lassieur
67c0d7fb9a
gnu: Add emacs-plantuml-mode.
* gnu/packages/emacs-xyz.scm (emacs-plantuml-mode): New variable.
2020-05-19 11:52:37 +02:00
Ryan Prior
9f59a9b4bc
gnu: Add granite.
* gnu/packages/pantheon.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-19 11:48:04 +02:00
Stefan
9cdb10d52e
gnu: grub: Allow a PNG image and replace "aspect-ratio" with "resolution".
* gnu/bootloaders/grub.scm (<grub-image>): Remove this record and replace it
by ...
(<grub-theme>)[image]: ... this field with the default from %background-image,
(<grub-theme>)[resolution]: ... this field with the defaults from 'width' and
'height' of 'grub-background-image'.
(<grub-theme>)[images]: Remove this field.
(svg->png): Rename to ...
(image->png): ... and use 'copy-file' instead of 'svg->png', if the suffix of
the image file is not ".svg".
(grub-background-image): Remove the arguments 'width' and 'height'.
(grub-theme-image): Add function.
(grub-theme-resolution): Add function.
(grub-theme-gfxmode): Add function.
(grub-image): Remove function.
(grub-image?): Remove function.
(grub-image-aspect-ratio): Remove function.
(grub-image-file): Remove function.
(grub-theme-images): Remove function.
(%default-theme): Remove variable.
(%background-image): Remove variable.

Using image formats different to SVG was not possible.

For a <grub-image> to be chosen, the 'aspect-ratio' of it had to be 4/3, as the
resolution of any image was defaulting to 1024 x 768.

There was no code to determine the proper boot-resolution to make any use of a
list of images with different aspect-ratios.

It seems to be a better solution to only define a single image with any format,
and use a given resolution only for the conversion from a SVG file. This also
makes the use of a special <grub-image> record unnecessary.

Moving the default values from '%background-image' and '%default-theme' into
<grub-theme> makes a customisation easier without (inherit) and allows to remove
the undocumented variables %background-image' and '%default-theme'.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-05-19 09:09:21 +02:00
Leo Famulari
2e59ae2384
gnu: svt-av1: Update to 0.8.3.
* gnu/packages/video.scm (svt-av1): Update to 0.8.3.
2020-05-18 19:32:29 -04:00
Simon South
056cd03520
gnu: emacs-elpher: Update to 2.7.4.
* gnu/packages/emacs-xyz.scm (emacs-elpher): Update to 2.7.4.
[home-page, source]: Use new upstream URIs.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-05-18 22:48:10 +02:00
Danny Milosavljevic
782cc119f5
gnu: python-mpsse: Update to 1.4.1.
Follow-up to a7b20226b2.

* gnu/packages/embedded.scm (python-libmpsse): Update to 1.4.1.
2020-05-18 19:57:23 +02:00