Some fixes, Edwin, May11, 2011,
cover Some fixes, Edwin, May11, 2011,
From: Zhai Edwin <[email protected]>
Upgrade qemu git to fix bug 1013, and removed some unused files.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/fix3
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/fix3
Thanks,
Zhai Edwin <[email protected]>
---
Zhai Edwin (2):
qemu: Upgrade qemu git to the latest 0.14 branch
clutter-cairo: remove remaining files from this obsolete recipe
.../qemu/qemu-git/enable-i386-linux-user.patch | 53 + meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch | 125 + .../qemu/qemu-git/linker-flags.patch | 22 + meta/recipes-devtools/qemu/qemu-git/no-strip.patch | 13 + .../qemu/qemu-git/qemu-git-qemugl-host.patch |34366 ++++++++++++++++++++ .../qemu/qemu-git/qemu-vmware-vga-depth.patch | 115 + .../qemu-git/qemugl-allow-glxcontext-release.patch | 63 + .../qemu/qemu-git/qemugl-fix.patch | 73 + meta/recipes-devtools/qemu/qemu_git.bb | 13 +- meta/recipes-graphics/clutter/clutter-cairo.inc | 13 - .../clutter-cairo/enable_examples-0.6.patch | 23 - .../clutter/clutter-cairo/enable_examples.patch | 28 - 12 files changed, 34837 insertions(+), 70 deletions(-) create mode 100644 meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/linker-flags.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/no-strip.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemu-git-qemugl-host.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemu-vmware-vga-depth.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemugl-fix.patch delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo.inc delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo/enable_examples-0.6.patch delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo/enable_examples.patch
PATCH 1/2 qemu: Upgrade qemu git to the latest 0.14 branch
From: Zhai Edwin <[email protected]>
Also add missing patch to build qemu-git
[YOCTO #1013] got fixed
--- .../qemu/qemu-git/enable-i386-linux-user.patch | 53 + meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch | 125 + .../qemu/qemu-git/linker-flags.patch | 22 + meta/recipes-devtools/qemu/qemu-git/no-strip.patch | 13 + .../qemu/qemu-git/qemu-git-qemugl-host.patch |34366 ++++++++++++++++++++ .../qemu/qemu-git/qemu-vmware-vga-depth.patch | 115 + .../qemu-git/qemugl-allow-glxcontext-release.patch | 63 + .../qemu/qemu-git/qemugl-fix.patch | 73 + meta/recipes-devtools/qemu/qemu_git.bb | 13 +- 9 files changed, 34837 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/linker-flags.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/no-strip.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemu-git-qemugl-host.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemu-vmware-vga-depth.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch create mode 100644 meta/recipes-devtools/qemu/qemu-git/qemugl-fix.patch
meta/recipes-devtools/qemu/qemu-git/enable-i386-linux-user.patch new file +53 -0
@@ -0,0 +1,53 @@ +Enable i386-linux-user + +Signed-off-by: Zhai Edwin <[email protected]> + +Index: qemu-0.14.0/Makefile.target +=================================================================== +--- qemu-0.14.0.orig/Makefile.target ++++ qemu-0.14.0/Makefile.target +@@ -78,8 +78,13 @@ ifeq ($(TARGET_BASE_ARCH), i386) + libobj-y += cpuid.o + endif + libobj-$(CONFIG_NEED_MMU) += mmu.o ++ifndef CONFIG_LINUX_USER + libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o + libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o ++else ++libobj-$(TARGET_I386) += dummygl.o ++libobj-$(TARGET_X86_64) += dummygl.o ++endif #CONFIG_LINUX_USER + libobj-$(TARGET_ARM) += dummygl.o + libobj-$(TARGET_MIPS) += dummygl.o + libobj-$(TARGET_PPC) += dummygl.o +Index: qemu-0.14.0/target-i386/dummygl.c +=================================================================== +--- /dev/null ++++ qemu-0.14.0/target-i386/dummygl.c +@@ -0,0 +1,26 @@ ++#include <string.h> ++#include <stdlib.h> ++#include <assert.h> ++#include <stdint.h> ++#include <X11/Xlib.h> ++#include <X11/Xutil.h> ++ ++void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window) ++{ ++ ++} ++ ++void opengl_process_enable(void) ++{ ++ ++} ++ ++ ++void mem_opengl(uint64_t ptr) ++{ ++ ++} ++ ++void helper_opengl(void) ++{ ++}
meta/recipes-devtools/qemu/qemu-git/fix-nogl.patch new file +125 -0
125 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-git/linker-flags.patch new file +22 -0
@@ -0,0 +1,22 @@ +Fedora 13 switched the default behaviour of the linker to no longer +indirectly link to required libraries (i.e. dependencies of a library +already linked to). Therefore we need to explicitly pass the depended on +libraries into the linker for building to work on Fedora 13. + +More information is available on the Fedora Wiki: +https://fedoraproject.org/wiki/UnderstandingDSOLinkChange + +JL - 15/06/10 +Index: qemu-0.14.0/Makefile.target +=================================================================== +--- qemu-0.14.0.orig/Makefile.target ++++ qemu-0.14.0/Makefile.target +@@ -218,7 +218,7 @@ obj-$(CONFIG_REALLY_VIRTFS) += virtio-9p + obj-y += rwhandler.o + obj-$(CONFIG_KVM) += kvm.o kvm-all.o + obj-$(CONFIG_NO_KVM) += kvm-stub.o +-LIBS+=-lz ++LIBS+=-lz -lX11 -ldl + + QEMU_CFLAGS += $(VNC_TLS_CFLAGS) + QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
meta/recipes-devtools/qemu/qemu-git/no-strip.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: qemu-0.14.0/Makefile +=================================================================== +--- qemu-0.14.0.orig/Makefile ++++ qemu-0.14.0/Makefile +@@ -235,7 +235,7 @@ install-sysconfig: + install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig + $(INSTALL_DIR) "$(DESTDIR)$(bindir)" + ifneq ($(TOOLS),) +- $(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)" ++ $(INSTALL_PROG) $(TOOLS) "$(DESTDIR)$(bindir)" + endif + ifneq ($(BLOBS),) + $(INSTALL_DIR) "$(DESTDIR)$(datadir)"
meta/recipes-devtools/qemu/qemu-git/qemu-git-qemugl-host.patch new file +34366 -0
2,787 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-git/qemu-vmware-vga-depth.patch new file +115 -0
115 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-git/qemugl-allow-glxcontext-release.patch new file +63 -0
63 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu-git/qemugl-fix.patch new file +73 -0
73 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.1
Part of the diff is not shown here. View the raw message.
PATCH 2/2 clutter-cairo: remove remaining files from this obsolete recipe
In reply to Zhai EdwinFrom: Zhai Edwin <[email protected]>
--- meta/recipes-graphics/clutter/clutter-cairo.inc | 13 --------- .../clutter-cairo/enable_examples-0.6.patch | 23 ---------------- .../clutter/clutter-cairo/enable_examples.patch | 28 -------------------- 3 files changed, 0 insertions(+), 64 deletions(-) delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo.inc delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo/enable_examples-0.6.patch delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo/enable_examples.patch
meta/recipes-graphics/clutter/clutter-cairo.inc deleted +0 -13
@@ -1,13 +0,0 @@ -DESCRIPTION = "Clutter Cairo" -HOMEPAGE = "http://www.clutter-project.org/" -LICENSE = "LGPL" - -DEPENDS = "cairo" - -FILESPATH = "${FILE_DIRNAME}/clutter-cairo" - -PACKAGES =+ "${PN}-examples" -FILES_${PN}-examples = "${bindir}/flowers ${bindir}/clock" - -inherit autotools pkgconfig -
meta/recipes-graphics/clutter/clutter-cairo/enable_examples-0.6.patch deleted +0 -23
@@ -1,23 +0,0 @@ -Index: clutter-cairo-0-6/examples/Makefile.am -=================================================================== ---- clutter-cairo-0-6.orig/examples/Makefile.am 2008-10-02 22:03:18.000000000 +0100 -+++ clutter-cairo-0-6/examples/Makefile.am 2008-10-02 22:03:31.000000000 +0100 -@@ -1,4 +1,4 @@ --noinst_PROGRAMS = clock flowers -+bin_PROGRAMS = clock flowers - - INCLUDES = -I$(top_srcdir)/ @GCC_FLAGS@ @DEPS_CFLAGS@ - AM_LDFLAGS = @DEPS_LIBS@ $(top_builddir)/libclutter-cairo-@[email protected] -Index: clutter-cairo-0-6/examples/flowers.c -=================================================================== ---- clutter-cairo-0-6.orig/examples/flowers.c 2008-10-02 22:03:23.000000000 +0100 -+++ clutter-cairo-0-6/examples/flowers.c 2008-10-02 22:03:39.000000000 +0100 -@@ -11,7 +11,7 @@ - - #define PETAL_MIN 20 - #define PETAL_VAR 40 --#define N_FLOWERS 40 /* reduce if you have a small card */ -+#define N_FLOWERS 8 /* reduce if you have a small card */ - - typedef struct Flower - {
meta/recipes-graphics/clutter/clutter-cairo/enable_examples.patch deleted +0 -28
@@ -1,28 +0,0 @@ ---- - examples/Makefile.am | 2 +- - examples/flowers.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -Index: clutter-cairo/examples/Makefile.am -=================================================================== ---- clutter-cairo.orig/examples/Makefile.am 2008-08-11 16:30:04.000000000 +0100 -+++ clutter-cairo/examples/Makefile.am 2008-08-11 16:30:24.000000000 +0100 -@@ -1,4 +1,4 @@ --noinst_PROGRAMS = clock flowers bubbles -+bin_PROGRAMS = clock flowers bubbles - - INCLUDES = -I$(top_srcdir)/ @GCC_FLAGS@ @DEPS_CFLAGS@ - AM_LDFLAGS = @DEPS_LIBS@ $(top_builddir)/libclutter-cairo-@[email protected] -Index: clutter-cairo/examples/flowers.c -=================================================================== ---- clutter-cairo.orig/examples/flowers.c 2008-08-11 16:30:04.000000000 +0100 -+++ clutter-cairo/examples/flowers.c 2008-08-11 16:30:10.000000000 +0100 -@@ -11,7 +11,7 @@ - - #define PETAL_MIN 20 - #define PETAL_VAR 40 --#define N_FLOWERS 40 /* reduce if you have a small card */ -+#define N_FLOWERS 8 /* reduce if you have a small card */ - - typedef struct Flower - {
Signature · 1 line
1.7.1
Richard Purdie
AppliedQuoted 8 lines · Zhai Edwin
From: Zhai Edwin <[email protected]>
Upgrade qemu git to fix bug 1013, and removed some unused files.
Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/fix3
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/fix3
Quoted 8 lines
Thanks,
Zhai Edwin <[email protected]>
---Zhai Edwin (2):
qemu: Upgrade qemu git to the latest 0.14 branch
clutter-cairo: remove remaining files from this obsolete recipe
Merged to master, thanks.
Richard