qt4-embedded: Port Arago patch
PATCH 1/1 qt4-embedded: Port Arago patch
* Port patch from Arago to apply to Qt v4.8.0
* Add patch that maximizes the weatherinfo and imageviewer demos.
--- ...d-Maximize-weatherinfo-and-imageviewer-de.patch | 47 ++++++++++++++++++++ .../recipes-qt/qt4/qt4-embedded_4.8.0.bbappend | 7 +++- 2 files changed, 53 insertions(+), 1 deletions(-) create mode 100644 meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded-Maximize-weatherinfo-and-imageviewer-de.patch
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded-Maximize-weatherinfo-and-imageviewer-de.patch new file +47 -0
@@ -0,0 +1,47 @@ +From d79e87d256320e3b735e0bb02d1c6588dd211972 Mon Sep 17 00:00:00 2001 +From: Franklin S. Cooper Jr <[email protected]> +Date: Sun, 2 Sep 2012 14:34:47 -0500 +Subject: [PATCH] qt4-embedded: Maximize weatherinfo and imageviewer demos + +* Port patch from arago that maximizes the weatherinfo and imageviewer demos + +Signed-off-by: Franklin S. Cooper Jr <[email protected]> +--- + demos/embedded/weatherinfo/weatherinfo.cpp | 5 ----- + examples/widgets/imageviewer/main.cpp | 4 ---- + 2 files changed, 0 insertions(+), 9 deletions(-) + +diff --git a/demos/embedded/weatherinfo/weatherinfo.cpp b/demos/embedded/weatherinfo/weatherinfo.cpp +index 0614149..c47504d 100644 +--- a/demos/embedded/weatherinfo/weatherinfo.cpp ++++ b/demos/embedded/weatherinfo/weatherinfo.cpp +@@ -492,12 +492,7 @@ int main(int argc, char *argv[]) + QApplication app(argc, argv); + + WeatherInfo w; +-#if defined(Q_OS_SYMBIAN) + w.showMaximized(); +-#else +- w.resize(520, 288); +- w.show(); +-#endif + + return app.exec(); + } +diff --git a/examples/widgets/imageviewer/main.cpp b/examples/widgets/imageviewer/main.cpp +index 8d1a068..35fb80d 100644 +--- a/examples/widgets/imageviewer/main.cpp ++++ b/examples/widgets/imageviewer/main.cpp +@@ -46,10 +46,6 @@ int main(int argc, char *argv[]) + { + QApplication app(argc, argv); + ImageViewer imageViewer; +-#if defined(Q_OS_SYMBIAN) + imageViewer.showMaximized(); +-#else +- imageViewer.show(); +-#endif + return app.exec(); + } +-- +1.7.0.4
meta-arago-distro/recipes-qt/qt4/qt4-embedded_4.8.0.bbappend +6 -1
@@ -2,4 +2,9 @@ # For our distribution purposes we only use LGPLv2.1 LICENSE = "LGPLv2.1" -PR_append = "-arago1" +PR_append = "-arago2" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += "file://0001-qt4-embedded-Maximize-weatherinfo-and-imageviewer-de.patch"
Signature · 1 line
1.7.0.4
Quoted 38 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Friday, October 12, 2012 1:03 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH] qt4-embedded: Port Arago patch* Port patch from Arago to apply to Qt v4.8.0
* Add patch that maximizes the weatherinfo and imageviewer demos.Signed-off-by Franklin S. Cooper Jr <[email protected]>--- ...d-Maximize-weatherinfo-and-imageviewer-de.patch | 47 ++++++++++++++++++++ .../recipes-qt/qt4/qt4-embedded_4.8.0.bbappend | 7 +++- 2 files changed, 53 insertions(+), 1 deletions(-) create mode 100644 meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded-Maximize-weatherinfo-and-imageviewer-de.patch
(quoted diff) +0
-0embedded-Maximize-weatherinfo-and-imageviewer-de.patch b/meta- arago-distro/recipes-qt/qt4/files/0001-qt4-embedded-Maximize- weatherinfo-and-imageviewer-de.patch
new file mode 100644
index 0000000..d7dc847meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +0
-0Maximize-weatherinfo-and-imageviewer-de.patch
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +1
-0@@ -0,0 +1,47 @@ +From d79e87d256320e3b735e0bb02d1c6588dd211972 Mon Sep 1700:00:00 2001
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +3
-0+From: Franklin S. Cooper Jr <[email protected]> +Date: Sun, 2 Sep 2012 14:34:47 -0500 +Subject: [PATCH] qt4-embedded: Maximize weatherinfo andimageviewer demos
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +2
-0+ +* Port patch from arago that maximizes the weatherinfo and
Quoted 2 lines
imageviewer demos
+
Missing Upstream-Status
Quoted 61 lines
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +7
-0+Signed-off-by: Franklin S. Cooper Jr <[email protected]> +--- + demos/embedded/weatherinfo/weatherinfo.cpp | 5 ----- + examples/widgets/imageviewer/main.cpp | 4 ---- + 2 files changed, 0 insertions(+), 9 deletions(-) + +diff --git a/demos/embedded/weatherinfo/weatherinfo.cppb/demos/embedded/weatherinfo/weatherinfo.cpp
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +17
-0+index 0614149..c47504d 100644 +--- a/demos/embedded/weatherinfo/weatherinfo.cpp ++++ b/demos/embedded/weatherinfo/weatherinfo.cpp +@@ -492,12 +492,7 @@ int main(int argc, char *argv[]) + QApplication app(argc, argv); + + WeatherInfo w; +-#if defined(Q_OS_SYMBIAN) + w.showMaximized(); +-#else +- w.resize(520, 288); +- w.show(); +-#endif + + return app.exec(); + } +diff --git a/examples/widgets/imageviewer/main.cppb/examples/widgets/imageviewer/main.cpp
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +16
-0+index 8d1a068..35fb80d 100644 +--- a/examples/widgets/imageviewer/main.cpp ++++ b/examples/widgets/imageviewer/main.cpp +@@ -46,10 +46,6 @@ int main(int argc, char *argv[]) + { + QApplication app(argc, argv); + ImageViewer imageViewer; +-#if defined(Q_OS_SYMBIAN) + imageViewer.showMaximized(); +-#else +- imageViewer.show(); +-#endif + return app.exec(); + } +-- +1.7.0.4(quoted diff) +0
-0embedded_4.8.0.bbappend b/meta-arago-distro/recipes-qt/qt4/qt4- embedded_4.8.0.bbappend
index 462a746..73cd7f3 100644
--- a/meta-arago-distro/recipes-qt/qt4/qt4- embedded_4.8.0.bbappend
+++ b/meta-arago-distro/recipes-qt/qt4/qt4- embedded_4.8.0.bbappendmeta-arago-distro/recipes-qt/qt4/qt4-embedded_4.8.0.bbappend +6
-1@@ -2,4 +2,9 @@ # For our distribution purposes we only use LGPLv2.1 LICENSE = "LGPLv2.1" -PR_append = "-arago1" +PR_append = "-arago2" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += "file://0001-qt4-embedded-Maximize-weatherinfo-and-
Quoted 1 line
imageviewer-de.patch"
This is appending qt4-embedded. What about the qt4-embedded-gles version
Quoted 7 lines
--
1.7.0.4_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
-----Original Message-----
From: Maupin, Chase
Sent: Friday, October 12, 2012 9:55 PM
To: Franklin S. Cooper Jr; [email protected]
Cc: Cooper Jr., Franklin
Subject: RE: [meta-arago] [PATCH] qt4-embedded: Port Arago patch
Quoted 38 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Friday, October 12, 2012 1:03 AM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH] qt4-embedded: Port Arago patch* Port patch from Arago to apply to Qt v4.8.0
* Add patch that maximizes the weatherinfo and imageviewer demos.Signed-off-by Franklin S. Cooper Jr <[email protected]>--- ...d-Maximize-weatherinfo-and-imageviewer-de.patch | 47 ++++++++++++++++++++ .../recipes-qt/qt4/qt4-embedded_4.8.0.bbappend | 7 +++- 2 files changed, 53 insertions(+), 1 deletions(-) create mode 100644meta-arago-distro/recipes-qt/qt4/files/0001- qt4-embedded-Maximize-weatherinfo-and-imageviewer-de.patch
(quoted diff) +0
-0embedded-Maximize-weatherinfo-and-imageviewer-de.patch b/meta- arago-distro/recipes-qt/qt4/files/0001-qt4-embedded-Maximize- weatherinfo-and-imageviewer-de.patch
new file mode 100644
index 0000000..d7dc847meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +0
-0Maximize-weatherinfo-and-imageviewer-de.patch
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +1
-0@@ -0,0 +1,47 @@ +From d79e87d256320e3b735e0bb02d1c6588dd211972 Mon Sep 1700:00:00 2001
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +3
-0+From: Franklin S. Cooper Jr <[email protected]> +Date: Sun, 2 Sep 2012 14:34:47 -0500 +Subject: [PATCH] qt4-embedded: Maximize weatherinfo andimageviewer demos
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +2
-0+ +* Port patch from arago that maximizes the weatherinfo and
Quoted 2 lines
imageviewer demos
+
Missing Upstream-Status
Franklin:
I will add an Upstream-Status stating that this patch is not going to be upstreamed since this patch is specific to our SDK.
Quoted 60 lines
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +7
-0+Signed-off-by: Franklin S. Cooper Jr <[email protected]> +--- + demos/embedded/weatherinfo/weatherinfo.cpp | 5 ----- + examples/widgets/imageviewer/main.cpp | 4 ---- + 2 files changed, 0 insertions(+), 9 deletions(-) + +diff --git a/demos/embedded/weatherinfo/weatherinfo.cppb/demos/embedded/weatherinfo/weatherinfo.cpp
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +17
-0+index 0614149..c47504d 100644 +--- a/demos/embedded/weatherinfo/weatherinfo.cpp ++++ b/demos/embedded/weatherinfo/weatherinfo.cpp +@@ -492,12 +492,7 @@ int main(int argc, char *argv[]) + QApplication app(argc, argv); + + WeatherInfo w; +-#if defined(Q_OS_SYMBIAN) + w.showMaximized(); +-#else +- w.resize(520, 288); +- w.show(); +-#endif + + return app.exec(); + } +diff --git a/examples/widgets/imageviewer/main.cppb/examples/widgets/imageviewer/main.cpp
meta-arago-distro/recipes-qt/qt4/files/0001-qt4-embedded- new file +15
-0+index 8d1a068..35fb80d 100644 +--- a/examples/widgets/imageviewer/main.cpp ++++ b/examples/widgets/imageviewer/main.cpp +@@ -46,10 +46,6 @@ int main(int argc, char *argv[]) { + QApplication app(argc, argv); + ImageViewer imageViewer; +-#if defined(Q_OS_SYMBIAN) + imageViewer.showMaximized(); +-#else +- imageViewer.show(); +-#endif + return app.exec(); + } +-- +1.7.0.4(quoted diff) +0
-0embedded_4.8.0.bbappend b/meta-arago-distro/recipes-qt/qt4/qt4- embedded_4.8.0.bbappend
index 462a746..73cd7f3 100644
--- a/meta-arago-distro/recipes-qt/qt4/qt4- embedded_4.8.0.bbappend
+++ b/meta-arago-distro/recipes-qt/qt4/qt4- embedded_4.8.0.bbappend(quoted diff) +0
-0@@ -2,4 +2,9 @@ # For our distribution purposes we only use LGPLv2.1 LICENSE ="LGPLv2.1"
meta-arago-distro/recipes-qt/qt4/qt4-embedded_4.8.0.bbappend +6
-1-PR_append = "-arago1" +PR_append = "-arago2" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += "file://0001-qt4-embedded-Maximize-weatherinfo-and-
Quoted 1 line
imageviewer-de.patch"
This is appending qt4-embedded. What about the qt4-embedded-gles version
Franklin:
I had a similar append for qt4-embedded-gles that I didn't send out before I left. I plan on creating an include file like in Arago that will include all of the shared settings used by qt4-embedded and qt4-embedded-gles.
Quoted 7 lines
--
1.7.0.4_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago