From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>,
Romain Naour <romain.naour@gmail.com>,
Asaf Kahlon <asafka7@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v2 2/2] package/qemu: bump to version 8.1.0
Date: Sun, 27 Aug 2023 11:48:01 -0600 [thread overview]
Message-ID: <20230827174801.935111-2-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20230827174801.935111-1-james.hilliard1@gmail.com>
Drop patch which is now upstream.
Replace no longer supported --with-git-submodules config option with
new --disable-download option.
Replace no longer supported --meson config option with --python config
option. The configure script expects --python to point to the python
interpreter with the meson installation.
Add new recommended host-python-distlib dependency.
Add support for new optional pipewire feature.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
- handle new pipewire config option
- add host-python-distlib dependency
---
...tall-keyboard-maps-only-if-necessary.patch | 38 -------------------
package/qemu/qemu.hash | 2 +-
package/qemu/qemu.mk | 18 +++++++--
3 files changed, 15 insertions(+), 43 deletions(-)
delete mode 100644 package/qemu/0003-meson-install-keyboard-maps-only-if-necessary.patch
diff --git a/package/qemu/0003-meson-install-keyboard-maps-only-if-necessary.patch b/package/qemu/0003-meson-install-keyboard-maps-only-if-necessary.patch
deleted file mode 100644
index 8ba7f3cf15..0000000000
--- a/package/qemu/0003-meson-install-keyboard-maps-only-if-necessary.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 9d9b74f806f5dbca53df6630c1a0591eaedd4500 Mon Sep 17 00:00:00 2001
-From: Carlos Santos <casantos@redhat.com>
-Date: Sun, 1 Jan 2023 21:00:57 -0300
-Subject: [PATCH] meson: install keyboard maps only if necessary
-
-They are required only for system emulation (i.e. have_system is true).
-
-Upstream: https://patchwork.kernel.org/project/qemu-devel/patch/20230327172147.196607-1-casantos@redhat.com/
-Signed-off-by: Carlos Santos <casantos@redhat.com>
-Signed-off-by: Carlos Santos <unixmania@gmail.com>
----
- pc-bios/keymaps/meson.build | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/pc-bios/keymaps/meson.build b/pc-bios/keymaps/meson.build
-index 158a3b410c..bff3083313 100644
---- a/pc-bios/keymaps/meson.build
-+++ b/pc-bios/keymaps/meson.build
-@@ -47,7 +47,7 @@ if native_qemu_keymap.found()
- build_by_default: true,
- output: km,
- command: [native_qemu_keymap, '-f', '@OUTPUT@', args.split()],
-- install: true,
-+ install: have_system,
- install_dir: qemu_datadir / 'keymaps')
- endforeach
-
-@@ -56,4 +56,6 @@ else
- install_data(keymaps.keys(), install_dir: qemu_datadir / 'keymaps')
- endif
-
--install_data(['sl', 'sv'], install_dir: qemu_datadir / 'keymaps')
-+if have_system
-+ install_data(['sl', 'sv'], install_dir: qemu_datadir / 'keymaps')
-+endif
---
-2.31.1
-
diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash
index e71742c243..506afa8bf3 100644
--- a/package/qemu/qemu.hash
+++ b/package/qemu/qemu.hash
@@ -1,4 +1,4 @@
# Locally computed, tarball verified with GPG signature
-sha256 ecf4d32cbef9d397bfc8cc50e4d1e92a1b30253bf32e8ee73c7a8dcf9a232b09 qemu-8.0.3.tar.xz
+sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz
sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b341d0220d..47190a63d1 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -6,7 +6,7 @@
# When updating the version, check whether the list of supported targets
# needs to be updated.
-QEMU_VERSION = 8.0.3
+QEMU_VERSION = 8.1.0
QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
QEMU_SITE = https://download.qemu.org
QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c
@@ -26,6 +26,7 @@ QEMU_DEPENDENCIES = \
host-meson \
host-pkgconf \
host-python3 \
+ host-python-distlib \
libglib2 \
zlib
@@ -234,6 +235,13 @@ else
QEMU_OPTS += --disable-numa
endif
+ifeq ($(BR2_PACKAGE_PIPEWIRE),y)
+QEMU_OPTS += --enable-pipewire
+QEMU_DEPENDENCIES += pipewire
+else
+QEMU_OPTS += --disable-pipewire
+endif
+
ifeq ($(BR2_PACKAGE_SPICE),y)
QEMU_OPTS += --enable-spice
QEMU_DEPENDENCIES += spice
@@ -272,7 +280,7 @@ define QEMU_CONFIGURE_CMDS
--prefix=/usr \
--cross-prefix=$(TARGET_CROSS) \
--audio-drv-list= \
- --meson=$(HOST_DIR)/bin/meson \
+ --python=$(HOST_DIR)/bin/python3 \
--ninja=$(HOST_DIR)/bin/ninja \
--disable-alsa \
--disable-bpf \
@@ -313,7 +321,7 @@ define QEMU_CONFIGURE_CMDS
--enable-attr \
--enable-kvm \
--enable-vhost-net \
- --with-git-submodules=ignore \
+ --disable-download \
--disable-hexagon-idef-parser \
$(QEMU_OPTS)
endef
@@ -339,6 +347,7 @@ HOST_QEMU_DEPENDENCIES = \
host-pixman \
host-pkgconf \
host-python3 \
+ host-python-distlib \
host-slirp \
host-zlib
@@ -458,7 +467,7 @@ define HOST_QEMU_CONFIGURE_CMDS
--host-cc="$(HOSTCC)" \
--extra-cflags="$(HOST_QEMU_CFLAGS)" \
--extra-ldflags="$(HOST_LDFLAGS)" \
- --meson=$(HOST_DIR)/bin/meson \
+ --python=$(HOST_DIR)/bin/python3 \
--ninja=$(HOST_DIR)/bin/ninja \
--disable-alsa \
--disable-bpf \
@@ -476,6 +485,7 @@ define HOST_QEMU_CONFIGURE_CMDS
--disable-netmap \
--disable-oss \
--disable-pa \
+ --disable-pipewire \
--disable-sdl \
--disable-selinux \
--disable-vde \
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2023-08-27 17:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-27 17:48 [Buildroot] [PATCH v2 1/2] package/python-distlib: new host package James Hilliard
2023-08-27 17:48 ` James Hilliard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230827174801.935111-2-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=romain.naour@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox