Skip to contentSkip to conversation

arago.conf, packagegroup-arago-tisdk-qte: enable examples PACKAGECONFIG for qt5 modules

PATCH In review Denys Dmytriyenko 3 participants 4 messages Apr 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arago.conf, packagegroup-arago-tisdk-qte: enable examples PACKAGECONFIG for qt5 modules

From: Denys Dmytriyenko <[email protected]>

qtdeclarative-examples is broken for now.

---
 meta-arago-distro/conf/distro/arago.conf                     | 12 +++++++++++-
 .../packagegroups/packagegroup-arago-tisdk-qte.bb            |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)
meta-arago-distro/conf/distro/arago.conf +11 -1
index 3215fe7..05201f3 100644
@@ -103,7 +103,17 @@ PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples accessibility gif gbm kms libinpu
 PACKAGECONFIG_FONTS_pn-qtbase = "fontconfig"
 
 # Add gstreamer in package configuration to enable video
-PACKAGECONFIG_append_pn-qtmultimedia  = " gstreamer"
+PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"
+
+# Add examples in Qt5 package configurations
+PACKAGECONFIG_append_pn-qtcharts = " examples"
+#PACKAGECONFIG_append_pn-qtdeclarative = " examples"
+PACKAGECONFIG_append_pn-qtlocation = " examples"
+PACKAGECONFIG_append_pn-qtmultimedia = " examples"
+PACKAGECONFIG_append_pn-qtscript = " examples"
+PACKAGECONFIG_append_pn-qtserialport = " examples"
+PACKAGECONFIG_append_pn-qtsvg = " examples"
+PACKAGECONFIG_append_pn-qtwayland = " examples"
 
 # Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
 PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} ssl zlib"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb +1 -1
index f83ac52..a2e3794 100644
@@ -12,9 +12,9 @@ QT4_DEMOS = "\
     ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles', 'quick-playground', '', d)} \
 "
 
+#    qtdeclarative-examples
 QT5_DEMOS = "\
     qtbase-examples \
-    qtdeclarative-examples \
     qtdeclarative-tools \
     qtlocation-examples \
     qtmultimedia-examples \
Signature · 1 line
2.7.4
#1 lore raw

Hi Denys

Quoted 30 lines

-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Denys Dmytriyenko
Sent: Wednesday, 8 April 2020 12:51 PM
To: [email protected]
Subject: [meta-arago] [master][PATCH] arago.conf, packagegroup-arago-tisdk-
qte: enable examples PACKAGECONFIG for qt5 modules

From: Denys Dmytriyenko <[email protected]>

qtdeclarative-examples is broken for now.

---
 meta-arago-distro/conf/distro/arago.conf                     | 12 +++++++++++-
 .../packagegroups/packagegroup-arago-tisdk-qte.bb            |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)
meta-arago- renamed from meta-arago-distro/conf/distro/arago.conf +0 -0

distro/conf/distro/arago.conf
index 3215fe7..05201f3 100644

meta-arago-distro/conf/distro/arago.conf +0 -0
@@ -103,7 +103,17 @@ PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples

accessibility gif gbm kms libinpu PACKAGECONFIG_FONTS_pn-qtbase = "fontconfig"

# Add gstreamer in package configuration to enable video -
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"

meta-arago-distro/conf/distro/arago.conf +1 -0
+PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"

meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples accessibility gif gbm kms libinpu · line 116

Quoted 10 lines
meta-arago-distro/conf/distro/arago.conf +10 -0
+
+# Add examples in Qt5 package configurations
+PACKAGECONFIG_append_pn-qtcharts = " examples"
+#PACKAGECONFIG_append_pn-qtdeclarative = " examples"
+PACKAGECONFIG_append_pn-qtlocation = " examples"
+PACKAGECONFIG_append_pn-qtmultimedia = " examples"
+PACKAGECONFIG_append_pn-qtscript = " examples"
+PACKAGECONFIG_append_pn-qtserialport = " examples"
+PACKAGECONFIG_append_pn-qtsvg = " examples"
+PACKAGECONFIG_append_pn-qtwayland = " examples"

That means every image including Qt5 based on arago now have to override these PACKAGECONFIG in bbappends as I don't expect anyone to include examples in their production image.
Could this inclusion of examples in PACKAGECONFIG be handled in a better way that doesn't impact other arago users? Somewhere inside packagegroup-arago-tisdk-qte?

Regards
Ankur

Quoted 29 lines

# Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} ssl zlib"

(quoted diff) +0 -0

arago-tisdk-qte.bb b/meta-arago-distro/recipes- core/packagegroups/packagegroup-arago-tisdk-qte.bb
index f83ac52..a2e3794 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago- tisdk-qte.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti +++ sdk-qte.bb

meta-arago-distro/conf/distro/arago.conf +0 -0
@@ -12,9 +12,9 @@ QT4_DEMOS = "\
     ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles',

'quick-playground', '', d)} \ "

meta-arago-distro/conf/distro/arago.conf +1 -2
+#    qtdeclarative-examples
 QT5_DEMOS = "\
     qtbase-examples \
-    qtdeclarative-examples \
     qtdeclarative-tools \
     qtlocation-examples \
     qtmultimedia-examples \
--

2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#2 lore raw
Quoted 40 lines · Ankur Tyagi

Hi Denys

Quoted 38 lines

-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Denys Dmytriyenko
Sent: Wednesday, 8 April 2020 12:51 PM
To: [email protected]
Subject: [meta-arago] [master][PATCH] arago.conf, packagegroup-arago-tisdk-
qte: enable examples PACKAGECONFIG for qt5 modules

From: Denys Dmytriyenko <[email protected]>

qtdeclarative-examples is broken for now.

---
 meta-arago-distro/conf/distro/arago.conf                     | 12 +++++++++++-
 .../packagegroups/packagegroup-arago-tisdk-qte.bb            |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)
meta-arago- renamed from meta-arago-distro/conf/distro/arago.conf +0 -0

distro/conf/distro/arago.conf
index 3215fe7..05201f3 100644

meta-arago-distro/conf/distro/arago.conf +0 -0
@@ -103,7 +103,17 @@ PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples

accessibility gif gbm kms libinpu PACKAGECONFIG_FONTS_pn-qtbase = "fontconfig"

# Add gstreamer in package configuration to enable video -
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"

meta-arago-distro/conf/distro/arago.conf +9 -0
+PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"
+
+# Add examples in Qt5 package configurations
+PACKAGECONFIG_append_pn-qtcharts = " examples"
+#PACKAGECONFIG_append_pn-qtdeclarative = " examples"
+PACKAGECONFIG_append_pn-qtlocation = " examples"
+PACKAGECONFIG_append_pn-qtmultimedia = " examples"
+PACKAGECONFIG_append_pn-qtscript = " examples"
+PACKAGECONFIG_append_pn-qtserialport = " examples"
Quoted 8 lines

meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples accessibility gif gbm kms libinpu · line 116

Quoted 2 lines
meta-arago-distro/conf/distro/arago.conf +2 -0
+PACKAGECONFIG_append_pn-qtsvg = " examples"
+PACKAGECONFIG_append_pn-qtwayland = " examples"

That means every image including Qt5 based on arago now have to override these PACKAGECONFIG in bbappends as I don't expect anyone to include examples in their production image.
Could this inclusion of examples in PACKAGECONFIG be handled in a better way that doesn't impact other arago users? Somewhere inside packagegroup-arago-tisdk-qte?

That's not how it works. PACKAGECONFIG controls what gets built, and not what gets included into the images.

This patch actually restores existing behavior - meta-qt5 used to enable examples for all qt5 modules, based on qtbase PACKAGECONFIG, which is already set above. Now meta-qt5 requires "examples" PACKAGECONFIG for each individual qt5 module.

And packagegroup-arago-tisdk-qte below already had all corresponding examples packages listed to be added into our default image. But you are free not to include such packages into your production image - it's as simple as not listing them in corresponding RDEPENDS on IMAGE_INSTALL...

Signature · 1 line
Denys
Quoted 33 lines
Quoted 25 lines

# Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} ssl zlib"

(quoted diff) +0 -0

arago-tisdk-qte.bb b/meta-arago-distro/recipes- core/packagegroups/packagegroup-arago-tisdk-qte.bb
index f83ac52..a2e3794 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago- tisdk-qte.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti +++ sdk-qte.bb

meta-arago-distro/conf/distro/arago.conf +0 -0
@@ -12,9 +12,9 @@ QT4_DEMOS = "\
     ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles',

'quick-playground', '', d)} \ "

meta-arago-distro/conf/distro/arago.conf +1 -2
+#    qtdeclarative-examples
 QT5_DEMOS = "\
     qtbase-examples \
-    qtdeclarative-examples \
     qtdeclarative-tools \
     qtlocation-examples \
     qtmultimedia-examples \
--

2.7.4

Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw
Quoted 76 lines

-----Original Message-----
From: Denys Dmytriyenko <[email protected]>
Sent: Wednesday, 8 April 2020 7:29 PM
To: Ankur Tyagi <[email protected]>
Cc: Denys Dmytriyenko <[email protected]>; [email protected]
Subject: Re: [meta-arago] [master][PATCH] arago.conf, packagegroup-arago-
tisdk-qte: enable examples PACKAGECONFIG for qt5 modules

Quoted 4 lines · Ankur Tyagi

Hi Denys

Quoted 2 lines

-----Original Message-----
From: [email protected] <meta-arago-

bounces@arago-

Quoted 4 lines
Quoted 4 lines

project.org> On Behalf Of Denys Dmytriyenko
Sent: Wednesday, 8 April 2020 12:51 PM
To: [email protected]
Subject: [meta-arago] [master][PATCH] arago.conf, packagegroup-arago-

tisdk-

Quoted 12 lines
Quoted 12 lines

qte: enable examples PACKAGECONFIG for qt5 modules

From: Denys Dmytriyenko <[email protected]>

qtdeclarative-examples is broken for now.

---
 meta-arago-distro/conf/distro/arago.conf                     | 12 +++++++++++-
 .../packagegroups/packagegroup-arago-tisdk-qte.bb            |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)
Quoted 6 lines

meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG_DISTRO_pn-qtbase = "icu

Quoted 6 lines
meta-arago- renamed from meta-arago-distro/conf/distro/arago.conf +0 -0

distro/conf/distro/arago.conf
index 3215fe7..05201f3 100644

meta-arago-distro/conf/distro/arago.conf +0 -0
@@ -103,7 +103,17 @@ PACKAGECONFIG_DISTRO_pn-qtbase = "icu

examples

Quoted 18 lines
Quoted 6 lines

accessibility gif gbm kms libinpu PACKAGECONFIG_FONTS_pn-qtbase = "fontconfig"

# Add gstreamer in package configuration to enable video -
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"

meta-arago-distro/conf/distro/arago.conf +1 -0
+PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"

meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples accessibility gif gbm kms libinpu · line 116

Quoted 10 lines
meta-arago-distro/conf/distro/arago.conf +10 -0
+
+# Add examples in Qt5 package configurations
+PACKAGECONFIG_append_pn-qtcharts = " examples"
+#PACKAGECONFIG_append_pn-qtdeclarative = " examples"
+PACKAGECONFIG_append_pn-qtlocation = " examples"
+PACKAGECONFIG_append_pn-qtmultimedia = " examples"
+PACKAGECONFIG_append_pn-qtscript = " examples"
+PACKAGECONFIG_append_pn-qtserialport = " examples"
+PACKAGECONFIG_append_pn-qtsvg = " examples"
+PACKAGECONFIG_append_pn-qtwayland = " examples"

That means every image including Qt5 based on arago now have to override

these

Quoted 1 line

PACKAGECONFIG in bbappends as I don't expect anyone to include examples in

their

Quoted 2 lines

production image.
Could this inclusion of examples in PACKAGECONFIG be handled in a better

way that doesn't

Quoted 1 line

impact other arago users? Somewhere inside packagegroup-arago-tisdk-qte?

That's not how it works. PACKAGECONFIG controls what gets built, and not what gets included into the images.

This patch actually restores existing behavior - meta-qt5 used to enable examples for all qt5 modules, based on qtbase PACKAGECONFIG, which is already
set above. Now meta-qt5 requires "examples" PACKAGECONFIG for each individual
qt5 module.

Quoted 6 lines

And packagegroup-arago-tisdk-qte below already had all corresponding examples
packages listed to be added into our default image. But you are free not to include such packages into your production image - it's as simple as not listing them in corresponding RDEPENDS on IMAGE_INSTALL...

Ahh, thanks for explanation. So it will only add to build time which isn't of much concern.

Quoted 39 lines

--
Denys

Quoted 2 lines
Quoted 2 lines

# Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES",

"ipv6",

Quoted 8 lines
Quoted 8 lines

"ipv6", "", d)} ssl zlib"

(quoted diff) +0 -0

arago-tisdk-qte.bb b/meta-arago-distro/recipes- core/packagegroups/packagegroup-arago-tisdk-qte.bb
index f83ac52..a2e3794 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago- tisdk-qte.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-

arago-ti

Quoted 23 lines
Quoted 15 lines

+++ sdk-qte.bb

meta-arago-distro/conf/distro/arago.conf +0 -0
@@ -12,9 +12,9 @@ QT4_DEMOS = "\
     ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles',

'quick-playground', '', d)} \ "

meta-arago-distro/conf/distro/arago.conf +1 -2
+#    qtdeclarative-examples
 QT5_DEMOS = "\
     qtbase-examples \
-    qtdeclarative-examples \
     qtdeclarative-tools \
     qtlocation-examples \
     qtmultimedia-examples \
--

2.7.4

Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago