Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: app-emulation/qemu/files/, app-emulation/qemu/
Date: Sun, 18 Jul 2021 15:48:00
Message-Id: 1626623269.14d1508edf3d4d65da93394799888b628b0766dc.anarchy@gentoo
1 commit: 14d1508edf3d4d65da93394799888b628b0766dc
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 15:47:49 2021 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 15:47:49 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=14d1508e
7
8 app-emulation/qemu: sync with ::gentoo
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
12
13 app-emulation/qemu/files/qemu-6.0.0-make.patch | 14 ++++++++++++++
14 app-emulation/qemu/metadata.xml | 5 +++--
15 .../qemu/{qemu-6.0.0.ebuild => qemu-6.0.0-r2.ebuild} | 14 +++++++++-----
16 3 files changed, 26 insertions(+), 7 deletions(-)
17
18 diff --git a/app-emulation/qemu/files/qemu-6.0.0-make.patch b/app-emulation/qemu/files/qemu-6.0.0-make.patch
19 new file mode 100644
20 index 0000000..2dac1ca
21 --- /dev/null
22 +++ b/app-emulation/qemu/files/qemu-6.0.0-make.patch
23 @@ -0,0 +1,14 @@
24 +Allow MAKE='make V=1' and similar.
25 +
26 +https://bugs.gentoo.org/795678
27 +--- a/configure
28 ++++ b/configure
29 +@@ -1953,7 +1953,7 @@ if test -z "$python"
30 + then
31 + error_exit "Python not found. Use --python=/path/to/python"
32 + fi
33 +-if ! has "$make"
34 ++if ! has $make
35 + then
36 + error_exit "GNU make ($make) not found"
37 + fi
38
39 diff --git a/app-emulation/qemu/metadata.xml b/app-emulation/qemu/metadata.xml
40 index ec3f45a..4245f6d 100644
41 --- a/app-emulation/qemu/metadata.xml
42 +++ b/app-emulation/qemu/metadata.xml
43 @@ -6,8 +6,8 @@
44 <name>Matthias Maier</name>
45 </maintainer>
46 <maintainer type="person">
47 - <email>slyfox@g.o</email>
48 - <name>Sergei Trofimovich</name>
49 + <email>zlogene@g.o</email>
50 + <name>Mikle Kolyada</name>
51 </maintainer>
52 <maintainer type="project">
53 <email>virtualization@g.o</email>
54 @@ -20,6 +20,7 @@
55 <flag name="capstone">Enable disassembly support with <pkg>dev-libs/capstone</pkg></flag>
56 <flag name="curl">Support ISOs / -cdrom directives via HTTP or HTTPS.</flag>
57 <flag name="fdt">Enables firmware device tree support</flag>
58 + <flag name="fuse">Enables FUSE block device export</flag>
59 <flag name="glusterfs">Enables GlusterFS cluster fileystem via
60 <pkg>sys-cluster/glusterfs</pkg></flag>
61 <flag name="gnutls">Enable TLS support for the VNC console server.
62
63 diff --git a/app-emulation/qemu/qemu-6.0.0.ebuild b/app-emulation/qemu/qemu-6.0.0-r2.ebuild
64 similarity index 98%
65 rename from app-emulation/qemu/qemu-6.0.0.ebuild
66 rename to app-emulation/qemu/qemu-6.0.0-r2.ebuild
67 index 5c2c7c2..0583c6b 100644
68 --- a/app-emulation/qemu/qemu-6.0.0.ebuild
69 +++ b/app-emulation/qemu/qemu-6.0.0-r2.ebuild
70 @@ -9,7 +9,7 @@ PYTHON_REQ_USE="ncurses,readline"
71 FIRMWARE_ABI_VERSION="5.2.0-r50"
72
73 inherit eutils linux-info toolchain-funcs multilib python-r1
74 -inherit udev fcaps readme.gentoo-r1 pax-utils l10n xdg-utils
75 +inherit udev fcaps readme.gentoo-r1 pax-utils xdg-utils
76
77 if [[ ${PV} = *9999* ]]; then
78 EGIT_REPO_URI="https://git.qemu.org/git/qemu.git"
79 @@ -23,7 +23,7 @@ if [[ ${PV} = *9999* ]]; then
80 SRC_URI=""
81 else
82 SRC_URI="https://download.qemu.org/${P}.tar.xz"
83 - KEYWORDS="amd64 arm64 ~ppc ppc64 ~x86"
84 + KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
85 fi
86
87 DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
88 @@ -33,7 +33,7 @@ LICENSE="GPL-2 LGPL-2 BSD-2"
89 SLOT="0"
90
91 IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug +doc
92 - +fdt glusterfs gnutls gtk infiniband iscsi io-uring
93 + +fdt fuse glusterfs gnutls gtk infiniband iscsi io-uring
94 jack jemalloc +jpeg kernel_linux
95 kernel_FreeBSD lzo multipath
96 ncurses nfs nls numa opengl +oss +pin-upstream-blobs
97 @@ -108,6 +108,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
98 qemu_softmmu_targets_ppc? ( fdt )
99 qemu_softmmu_targets_riscv32? ( fdt )
100 qemu_softmmu_targets_riscv64? ( fdt )
101 + sdl-image? ( sdl )
102 static? ( static-user !alsa !gtk !jack !opengl !pulseaudio !plugins !rbd !snappy )
103 static-user? ( !plugins )
104 vhost-user-fs? ( caps seccomp )
105 @@ -149,6 +150,7 @@ SOFTMMU_TOOLS_DEPEND="
106 caps? ( sys-libs/libcap-ng[static-libs(+)] )
107 curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
108 fdt? ( >=sys-apps/dtc-1.5.0[static-libs(+)] )
109 + fuse? ( >=sys-fs/fuse-3.1:3[static-libs(+)] )
110 glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
111 gnutls? (
112 dev-libs/nettle:=[static-libs(+)]
113 @@ -171,8 +173,8 @@ SOFTMMU_TOOLS_DEPEND="
114 lzo? ( dev-libs/lzo:2[static-libs(+)] )
115 multipath? ( sys-fs/multipath-tools )
116 ncurses? (
117 - sys-libs/ncurses:0=[unicode]
118 - sys-libs/ncurses:0=[static-libs(+)]
119 + sys-libs/ncurses:=[unicode(+)]
120 + sys-libs/ncurses:=[static-libs(+)]
121 )
122 nfs? ( >=net-fs/libnfs-1.9.3:=[static-libs(+)] )
123 numa? ( sys-process/numactl[static-libs(+)] )
124 @@ -274,6 +276,7 @@ PATCHES=(
125 "${FILESDIR}"/${PN}-5.2.0-cleaner-werror.patch
126 "${FILESDIR}"/${PN}-5.2.0-disable-keymap.patch
127 "${FILESDIR}"/${PN}-5.2.0-dce-locks.patch
128 + "${FILESDIR}"/${PN}-6.0.0-make.patch
129 )
130
131 QA_PREBUILT="
132 @@ -521,6 +524,7 @@ qemu_src_configure() {
133 $(conf_notuser caps cap-ng)
134 $(conf_notuser curl)
135 $(conf_notuser fdt)
136 + $(conf_notuser fuse)
137 $(conf_notuser glusterfs)
138 $(conf_notuser gnutls)
139 $(conf_notuser gnutls nettle)