temp/qemu: Update to upstream version 3.0.0-r0 (!99)
I didn't test it thoroughly, but it builds now and I can run plasma-mobile on qemu-amd64. [skip ci]: this takes longer than one hour to build in CI.
This commit is contained in:
parent
2076d63cd4
commit
7a916698dc
@ -1,65 +0,0 @@
|
||||
From 68898bc82bcb0e697ed03c2405321033ba7feaf7 Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Date: Thu, 17 May 2018 14:39:42 +0200
|
||||
Subject: [PATCH] ui: add x_keymap.o to modules
|
||||
|
||||
x_keymap.o is common to the SDL and GTK+ modules, and it causes the
|
||||
QEMU binary to link to the X11 libraries. Add it separately to the
|
||||
modules to keep the main QEMU binary smaller.
|
||||
|
||||
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Message-id: 1526560782-18732-1-git-send-email-pbonzini@redhat.com
|
||||
|
||||
[ kraxel: fix lm32 target build (milkymist-tmu2) ]
|
||||
|
||||
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
||||
---
|
||||
hw/display/Makefile.objs | 2 ++
|
||||
ui/Makefile.objs | 11 +++++++----
|
||||
2 files changed, 9 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/hw/display/Makefile.objs b/hw/display/Makefile.objs
|
||||
index 3c7c75b94d..11321e466b 100644
|
||||
--- a/hw/display/Makefile.objs
|
||||
+++ b/hw/display/Makefile.objs
|
||||
@@ -20,6 +20,8 @@ common-obj-$(CONFIG_MILKYMIST) += milkymist-vgafb.o
|
||||
common-obj-$(CONFIG_ZAURUS) += tc6393xb.o
|
||||
|
||||
common-obj-$(CONFIG_MILKYMIST_TMU2) += milkymist-tmu2.o
|
||||
+milkymist-tmu2.o-cflags := $(X11_CFLAGS)
|
||||
+milkymist-tmu2.o-libs := $(X11_LIBS)
|
||||
|
||||
obj-$(CONFIG_OMAP) += omap_dss.o
|
||||
obj-$(CONFIG_OMAP) += omap_lcdc.o
|
||||
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
|
||||
index cc784346cb..00f6976c30 100644
|
||||
--- a/ui/Makefile.objs
|
||||
+++ b/ui/Makefile.objs
|
||||
@@ -15,10 +15,6 @@ common-obj-$(CONFIG_COCOA) += cocoa.o
|
||||
common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
|
||||
common-obj-$(call lnot,$(CONFIG_VNC)) += vnc-stubs.o
|
||||
|
||||
-common-obj-$(CONFIG_X11) += x_keymap.o
|
||||
-x_keymap.o-cflags := $(X11_CFLAGS)
|
||||
-x_keymap.o-libs := $(X11_LIBS)
|
||||
-
|
||||
# ui-sdl module
|
||||
common-obj-$(CONFIG_SDL) += sdl.mo
|
||||
ifeq ($(CONFIG_SDLABI),1.2)
|
||||
@@ -46,6 +42,13 @@ gtk.mo-objs += gtk-gl-area.o
|
||||
endif
|
||||
endif
|
||||
|
||||
+ifeq ($(CONFIG_X11),y)
|
||||
+sdl.mo-objs += x_keymap.o
|
||||
+gtk.mo-objs += x_keymap.o
|
||||
+x_keymap.o-cflags := $(X11_CFLAGS)
|
||||
+x_keymap.o-libs := $(X11_LIBS)
|
||||
+endif
|
||||
+
|
||||
common-obj-$(CONFIG_CURSES) += curses.mo
|
||||
curses.mo-objs := curses.o
|
||||
curses.mo-cflags := $(CURSES_CFLAGS)
|
||||
--
|
||||
2.17.0
|
||||
|
@ -18,9 +18,9 @@ diff --git a/linux-user/signal.c b/linux-user/signal.c
|
||||
index 7d6246f..6019dbb 100644
|
||||
--- a/linux-user/signal.c
|
||||
+++ b/linux-user/signal.c
|
||||
@@ -32,6 +32,13 @@
|
||||
|
||||
//#define DEBUG_SIGNAL
|
||||
@@ -26,6 +26,13 @@
|
||||
#include "trace.h"
|
||||
#include "signal-common.h"
|
||||
|
||||
+#ifndef __SIGRTMIN
|
||||
+#define __SIGRTMIN 32
|
||||
@ -29,7 +29,7 @@ index 7d6246f..6019dbb 100644
|
||||
+#define __SIGRTMAX (NSIG-1)
|
||||
+#endif
|
||||
+
|
||||
static struct target_sigaltstack target_sigaltstack_used = {
|
||||
struct target_sigaltstack target_sigaltstack_used = {
|
||||
.ss_sp = 0,
|
||||
.ss_size = 0,
|
||||
--
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Forked from Alpine to enable virglrenderer and the QEMU_MODULE_PATH patch (!1612)
|
||||
pkgname=qemu
|
||||
pkgver=9999
|
||||
_pkgver=2.12.0
|
||||
pkgrel=1
|
||||
_pkgver=3.0.0
|
||||
pkgrel=2
|
||||
pkgdesc="QEMU is a generic machine emulator and virtualizer"
|
||||
url="http://qemu.org/"
|
||||
arch="all"
|
||||
@ -30,6 +30,7 @@ makedepends="
|
||||
lzo-dev
|
||||
ncurses-dev
|
||||
paxmark
|
||||
python3
|
||||
sdl-dev
|
||||
sdl2-dev
|
||||
snappy-dev
|
||||
@ -157,7 +158,6 @@ source="http://wiki.qemu-project.org/download/$pkgname-$_pkgver.tar.xz
|
||||
0001-linux-user-fix-build-with-musl-on-ppc64le.patch
|
||||
fix-sockios-header.patch
|
||||
test-crypto-ivgen-skip-essiv.patch
|
||||
0001-ui-add-x_keymap.o-to-modules.patch
|
||||
0001-module-Use-QEMU_MODULE_PATH-as-a-search-path.patch
|
||||
|
||||
$pkgname-guest-agent.confd
|
||||
@ -208,6 +208,7 @@ _compile_common() {
|
||||
--localstatedir=/var \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/qemu \
|
||||
--python=/usr/bin/python3 \
|
||||
--disable-glusterfs \
|
||||
--disable-debug-info \
|
||||
--disable-bsd-user \
|
||||
@ -386,9 +387,9 @@ _all_modules() {
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="dda057c52cf5fe460b029448049266ace061d21fb5f1cf71a6a37f67b3b7fc3350f6712bf22803fc38fa91f0bd438896ba01b5817b3b94ba9b6925aeaae053b7 qemu-2.12.0.tar.xz
|
||||
sha512sums="a764302f50b9aca4134bbbc1f361b98e71240cdc7b25600dfe733bf4cf17bd86000bd28357697b08f3b656899dceb9e459350b8d55557817444ed5d7fa380a5a qemu-3.0.0.tar.xz
|
||||
405008589cad1c8b609eca004d520bf944366e8525f85a19fc6e283c95b84b6c2429822ba064675823ab69f1406a57377266a65021623d1cd581e7db000134fd 0001-elfload-load-PIE-executables-to-right-address.patch
|
||||
ec84b27648c01c6e58781295dcd0c2ff8e5a635f9836ef50c1da5d0ed125db1afc4cb5b01cb97606d6dd8f417acba93e1560d9a32ca29161a4bb730b302440ea 0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch
|
||||
f52d9b3ccaa0e7613496ef3a6b820f4870d67fb89ad22c7aa3ffd6cb7c79c07f6206f060fe4e9b5b9b356b3dfee1fe2e19288497e7b8865411021eda31ca9f25 0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch
|
||||
1ac043312864309e19f839a699ab2485bca51bbf3d5fdb39f1a87b87e3cbdd8cbda1a56e6b5c9ffccd65a8ac2f600da9ceb8713f4dbba26f245bc52bcd8a1c56 0001-linux-user-fix-build-with-musl-on-aarch64.patch
|
||||
224f5b44da749921e8a821359478c5238d8b6e24a9c0b4c5738c34e82f3062ec4639d495b8b5883d304af4a0d567e38aa6623aac1aa3a7164a5757c036528ac0 musl-F_SHLCK-and-F_EXLCK.patch
|
||||
5da8114b9bd2e62f0f1f0f73f393fdbd738c5dea827ea60cedffd6f6edd0f5a97489c7148d37a8ec5a148d4e65d75cbefe9353714ee6b6f51a600200133fc914 fix-sigevent-and-sigval_t.patch
|
||||
@ -398,7 +399,6 @@ fd178f2913639a0c33199b3880cb17536961f2b3ff171c12b27f4be6bca032d6b88fd16302d09c69
|
||||
d8933df9484158c2b4888254e62117d78f8ed7c18527b249419f39c2b2ab1afa148010884b40661f8965f1ef3105580fceffdfddbb2c9221dc1c62066722ba65 0001-linux-user-fix-build-with-musl-on-ppc64le.patch
|
||||
39590476a4ebd7c1e79a4f0451b24c75b1817a2a83abaa1f71bb60b225d772152f0af8f3e51ff65645e378c536ffa6ff551dade52884d03a14b7c6a19c5c97d4 fix-sockios-header.patch
|
||||
8b8db136f78bd26b5da171effa9e11016ec2bc3e2fc8107228b5543b47aa370978ed883794aa4f917f334e284a5b49e82070e1da2d31d49301195b6713a48eff test-crypto-ivgen-skip-essiv.patch
|
||||
e052ece28af1e7a81828322999b6f1ff5c030c717a897fe80ea04d5ba7f9d477786d91cfbf2eb3444c46b1bc8d3b72a771c26c819bc3ecfd216dd02b6567796e 0001-ui-add-x_keymap.o-to-modules.patch
|
||||
320ecf95274ed42402fd0e6e1779906abea36891945888649ae4df80a7021cf4c7a6f96a3bb525103ecbf3193300a11484f523c2acb6ddbf2504374171853de2 0001-module-Use-QEMU_MODULE_PATH-as-a-search-path.patch
|
||||
d90c034cae3f9097466854ed1a9f32ab4b02089fcdf7320e8f4da13b2b1ff65067233f48809911485e4431d7ec1a22448b934121bc9522a2dc489009e87e2b1f qemu-guest-agent.confd
|
||||
1cd24c2444c5935a763c501af2b0da31635aad9cf62e55416d6477fcec153cddbe7de205d99616def11b085e0dd366ba22463d2270f831d884edbc307c7864a6 qemu-guest-agent.initd
|
||||
|
Loading…
x
Reference in New Issue
Block a user