package/qt5webkit: rename patch to the new convention
PATCH 1/2 package/qt5webkit: rename patch to the new convention
Signed-off-by Samuel Martin <[email protected]>
--- package/qt5/qt5webkit/0001-egl-includepath.patch | 40 ++++++++++++++++++++++ .../qt5webkit/qt5webkit-0001-egl-includepath.patch | 40 ---------------------- 2 files changed, 40 insertions(+), 40 deletions(-) create mode 100644 package/qt5/qt5webkit/0001-egl-includepath.patch delete mode 100644 package/qt5/qt5webkit/qt5webkit-0001-egl-includepath.patch
package/qt5/qt5webkit/0001-egl-includepath.patch new file +40 -0
@@ -0,0 +1,40 @@ +From d6b1b33a12c0cf6c52667afafe34e58a7b00d0d8 Mon Sep 17 00:00:00 2001 +From: Floris Bos <[email protected]> +Date: Thu, 7 Mar 2013 19:25:17 +0100 +Subject: [PATCH] Webcore: add EGL and OpenGL (ES) INCDIR to INCLUDEPATH + +When building with 3D graphics support enabled, add the +OpenGL (ES) and EGL include directories to the include path. + +Signed-off-by: Floris Bos <[email protected]> +--- + Source/WebCore/Target.pri | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri +index 2669748..421a849 100644 +--- a/Source/WebCore/Target.pri ++++ b/Source/WebCore/Target.pri +@@ -3992,15 +3992,19 @@ use?(3D_GRAPHICS) { + + contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) { + !contains(QT_CONFIG, opengles2) { ++ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL + SOURCES += \ + platform/graphics/opengl/GraphicsContext3DOpenGL.cpp \ + platform/graphics/opengl/Extensions3DOpenGL.cpp + } else { ++ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2 + SOURCES += \ + platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp \ + platform/graphics/opengl/Extensions3DOpenGLES.cpp + } + ++ !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL ++ + HEADERS += platform/graphics/opengl/Extensions3DOpenGL.h + + SOURCES += \ +-- +1.7.10.4 +
package/qt5/qt5webkit/qt5webkit-0001-egl-includepath.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From d6b1b33a12c0cf6c52667afafe34e58a7b00d0d8 Mon Sep 17 00:00:00 2001 -From: Floris Bos <[email protected]> -Date: Thu, 7 Mar 2013 19:25:17 +0100 -Subject: [PATCH] Webcore: add EGL and OpenGL (ES) INCDIR to INCLUDEPATH - -When building with 3D graphics support enabled, add the -OpenGL (ES) and EGL include directories to the include path. - -Signed-off-by: Floris Bos <[email protected]> ---- - Source/WebCore/Target.pri | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri -index 2669748..421a849 100644 ---- a/Source/WebCore/Target.pri -+++ b/Source/WebCore/Target.pri -@@ -3992,15 +3992,19 @@ use?(3D_GRAPHICS) { - - contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) { - !contains(QT_CONFIG, opengles2) { -+ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL - SOURCES += \ - platform/graphics/opengl/GraphicsContext3DOpenGL.cpp \ - platform/graphics/opengl/Extensions3DOpenGL.cpp - } else { -+ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2 - SOURCES += \ - platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp \ - platform/graphics/opengl/Extensions3DOpenGLES.cpp - } - -+ !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL -+ - HEADERS += platform/graphics/opengl/Extensions3DOpenGL.h - - SOURCES += \ --- -1.7.10.4 -
Signature · 1 line
2.1.3
PATCH 2/2 package/qt5webkit: fix build failure
This patch fixes build failure when the host python interpreter is python3.
Fixes:
http://autobuild.buildroot.net/results/af8/af8f3d3cc018006cee58d57cd9e8c6d8b3de3247/
Signed-off-by Samuel Martin <[email protected]>
--- .../0002-Fix-build-failure-with-python3.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/qt5/qt5webkit/0002-Fix-build-failure-with-python3.patch
package/qt5/qt5webkit/0002-Fix-build-failure-with-python3.patch new file +31 -0
@@ -0,0 +1,31 @@ +Fetched from: https://codereview.qt-project.org/#/c/99784/ + +From e9d00f6279f9cfefc5a3144d5953bb7934aed418 Mon Sep 17 00:00:00 2001 +From: Samuel Martin <[email protected]> +Date: Thu, 13 Nov 2014 15:29:38 +0100 +Subject: [PATCH] Fix build failure with python3 + +Task-number: QTBUG-33692 +Change-Id: I7a3bc6217110ce3a0bf5fee4b3b675dee39d8ac5 + +Signed-off-by: Samuel Martin <[email protected]> +--- + Source/JavaScriptCore/disassembler/udis86/itab.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/JavaScriptCore/disassembler/udis86/itab.py b/Source/JavaScriptCore/disassembler/udis86/itab.py +index 3d50ad0..90bd3e0 100644 +--- a/Source/JavaScriptCore/disassembler/udis86/itab.py ++++ b/Source/JavaScriptCore/disassembler/udis86/itab.py +@@ -314,7 +314,7 @@ class UdItabGenerator( ud_opcode.UdOpcodeTables ): + self.ItabH.write( "\n" ) + + self.ItabH.write("\n/* itab entry operand definitions */\n"); +- operands = self.OperandDict.keys() ++ operands = list( self.OperandDict.keys() ) + operands.sort() + for o in operands: + self.ItabH.write("#define O_%-7s { %-12s %-8s }\n" % +-- +2.1.3 +
Signature · 1 line
2.1.3
PATCH 2/2 package/qt5webkit: fix build failure
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Samuel" == Samuel Martin <[email protected]> writes:
This patch fixes build failure when the host python interpreter is python3. Fixes:
http://autobuild.buildroot.net/results/af8/af8f3d3cc018006cee58d57cd9e8c6d8b3de3247/Signed-off-by Samuel Martin <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard