Archived
1
0
Fork 0
Commit graph

390 commits

Author SHA1 Message Date
Marius Bakke
628a6c51d4
gnu: QEMU: Fix compatibility with Meson 0.58.
* gnu/packages/patches/qemu-meson-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (qemu)[source](patches): Add it.
2021-06-13 15:34:06 +02:00
Marius Bakke
c87ebc1b31
gnu: QEMU: Update to 6.0.0.
* gnu/packages/patches/qemu-build-info-manual.patch: Adjust for 6.0.
* gnu/packages/virtualization.scm (qemu): Update to 6.0.0.
[source](snippet): Remove obsolete substitution.
[arguments]: Adjust test substitutions for upstream changes.
* gnu/packages/bootloaders.scm (grub)[source](modules, snippet): New fields.
2021-06-13 15:33:57 +02:00
Marius Bakke
557084a0c9
gnu: glib: Add "static" output.
* gnu/packages/glib.scm (glib)[outputs]: Add "static".
[arguments]: Add "--default-library=both" to #:configure-flags.  Add phase
move-static-libraries.
(glib-static): Remove variable.
* gnu/packages/virtualization.scm (qemu)[native-inputs]: Change from
GLIB-STATIC to GLIB:STATIC.
2021-06-13 01:00:47 +02:00
zimoun
80e05a5bdf
gnu: python2-libvirt: Remove package.
* gnu/packages/virtualization.scm (python2-libvirt): Remove variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-06-08 13:10:26 -04:00
Marius Bakke
8d59c262ad
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/algebra.scm
	gnu/packages/bioinformatics.scm
	gnu/packages/curl.scm
	gnu/packages/docbook.scm
	gnu/packages/emacs-xyz.scm
	gnu/packages/maths.scm
	gnu/packages/plotutils.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/radio.scm
	gnu/packages/readline.scm
	gnu/packages/tls.scm
	gnu/packages/xml.scm
	gnu/packages/xorg.scm
2021-06-06 21:16:32 +02:00
Dion Mendel
404f6145ee
gnu: Add lxcfs.
* gnu/packages/virtualization.scm (lxcfs): New Variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-05 23:39:29 +02:00
Marius Bakke
4ea6852c5f
Merge branch 'master' into core-updates 2021-05-22 17:21:57 +02:00
Marius Bakke
dfd6ca1908
gnu: Meson: Remove special versions.
* gnu/packages/audio.scm (lv2-speech-denoiser, libaudec)[arguments]: Remove
 #:meson.
* gnu/packages/build-tools.scm (meson): Update to 0.57.2.
(meson-0.55, meson-next): Remove variables.
* gnu/packages/datastructures.scm (tllist)[arguments]: Remove.
* gnu/packages/fontutils.scm (fcft)[arguments]: Likewise.
* gnu/packages/gimp.scm (babl, gegl)[arguments]: Remove #:meson.
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: Likewise.
* gnu/packages/lua.scm (emilua)[arguments]: Likewise.
* gnu/packages/music.scm (zrythm)[arguments]: Likewise.
* gnu/packages/terminals.scm (foot)[arguments]: Likewise.
* gnu/packages/virtualization.scm (qemu)[native-inputs]: Change from
MESON-NEXT to MESON.
(libvirt)[arguments]: Remove #:meson.
* gnu/packages/wm.scm (wlroots, sway)[arguments]: Likewise.
2021-05-22 17:08:13 +02:00
Tobias Geerinckx-Rice
8ac0d4fb4e
gnu: python-libvirt: Update to 7.3.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.3.0.
[arguments]: Remove obsolete 'patch-nosetests-path phase.
Replace the default 'check phase.
[native-inputs]: Switch from python-nose to python-pytest, like upstream
has done.
2021-05-18 16:37:21 +02:00
Tobias Geerinckx-Rice
8cec10f602
gnu: libvirt: Update to 7.3.0.
* gnu/packages/virtualization.scm (libvirt): Update to 7.3.0.
2021-05-18 16:37:21 +02:00
Marius Bakke
f034264204
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/bioinformatics.scm
	gnu/packages/django.scm
	gnu/packages/gtk.scm
	gnu/packages/llvm.scm
	gnu/packages/python-web.scm
	gnu/packages/python.scm
	gnu/packages/tex.scm
	guix/build-system/asdf.scm
	guix/build/emacs-build-system.scm
	guix/profiles.scm
2021-05-09 21:29:46 +02:00
Tobias Geerinckx-Rice
13c4a377f5
gnu: skopeo: Update to 1.2.3.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.3.
2021-04-21 00:58:58 +02:00
Efraim Flashner
fcc39864db
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/boost.scm
	gnu/packages/chez.scm
	gnu/packages/compression.scm
	gnu/packages/crates-io.scm
	gnu/packages/docbook.scm
	gnu/packages/engineering.scm
	gnu/packages/gcc.scm
	gnu/packages/gl.scm
	gnu/packages/gtk.scm
	gnu/packages/nettle.scm
	gnu/packages/python-check.scm
	gnu/packages/python-xyz.scm
	gnu/packages/radio.scm
	gnu/packages/rust.scm
	gnu/packages/sqlite.scm
	guix/build-system/node.scm
2021-04-16 14:39:48 +03:00
Léo Le Bouter
41d0b233ba
gnu: umoci: Update to 0.4.7 [fixes CVE-2021-29136].
* gnu/packages/virtualization.scm (umoci): Update to 0.4.7.
2021-04-06 21:00:46 +02:00
Pierre Langlois
653faaebd6
gnu: virt-manager: Update to 3.2.0.
* gnu/packages/virtualization.scm (virt-manager): Update to 3.2.0.
[arguments]: Remove #:test-target.  Remove fix-qemu-img-reference phase.
Adapt check phase to use pytest, although they still do not run.
[native-inputs]: Add python-docutils.  Suggest adding python-pytest to enable
tests.
2021-04-05 18:26:37 +01:00
Pierre Langlois
29383ecc8c
gnu: libvirt-glib: Update to 4.0.0.
* gnu/packages/virtualization.scm (libvirt-glib): Update to 4.0.0.
[build-system]: Switch to meson-build-system.
2021-04-05 18:26:37 +01:00
Pierre Langlois
28cc447fc5
gnu: python-libvirt: Update to 7.2.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.2.0.
2021-04-05 18:26:37 +01:00
Brice Waegeneire
0d4ae86bc2
gnu: libvirt: Update to 7.2.0.
* gnu/packages/virtualization.scm (libvirt): Update to 7.2.0.
[arguemnts]: Switch to meson, only build system supported by upstream.
[inputs]: Add libssh2 and readline.
[native-inputs]: Add bash-completion, gettext, python-docutils and
rpcsvc-proto.
* gnu/packages/patches/libvirt-add-install-prefix.patch: New file...
* gnu/local.mk: ...add it.
* gnu/packages/patches/libvirt-create-machine-cgroup.patch: Delete file,
merged by upstream.

Tested-by: Pierre Langlois <pierre.langlois@gmx.com>
2021-04-05 18:26:37 +01:00
Brice Waegeneire
ee5c4f70b6
gnu: libvirt: Enable disk and directory storage.
* gnu/packages/virtualization.scm (libvirt)[inputs]: Add parted.
[arguments]: Add configure flags to support disk and directory storage.
2021-04-05 18:26:36 +01:00
Maxim Cournoyer
86c39376cc
gnu: runc: Update to 1.0.0-rc93.
* gnu/packages/virtualization.scm (runc): Update to 1.0.0-rc93.
[source]: Remove the patches field.
[phases]{unpack}: Remove override.
{build}: Add the man target.
{check}: Make conditional based on TESTS?.
{install}: Add the install-man target.
[native-inputs]: Add go-github-com-go-md2man.
[home-page]: Update.
* gnu/packages/patches/runc-CVE-2019-5736.patch: Delete file.
* gnu/local.mk: Un-register it.
2021-04-02 23:33:42 -04:00
Pierre Langlois
bd9e140856
Revert "gnu: libvirt: Update to 7.1.0."
The update causes virsh to fail <https://bugs.gnu.org/47541>.

This reverts commit 383b02a370.
2021-04-02 09:23:20 +01:00
Pierre Langlois
d42f6b0916
Revert "gnu: python-libvirt: Update to 7.1.0."
This reverts commit 52ed12afcb.
2021-04-02 09:21:26 +01:00
Pierre Langlois
614e95619b
Revert "gnu: libvirt-glib: Update to 4.0.0."
This reverts commit 7573ab22d7.
2021-04-02 09:21:26 +01:00
Pierre Langlois
d01837ca0d
Revert "gnu: virt-manager: Update to 3.2.0."
This reverts commit 5eb05ede0b.
2021-04-02 09:21:15 +01:00
Pierre Langlois
5eb05ede0b
gnu: virt-manager: Update to 3.2.0.
* gnu/packages/virtualization.scm (virt-manager): Update to 3.2.0.
[arguments]: Remove #:test-target.  Remove fix-qemu-img-reference phase.
Adapt check phase to use pytest, although they still do not run.
[native-inputs]: Add python-docutils.  Suggest adding python-pytest to enable
tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:49 +02:00
Pierre Langlois
7573ab22d7
gnu: libvirt-glib: Update to 4.0.0.
* gnu/packages/virtualization.scm (libvirt-glib): Update to 4.0.0.
[build-system]: Switch to meson-build-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:49 +02:00
Pierre Langlois
52ed12afcb
gnu: python-libvirt: Update to 7.1.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.1.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:49 +02:00
Pierre Langlois
383b02a370
gnu: libvirt: Update to 7.1.0.
* gnu/packages/virtualization.scm (libvirt): Update to 7.1.0.
[source]: Remove libvirt-create-machine-cgroup.patch, add
libvirt-do-not-create-var-dirs.patch.
[build-system]: Switch to meson-build-system.
[arguments]: Use meson-0.55.  Adapt #:configure-flags for meson, there is no
need for --docdir anymore.  Remove fix-BOURNE_SHELL-definition phase.  Add
fix-sysconfdir-and-localstatedir phase.  Adapt disable-broken-tests to meson.
[native-inputs]: Add python-docutils and rpcsvc-proto.
* gnu/packages/patches/libvirt-create-machine-cgroup.patch: Delete.
* gnu/packages/patches/libvirt-do-not-create-var-dirs.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add new patch, remove the other.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:48 +02:00
Tobias Geerinckx-Rice
ceff850369
gnu: skopeo: Update to 1.2.2.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.2.
2021-03-29 00:17:47 +02:00
Mark H Weaver
9dea161875
gnu: Use 'gtk-doc/stable' in native-inputs of selected packages.
* gnu/packages/calendar.scm (libical),
gnu/packages/check.scm (umockdev),
gnu/packages/fontutils.scm (libraqm),
gnu/packages/freedesktop.scm (appstream, farstream, libglib-testing)
(udisks, libfprint, libportal),
gnu/packages/geo.scm (memphis, osm-gps-map),
gnu/packages/glib.scm (template-glib),
gnu/packages/gnome.scm (gupnp-igd, libcloudproviders, libgrss, seed)
(gtx, dee, zeitgeist, phodav, gssdp, gupnp, gupnp-dlna, gupnp-av, rygel)
(libnma, gdl, libnotify, vte-ng, dconf, libxklavier, libsoup, colord)
(geoclue, geocode-glib, amtk, grilo, gvfs, gusb, network-manager)
(network-manager-applet, gfbgraph, libunique, cheese, libhandy)
(gnome-latex, libgda),
gnu/packages/gstreamer.scm (orc),
gnu/packages/gtk.scm (at-spi2-core, goocanvas),
gnu/packages/language.scm (nimf),
gnu/packages/networking.scm (libnice),
gnu/packages/video.scm (schroedinger),
gnu/packages/virtualization.scm (libosinfo),
gnu/packages/webkit.scm (wpewebkit, webkitgtk),
gnu/packages/xml.scm (libxmlb)[native-inputs]: Replace 'gtk-doc' with
'gtk-doc/stable'.
2021-03-27 19:48:50 -04:00
Efraim Flashner
2aab587f84
Merge remote-tracking branch 'origin/master' into core-updates 2021-03-24 20:50:44 +02:00
Maxim Cournoyer
15423d38c5
gnu: qemu: Enable reproducible builds.
Fixes <https://issues.guix.gnu.org/47176>.  The solution was suggested by
bonzini on OFTC's #qemu channel.

* gnu/packages/virtualization.scm (qemu)[snippet]: Delete bundled meson copy.
[native-inputs]: Add meson-next.
2021-03-16 16:21:28 -04:00
Leo Famulari
d15fdb66f3
gnu: qemu: Update to 5.2.0.
* gnu/packages/virtualization.scm (qemu): Update to 5.2.0.
[source]: Re-indent and break long lines, to appease 'guix lint'.
[arguments]{disable-unusable-tests}: Adjust for the new Meson build
system.  Remove patching for a test workaround that has been resolved in
5.2.0.
{patch-test-shebangs, patch-/bin/sh-references}: Combine into...
{patch-embedded-shebangs}: ... this new phase.  Patch the SHELL variable in
the Makefile.
{fix-optionrom-makefile}: New phase.
{install-user-static}: Adjust as the binaries are now symbolic links pointing to their
actual build path.
[native-inputs]: Add ninja.
* gnu/packages/patches/qemu-build-info-manual.patch: Update patch.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-15 18:00:35 -04:00
Maxim Cournoyer
d184fd4216
gnu: qemu: Add a static output.
The static output is equivalent to what other distributions commonly package
as 'qemu-user-static'.

* gnu/packages/virtualization.scm (qemu)[outputs]: Add a static output.
[phases]{configure}: Configure the main build as an out-of-source build.  Move
all configure flags to ...
[configure-flags]: ... here.  The options explicitly enabling optional
features are removed; the configure script does a good job at enabling all the
features available based on the inputs present and this allows reusing the
flags in variant packages such as qemu-minimal.
{configure-user-static, build-user-static, install-user-static}: New phases.
{patch-test-shebangs}: New phase, extracted from the configure phase.
[native-inputs]: Add glib-static, pcre:static and zlib:static.
(qemu-minimal)[arguments]: Reuse the configure-flags argument.  Rewrite to use
match instead of cond.
2021-03-15 18:00:35 -04:00
Maxim Cournoyer
3fe46eef57
gnu: qemu: Fix indentation and remove trailing #t.
* gnu/packages/virtualization.scm (qemu): Fix indentation and remove
trailing #t, appeasing 'guix lint'.
2021-03-15 18:00:34 -04:00
Christopher Baines
a8448da0f4
Merge branch 'master' into core-updates 2021-03-06 00:18:30 +00:00
Nicolas Goaziou
21f4a18e36
gnu: ganeti: Use HTTPS home page URI.
* gnu/packages/virtualization.scm (ganeti)[home-page]: Use HTTPS URI.
2021-02-28 11:06:56 +01:00
Léo Le Bouter
e05c0b334d
gnu: qemu: Fix CVE-2021-20203.
* gnu/packages/patches/qemu-CVE-2021-20203.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/virtualization.scm (qemu): Apply it.
2021-02-28 04:40:05 +01:00
Christopher Baines
e740cc6140
Merge branch 'master' into core-updates 2021-02-03 09:57:35 +00:00
Maxim Cournoyer
98f147dbda
gnu: ganeti: Remove PYTHONPATH-altering patch.
* gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Un-register it.
* gnu/packages/virtualization.scm (ganeti): Remove patch.
2021-02-01 11:54:03 -05:00
Maxim Cournoyer
d42245d401
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:

$ git ls-files | grep .scm | \
  xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i

$ git ls-files | grep .scm | \
  xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i

* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-02-01 11:54:01 -05:00
Maxim Cournoyer
1ed567c872
gnu: ganeti: Do not set PYTHONPATH.
* gnu/packages/virtualization.scm (ganeti): Remove trailing #t.
[phases]{build-bash-completions}: Do not set PYTHONPATH.
{pre-check}: Do patch PYTHONPATH from script.
{wrap}: Use the new GUIX_PYTHONPATH environment variable.
2021-02-01 11:53:47 -05:00
Maxim Cournoyer
dbcd205050
gnu: python-xyz: Move a few modules to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap.  Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
2021-01-27 08:05:42 -05:00
Maxim Cournoyer
13bb41f814
gnu: python-xyz: Move a few modules to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap.  Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
2021-01-15 16:33:07 -05:00
Stefan
795db9d219
gnu: qemu: Fix ioctl(…, SIOCGIFCONF, …) for emulated 64 bit architectures.
* gnu/packages/virtualization.scm (qemu): Add a snippet to fix a bug in the
do_ioctl_ifconf() function of qemu to make ioctl(…, SIOCGIFCONF, …) work for
emulated 64 bit architectures.

The sizeof(struct ifreq) is 40 for 64 bit and 32 for 32 bit architectures.
This structure contains a union of other structures, of which struct ifmap
is the biggest for 64 bit architectures. Calling ioctl(…, SIOCGIFCONF, …)
fills a struct sockaddr of that union, and do_ioctl_ifconf() only considered
that struct sockaddr for the size of the union, which has the same size as
struct ifmap on 32 bit architectures. So do_ioctl_ifconf() assumed a wrong
size of 32 for struct ifreq instead of the correct size of 40 on 64 bit
architectures.

The fix makes do_ioctl_ifconf() handle struct ifmap as the biggest part of
the union, treating struct ifreq with the correct size.

This fixes (@ (guix build syscalls) network-interface-names) when used in
emulated 64 bit architectures.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-14 17:15:18 +01:00
Tobias Geerinckx-Rice
8eb5f097b1
gnu: lxc: Update to 4.0.6.
* gnu/packages/virtualization.scm (lxc): Update to 4.0.6.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
01dec9ed85
gnu: skopeo: Update to 1.2.1.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.1.
2021-01-12 15:19:49 +01:00
Tobias Geerinckx-Rice
9c769ace00
gnu: osinfo-db: Update to 20201218.
* gnu/packages/virtualization.scm (osinfo-db): Update to 20201218.
2021-01-03 19:40:36 +01:00
Vincent Legoll
809b06606c
gnu: xen: Update to 4.14.1.
* gnu/packages/virtualization.scm (xen): Update to 4.14.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-02 23:21:11 +02:00
Vincent Legoll
e43a8d7375
gnu: lxc: Update to 4.0.5.
* gnu/packages/virtualization.scm (lxc): Update to 4.0.5.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-24 15:47:20 -05:00