All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy
@ 2014-07-18 18:51 Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version Denys Dmytriyenko
                   ` (10 more replies)
  0 siblings, 11 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

qtbase patches are not applicable to 5.2.1

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../qt5/qtbase/0001-qeglfswindow.cpp.patch         | 56 ----------------------
 .../qt5/qtbase/0002-qeglfswindow.cpp.patch         | 34 -------------
 .../recipes-qt/qt5/qtbase_5.2.0.bbappend           |  8 ----
 ...bkit_5.2.0.bbappend => qtwebkit_5.2.1.bbappend} |  0
 4 files changed, 98 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-qeglfswindow.cpp.patch
 delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-qeglfswindow.cpp.patch
 delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
 rename meta-arago-distro/recipes-qt/qt5/{qtwebkit_5.2.0.bbappend => qtwebkit_5.2.1.bbappend} (100%)

diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/0001-qeglfswindow.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtbase/0001-qeglfswindow.cpp.patch
deleted file mode 100644
index b95b98e..0000000
--- a/meta-arago-distro/recipes-qt/qt5/qtbase/0001-qeglfswindow.cpp.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp.orig	2013-08-09 23:29:18.253037952 +0530
-+++ qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp	2013-08-09 23:41:18.509018405 +0530
-@@ -61,23 +61,32 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
- #endif
- }
- 
- QEglFSWindow::~QEglFSWindow()
- {
-     destroy();
- }
- 
-+static EGLSurface __singleWindowSurface;
- void QEglFSWindow::create()
- {
-     if (m_window)
-         return;
- 
-     setWindowState(Qt::WindowFullScreen);
- 
-+    if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::Capability::MultipleWindows) && __singleWindowSurface)
-+    {
-+        m_surface = __singleWindowSurface;
-+#ifdef QEGL_EXTRA_DEBUG
-+    qWarning("Surface recreate request, re-using %x\n", m_surface);
-+#endif
-+       return;
-+    }
-     if (window()->type() == Qt::Desktop) {
-         QRect rect(QPoint(), QEglFSHooks::hooks()->screenSize());
-         QPlatformWindow::setGeometry(rect);
-         QWindowSystemInterface::handleGeometryChange(window(), rect);
-         return;
-     }
- 
-     EGLDisplay display = (static_cast<QEglFSScreen *>(window()->screen()->handle()))->display();
-@@ -104,16 +113,20 @@ void QEglFSWindow::resetSurface()
- 
-     m_window = QEglFSHooks::hooks()->createNativeWindow(QEglFSHooks::hooks()->screenSize(), m_format);
-     m_surface = eglCreateWindowSurface(display, m_config, m_window, NULL);
-     if (m_surface == EGL_NO_SURFACE) {
-         EGLint error = eglGetError();
-         eglTerminate(display);
-         qFatal("EGL Error : Could not create the egl surface: error = 0x%x\n", error);
-     }
-+    if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::Capability::MultipleWindows))
-+    {
-+        __singleWindowSurface = m_surface;
-+    }
- }
- 
- void QEglFSWindow::destroy()
- {
-     if (m_surface) {
-         EGLDisplay display = static_cast<QEglFSScreen *>(screen())->display();
-         eglDestroySurface(display, m_surface);
-         m_surface = 0;
diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/0002-qeglfswindow.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtbase/0002-qeglfswindow.cpp.patch
deleted file mode 100644
index 8d17348..0000000
--- a/meta-arago-distro/recipes-qt/qt5/qtbase/0002-qeglfswindow.cpp.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp.old	2013-09-09 23:09:24.433774489 +0530
-+++ qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp	2013-09-09 23:12:22.105766689 +0530
-@@ -54,30 +54,30 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
-     , m_surface(0)
-     , m_window(0)
- {
-     static int serialNo = 0;
-     m_winid  = ++serialNo;
- #ifdef QEGL_EXTRA_DEBUG
-     qWarning("QEglWindow %p: %p 0x%x\n", this, w, uint(m_winid));
- #endif
-+    setWindowState(Qt::WindowFullScreen);
- }
- 
- QEglFSWindow::~QEglFSWindow()
- {
-     destroy();
- }
- 
- static EGLSurface __singleWindowSurface;
- void QEglFSWindow::create()
- {
-     if (m_window)
-         return;
- 
--    setWindowState(Qt::WindowFullScreen);
- 
-     if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::Capability::MultipleWindows) && __singleWindowSurface)
-     {
-         m_surface = __singleWindowSurface;
- #ifdef QEGL_EXTRA_DEBUG
-     qWarning("Surface recreate request, re-using %x\n", m_surface);
- #endif
-        return;
diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
deleted file mode 100644
index 2c0a52d..0000000
--- a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
+++ /dev/null
@@ -1,8 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += " \
-	file://0001-qeglfswindow.cpp.patch \
-	file://0002-qeglfswindow.cpp.patch \
-"
-
-PR_append = "-arago1"
diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.0.bbappend b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
similarity index 100%
rename from meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.0.bbappend
rename to meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-24 16:57   ` Cooper Jr., Franklin
  2014-07-18 18:51 ` [PATCH 03/11] arago.conf: re-enable gles2 flag for qt5 builds Denys Dmytriyenko
                   ` (9 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 ...update-to-use-GL_NoX-version-of-GraphicsS.patch | 29 ++++++++++++++++++++++
 .../recipes-qt/qt5/qtwebkit/OpenGLShims.cpp.patch  | 24 ------------------
 .../recipes-qt/qt5/qtwebkit/Target.pri.patch       | 24 ------------------
 .../recipes-qt/qt5/qtwebkit/features.prf.patch     | 20 ---------------
 .../recipes-qt/qt5/qtwebkit_5.2.1.bbappend         |  6 ++---
 5 files changed, 31 insertions(+), 72 deletions(-)
 create mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch
 delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/OpenGLShims.cpp.patch
 delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch
 delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch

diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch b/meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch
new file mode 100644
index 0000000..55a4c03
--- /dev/null
+++ b/meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch
@@ -0,0 +1,29 @@
+From 90de2ab42bdd51b92dd00f700d6766ca1ffd23c0 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Thu, 17 Jul 2014 16:11:46 -0400
+Subject: [PATCH] Target.pri: update to use GL_NoX version of GraphicsSurface
+ sources
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ Source/WebCore/Target.pri | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri
+index e2044bc..cc9bdd4 100644
+--- a/Source/WebCore/Target.pri
++++ b/Source/WebCore/Target.pri
+@@ -4283,6 +4283,10 @@ use?(GRAPHICS_SURFACE) {
+             platform/graphics/surfaces/glx/X11Helper.cpp \
+             platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp
+     }
++    contains(QT_CONFIG, opengles2) {
++        SOURCES -= platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
++        SOURCES += platform/graphics/surfaces/qt/GraphicsSurfaceGL_NoX.cpp
++    }
+ }
+ 
+ build?(qttestsupport) {
+-- 
+2.0.0
+
diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/OpenGLShims.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtwebkit/OpenGLShims.cpp.patch
deleted file mode 100644
index 9261bed..0000000
--- a/meta-arago-distro/recipes-qt/qt5/qtwebkit/OpenGLShims.cpp.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- qtwebkit/Source/WebCore/platform/graphics/OpenGLShims.cpp.orig	2013-09-07 13:46:41.614844342 +0530
-+++ qtwebkit/Source/WebCore/platform/graphics/OpenGLShims.cpp	2013-09-07 13:47:39.602841796 +0530
-@@ -35,17 +35,20 @@ OpenGLFunctionTable* openGLFunctionTable
- {
-     static OpenGLFunctionTable table;
-     return &table;
- }
- 
- #if PLATFORM(QT)
- static void* getProcAddress(const char* procName)
- {
--    return reinterpret_cast<void*>(QOpenGLContext::currentContext()->getProcAddress(procName));
-+    if(QOpenGLContext::currentContext())
-+        return reinterpret_cast<void*>(QOpenGLContext::currentContext()->getProcAddress(procName));
-+    else
-+        return NULL;
- }
- #else
- typedef void* (*glGetProcAddressType) (const char* procName);
- static void* getProcAddress(const char* procName)
- {
-     static bool initialized = false;
-     static glGetProcAddressType getProcAddressFunction = 0;
- 
diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch b/meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch
deleted file mode 100644
index fcd7658..0000000
--- a/meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- qtwebkit/Source/WebCore/Target.pri.orig	2013-09-07 13:48:04.030840724 +0530
-+++ qtwebkit/Source/WebCore/Target.pri	2013-09-07 13:49:01.714838191 +0530
-@@ -4095,16 +4095,21 @@ use?(GRAPHICS_SURFACE) {
-         INCLUDEPATH += /System/Library/Frameworks/CoreFoundation.framework/Headers
-     }
-     win32 {
-         SOURCES += platform/graphics/surfaces/win/GraphicsSurfaceWin.cpp
-     }
-     have?(XCOMPOSITE) {
-         SOURCES += platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
-     }
-+    contains(QT_CONFIG, opengles2) {
-+        SOURCES -= platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
-+        SOURCES += platform/graphics/surfaces/qt/GraphicsSurfaceGL_NoX.cpp
-+    }
-+
- }
- 
- build?(qttestsupport) {
-     HEADERS += platform/qt/QtTestSupport.h
-     SOURCES += platform/qt/QtTestSupport.cpp
- }
- 
- ALL_IN_ONE_SOURCES += \
diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch b/meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch
deleted file mode 100644
index 288f116..0000000
--- a/meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- qtwebkit/Tools/qmake/mkspecs/features/features.prf.orig	2013-09-07 13:49:38.210836589 +0530
-+++ qtwebkit/Tools/qmake/mkspecs/features/features.prf	2013-09-07 13:50:13.574835036 +0530
-@@ -127,16 +127,17 @@ defineTest(detectFeatures) {
-     packagesExist(libudev): WEBKIT_CONFIG += gamepad
- 
-     # Support for Graphics Surface
-     # GraphicsSurface requires GraphicsContext3D and hence use_3d_graphics
-     use?(3d_graphics) {
-         mac: WEBKIT_CONFIG += use_graphics_surface
-         win32:contains(QT_CONFIG, opengles2): WEBKIT_CONFIG += use_graphics_surface
-         linux-*:contains(WEBKIT_CONFIG, have_glx):contains(WEBKIT_CONFIG, have_xcomposite):contains(WEBKIT_CONFIG, have_xrender): WEBKIT_CONFIG += use_graphics_surface
-+        linux-*:contains(QT_CONFIG, opengles2): WEBKIT_CONFIG += use_graphics_surface
-     }
- 
-     # Slider Touch is sensible to use when compiling WebKit2
-     enable?(touch_events): WEBKIT_CONFIG += touch_slider
- 
- 
-     # Minibrowser must be able to query for QtTestSupport
-     build?(qttestsupport): WEBKIT_CONFIG += have_qttestsupport
diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
index e86c8a2..63461f5 100644
--- a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
+++ b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
@@ -1,14 +1,12 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += " \
-	file://features.prf.patch \
 	file://GraphicsContext3DQt.cpp.patch \
 	file://GraphicsSurfaceGL_NoX.cpp.patch \
 	file://GraphicsSurfaceToken.h.patch \
-	file://OpenGLShims.cpp.patch \
 	file://qttestbrowser.cpp.patch \
-	file://Target.pri.patch \
+	file://0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch \
 	file://WebCore.pri.patch \
 "
 
-PR_append = "-arago1"
+PR_append = "-arago2"
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 03/11] arago.conf: re-enable gles2 flag for qt5 builds
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-22 21:38   ` Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 04/11] weston: set default fbdev backend automatically when building for it Denys Dmytriyenko
                   ` (8 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index b9af13f..def7a42 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -23,9 +23,8 @@ DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbh
 DISTRO_FEATURES += "opengl"
 PACKAGECONFIG_pn-weston = "kms fbdev"
 
-# Configure Qt5 flags (GLES is disabled for now)
-#PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
-PACKAGECONFIG_GL_pn-qtbase = "linuxfb"
+# Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
+PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
 PACKAGECONFIG_DISTRO_pn-qtbase = "icu"
 
 # ARM9 is not supported by the Linaro toolchain so default back to the Arago
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 04/11] weston: set default fbdev backend automatically when building for it
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 03/11] arago.conf: re-enable gles2 flag for qt5 builds Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 05/11] HACK: packagegroup-*-connectivity: disable wpa-gui for not supporting Qt5 Denys Dmytriyenko
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Otherwise the default is always DRM/KMS

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
index 5213166..7a3d2ae 100644
--- a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
+++ b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
@@ -44,7 +44,7 @@ PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/l
 # Headless Weston
 PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
 # Weston on framebuffer
-PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
+PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
 # weston-launch
 PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
 # VA-API desktop recorder
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 05/11] HACK: packagegroup-*-connectivity: disable wpa-gui for not supporting Qt5
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (2 preceding siblings ...)
  2014-07-18 18:51 ` [PATCH 04/11] weston: set default fbdev backend automatically when building for it Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-18 19:33   ` [PATCH v2 05/11] packagegroup-*-connectivity: conditionally " Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 06/11] HACK: matrix-gui: run on top of Wayland Denys Dmytriyenko
                   ` (6 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../packagegroups/packagegroup-arago-tisdk-connectivity.bb           | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
index 7b3480c..53eaf4b 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install wireless packages into the target FS"
 LICENSE = "MIT"
-PR = "r24"
+PR = "r25"
 
 inherit packagegroup
 
@@ -34,9 +34,10 @@ FIRMWARE_AND_DRIVERS = "\
 "
 
 DEMO_APPS = "\
-    wpa-gui-e \
 "
 
+#    wpa-gui-e
+
 BLUETOOTH_STACK = "\
     bluez4 \
     bluez4-agent \
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 06/11] HACK: matrix-gui: run on top of Wayland
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (3 preceding siblings ...)
  2014-07-18 18:51 ` [PATCH 05/11] HACK: packagegroup-*-connectivity: disable wpa-gui for not supporting Qt5 Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-18 19:18   ` Denys Dmytriyenko
  2014-07-18 18:51 ` [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston Denys Dmytriyenko
                   ` (5 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-extras/recipes-core/matrix/matrix-gui/init   | 7 +++++--
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/init b/meta-arago-extras/recipes-core/matrix/matrix-gui/init
index dab7dc6..6286028 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui/init
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/init
@@ -2,17 +2,20 @@
 
 matrixgui="/usr/bin/matrix_browser"
 ROTATION=__MATRIX_ROT__
-GUI_OPTS="-qws $ROTATION http://localhost:80/"
+GUI_OPTS="http://localhost:80/"
 PIDFILE="/var/run/matrix-gui-2.0.pid"
 
 test -x "$matrixgui" || exit 0
 
 export TSLIB_TSDEVICE=/dev/input/touchscreen0
 export QWS_MOUSE_PROTO=Auto
+export QT_QPA_PLATFORM=wayland
+export XDG_RUNTIME_DIR=/run/user/root
+export WAYLAND_DISPLAY=wayland-0
 
 case "$1" in
   start)
-    chvt 4
+#    chvt 4
 
     # ARM9 devices get a lot of alignment trap errors with the current
     # version of Qt (4.7.2) that we use.  The printing of these messages
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
index 523cfe1..16f2eeb 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r16"
+PR = "r17"
 
 INITSCRIPT_NAME = "matrix-gui-2.0"
 INITSCRIPT_PARAMS = "defaults 97"
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (4 preceding siblings ...)
  2014-07-18 18:51 ` [PATCH 06/11] HACK: matrix-gui: run on top of Wayland Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-24 18:36   ` Cooper Jr., Franklin
  2014-07-18 18:51 ` [PATCH 08/11] packagegroup-*-graphics: add Weston to corresponding packagegroup Denys Dmytriyenko
                   ` (4 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index def7a42..2686264 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -1,3 +1,5 @@
+QT_PROVIDER = "qt5"
+
 # Name and version of the distribution
 DISTRO_NAME = "Arago"
 DISTRO_VERSION = "2014.06"
@@ -20,8 +22,8 @@ NO32LIBS = "0"
 DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g ipv4 ipv6 pulseaudio ${DISTRO_FEATURES_LIBC}"
 
 # Set additional distro features to enable Wayland and Weston
-DISTRO_FEATURES += "opengl"
-PACKAGECONFIG_pn-weston = "kms fbdev"
+DISTRO_FEATURES += "opengl pam"
+PACKAGECONFIG_pn-weston = "fbdev launch"
 
 # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
 PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 08/11] packagegroup-*-graphics: add Weston to corresponding packagegroup
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (5 preceding siblings ...)
  2014-07-18 18:51 ` [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston Denys Dmytriyenko
@ 2014-07-18 18:51 ` Denys Dmytriyenko
  2014-07-24 18:37   ` Cooper Jr., Franklin
  2014-07-18 18:52 ` [PATCH 09/11] refresh-screen: fix up Windows newlines in patches Denys Dmytriyenko
                   ` (3 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
index f1dce66..fd64022 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install graphics binaries"
 LICENSE = "MIT"
-PR = "r3"
+PR = "r4"
 
 inherit packagegroup
 
@@ -20,6 +20,8 @@ GRAPHICS_RDEPENDS = ""
 
 GRAPHICS_RDEPENDS_ti33x = "\
     ${GRAPHICS_SDK} \
+    weston \
+    weston-init \
 "
 
 GRAPHICS_RDEPENDS_ti43x = "\
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 09/11] refresh-screen: fix up Windows newlines in patches
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (6 preceding siblings ...)
  2014-07-18 18:51 ` [PATCH 08/11] packagegroup-*-graphics: add Weston to corresponding packagegroup Denys Dmytriyenko
@ 2014-07-18 18:52 ` Denys Dmytriyenko
  2014-07-18 19:17   ` Denys Dmytriyenko
  2014-07-18 18:52 ` [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-SA-3.0 license Denys Dmytriyenko
                   ` (2 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:52 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 ...sh-screen.pro-add-widgets-module-to-the-project.patch | 16 ++++++++--------
 ...002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch b/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch
index c379b5c..b9a1f80 100644
--- a/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch
+++ b/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch
@@ -13,14 +13,14 @@ index afe5c25..a79abd0 100644
 --- a/refresh_screen.pro
 +++ b/refresh_screen.pro
 @@ -4,7 +4,7 @@
- #
- #-------------------------------------------------
- 
--QT       += core gui
-+QT       += core gui widgets
- 
- TARGET = refresh_screen
- TEMPLATE = app
+ #
+ #-------------------------------------------------
+ 
+-QT       += core gui
++QT       += core gui widgets
+ 
+ TARGET = refresh_screen
+ TEMPLATE = app
 -- 
 1.9.2
 
diff --git a/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch b/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch
index 4966238..66c002d 100644
--- a/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch
+++ b/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch
@@ -13,14 +13,14 @@ index c5744d8..5a61904 100644
 --- a/main.cpp
 +++ b/main.cpp
 @@ -36,7 +36,7 @@
-  *
- */
- 
--#include <QtGui/QApplication>
-+#include <QtWidgets/QApplication>
- #include "mainwindow.h"
- 
- int main(int argc, char *argv[])
+  *
+ */
+ 
+-#include <QtGui/QApplication>
++#include <QtWidgets/QApplication>
+ #include "mainwindow.h"
+ 
+ int main(int argc, char *argv[])
 -- 
 1.9.2
 
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-SA-3.0 license
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (7 preceding siblings ...)
  2014-07-18 18:52 ` [PATCH 09/11] refresh-screen: fix up Windows newlines in patches Denys Dmytriyenko
@ 2014-07-18 18:52 ` Denys Dmytriyenko
  2014-07-24 18:40   ` Cooper Jr., Franklin
  2014-07-18 18:52 ` [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature Denys Dmytriyenko
  2014-07-24 16:56 ` [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Cooper Jr., Franklin
  10 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:52 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb       | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc          | 2 +-
 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb    | 1 -
 .../recipes-core/matrix/matrix-gui-armbenchmarks-demos_2.0.bb          | 1 -
 .../recipes-core/matrix/matrix-gui-camera-loopback_2.0.bb              | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb         | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb   | 1 -
 .../recipes-core/matrix/matrix-gui-display-control_2.0.bb              | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.0.bb | 3 ++-
 .../recipes-core/matrix/matrix-gui-multimedia-demos_2.0.bb             | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb       | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb      | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb      | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb       | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb      | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb     | 1 -
 meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb     | 1 -
 19 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
index e1c3023..b87b925 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "3D demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
index c985859..1e18411 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
@@ -1,4 +1,4 @@
-LICENSE = "CC-BY-SA"
+LICENSE = "CC-BY-SA-3.0"
 #By default all Matrix v2 applications use the same license.
 LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb
index 4d271c7..f422bc8 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Image package for Matrix GUI v2 Applications"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-demos_2.0.bb
index 484aafe..7aa185d 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Arm Benchmarks Applications for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-loopback_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-loopback_2.0.bb
index ae613fd..c105c6f 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-loopback_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-loopback_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Camera loopback application for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
index 5b80b90..5937c6d 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Clock setting descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb
index 92fc916..04b0825 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-display-control_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-display-control_2.0.bb
index a93c7b8..b3094b2 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-display-control_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-display-control_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Display control descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.0.bb
index 8a8459a..e716f78 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.0.bb
@@ -1,9 +1,10 @@
 DESCRIPTION = "Ethernet example applications"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA & GPLv2+"
 
 require matrix-gui-apps-git.inc
 
+LICENSE = "CC-BY-SA-3.0 & GPLv2+"
+
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM} \
                      file://../../udhcpd_eth1.conf;beginline=1;endline=14;md5=70668b1ed5416406a61ef9abdd90d601 \
 "
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-demos_2.0.bb
index 55bed44..739e03f 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Multimedia demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb
index bc337ff..9630081 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Oprofile demo applications for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
index a040deb..e174574 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Power management demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb
index 3eb470c..0a09e33 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "PRU demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb
index 6f6ad69..e0ff0ca 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb
index 6f51dba..faa64a3 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Settings demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb
index d794277..cfbe124 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Submenu packages for Matrix GUI v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb
index 0c58f17..6a1ecc8 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "USB demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb
index b42c9f3..91d5d58 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "V4l2 demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb
index 263ae91..0b1cec5 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb
@@ -1,6 +1,5 @@
 DESCRIPTION = "Wifi demo descriptions for Matrix v2"
 HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
-LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (8 preceding siblings ...)
  2014-07-18 18:52 ` [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-SA-3.0 license Denys Dmytriyenko
@ 2014-07-18 18:52 ` Denys Dmytriyenko
  2014-07-18 19:20   ` Denys Dmytriyenko
  2014-07-18 19:34   ` [PATCH v2 " Denys Dmytriyenko
  2014-07-24 16:56 ` [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Cooper Jr., Franklin
  10 siblings, 2 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 18:52 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf              | 2 +-
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 2686264..3ac30ce 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -49,7 +49,7 @@ TARGET_CPPFLAGS += "-fstack-protector"
 require conf/distro/include/arago-prefs.inc
 
 # Hack out sgx flag for now, as breaking on kernels >= 3.14
-MACHINE_FEATURES := "${@filter_out('sgx','${MACHINE_FEATURES}',d)}"
+MACHINE_FEATURES_remove = "sgx"
 
 # Allow branding on top of Arago Distro and Core TI-SDK
 # If ARAGO_BRAND is not set in local.conf, default to core
diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index 8261d10..650a71d 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -103,7 +103,3 @@ PREFERRED_PROVIDER_gstreamer = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gs
 PREFERRED_PROVIDER_gst-plugins-bad = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-bad-mm-accel', 'gst-plugins-bad', d)}"
 PREFERRED_PROVIDER_gst-plugins-base = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-base-mm-accel', 'gst-plugins-base', d)}"
 PREFERRED_PROVIDER_gst-plugins-good = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-good-mm-accel', 'gst-plugins-good', d)}"
-
-def filter_out(f, str, d):
-    from re import match
-    return " ".join(filter(lambda x: not match(f, x, 0), str.split()))
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* Re: [PATCH 09/11] refresh-screen: fix up Windows newlines in patches
  2014-07-18 18:52 ` [PATCH 09/11] refresh-screen: fix up Windows newlines in patches Denys Dmytriyenko
@ 2014-07-18 19:17   ` Denys Dmytriyenko
  0 siblings, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 19:17 UTC (permalink / raw)
  To: meta-arago

So, the newlines were supposed to be fixed in my previous patch to 
refresh-screen. But they get lost everytime the patch goes over email (like 
this one as well). So, I'd have to push it directly this time around...


On Fri, Jul 18, 2014 at 02:52:00PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  ...sh-screen.pro-add-widgets-module-to-the-project.patch | 16 ++++++++--------
>  ...002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch | 16 ++++++++--------
>  2 files changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch b/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch
> index c379b5c..b9a1f80 100644
> --- a/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch
> +++ b/meta-arago-extras/recipes-core/matrix/refresh-screen/0001-refresh-screen.pro-add-widgets-module-to-the-project.patch
> @@ -13,14 +13,14 @@ index afe5c25..a79abd0 100644
>  --- a/refresh_screen.pro
>  +++ b/refresh_screen.pro
>  @@ -4,7 +4,7 @@
> - #
> - #-------------------------------------------------
> - 
> --QT       += core gui
> -+QT       += core gui widgets
> - 
> - TARGET = refresh_screen
> - TEMPLATE = app
> + #
> + #-------------------------------------------------
> + 
> +-QT       += core gui
> ++QT       += core gui widgets
> + 
> + TARGET = refresh_screen
> + TEMPLATE = app
>  -- 
>  1.9.2
>  
> diff --git a/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch b/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch
> index 4966238..66c002d 100644
> --- a/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch
> +++ b/meta-arago-extras/recipes-core/matrix/refresh-screen/0002-Replace-QtGui-header-with-QtWidgets-for-Qt5.patch
> @@ -13,14 +13,14 @@ index c5744d8..5a61904 100644
>  --- a/main.cpp
>  +++ b/main.cpp
>  @@ -36,7 +36,7 @@
> -  *
> - */
> - 
> --#include <QtGui/QApplication>
> -+#include <QtWidgets/QApplication>
> - #include "mainwindow.h"
> - 
> - int main(int argc, char *argv[])
> +  *
> + */
> + 
> +-#include <QtGui/QApplication>
> ++#include <QtWidgets/QApplication>
> + #include "mainwindow.h"
> + 
> + int main(int argc, char *argv[])
>  -- 
>  1.9.2
>  
> -- 
> 2.0.0
> 


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 06/11] HACK: matrix-gui: run on top of Wayland
  2014-07-18 18:51 ` [PATCH 06/11] HACK: matrix-gui: run on top of Wayland Denys Dmytriyenko
@ 2014-07-18 19:18   ` Denys Dmytriyenko
  2014-07-24 18:32     ` Cooper Jr., Franklin
  0 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 19:18 UTC (permalink / raw)
  To: meta-arago

On Fri, Jul 18, 2014 at 02:51:57PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>

This would require some cleanup - exporting additional env variables should be 
fine, but there were some problems with -qws option and chvt, so I had to drop 
them. Of course, if we want to preserve the old behavior, this would need to 
be done conditionally...


> ---
>  meta-arago-extras/recipes-core/matrix/matrix-gui/init   | 7 +++++--
>  meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb | 2 +-
>  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/init b/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> index dab7dc6..6286028 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> @@ -2,17 +2,20 @@
>  
>  matrixgui="/usr/bin/matrix_browser"
>  ROTATION=__MATRIX_ROT__
> -GUI_OPTS="-qws $ROTATION http://localhost:80/"
> +GUI_OPTS="http://localhost:80/"
>  PIDFILE="/var/run/matrix-gui-2.0.pid"
>  
>  test -x "$matrixgui" || exit 0
>  
>  export TSLIB_TSDEVICE=/dev/input/touchscreen0
>  export QWS_MOUSE_PROTO=Auto
> +export QT_QPA_PLATFORM=wayland
> +export XDG_RUNTIME_DIR=/run/user/root
> +export WAYLAND_DISPLAY=wayland-0
>  
>  case "$1" in
>    start)
> -    chvt 4
> +#    chvt 4
>  
>      # ARM9 devices get a lot of alignment trap errors with the current
>      # version of Qt (4.7.2) that we use.  The printing of these messages
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> index 523cfe1..16f2eeb 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
>  
>  SECTION = "multimedia"
>  
> -PR = "r16"
> +PR = "r17"
>  
>  INITSCRIPT_NAME = "matrix-gui-2.0"
>  INITSCRIPT_PARAMS = "defaults 97"
> -- 
> 2.0.0
> 


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature
  2014-07-18 18:52 ` [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature Denys Dmytriyenko
@ 2014-07-18 19:20   ` Denys Dmytriyenko
  2014-07-18 19:34   ` [PATCH v2 " Denys Dmytriyenko
  1 sibling, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 19:20 UTC (permalink / raw)
  To: meta-arago

On Fri, Jul 18, 2014 at 02:52:02PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>

I'll have to send v2 that preserves filter_out as it's used by 
Chase's ASSUME_PROVIDED.


> ---
>  meta-arago-distro/conf/distro/arago.conf              | 2 +-
>  meta-arago-distro/conf/distro/include/arago-prefs.inc | 4 ----
>  2 files changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
> index 2686264..3ac30ce 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -49,7 +49,7 @@ TARGET_CPPFLAGS += "-fstack-protector"
>  require conf/distro/include/arago-prefs.inc
>  
>  # Hack out sgx flag for now, as breaking on kernels >= 3.14
> -MACHINE_FEATURES := "${@filter_out('sgx','${MACHINE_FEATURES}',d)}"
> +MACHINE_FEATURES_remove = "sgx"
>  
>  # Allow branding on top of Arago Distro and Core TI-SDK
>  # If ARAGO_BRAND is not set in local.conf, default to core
> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> index 8261d10..650a71d 100644
> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> @@ -103,7 +103,3 @@ PREFERRED_PROVIDER_gstreamer = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gs
>  PREFERRED_PROVIDER_gst-plugins-bad = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-bad-mm-accel', 'gst-plugins-bad', d)}"
>  PREFERRED_PROVIDER_gst-plugins-base = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-base-mm-accel', 'gst-plugins-base', d)}"
>  PREFERRED_PROVIDER_gst-plugins-good = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-good-mm-accel', 'gst-plugins-good', d)}"
> -
> -def filter_out(f, str, d):
> -    from re import match
> -    return " ".join(filter(lambda x: not match(f, x, 0), str.split()))
> -- 
> 2.0.0
> 


^ permalink raw reply	[flat|nested] 29+ messages in thread

* [PATCH v2 05/11] packagegroup-*-connectivity: conditionally disable wpa-gui for not supporting Qt5
  2014-07-18 18:51 ` [PATCH 05/11] HACK: packagegroup-*-connectivity: disable wpa-gui for not supporting Qt5 Denys Dmytriyenko
@ 2014-07-18 19:33   ` Denys Dmytriyenko
  2014-07-24 18:30     ` Cooper Jr., Franklin
  0 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 19:33 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
v2 - make logic conditional based on Qt version

 .../packagegroups/packagegroup-arago-tisdk-connectivity.bb            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
index 7b3480c..458a2f9 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install wireless packages into the target FS"
 LICENSE = "MIT"
-PR = "r24"
+PR = "r25"
 
 inherit packagegroup
 
@@ -34,7 +34,7 @@ FIRMWARE_AND_DRIVERS = "\
 "
 
 DEMO_APPS = "\
-    wpa-gui-e \
+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'wpa-gui-e', d)} \
 "
 
 BLUETOOTH_STACK = "\
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [PATCH v2 11/11] arago.conf: use the new _remove override to filter out sgx feature
  2014-07-18 18:52 ` [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature Denys Dmytriyenko
  2014-07-18 19:20   ` Denys Dmytriyenko
@ 2014-07-18 19:34   ` Denys Dmytriyenko
  2014-07-24 18:41     ` Cooper Jr., Franklin
  1 sibling, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-18 19:34 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
v2 - do not remove local filter_out function, still used by ASSUME_PROVIDED

 meta-arago-distro/conf/distro/arago.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 2686264..3ac30ce 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -49,7 +49,7 @@ TARGET_CPPFLAGS += "-fstack-protector"
 require conf/distro/include/arago-prefs.inc
 
 # Hack out sgx flag for now, as breaking on kernels >= 3.14
-MACHINE_FEATURES := "${@filter_out('sgx','${MACHINE_FEATURES}',d)}"
+MACHINE_FEATURES_remove = "sgx"
 
 # Allow branding on top of Arago Distro and Core TI-SDK
 # If ARAGO_BRAND is not set in local.conf, default to core
-- 
2.0.0



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* Re: [PATCH 03/11] arago.conf: re-enable gles2 flag for qt5 builds
  2014-07-18 18:51 ` [PATCH 03/11] arago.conf: re-enable gles2 flag for qt5 builds Denys Dmytriyenko
@ 2014-07-22 21:38   ` Denys Dmytriyenko
  0 siblings, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-22 21:38 UTC (permalink / raw)
  To: meta-arago

On Fri, Jul 18, 2014 at 02:51:54PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  meta-arago-distro/conf/distro/arago.conf | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
> index b9af13f..def7a42 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -23,9 +23,8 @@ DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbh
>  DISTRO_FEATURES += "opengl"
>  PACKAGECONFIG_pn-weston = "kms fbdev"
>  
> -# Configure Qt5 flags (GLES is disabled for now)
> -#PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
> -PACKAGECONFIG_GL_pn-qtbase = "linuxfb"
> +# Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)

FYI, there's currently an issue of building the last public release of
libgles-omap3/modules under 3.14 kernel, so it may be needed to set preference
to 3.12 temporarily.


> +PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
>  PACKAGECONFIG_DISTRO_pn-qtbase = "icu"
>  
>  # ARM9 is not supported by the Linaro toolchain so default back to the Arago
> -- 
> 2.0.0
> 


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy
  2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
                   ` (9 preceding siblings ...)
  2014-07-18 18:52 ` [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature Denys Dmytriyenko
@ 2014-07-24 16:56 ` Cooper Jr., Franklin
  2014-07-24 18:18   ` Denys Dmytriyenko
  10 siblings, 1 reply; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 16:56 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Some reason I thought I asked this before but does not applicable mean not needed or does applicable simply mean it doesn't apply?

Since we are using Wayland/Weston do we still need eglfs? 

ACK on the patch since it doesn't make a difference but it would be nice to know if we still have gap or not.

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 2:52 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 01/11] qt5: update bbappends to match version
> 5.2.1 in meta-qt5/daisy
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> qtbase patches are not applicable to 5.2.1
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../qt5/qtbase/0001-qeglfswindow.cpp.patch         | 56 ----------------------
>  .../qt5/qtbase/0002-qeglfswindow.cpp.patch         | 34 -------------
>  .../recipes-qt/qt5/qtbase_5.2.0.bbappend           |  8 ----
>  ...bkit_5.2.0.bbappend => qtwebkit_5.2.1.bbappend} |  0
>  4 files changed, 98 deletions(-)
>  delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-
> qeglfswindow.cpp.patch
>  delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-
> qeglfswindow.cpp.patch
>  delete mode 100644 meta-arago-distro/recipes-
> qt/qt5/qtbase_5.2.0.bbappend
>  rename meta-arago-distro/recipes-qt/qt5/{qtwebkit_5.2.0.bbappend =>
> qtwebkit_5.2.1.bbappend} (100%)
> 
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/0001-
> qeglfswindow.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtbase/0001-
> qeglfswindow.cpp.patch
> deleted file mode 100644
> index b95b98e..0000000
> --- a/meta-arago-distro/recipes-qt/qt5/qtbase/0001-qeglfswindow.cpp.patch
> +++ /dev/null
> @@ -1,56 +0,0 @@
> ---- qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp.orig	2013-08-09
> 23:29:18.253037952 +0530
> -+++ qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp	2013-08-09
> 23:41:18.509018405 +0530
> -@@ -61,23 +61,32 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
> - #endif
> - }
> -
> - QEglFSWindow::~QEglFSWindow()
> - {
> -     destroy();
> - }
> -
> -+static EGLSurface __singleWindowSurface;
> - void QEglFSWindow::create()
> - {
> -     if (m_window)
> -         return;
> -
> -     setWindowState(Qt::WindowFullScreen);
> -
> -+    if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()-
> >hasCapability(QPlatformIntegration::Capability::MultipleWindows) &&
> __singleWindowSurface)
> -+    {
> -+        m_surface = __singleWindowSurface; #ifdef QEGL_EXTRA_DEBUG
> -+    qWarning("Surface recreate request, re-using %x\n", m_surface);
> -+#endif
> -+       return;
> -+    }
> -     if (window()->type() == Qt::Desktop) {
> -         QRect rect(QPoint(), QEglFSHooks::hooks()->screenSize());
> -         QPlatformWindow::setGeometry(rect);
> -         QWindowSystemInterface::handleGeometryChange(window(), rect);
> -         return;
> -     }
> -
> -     EGLDisplay display = (static_cast<QEglFSScreen *>(window()->screen()-
> >handle()))->display();
> -@@ -104,16 +113,20 @@ void QEglFSWindow::resetSurface()
> -
> -     m_window = QEglFSHooks::hooks()-
> >createNativeWindow(QEglFSHooks::hooks()->screenSize(), m_format);
> -     m_surface = eglCreateWindowSurface(display, m_config, m_window,
> NULL);
> -     if (m_surface == EGL_NO_SURFACE) {
> -         EGLint error = eglGetError();
> -         eglTerminate(display);
> -         qFatal("EGL Error : Could not create the egl surface: error = 0x%x\n",
> error);
> -     }
> -+    if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()-
> >hasCapability(QPlatformIntegration::Capability::MultipleWindows))
> -+    {
> -+        __singleWindowSurface = m_surface;
> -+    }
> - }
> -
> - void QEglFSWindow::destroy()
> - {
> -     if (m_surface) {
> -         EGLDisplay display = static_cast<QEglFSScreen *>(screen())->display();
> -         eglDestroySurface(display, m_surface);
> -         m_surface = 0;
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/0002-
> qeglfswindow.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtbase/0002-
> qeglfswindow.cpp.patch
> deleted file mode 100644
> index 8d17348..0000000
> --- a/meta-arago-distro/recipes-qt/qt5/qtbase/0002-qeglfswindow.cpp.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> ---- qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp.old	2013-09-09
> 23:09:24.433774489 +0530
> -+++ qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp	2013-09-09
> 23:12:22.105766689 +0530
> -@@ -54,30 +54,30 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
> -     , m_surface(0)
> -     , m_window(0)
> - {
> -     static int serialNo = 0;
> -     m_winid  = ++serialNo;
> - #ifdef QEGL_EXTRA_DEBUG
> -     qWarning("QEglWindow %p: %p 0x%x\n", this, w, uint(m_winid));
> - #endif
> -+    setWindowState(Qt::WindowFullScreen);
> - }
> -
> - QEglFSWindow::~QEglFSWindow()
> - {
> -     destroy();
> - }
> -
> - static EGLSurface __singleWindowSurface;
> - void QEglFSWindow::create()
> - {
> -     if (m_window)
> -         return;
> -
> --    setWindowState(Qt::WindowFullScreen);
> -
> -     if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()-
> >hasCapability(QPlatformIntegration::Capability::MultipleWindows) &&
> __singleWindowSurface)
> -     {
> -         m_surface = __singleWindowSurface;
> - #ifdef QEGL_EXTRA_DEBUG
> -     qWarning("Surface recreate request, re-using %x\n", m_surface);
> - #endif
> -        return;
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend b/meta-
> arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
> deleted file mode 100644
> index 2c0a52d..0000000
> --- a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> -
> -SRC_URI += " \
> -	file://0001-qeglfswindow.cpp.patch \
> -	file://0002-qeglfswindow.cpp.patch \
> -"
> -
> -PR_append = "-arago1"
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.0.bbappend
> b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> similarity index 100%
> rename from meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.0.bbappend
> rename to meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version
  2014-07-18 18:51 ` [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version Denys Dmytriyenko
@ 2014-07-24 16:57   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 16:57 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 2:52 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 02/11] qtwebkit: update patches applied to
> 5.2.1 version
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  ...update-to-use-GL_NoX-version-of-GraphicsS.patch | 29
> ++++++++++++++++++++++  .../recipes-
> qt/qt5/qtwebkit/OpenGLShims.cpp.patch  | 24 ------------------
>  .../recipes-qt/qt5/qtwebkit/Target.pri.patch       | 24 ------------------
>  .../recipes-qt/qt5/qtwebkit/features.prf.patch     | 20 ---------------
>  .../recipes-qt/qt5/qtwebkit_5.2.1.bbappend         |  6 ++---
>  5 files changed, 31 insertions(+), 72 deletions(-)  create mode 100644 meta-
> arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-
> version-of-GraphicsS.patch
>  delete mode 100644 meta-arago-distro/recipes-
> qt/qt5/qtwebkit/OpenGLShims.cpp.patch
>  delete mode 100644 meta-arago-distro/recipes-
> qt/qt5/qtwebkit/Target.pri.patch
>  delete mode 100644 meta-arago-distro/recipes-
> qt/qt5/qtwebkit/features.prf.patch
> 
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-
> to-use-GL_NoX-version-of-GraphicsS.patch b/meta-arago-distro/recipes-
> qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-
> GraphicsS.patch
> new file mode 100644
> index 0000000..55a4c03
> --- /dev/null
> +++ b/meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-t
> +++ o-use-GL_NoX-version-of-GraphicsS.patch
> @@ -0,0 +1,29 @@
> +From 90de2ab42bdd51b92dd00f700d6766ca1ffd23c0 Mon Sep 17 00:00:00
> 2001
> +From: Denys Dmytriyenko <denys@ti.com>
> +Date: Thu, 17 Jul 2014 16:11:46 -0400
> +Subject: [PATCH] Target.pri: update to use GL_NoX version of
> +GraphicsSurface  sources
> +
> +Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> +---
> + Source/WebCore/Target.pri | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri
> +index e2044bc..cc9bdd4 100644
> +--- a/Source/WebCore/Target.pri
> ++++ b/Source/WebCore/Target.pri
> +@@ -4283,6 +4283,10 @@ use?(GRAPHICS_SURFACE) {
> +             platform/graphics/surfaces/glx/X11Helper.cpp \
> +             platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp
> +     }
> ++    contains(QT_CONFIG, opengles2) {
> ++        SOURCES -= platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
> ++        SOURCES +=
> platform/graphics/surfaces/qt/GraphicsSurfaceGL_NoX.cpp
> ++    }
> + }
> +
> + build?(qttestsupport) {
> +--
> +2.0.0
> +
> diff --git a/meta-arago-distro/recipes-
> qt/qt5/qtwebkit/OpenGLShims.cpp.patch b/meta-arago-distro/recipes-
> qt/qt5/qtwebkit/OpenGLShims.cpp.patch
> deleted file mode 100644
> index 9261bed..0000000
> --- a/meta-arago-distro/recipes-qt/qt5/qtwebkit/OpenGLShims.cpp.patch
> +++ /dev/null
> @@ -1,24 +0,0 @@
> ---- qtwebkit/Source/WebCore/platform/graphics/OpenGLShims.cpp.orig
> 	2013-09-07 13:46:41.614844342 +0530
> -+++ qtwebkit/Source/WebCore/platform/graphics/OpenGLShims.cpp	2013-
> 09-07 13:47:39.602841796 +0530
> -@@ -35,17 +35,20 @@ OpenGLFunctionTable* openGLFunctionTable
> - {
> -     static OpenGLFunctionTable table;
> -     return &table;
> - }
> -
> - #if PLATFORM(QT)
> - static void* getProcAddress(const char* procName)
> - {
> --    return reinterpret_cast<void*>(QOpenGLContext::currentContext()-
> >getProcAddress(procName));
> -+    if(QOpenGLContext::currentContext())
> -+        return reinterpret_cast<void*>(QOpenGLContext::currentContext()-
> >getProcAddress(procName));
> -+    else
> -+        return NULL;
> - }
> - #else
> - typedef void* (*glGetProcAddressType) (const char* procName);
> - static void* getProcAddress(const char* procName)
> - {
> -     static bool initialized = false;
> -     static glGetProcAddressType getProcAddressFunction = 0;
> -
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch
> b/meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch
> deleted file mode 100644
> index fcd7658..0000000
> --- a/meta-arago-distro/recipes-qt/qt5/qtwebkit/Target.pri.patch
> +++ /dev/null
> @@ -1,24 +0,0 @@
> ---- qtwebkit/Source/WebCore/Target.pri.orig	2013-09-07
> 13:48:04.030840724 +0530
> -+++ qtwebkit/Source/WebCore/Target.pri	2013-09-07
> 13:49:01.714838191 +0530
> -@@ -4095,16 +4095,21 @@ use?(GRAPHICS_SURFACE) {
> -         INCLUDEPATH +=
> /System/Library/Frameworks/CoreFoundation.framework/Headers
> -     }
> -     win32 {
> -         SOURCES += platform/graphics/surfaces/win/GraphicsSurfaceWin.cpp
> -     }
> -     have?(XCOMPOSITE) {
> -         SOURCES += platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
> -     }
> -+    contains(QT_CONFIG, opengles2) {
> -+        SOURCES -= platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
> -+        SOURCES += platform/graphics/surfaces/qt/GraphicsSurfaceGL_NoX.cpp
> -+    }
> -+
> - }
> -
> - build?(qttestsupport) {
> -     HEADERS += platform/qt/QtTestSupport.h
> -     SOURCES += platform/qt/QtTestSupport.cpp
> - }
> -
> - ALL_IN_ONE_SOURCES += \
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch
> b/meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch
> deleted file mode 100644
> index 288f116..0000000
> --- a/meta-arago-distro/recipes-qt/qt5/qtwebkit/features.prf.patch
> +++ /dev/null
> @@ -1,20 +0,0 @@
> ---- qtwebkit/Tools/qmake/mkspecs/features/features.prf.orig	2013-09-07
> 13:49:38.210836589 +0530
> -+++ qtwebkit/Tools/qmake/mkspecs/features/features.prf	2013-09-07
> 13:50:13.574835036 +0530
> -@@ -127,16 +127,17 @@ defineTest(detectFeatures) {
> -     packagesExist(libudev): WEBKIT_CONFIG += gamepad
> -
> -     # Support for Graphics Surface
> -     # GraphicsSurface requires GraphicsContext3D and hence use_3d_graphics
> -     use?(3d_graphics) {
> -         mac: WEBKIT_CONFIG += use_graphics_surface
> -         win32:contains(QT_CONFIG, opengles2): WEBKIT_CONFIG +=
> use_graphics_surface
> -         linux-*:contains(WEBKIT_CONFIG, have_glx):contains(WEBKIT_CONFIG,
> have_xcomposite):contains(WEBKIT_CONFIG, have_xrender): WEBKIT_CONFIG
> += use_graphics_surface
> -+        linux-*:contains(QT_CONFIG, opengles2): WEBKIT_CONFIG +=
> -+ use_graphics_surface
> -     }
> -
> -     # Slider Touch is sensible to use when compiling WebKit2
> -     enable?(touch_events): WEBKIT_CONFIG += touch_slider
> -
> -
> -     # Minibrowser must be able to query for QtTestSupport
> -     build?(qttestsupport): WEBKIT_CONFIG += have_qttestsupport
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> index e86c8a2..63461f5 100644
> --- a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> +++ b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> @@ -1,14 +1,12 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> 
>  SRC_URI += " \
> -	file://features.prf.patch \
>  	file://GraphicsContext3DQt.cpp.patch \
>  	file://GraphicsSurfaceGL_NoX.cpp.patch \
>  	file://GraphicsSurfaceToken.h.patch \
> -	file://OpenGLShims.cpp.patch \
>  	file://qttestbrowser.cpp.patch \
> -	file://Target.pri.patch \
> +	file://0001-Target.pri-update-to-use-GL_NoX-version-of-
> GraphicsS.patch
> +\
>  	file://WebCore.pri.patch \
>  "
> 
> -PR_append = "-arago1"
> +PR_append = "-arago2"
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy
  2014-07-24 16:56 ` [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Cooper Jr., Franklin
@ 2014-07-24 18:18   ` Denys Dmytriyenko
  0 siblings, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-24 18:18 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org

It actually means both - they no longer apply and by checking the sources I 
see the functionality is pretty much there, although sometimes it's not 
implemented the same exact way as in the patches.


On Thu, Jul 24, 2014 at 04:56:41PM +0000, Cooper Jr., Franklin wrote:
> Some reason I thought I asked this before but does not applicable mean not 
> needed or does applicable simply mean it doesn't apply?
> 
> Since we are using Wayland/Weston do we still need eglfs? 
> 
> ACK on the patch since it doesn't make a difference but it would be nice to 
> know if we still have gap or not.
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > Sent: Friday, July 18, 2014 2:52 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH 01/11] qt5: update bbappends to match version
> > 5.2.1 in meta-qt5/daisy
> > 
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > qtbase patches are not applicable to 5.2.1
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  .../qt5/qtbase/0001-qeglfswindow.cpp.patch         | 56 ----------------------
> >  .../qt5/qtbase/0002-qeglfswindow.cpp.patch         | 34 -------------
> >  .../recipes-qt/qt5/qtbase_5.2.0.bbappend           |  8 ----
> >  ...bkit_5.2.0.bbappend => qtwebkit_5.2.1.bbappend} |  0
> >  4 files changed, 98 deletions(-)
> >  delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-
> > qeglfswindow.cpp.patch
> >  delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-
> > qeglfswindow.cpp.patch
> >  delete mode 100644 meta-arago-distro/recipes-
> > qt/qt5/qtbase_5.2.0.bbappend
> >  rename meta-arago-distro/recipes-qt/qt5/{qtwebkit_5.2.0.bbappend =>
> > qtwebkit_5.2.1.bbappend} (100%)
> > 
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/0001-
> > qeglfswindow.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtbase/0001-
> > qeglfswindow.cpp.patch
> > deleted file mode 100644
> > index b95b98e..0000000
> > --- a/meta-arago-distro/recipes-qt/qt5/qtbase/0001-qeglfswindow.cpp.patch
> > +++ /dev/null
> > @@ -1,56 +0,0 @@
> > ---- qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp.orig	2013-08-09
> > 23:29:18.253037952 +0530
> > -+++ qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp	2013-08-09
> > 23:41:18.509018405 +0530
> > -@@ -61,23 +61,32 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
> > - #endif
> > - }
> > -
> > - QEglFSWindow::~QEglFSWindow()
> > - {
> > -     destroy();
> > - }
> > -
> > -+static EGLSurface __singleWindowSurface;
> > - void QEglFSWindow::create()
> > - {
> > -     if (m_window)
> > -         return;
> > -
> > -     setWindowState(Qt::WindowFullScreen);
> > -
> > -+    if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()-
> > >hasCapability(QPlatformIntegration::Capability::MultipleWindows) &&
> > __singleWindowSurface)
> > -+    {
> > -+        m_surface = __singleWindowSurface; #ifdef QEGL_EXTRA_DEBUG
> > -+    qWarning("Surface recreate request, re-using %x\n", m_surface);
> > -+#endif
> > -+       return;
> > -+    }
> > -     if (window()->type() == Qt::Desktop) {
> > -         QRect rect(QPoint(), QEglFSHooks::hooks()->screenSize());
> > -         QPlatformWindow::setGeometry(rect);
> > -         QWindowSystemInterface::handleGeometryChange(window(), rect);
> > -         return;
> > -     }
> > -
> > -     EGLDisplay display = (static_cast<QEglFSScreen *>(window()->screen()-
> > >handle()))->display();
> > -@@ -104,16 +113,20 @@ void QEglFSWindow::resetSurface()
> > -
> > -     m_window = QEglFSHooks::hooks()-
> > >createNativeWindow(QEglFSHooks::hooks()->screenSize(), m_format);
> > -     m_surface = eglCreateWindowSurface(display, m_config, m_window,
> > NULL);
> > -     if (m_surface == EGL_NO_SURFACE) {
> > -         EGLint error = eglGetError();
> > -         eglTerminate(display);
> > -         qFatal("EGL Error : Could not create the egl surface: error = 0x%x\n",
> > error);
> > -     }
> > -+    if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()-
> > >hasCapability(QPlatformIntegration::Capability::MultipleWindows))
> > -+    {
> > -+        __singleWindowSurface = m_surface;
> > -+    }
> > - }
> > -
> > - void QEglFSWindow::destroy()
> > - {
> > -     if (m_surface) {
> > -         EGLDisplay display = static_cast<QEglFSScreen *>(screen())->display();
> > -         eglDestroySurface(display, m_surface);
> > -         m_surface = 0;
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/0002-
> > qeglfswindow.cpp.patch b/meta-arago-distro/recipes-qt/qt5/qtbase/0002-
> > qeglfswindow.cpp.patch
> > deleted file mode 100644
> > index 8d17348..0000000
> > --- a/meta-arago-distro/recipes-qt/qt5/qtbase/0002-qeglfswindow.cpp.patch
> > +++ /dev/null
> > @@ -1,34 +0,0 @@
> > ---- qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp.old	2013-09-09
> > 23:09:24.433774489 +0530
> > -+++ qtbase/src/plugins/platforms/eglfs/qeglfswindow.cpp	2013-09-09
> > 23:12:22.105766689 +0530
> > -@@ -54,30 +54,30 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
> > -     , m_surface(0)
> > -     , m_window(0)
> > - {
> > -     static int serialNo = 0;
> > -     m_winid  = ++serialNo;
> > - #ifdef QEGL_EXTRA_DEBUG
> > -     qWarning("QEglWindow %p: %p 0x%x\n", this, w, uint(m_winid));
> > - #endif
> > -+    setWindowState(Qt::WindowFullScreen);
> > - }
> > -
> > - QEglFSWindow::~QEglFSWindow()
> > - {
> > -     destroy();
> > - }
> > -
> > - static EGLSurface __singleWindowSurface;
> > - void QEglFSWindow::create()
> > - {
> > -     if (m_window)
> > -         return;
> > -
> > --    setWindowState(Qt::WindowFullScreen);
> > -
> > -     if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()-
> > >hasCapability(QPlatformIntegration::Capability::MultipleWindows) &&
> > __singleWindowSurface)
> > -     {
> > -         m_surface = __singleWindowSurface;
> > - #ifdef QEGL_EXTRA_DEBUG
> > -     qWarning("Surface recreate request, re-using %x\n", m_surface);
> > - #endif
> > -        return;
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend b/meta-
> > arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
> > deleted file mode 100644
> > index 2c0a52d..0000000
> > --- a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
> > +++ /dev/null
> > @@ -1,8 +0,0 @@
> > -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > -
> > -SRC_URI += " \
> > -	file://0001-qeglfswindow.cpp.patch \
> > -	file://0002-qeglfswindow.cpp.patch \
> > -"
> > -
> > -PR_append = "-arago1"
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.0.bbappend
> > b/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> > similarity index 100%
> > rename from meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.0.bbappend
> > rename to meta-arago-distro/recipes-qt/qt5/qtwebkit_5.2.1.bbappend
> > --
> > 2.0.0
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH v2 05/11] packagegroup-*-connectivity: conditionally disable wpa-gui for not supporting Qt5
  2014-07-18 19:33   ` [PATCH v2 05/11] packagegroup-*-connectivity: conditionally " Denys Dmytriyenko
@ 2014-07-24 18:30     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 18:30 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 3:34 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH v2 05/11] packagegroup-*-connectivity:
> conditionally disable wpa-gui for not supporting Qt5
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> v2 - make logic conditional based on Qt version
> 
>  .../packagegroups/packagegroup-arago-tisdk-connectivity.bb            | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-tisdk-connectivity.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
> index 7b3480c..458a2f9 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-connectivity.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> +++ sdk-connectivity.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to install wireless packages into the target FS"
>  LICENSE = "MIT"
> -PR = "r24"
> +PR = "r25"
> 
>  inherit packagegroup
> 
> @@ -34,7 +34,7 @@ FIRMWARE_AND_DRIVERS = "\  "
> 
>  DEMO_APPS = "\
> -    wpa-gui-e \
> +    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'wpa-gui-e', d)} \
>  "
> 
>  BLUETOOTH_STACK = "\
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 06/11] HACK: matrix-gui: run on top of Wayland
  2014-07-18 19:18   ` Denys Dmytriyenko
@ 2014-07-24 18:32     ` Cooper Jr., Franklin
  2014-07-31 18:45       ` [PATCH v2 06/11] matrix-gui: run on top of Wayland and Qt5 Denys Dmytriyenko
  0 siblings, 1 reply; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 18:32 UTC (permalink / raw)
  To: Dmytriyenko, Denys, meta-arago@arago-project.org

I don't mind working on this but for now can we just have two versions of this init script. Qt4 version and Qt5 version then select the version based on Qt provider. I don't mind working on consolidating the two but at least its not as much of a hack and won't break things for Qt 4 and Qt 5 users now.

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> Sent: Friday, July 18, 2014 3:19 PM
> To: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH 06/11] HACK: matrix-gui: run on top of
> Wayland
> 
> On Fri, Jul 18, 2014 at 02:51:57PM -0400, Denys Dmytriyenko wrote:
> > From: Denys Dmytriyenko <denys@ti.com>
> >
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> 
> This would require some cleanup - exporting additional env variables should
> be fine, but there were some problems with -qws option and chvt, so I had to
> drop them. Of course, if we want to preserve the old behavior, this would
> need to be done conditionally...
> 
> 
> > ---
> >  meta-arago-extras/recipes-core/matrix/matrix-gui/init   | 7 +++++--
> >  meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb | 2 +-
> >  2 files changed, 6 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> > b/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> > index dab7dc6..6286028 100644
> > --- a/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> > +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/init
> > @@ -2,17 +2,20 @@
> >
> >  matrixgui="/usr/bin/matrix_browser"
> >  ROTATION=__MATRIX_ROT__
> > -GUI_OPTS="-qws $ROTATION http://localhost:80/"
> > +GUI_OPTS="http://localhost:80/"
> >  PIDFILE="/var/run/matrix-gui-2.0.pid"
> >
> >  test -x "$matrixgui" || exit 0
> >
> >  export TSLIB_TSDEVICE=/dev/input/touchscreen0
> >  export QWS_MOUSE_PROTO=Auto
> > +export QT_QPA_PLATFORM=wayland
> > +export XDG_RUNTIME_DIR=/run/user/root export
> > +WAYLAND_DISPLAY=wayland-0
> >
> >  case "$1" in
> >    start)
> > -    chvt 4
> > +#    chvt 4
> >
> >      # ARM9 devices get a lot of alignment trap errors with the current
> >      # version of Qt (4.7.2) that we use.  The printing of these
> > messages diff --git
> > a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> > b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> > index 523cfe1..16f2eeb 100644
> > --- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> > +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> > @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
> >
> >  SECTION = "multimedia"
> >
> > -PR = "r16"
> > +PR = "r17"
> >
> >  INITSCRIPT_NAME = "matrix-gui-2.0"
> >  INITSCRIPT_PARAMS = "defaults 97"
> > --
> > 2.0.0
> >
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston
  2014-07-18 18:51 ` [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston Denys Dmytriyenko
@ 2014-07-24 18:36   ` Cooper Jr., Franklin
  2014-07-24 18:43     ` Denys Dmytriyenko
  0 siblings, 1 reply; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 18:36 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

I don't know too much details about Weston but is there a reason to disable DRM Weston for all machines when some may be able to use DRM?

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 2:52 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 07/11] arago.conf: enable Qt5 by default,
> disable DRM for Weston
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  meta-arago-distro/conf/distro/arago.conf | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-
> distro/conf/distro/arago.conf
> index def7a42..2686264 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -1,3 +1,5 @@
> +QT_PROVIDER = "qt5"
> +
>  # Name and version of the distribution
>  DISTRO_NAME = "Arago"
>  DISTRO_VERSION = "2014.06"
> @@ -20,8 +22,8 @@ NO32LIBS = "0"
>  DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget
> usbhost wifi xattr nfs zeroconf pci 3g ipv4 ipv6 pulseaudio
> ${DISTRO_FEATURES_LIBC}"
> 
>  # Set additional distro features to enable Wayland and Weston -
> DISTRO_FEATURES += "opengl"
> -PACKAGECONFIG_pn-weston = "kms fbdev"
> +DISTRO_FEATURES += "opengl pam"
> +PACKAGECONFIG_pn-weston = "fbdev launch"
> 
>  # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
> PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 08/11] packagegroup-*-graphics: add Weston to corresponding packagegroup
  2014-07-18 18:51 ` [PATCH 08/11] packagegroup-*-graphics: add Weston to corresponding packagegroup Denys Dmytriyenko
@ 2014-07-24 18:37   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 18:37 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 2:52 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 08/11] packagegroup-*-graphics: add Weston to
> corresponding packagegroup
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb   | 4
> +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-tisdk-graphics.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> index f1dce66..fd64022 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-graphics.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-graphics.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to install graphics binaries"
>  LICENSE = "MIT"
> -PR = "r3"
> +PR = "r4"
> 
>  inherit packagegroup
> 
> @@ -20,6 +20,8 @@ GRAPHICS_RDEPENDS = ""
> 
>  GRAPHICS_RDEPENDS_ti33x = "\
>      ${GRAPHICS_SDK} \
> +    weston \
> +    weston-init \
>  "
> 
>  GRAPHICS_RDEPENDS_ti43x = "\
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-SA-3.0 license
  2014-07-18 18:52 ` [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-SA-3.0 license Denys Dmytriyenko
@ 2014-07-24 18:40   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 18:40 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 2:52 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-
> SA-3.0 license
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb       | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc          | 2 +-
>  meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb    | 1 -
>  .../recipes-core/matrix/matrix-gui-armbenchmarks-demos_2.0.bb          | 1 -
>  .../recipes-core/matrix/matrix-gui-camera-loopback_2.0.bb              | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb         | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb   | 1 -
>  .../recipes-core/matrix/matrix-gui-display-control_2.0.bb              | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.0.bb | 3
> ++-
>  .../recipes-core/matrix/matrix-gui-multimedia-demos_2.0.bb             | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb | 1
> -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb       | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb      | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb      | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb | 1
> -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb       | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb      | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb     | 1 -
>  meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb     | 1 -
>  19 files changed, 3 insertions(+), 19 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-
> demos_2.0.bb
> index e1c3023..b87b925 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "3D demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
> b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
> index c985859..1e18411 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
> @@ -1,4 +1,4 @@
> -LICENSE = "CC-BY-SA"
> +LICENSE = "CC-BY-SA-3.0"
>  #By default all Matrix v2 applications use the same license.
>  LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
>  LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
> images_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
> images_2.0.bb
> index 4d271c7..f422bc8 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.b
> +++ b
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Image package for Matrix GUI v2 Applications"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
> armbenchmarks-demos_2.0.bb
> index 484aafe..7aa185d 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-
> demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-armbenchmarks-dem
> +++ os_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Arm Benchmarks Applications for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-
> loopback_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-
> loopback_2.0.bb
> index ae613fd..c105c6f 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-
> loopback_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-camera-loopback_2
> +++ .0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Camera loopback application for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
> b/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
> index 5b80b90..5937c6d 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Clock setting descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-
> demos_2.0.bb
> index 92fc916..04b0825 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-crypto-demos_2.0.
> +++ bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-display-
> control_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-display-
> control_2.0.bb
> index a93c7b8..b3094b2 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-display-control_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-display-control_2
> +++ .0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Display control descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-
> demos_2.0.bb
> index 8a8459a..e716f78 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-
> demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-ethernet-demos_2.
> +++ 0.bb
> @@ -1,9 +1,10 @@
>  DESCRIPTION = "Ethernet example applications"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA & GPLv2+"
> 
>  require matrix-gui-apps-git.inc
> 
> +LICENSE = "CC-BY-SA-3.0 & GPLv2+"
> +
>  LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM} \
> 
> file://../../udhcpd_eth1.conf;beginline=1;endline=14;md5=70668b1ed5416406
> a61ef9abdd90d601 \  "
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
> multimedia-demos_2.0.bb
> index 55bed44..739e03f 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-
> demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-multimedia-demos_
> +++ 2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Multimedia demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-
> demos_2.0.bb
> index bc337ff..9630081 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-oprofile-demos_2.
> +++ 0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Oprofile demo applications for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-
> demos_2.0.bb
> index a040deb..e174574 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Power management demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-
> demos_2.0.bb
> index 3eb470c..0a09e33 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pru-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "PRU demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-
> demos_2.0.bb
> index 6f6ad69..e0ff0ca 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-qt4-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-
> demos_2.0.bb
> index 6f51dba..faa64a3 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-settings-demos_2.
> +++ 0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Settings demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-
> submenus_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-
> submenus_2.0.bb
> index d794277..cfbe124 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Submenu packages for Matrix GUI v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-
> demos_2.0.bb
> index 0c58f17..6a1ecc8 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-usb-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "USB demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-
> demos_2.0.bb
> index b42c9f3..91d5d58 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-v4l2-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "V4l2 demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-
> demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-
> demos_2.0.bb
> index 263ae91..0b1cec5 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-wifi-demos_2.0.bb
> @@ -1,6 +1,5 @@
>  DESCRIPTION = "Wifi demo descriptions for Matrix v2"
>  HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
> -LICENSE = "CC-BY-SA"
> 
>  require matrix-gui-apps-git.inc
> 
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH v2 11/11] arago.conf: use the new _remove override to filter out sgx feature
  2014-07-18 19:34   ` [PATCH v2 " Denys Dmytriyenko
@ 2014-07-24 18:41     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-24 18:41 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, July 18, 2014 3:34 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH v2 11/11] arago.conf: use the new _remove
> override to filter out sgx feature
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> v2 - do not remove local filter_out function, still used by ASSUME_PROVIDED
> 
>  meta-arago-distro/conf/distro/arago.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-
> distro/conf/distro/arago.conf
> index 2686264..3ac30ce 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -49,7 +49,7 @@ TARGET_CPPFLAGS += "-fstack-protector"
>  require conf/distro/include/arago-prefs.inc
> 
>  # Hack out sgx flag for now, as breaking on kernels >= 3.14 -
> MACHINE_FEATURES := "${@filter_out('sgx','${MACHINE_FEATURES}',d)}"
> +MACHINE_FEATURES_remove = "sgx"
> 
>  # Allow branding on top of Arago Distro and Core TI-SDK  # If ARAGO_BRAND
> is not set in local.conf, default to core
> --
> 2.0.0
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston
  2014-07-24 18:36   ` Cooper Jr., Franklin
@ 2014-07-24 18:43     ` Denys Dmytriyenko
  0 siblings, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-24 18:43 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org

Once we have DRM enabled for 335x, we can use it everywhere. Now 335x defaults 
to fbdev, so it's safer to use fbdev for now, as DRM provides fbdev emulation 
anyway.


On Thu, Jul 24, 2014 at 06:36:58PM +0000, Cooper Jr., Franklin wrote:
> I don't know too much details about Weston but is there a reason to disable 
> DRM Weston for all machines when some may be able to use DRM?
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > Sent: Friday, July 18, 2014 2:52 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH 07/11] arago.conf: enable Qt5 by default,
> > disable DRM for Weston
> > 
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  meta-arago-distro/conf/distro/arago.conf | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-
> > distro/conf/distro/arago.conf
> > index def7a42..2686264 100644
> > --- a/meta-arago-distro/conf/distro/arago.conf
> > +++ b/meta-arago-distro/conf/distro/arago.conf
> > @@ -1,3 +1,5 @@
> > +QT_PROVIDER = "qt5"
> > +
> >  # Name and version of the distribution
> >  DISTRO_NAME = "Arago"
> >  DISTRO_VERSION = "2014.06"
> > @@ -20,8 +22,8 @@ NO32LIBS = "0"
> >  DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget
> > usbhost wifi xattr nfs zeroconf pci 3g ipv4 ipv6 pulseaudio
> > ${DISTRO_FEATURES_LIBC}"
> > 
> >  # Set additional distro features to enable Wayland and Weston -
> > DISTRO_FEATURES += "opengl"
> > -PACKAGECONFIG_pn-weston = "kms fbdev"
> > +DISTRO_FEATURES += "opengl pam"
> > +PACKAGECONFIG_pn-weston = "fbdev launch"
> > 
> >  # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
> > PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
> > --
> > 2.0.0
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

* [PATCH v2 06/11] matrix-gui: run on top of Wayland and Qt5
  2014-07-24 18:32     ` Cooper Jr., Franklin
@ 2014-07-31 18:45       ` Denys Dmytriyenko
  2014-07-31 19:01         ` Cooper Jr., Franklin
  0 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2014-07-31 18:45 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/matrix/matrix-gui/init-qt5        | 66 ++++++++++++++++++++++
 .../recipes-core/matrix/matrix-gui_2.0.bb          | 11 ++--
 2 files changed, 73 insertions(+), 4 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-gui/init-qt5

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/init-qt5 b/meta-arago-extras/recipes-core/matrix/matrix-gui/init-qt5
new file mode 100644
index 0000000..6286028
--- /dev/null
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/init-qt5
@@ -0,0 +1,66 @@
+#! /bin/sh
+
+matrixgui="/usr/bin/matrix_browser"
+ROTATION=__MATRIX_ROT__
+GUI_OPTS="http://localhost:80/"
+PIDFILE="/var/run/matrix-gui-2.0.pid"
+
+test -x "$matrixgui" || exit 0
+
+export TSLIB_TSDEVICE=/dev/input/touchscreen0
+export QWS_MOUSE_PROTO=Auto
+export QT_QPA_PLATFORM=wayland
+export XDG_RUNTIME_DIR=/run/user/root
+export WAYLAND_DISPLAY=wayland-0
+
+case "$1" in
+  start)
+#    chvt 4
+
+    # ARM9 devices get a lot of alignment trap errors with the current
+    # version of Qt (4.7.2) that we use.  The printing of these messages
+    # is causing a severe slowdown with matrix and other Qt applications
+    # that matrix launches.  The root cause is under investigation and an
+    # issue is being filed in the Qt JIRA tracker.  For now using the
+    # following command will do a software fixup of the alignment trap errors
+    # in the kernel.  This should have no impact on cortex-A8 devices.
+    echo 2 > /proc/cpu/alignment
+
+    # Set the QWS_MOUSE_PROTO for touchscreen if it exists
+    if [ -e /dev/input/touchscreen0 ]
+    then
+        export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
+    fi
+
+    #Clear out the the tmp and lock directory
+    cd __MATRIX_WEB_DIR__
+    rm -rf tmp/*
+    rm -rf lock/*
+    cd -
+
+	if [ -e $PIDFILE ]; then
+      PIDDIR=/proc/$(cat $PIDFILE)
+      if [ -d ${PIDDIR} -a  "$(readlink -f ${PIDDIR}/exe)" = "${matrixgui}" ]; then
+        echo "$DESC already started; not starting."
+      else
+        echo "Removing stale PID file $PIDFILE."
+        rm -f $PIDFILE
+      fi
+    fi
+
+    echo -n "Starting Matrix GUI application"
+    start-stop-daemon --start --quiet --background -m --pidfile $PIDFILE --exec $matrixgui -- $GUI_OPTS
+    echo "."
+    ;;
+
+  stop)
+    echo -n "Stopping Matrix GUI application"
+    start-stop-daemon --stop --quiet --pidfile $PIDFILE
+    echo "."
+    ;;
+  *)
+    echo "Usage: /etc/init.d/matrix-gui-2.0 {start|stop}"
+    exit 1
+esac
+
+exit 0
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
index 523cfe1..4cba926 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r16"
+PR = "r17"
 
 INITSCRIPT_NAME = "matrix-gui-2.0"
 INITSCRIPT_PARAMS = "defaults 97"
@@ -20,12 +20,15 @@ SRCREV = "d0fcc5ab50c9ecdf7a3cc5610807d16a6c91a850"
 
 SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \
            file://init \
+           file://init-qt5 \
            file://php.ini"
 
 require matrix-gui-paths.inc
 
 S = "${WORKDIR}/git"
 
+INITFILE = "${@base_conditional('QT_PROVIDER', 'qt5', 'init-qt5', 'init', d)}"
+
 MATRIX_ROT = ""
 MATRIX_ROT_am37x-evm = "-display transformed:Rot90"
 
@@ -38,13 +41,13 @@ do_install(){
 	install -m 0644 ${WORKDIR}/php.ini ${D}${MATRIX_BASE_DIR}/
 
 	# Set the proper path in the init script
-	sed -i -e s=__MATRIX_WEB_DIR__=${MATRIX_WEB_DIR}= ${WORKDIR}/init
-	sed -i -e "s/__MATRIX_ROT__/\"${MATRIX_ROT}\"/" ${WORKDIR}/init
+	sed -i -e s=__MATRIX_WEB_DIR__=${MATRIX_WEB_DIR}= ${WORKDIR}/${INITFILE}
+	sed -i -e "s/__MATRIX_ROT__/\"${MATRIX_ROT}\"/" ${WORKDIR}/${INITFILE}
 
 	# Install the init script
 	# TODO: replace init script with systemd files
 	install -d ${D}${sysconfdir}/init.d
-	install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-gui-2.0
+	install -m 0755 ${WORKDIR}/${INITFILE} ${D}${sysconfdir}/init.d/matrix-gui-2.0
 }
 
 GUIDEPS = "matrix-gui-browser refresh-screen"
-- 
2.0.2



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* Re: [PATCH v2 06/11] matrix-gui: run on top of Wayland and Qt5
  2014-07-31 18:45       ` [PATCH v2 06/11] matrix-gui: run on top of Wayland and Qt5 Denys Dmytriyenko
@ 2014-07-31 19:01         ` Cooper Jr., Franklin
  0 siblings, 0 replies; 29+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-31 19:01 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

Thx!

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Thursday, July 31, 2014 1:45 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH v2 06/11] matrix-gui: run on top of Wayland
> and Qt5
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../recipes-core/matrix/matrix-gui/init-qt5        | 66 ++++++++++++++++++++++
>  .../recipes-core/matrix/matrix-gui_2.0.bb          | 11 ++--
>  2 files changed, 73 insertions(+), 4 deletions(-)  create mode 100644 meta-
> arago-extras/recipes-core/matrix/matrix-gui/init-qt5
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/init-qt5 b/meta-
> arago-extras/recipes-core/matrix/matrix-gui/init-qt5
> new file mode 100644
> index 0000000..6286028
> --- /dev/null
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/init-qt5
> @@ -0,0 +1,66 @@
> +#! /bin/sh
> +
> +matrixgui="/usr/bin/matrix_browser"
> +ROTATION=__MATRIX_ROT__
> +GUI_OPTS="http://localhost:80/"
> +PIDFILE="/var/run/matrix-gui-2.0.pid"
> +
> +test -x "$matrixgui" || exit 0
> +
> +export TSLIB_TSDEVICE=/dev/input/touchscreen0
> +export QWS_MOUSE_PROTO=Auto
> +export QT_QPA_PLATFORM=wayland
> +export XDG_RUNTIME_DIR=/run/user/root
> +export WAYLAND_DISPLAY=wayland-0
> +
> +case "$1" in
> +  start)
> +#    chvt 4
> +
> +    # ARM9 devices get a lot of alignment trap errors with the current
> +    # version of Qt (4.7.2) that we use.  The printing of these messages
> +    # is causing a severe slowdown with matrix and other Qt applications
> +    # that matrix launches.  The root cause is under investigation and an
> +    # issue is being filed in the Qt JIRA tracker.  For now using the
> +    # following command will do a software fixup of the alignment trap errors
> +    # in the kernel.  This should have no impact on cortex-A8 devices.
> +    echo 2 > /proc/cpu/alignment
> +
> +    # Set the QWS_MOUSE_PROTO for touchscreen if it exists
> +    if [ -e /dev/input/touchscreen0 ]
> +    then
> +        export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
> +    fi
> +
> +    #Clear out the the tmp and lock directory
> +    cd __MATRIX_WEB_DIR__
> +    rm -rf tmp/*
> +    rm -rf lock/*
> +    cd -
> +
> +	if [ -e $PIDFILE ]; then
> +      PIDDIR=/proc/$(cat $PIDFILE)
> +      if [ -d ${PIDDIR} -a  "$(readlink -f ${PIDDIR}/exe)" = "${matrixgui}" ]; then
> +        echo "$DESC already started; not starting."
> +      else
> +        echo "Removing stale PID file $PIDFILE."
> +        rm -f $PIDFILE
> +      fi
> +    fi
> +
> +    echo -n "Starting Matrix GUI application"
> +    start-stop-daemon --start --quiet --background -m --pidfile $PIDFILE --exec
> $matrixgui -- $GUI_OPTS
> +    echo "."
> +    ;;
> +
> +  stop)
> +    echo -n "Stopping Matrix GUI application"
> +    start-stop-daemon --stop --quiet --pidfile $PIDFILE
> +    echo "."
> +    ;;
> +  *)
> +    echo "Usage: /etc/init.d/matrix-gui-2.0 {start|stop}"
> +    exit 1
> +esac
> +
> +exit 0
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-
> arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> index 523cfe1..4cba926 100644
> --- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
> 
>  SECTION = "multimedia"
> 
> -PR = "r16"
> +PR = "r17"
> 
>  INITSCRIPT_NAME = "matrix-gui-2.0"
>  INITSCRIPT_PARAMS = "defaults 97"
> @@ -20,12 +20,15 @@ SRCREV =
> "d0fcc5ab50c9ecdf7a3cc5610807d16a6c91a850"
> 
>  SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-
> v2.git;protocol=git;branch=${BRANCH} \
>             file://init \
> +           file://init-qt5 \
>             file://php.ini"
> 
>  require matrix-gui-paths.inc
> 
>  S = "${WORKDIR}/git"
> 
> +INITFILE = "${@base_conditional('QT_PROVIDER', 'qt5', 'init-qt5', 'init', d)}"
> +
>  MATRIX_ROT = ""
>  MATRIX_ROT_am37x-evm = "-display transformed:Rot90"
> 
> @@ -38,13 +41,13 @@ do_install(){
>  	install -m 0644 ${WORKDIR}/php.ini ${D}${MATRIX_BASE_DIR}/
> 
>  	# Set the proper path in the init script
> -	sed -i -e s=__MATRIX_WEB_DIR__=${MATRIX_WEB_DIR}=
> ${WORKDIR}/init
> -	sed -i -e "s/__MATRIX_ROT__/\"${MATRIX_ROT}\"/" ${WORKDIR}/init
> +	sed -i -e s=__MATRIX_WEB_DIR__=${MATRIX_WEB_DIR}=
> ${WORKDIR}/${INITFILE}
> +	sed -i -e "s/__MATRIX_ROT__/\"${MATRIX_ROT}\"/"
> ${WORKDIR}/${INITFILE}
> 
>  	# Install the init script
>  	# TODO: replace init script with systemd files
>  	install -d ${D}${sysconfdir}/init.d
> -	install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-gui-2.0
> +	install -m 0755 ${WORKDIR}/${INITFILE}
> +${D}${sysconfdir}/init.d/matrix-gui-2.0
>  }
> 
>  GUIDEPS = "matrix-gui-browser refresh-screen"
> --
> 2.0.2
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2014-07-31 19:01 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18 18:51 [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Denys Dmytriyenko
2014-07-18 18:51 ` [PATCH 02/11] qtwebkit: update patches applied to 5.2.1 version Denys Dmytriyenko
2014-07-24 16:57   ` Cooper Jr., Franklin
2014-07-18 18:51 ` [PATCH 03/11] arago.conf: re-enable gles2 flag for qt5 builds Denys Dmytriyenko
2014-07-22 21:38   ` Denys Dmytriyenko
2014-07-18 18:51 ` [PATCH 04/11] weston: set default fbdev backend automatically when building for it Denys Dmytriyenko
2014-07-18 18:51 ` [PATCH 05/11] HACK: packagegroup-*-connectivity: disable wpa-gui for not supporting Qt5 Denys Dmytriyenko
2014-07-18 19:33   ` [PATCH v2 05/11] packagegroup-*-connectivity: conditionally " Denys Dmytriyenko
2014-07-24 18:30     ` Cooper Jr., Franklin
2014-07-18 18:51 ` [PATCH 06/11] HACK: matrix-gui: run on top of Wayland Denys Dmytriyenko
2014-07-18 19:18   ` Denys Dmytriyenko
2014-07-24 18:32     ` Cooper Jr., Franklin
2014-07-31 18:45       ` [PATCH v2 06/11] matrix-gui: run on top of Wayland and Qt5 Denys Dmytriyenko
2014-07-31 19:01         ` Cooper Jr., Franklin
2014-07-18 18:51 ` [PATCH 07/11] arago.conf: enable Qt5 by default, disable DRM for Weston Denys Dmytriyenko
2014-07-24 18:36   ` Cooper Jr., Franklin
2014-07-24 18:43     ` Denys Dmytriyenko
2014-07-18 18:51 ` [PATCH 08/11] packagegroup-*-graphics: add Weston to corresponding packagegroup Denys Dmytriyenko
2014-07-24 18:37   ` Cooper Jr., Franklin
2014-07-18 18:52 ` [PATCH 09/11] refresh-screen: fix up Windows newlines in patches Denys Dmytriyenko
2014-07-18 19:17   ` Denys Dmytriyenko
2014-07-18 18:52 ` [PATCH 10/11] matrix-gui-apps: set more specific CC-BY-SA-3.0 license Denys Dmytriyenko
2014-07-24 18:40   ` Cooper Jr., Franklin
2014-07-18 18:52 ` [PATCH 11/11] arago.conf: use the new _remove override to filter out sgx feature Denys Dmytriyenko
2014-07-18 19:20   ` Denys Dmytriyenko
2014-07-18 19:34   ` [PATCH v2 " Denys Dmytriyenko
2014-07-24 18:41     ` Cooper Jr., Franklin
2014-07-24 16:56 ` [PATCH 01/11] qt5: update bbappends to match version 5.2.1 in meta-qt5/daisy Cooper Jr., Franklin
2014-07-24 18:18   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.