Skip to contentSkip to conversation

various: delete leftovers from qt4 recipes that break parsing due to missing classes

PATCH In review Koen Kooi 2 participants 4 messages Jan 21, 2016 – Jan 22, 2016

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/1 various: delete leftovers from qt4 recipes that break parsing due to missing classes

---
 ...erinterface.cpp-add-sys-socket.h-as-inclu.patch |  41 ---
 .../0002-qconsole-writethread-gcc-4.5-fixes.patch  |  40 ---
 .../qcanobserver/qcanobserver/candemo.xml          |  40 ---
 .../qt-creator/fix.missing.cpuid.h.patch           | 384 ---------------------
 .../qt-creator/qbs_transformer_product.patch       |  93 -----
 meta-oe/recipes-qt/qtserialport/qtserialport.inc   |  48 ---
 6 files changed, 646 deletions(-)
 delete mode 100644 meta-oe/recipes-qt/qcanobserver/qcanobserver/0001-messagebufferinterface.cpp-add-sys-socket.h-as-inclu.patch
 delete mode 100644 meta-oe/recipes-qt/qcanobserver/qcanobserver/0002-qconsole-writethread-gcc-4.5-fixes.patch
 delete mode 100755 meta-oe/recipes-qt/qcanobserver/qcanobserver/candemo.xml
 delete mode 100644 meta-oe/recipes-qt/qt-creator/qt-creator/fix.missing.cpuid.h.patch
 delete mode 100644 meta-oe/recipes-qt/qt-creator/qt-creator/qbs_transformer_product.patch
 delete mode 100644 meta-oe/recipes-qt/qtserialport/qtserialport.inc
meta-oe/recipes-qt/qcanobserver/qcanobserver/0001-messagebufferinterface.cpp-add-sys-socket.h-as-inclu.patch deleted +0 -41
deleted file mode 100644
index 1b3da3b..0000000
@@ -1,41 +0,0 @@
-From ebb464e3dfa2d59d65c3aa8ee652cb7607481f61 Mon Sep 17 00:00:00 2001
-From: Koen Kooi <[email protected]>
-Date: Thu, 10 Nov 2011 19:38:27 +0100
-Subject: [PATCH] messagebufferinterface.cpp: move sys/socket.h include
-
-This prevents the following error during cross-compiling:
-
-| In file included from messagebufferinterface.cpp:30:
-| /OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/linux/can.h:81: error: 'sa_family_t' does not name a type
-
-Signed-off-by: Koen Kooi <[email protected]>
----
- messagebufferinterface.cpp |    7 ++++---
- 1 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/messagebufferinterface.cpp b/messagebufferinterface.cpp
-index 116564c..3e9a535 100644
---- a/messagebufferinterface.cpp
-+++ b/messagebufferinterface.cpp
-@@ -25,14 +25,15 @@
- #include <sys/time.h>
- #include <QFile>
- 
-+#include <sys/types.h>
-+#include <sys/socket.h>
-+#include <sys/stat.h>
-+
- //#include <linux/can.h>
- //#include <linux/can/raw.h>
- #include <syscall.h>
- 
- #include "configdialog.h"
--#include <sys/types.h>
--#include <sys/socket.h>
--#include <sys/stat.h>
- #include <linux/can.h>
- #include <linux/can/raw.h>
- 
--- 
-1.7.2.5
-
meta-oe/recipes-qt/qcanobserver/qcanobserver/0002-qconsole-writethread-gcc-4.5-fixes.patch deleted +0 -40
deleted file mode 100644
index 4561923..0000000
@@ -1,40 +0,0 @@
-From 3b3cb5212b5dbf182beed171045e5d179b2e9000 Mon Sep 17 00:00:00 2001
-From: Koen Kooi <[email protected]>
-Date: Fri, 11 Nov 2011 09:32:14 +0100
-Subject: [PATCH 2/2] qconsole, writethread: gcc 4.5 fixes
-
-Signed-off-by: Koen Kooi <[email protected]>
----
- qconsole.cpp    |    2 +-
- writethread.cpp |    2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/qconsole.cpp b/qconsole.cpp
-index ea86957..b5a4687 100644
---- a/qconsole.cpp
-+++ b/qconsole.cpp
-@@ -22,7 +22,7 @@ QConsole::QConsole()
- 
- {
-     this->setReadOnly(true);
--    QTextEdit::QTextEdit(NULL);
-+    QTextEdit(NULL);
- }
- 
- 
-diff --git a/writethread.cpp b/writethread.cpp
-index ef7bc13..ff19560 100755
---- a/writethread.cpp
-+++ b/writethread.cpp
-@@ -69,7 +69,7 @@ void WriteThread::setDev(void *ConfData, QString InterfaceLib, bool shareDevLib)
-     if(!handle)
-     {
-         QString *ErrStr = new QString(" ");
--        ErrStr->sprintf("%s %s","Could not load Device Mapper: ", InterfaceLib);
-+        ErrStr->sprintf("%s %s","Could not load Device Mapper: ", (char*)InterfaceLib.constData());
-         ErrorDialog *ed = new ErrorDialog;
-         ed->SetErrorMessage(*ErrStr);
-         delete ErrStr;
--- 
-1.7.2.5
-
meta-oe/recipes-qt/qcanobserver/qcanobserver/candemo.xml deleted +0 -40
deleted file mode 100755
index 304713f..0000000
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<Database Name="EW-demo">
-    <ID Id="180">
-	<Item0>
-	    <interpret Multiplier="0.010986328125" Name="MotorPos" Offset="-180" Datamask="00120000">
-	    </interpret>
-	</Item0>
-	</ID>
-	    <ID Id="280">
-	<Item0>
-	    <interpret Multiplier="1.0" Name="Fanstatus" Offset="0" Datamask="10000000">
-	    </interpret>
-	</Item0>
-	</ID>
-	    <ID Id="380">
-	<Item0>
-	    <interpret Multiplier="0.00390625" Name="temp1" Offset="0" Datamask="00120000">
-	    </interpret>
-	</Item0>
-	</ID>
-	    <ID Id="480">
-	<Item0>
-	    <interpret Multiplier="1.0" Name="fanstatus" Offset="0" Datamask="10000000">
-	    </interpret>
-	</Item0>
-	</ID>
-	<ID Id="580">
-	<Item0>
-	    <interpret Multiplier="1.0" Name="lampstatus" Offset="0" Datamask="10000000">
-	    </interpret>
-	</Item0>
-	</ID>
-	<ID Id="680">
-	<Item0>
-	<interpret Multiplier="0.00390625" Name="Lightsensor" Offset="0" Datamask="00120000">
-	</interpret>
-	</Item0>
-	</ID>
-</Database>
meta-oe/recipes-qt/qt-creator/qt-creator/fix.missing.cpuid.h.patch deleted +0 -384

384 lines not on this page · raw message

meta-oe/recipes-qt/qt-creator/qt-creator/qbs_transformer_product.patch deleted +0 -93

93 lines not on this page · raw message

meta-oe/recipes-qt/qtserialport/qtserialport.inc deleted +0 -48

48 lines not on this page · raw message

Signature · 1 line
2.4.3
#1 lore raw
Quoted 10 lines · On Thu, 21 Jan 2016 12:34:00 Koen Kooi wrote:
---
 ...erinterface.cpp-add-sys-socket.h-as-inclu.patch |  41 ---
 .../0002-qconsole-writethread-gcc-4.5-fixes.patch  |  40 ---
 .../qcanobserver/qcanobserver/candemo.xml          |  40 ---
 .../qt-creator/fix.missing.cpuid.h.patch           | 384
--------------------- .../qt-creator/qbs_transformer_product.patch       | 
93 -----
 meta-oe/recipes-qt/qtserialport/qtserialport.inc   |  48 ---
 6 files changed, 646 deletions(-)

Not that we wouldn't want to remove these, but how were you getting parse issues just by these files being present? None of them would be noticed by BitBake unless they were explicitly included.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
author
#2 lore raw
Quoted 12 lines · Paul Eggleton
Quoted 10 lines · On Thu, 21 Jan 2016 12:34:00 Koen Kooi wrote:
---
 ...erinterface.cpp-add-sys-socket.h-as-inclu.patch |  41 ---
 .../0002-qconsole-writethread-gcc-4.5-fixes.patch  |  40 ---
 .../qcanobserver/qcanobserver/candemo.xml          |  40 ---
 .../qt-creator/fix.missing.cpuid.h.patch           | 384
--------------------- .../qt-creator/qbs_transformer_product.patch       |
93 -----
 meta-oe/recipes-qt/qtserialport/qtserialport.inc   |  48 ---
 6 files changed, 646 deletions(-)
Quoted 3 lines

Not that we wouldn't want to remove these, but how were you getting parse issues just by these files being present? None of them would be noticed by BitBake unless they were explicitly included.

I wasn't getting parse errors with the files present, this is just a result of rebasing my patch against Martins version. The subject line might need some parens, though it should read as:

leftovers from (qt4 recipes that break parsing)

Signature · 4 lines
Koen Kooi

Builds and Baselines | Release Manager
Linaro.org | Open source software for ARM SoCs
#3 lore raw
Quoted 23 lines · On Fri, 22 Jan 2016 06:57:27 Koen Kooi wrote:

On 21 January 2016 at 19:25, Paul Eggleton

Quoted 13 lines · <[email protected]> wrote:
Quoted 12 lines · On Thu, 21 Jan 2016 12:34:00 Koen Kooi wrote:

---

 ...erinterface.cpp-add-sys-socket.h-as-inclu.patch |  41 ---
 .../0002-qconsole-writethread-gcc-4.5-fixes.patch  |  40 ---
 .../qcanobserver/qcanobserver/candemo.xml          |  40 ---
 .../qt-creator/fix.missing.cpuid.h.patch           | 384

--------------------- .../qt-creator/qbs_transformer_product.patch |
93 -----

Quoted 6 lines
Quoted 2 lines
 meta-oe/recipes-qt/qtserialport/qtserialport.inc   |  48 ---
 6 files changed, 646 deletions(-)

Not that we wouldn't want to remove these, but how were you getting parse issues just by these files being present? None of them would be noticed by BitBake unless they were explicitly included.

Quoted 5 lines

I wasn't getting parse errors with the files present, this is just a result of rebasing my patch against Martins version. The subject line might need some parens, though it should read as:

leftovers from (qt4 recipes that break parsing)

Ah, I see - I misread, thanks for the clarification :)

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre