[oe] [meta-python][PATCH v2 2/2] python3-pkcs11: Add recipe for version 0.7.0

2021-08-28 Thread Vesa Jääskeläinen
"A high level, “more Pythonic” interface to the PKCS#11 (Cryptoki)
standard to support HSM and Smartcard devices in Python."

Signed-off-by: Vesa Jääskeläinen 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-pkcs11_0.7.0.bb| 25 +++
 2 files changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 2fd056de7..ea5683ce6 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -272,6 +272,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-pika \
 python3-pillow \
 python3-pint \
+python3-pkcs11 \
 python3-pkgconfig \
 python3-ply \
 python3-pocketsphinx \
diff --git a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb 
b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb
new file mode 100644
index 0..816b728dc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "PKCS#11 (Cryptoki) support for Python"
+DESCRIPTION = "A high level, “more Pythonic” interface to the PKCS#11 
(Cryptoki) standard to support HSM and Smartcard devices in Python."
+HOMEPAGE = "https://pypi.org/project/python-pkcs11/";
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://README.rst;beginline=337;endline=358;md5=f68bda54505b4002e6ec86e08125ef79"
+
+SRC_URI[sha256sum] = 
"9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7"
+
+PYPI_PACKAGE = "python-pkcs11"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
+
+DEPENDS += " \
+python3-cython-native \
+python3-setuptools-scm-native \
+python3 \
+"
+
+RDEPENDS:${PN} += " \
+python3-asn1crypto \
+python3-cached-property \
+"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92805): 
https://lists.openembedded.org/g/openembedded-devel/message/92805
Mute This Topic: https://lists.openembedded.org/mt/85210594/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH v2 1/2] python3-cached-property: Add recipe for version 1.5.2

2021-08-28 Thread Vesa Jääskeläinen
"A decorator for caching properties in classes."

Signed-off-by: Vesa Jääskeläinen 
---
 .../packagegroups/packagegroup-meta-python.bb|  1 +
 .../python/python3-cached-property_1.5.2.bb  | 12 
 2 files changed, 13 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index c2a80aa1c..2fd056de7 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -59,6 +59,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-blivet \
 python3-booleanpy \
 python3-cachecontrol \
+python3-cached-property \
 python3-cachetools \
 python3-can \
 python3-cantools \
diff --git 
a/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb 
b/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
new file mode 100644
index 0..059c34a29
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
@@ -0,0 +1,12 @@
+SUMMARY = "A decorator for caching properties in classes."
+DESCRIPTION = "Makes caching of time or computational expensive properties 
quick and easy."
+HOMEPAGE = "https://pypi.org/project/cached-property/";
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
+
+SRC_URI[sha256sum] = 
"9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92804): 
https://lists.openembedded.org/g/openembedded-devel/message/92804
Mute This Topic: https://lists.openembedded.org/mt/85210593/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH v2 0/2] Add python3-pkcs11 recipe and it's dependencies

2021-08-28 Thread Vesa Jääskeläinen
Adds recipe for python3-pkcs11 package and it's dependency for
python3-cached-property.

Vesa Jääskeläinen (2):
  python3-cached-property: Add recipe for version 1.5.2
  python3-pkcs11: Add recipe for version 0.7.0

 .../packagegroups/packagegroup-meta-python.bb |  2 ++
 .../python/python3-cached-property_1.5.2.bb   | 12 +
 .../python/python3-pkcs11_0.7.0.bb| 25 +++
 3 files changed, 39 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb

-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92803): 
https://lists.openembedded.org/g/openembedded-devel/message/92803
Mute This Topic: https://lists.openembedded.org/mt/85210592/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH 1/2] python3-cached-property: Add recipe for version 1.5.2

2021-08-28 Thread Vesa Jääskeläinen

Hi,

On 2021-08-28 17:11, Khem Raj wrote:

On 8/28/21 6:47 AM, Vesa Jääskeläinen wrote:

"A decorator for caching properties in classes."

Signed-off-by: Vesa Jääskeläinen 
---
   .../python/python3-cached-property_1.5.2.bb | 13 +
   1 file changed, 13 insertions(+)
   create mode 100644 
meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb

diff --git 
a/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb 
b/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
new file mode 100644
index 0..6f9266325
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
@@ -0,0 +1,13 @@
+SUMMARY = "A decorator for caching properties in classes."
+DESCRIPTION = "Makes caching of time or computational expensive properties quick 
and easy."
+HOMEPAGE = 
"https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpypi.org%2Fproject%2Fcached-property%2F&data=04%7C01%7Cvesa.jaaskelainen%40vaisala.com%7Cfb3cbd0f67f843de757308d96a2dc857%7C6d7393e041f54c2e9b124c2be5da5c57%7C0%7C0%7C637657567143517146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8inso0wTtLicN0NibcNwbla6swl9LGCHPdQpWlqQcUQ%3D&reserved=0";
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
+
+SRC_URI[md5sum] = "3451c63f8733ea0756ca1dd2b0c04bb8"


you can ignore md5sums now a days only sha256sum is enough


Ok. Will remove it from both patches.

Thanks,
Vesa Jääskeläinen

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92802): 
https://lists.openembedded.org/g/openembedded-devel/message/92802
Mute This Topic: https://lists.openembedded.org/mt/85208289/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH 2/2] python3-pkcs11: Add recipe for version 0.7.0

2021-08-28 Thread Vesa Jääskeläinen

Hi,

On 2021-08-28 17:13, Khem Raj wrote:

On 8/28/21 6:47 AM, Vesa Jääskeläinen wrote:

"A high level, “more Pythonic” interface to the PKCS#11 (Cryptoki)
standard to support HSM and Smartcard devices in Python."



since these are new recipes please add them to packagegroup-meta-python
as well.


Ok. Will send v2 shortly.

Thanks,
Vesa Jääskeläinen

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92801): 
https://lists.openembedded.org/g/openembedded-devel/message/92801
Mute This Topic: https://lists.openembedded.org/mt/85208292/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] opensc: Upgrade to 0.22.0

2021-08-28 Thread Vesa Jääskeläinen

Hi All,

On 2021-08-28 17:15, Khem Raj wrote:

its already updated to 0.22.0 with
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.openembedded.org%2Fmeta-openembedded%2Ftree%2Fmeta-oe%2Frecipes-support%2Fopensc%2Fopensc_0.22.0.bb%3Fid%3D6a0c9ea9d3d91a5d2125f335922d1956b7d81f3e&data=04%7C01%7Cvesa.jaaskelainen%40vaisala.com%7C79cc1819a7294b22bc4d08d96a2e54ac%7C6d7393e041f54c2e9b124c2be5da5c57%7C0%7C0%7C637657569502839193%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PviMamQllyJ0qwgXgjPRxFqI7kV0GFyJN4BdJL92x3M%3D&reserved=0


Oh well -- seem that my mirror was 5 days old :|

Sorry for the noise.

Thanks,
Vesa Jääskeläinen



On 8/28/21 4:24 AM, Vesa Jääskeläinen wrote:

Signed-off-by: Vesa Jääskeläinen 
---
   .../opensc/{opensc_0.21.0.bb => opensc_0.22.0.bb} | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
   rename meta-oe/recipes-support/opensc/{opensc_0.21.0.bb => opensc_0.22.0.bb} 
(95%)


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92800): 
https://lists.openembedded.org/g/openembedded-devel/message/92800
Mute This Topic: https://lists.openembedded.org/mt/85206365/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 2/2] python3-pkcs11: Add recipe for version 0.7.0

2021-08-28 Thread Vesa Jääskeläinen
"A high level, “more Pythonic” interface to the PKCS#11 (Cryptoki)
standard to support HSM and Smartcard devices in Python."

Signed-off-by: Vesa Jääskeläinen 
---
 .../python/python3-pkcs11_0.7.0.bb| 26 +++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb 
b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb
new file mode 100644
index 0..8fe31c9f1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb
@@ -0,0 +1,26 @@
+SUMMARY = "PKCS#11 (Cryptoki) support for Python"
+DESCRIPTION = "A high level, “more Pythonic” interface to the PKCS#11 
(Cryptoki) standard to support HSM and Smartcard devices in Python."
+HOMEPAGE = "https://pypi.org/project/python-pkcs11/";
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://README.rst;beginline=337;endline=358;md5=f68bda54505b4002e6ec86e08125ef79"
+
+SRC_URI[md5sum] = "4998d6f038d2997958f2004f482580da"
+SRC_URI[sha256sum] = 
"9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7"
+
+PYPI_PACKAGE = "python-pkcs11"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
+
+DEPENDS += " \
+python3-cython-native \
+python3-setuptools-scm-native \
+python3 \
+"
+
+RDEPENDS:${PN} += " \
+python3-asn1crypto \
+python3-cached-property \
+"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92795): 
https://lists.openembedded.org/g/openembedded-devel/message/92795
Mute This Topic: https://lists.openembedded.org/mt/85208292/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 0/2] Add python3-pkcs11 recipe and it's dependencies

2021-08-28 Thread Vesa Jääskeläinen
Adds recipe for python3-pkcs11 package and it's dependency for
python3-cached-property.

Vesa Jääskeläinen (2):
  python3-cached-property: Add recipe for version 1.5.2
  python3-pkcs11: Add recipe for version 0.7.0

 .../python/python3-cached-property_1.5.2.bb   | 13 ++
 .../python/python3-pkcs11_0.7.0.bb| 26 +++
 2 files changed, 39 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb

-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92794): 
https://lists.openembedded.org/g/openembedded-devel/message/92794
Mute This Topic: https://lists.openembedded.org/mt/85208290/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 1/2] python3-cached-property: Add recipe for version 1.5.2

2021-08-28 Thread Vesa Jääskeläinen
"A decorator for caching properties in classes."

Signed-off-by: Vesa Jääskeläinen 
---
 .../python/python3-cached-property_1.5.2.bb | 13 +
 1 file changed, 13 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb

diff --git 
a/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb 
b/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
new file mode 100644
index 0..6f9266325
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb
@@ -0,0 +1,13 @@
+SUMMARY = "A decorator for caching properties in classes."
+DESCRIPTION = "Makes caching of time or computational expensive properties 
quick and easy."
+HOMEPAGE = "https://pypi.org/project/cached-property/";
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
+
+SRC_URI[md5sum] = "3451c63f8733ea0756ca1dd2b0c04bb8"
+SRC_URI[sha256sum] = 
"9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92793): 
https://lists.openembedded.org/g/openembedded-devel/message/92793
Mute This Topic: https://lists.openembedded.org/mt/85208289/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] opensc: Upgrade to 0.22.0

2021-08-28 Thread Vesa Jääskeläinen
Signed-off-by: Vesa Jääskeläinen 
---
 .../opensc/{opensc_0.21.0.bb => opensc_0.22.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/opensc/{opensc_0.21.0.bb => opensc_0.22.0.bb} 
(95%)

diff --git a/meta-oe/recipes-support/opensc/opensc_0.21.0.bb 
b/meta-oe/recipes-support/opensc/opensc_0.22.0.bb
similarity index 95%
rename from meta-oe/recipes-support/opensc/opensc_0.21.0.bb
rename to meta-oe/recipes-support/opensc/opensc_0.22.0.bb
index ea832ec0f..c17850d7b 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.21.0.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.22.0.bb
@@ -11,8 +11,8 @@ SECTION = "System Environment/Libraries"
 LICENSE = "LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7"
 
-#v0.21.0
-SRCREV = "30180986a08cf71fe4af4b50251a8bb5b1ab95af"
+#v0.22.0
+SRCREV = "c902e1992195e00ada12d71beb1029287cd72037"
 SRC_URI = "git://github.com/OpenSC/OpenSC \
   "
 DEPENDS = "virtual/libiconv openssl"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92788): 
https://lists.openembedded.org/g/openembedded-devel/message/92788
Mute This Topic: https://lists.openembedded.org/mt/85206365/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-pycryptodomex: add 3.9.4 recipe

2020-03-10 Thread Vesa Jääskeläinen

Hi,

Actually no.

pythonX-cryptodome has need to conflict with pythonX-crypto.

But python3-cryptodomex can coexists with either one of those as they 
have own namespace.


Some software need to unfortunately have both python3-cryptodome (brings 
python3-crypto "API emulation") and python3-cryptodomex installed in 
order to function.


Thanks,
Vesa Jääskeläinen

On 10.3.2020 7.50, Tim Orling wrote:

This probably should have an RCONFLICTS with python3-cryptodme (and maybe
even python3-crypto).

These three packages step all over each other with same functionality...

On Mon, Mar 9, 2020 at 7:50 PM Scott Branden via Openembedded-devel <
openembedded-devel@lists.openembedded.org> wrote:


From: Rajesh Ravi 

Add python3-pycryptodomex 3.9.4 recipe needed to build
such components as optee 3.8.0.

Signed-off-by: Rajesh Ravi 
Signed-off-by: Scott Branden 
---
  .../python/python3-pycryptodomex_3.9.4.bb | 30 +++
  1 file changed, 30 insertions(+)
  create mode 100644 meta-python/recipes-devtools/python/
python3-pycryptodomex_3.9.4.bb

diff --git a/meta-python/recipes-devtools/python/
python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/
python3-pycryptodomex_3.9.4.bb
new file mode 100644
index 0..be6b10f3f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Cryptographic library for Python"
+DESCRIPTION = "PyCryptodome is a self-contained Python package of
low-level\
+ cryptographic primitives."
+HOMEPAGE = "http://www.pycryptodome.org";
+LICENSE = "PD & BSD-2-Clause"
+LIC_FILES_CHKSUM =
"file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
+
+SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
+SRC_URI[sha256sum] =
"22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
+
+inherit pypi
+inherit setuptools3
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-io \
+${PYTHON_PN}-math \
+"
+
+RDEPENDS_${PN}-tests += " \
+${PYTHON_PN}-unittest \
+"
+
+PACKAGES =+ "${PN}-tests"
+
+FILES_${PN}-tests += " \
+${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
+${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
+"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.17.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/5] directfb: add x11 to REQUIRED_DISTRO_FEATURES

2018-10-12 Thread Vesa Jääskeläinen

On 12/10/2018 18.26, Armin Kuster wrote:


package has depends on vlc and gtk

Signed-off-by: Armin Kuster 
---
  meta-oe/recipes-graphics/directfb/directfb.inc | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc 
b/meta-oe/recipes-graphics/directfb/directfb.inc
index 96aa311..cf8f19a 100644
--- a/meta-oe/recipes-graphics/directfb/directfb.inc
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -32,7 +32,8 @@ LDFLAGS_append_arm = "${@bb.utils.contains('DISTRO_FEATURES', 
'ld-is-gold', ' -f
  
  BINCONFIG = "${bindir}/directfb-config"
  
-inherit autotools binconfig-disabled pkgconfig

+inherit autotools binconfig-disabled pkgconfig distro_features_check
+REQUIRED_DISTRO_FEATURES = "x11"
  

Wrong method?

Quote from:
https://github.com/DirectFB/directfb

"Optionally, depending on the configuration you want:

   FBDev
 - Linux kernel 2.2.x or newer with working frame buffer device
   (check /proc/fb) for the fbdev system.

   SDL
 - libSDL (Simple Direct Media Layer) for the sdl system.

   X11
 - libX11 (X11 client library) for the X11 system (libx11-dev and libxext-dev 
packages)."

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-openembedded Layers

2018-03-19 Thread Vesa Jääskeläinen

On 19/03/2018 17.59, Tom Rini wrote:


I would suggest that for sumo, any layers that do get moved /
re-distributed / whatever, a "dummy" version be kept in place that says
where it moved to (or where recipes were migrated to, or whatever is
appropriate) and then they can be dropped in master.

Commit message with details should be enough for this kind of 
information. Leaving files behind would be just confusing.


Thanks,
Vesa Jääskeläinen
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Splitting meta-oe?

2018-02-20 Thread Vesa Jääskeläinen

On 20/02/2018 12.45, Burton, Ross wrote:

Hi,

Is now a good time to talk about splitting up meta-oe?  Some layers are
actively developed and maintained (one example: meta-python), others are
basically bitrotting and only get touched when something else causes them
to break world builds (one example: meta-gnome).  I've long felt that
meta-oe should be split up and the high quality layers managed in their own
repositories so patches to them don't get held up by breakage in other
sub-layers.

Another advantage of splitting out the high quality layers is that we'd
like to look at running more community layers through the Yocto
autobuilder, and granular layers make that easier to manage.

Comments?

Ross
Other related problem to meta layer management is that should there be 
recommended scheme for meta layer priority usage. Now they are a bit 
randomly used in different layers as there is no guidance what priority 
should be used for what purpose.


Eg. what should in-house layers use so that they fit properly in scheme 
and does not conflict with layer X that can be found from github.


Eg. we had to once re-base our layer priorities due to conflicts in 
priorities.


Thanks,
Vesa Jääskeläinen
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-qt5][master][PATCH] Update Qt5's git repositories to match new locations

2016-10-29 Thread Vesa Jääskeläinen
Qt5's repositories in github has changed locations.

Qt5 itself and most of its modules are now under:
github.com/qt

Where as qt5-everywhere-demo is under:
github.com/qt-labs

Signed-off-by: Vesa Jääskeläinen 
---
 conf/layer.conf  | 3 ++-
 recipes-qt/examples/qt5everywheredemo_1.0.bb | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index b7207e6..b2a4fbc 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -27,5 +27,6 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
 
 IMAGE_FEATURES[validitems] += "qtcreator-debug"
 
-QT_GIT ?= "git://github.com/qtproject"
+QT_GIT ?= "git://github.com/qt"
+QT_LABS_GIT ?= "git://github.com/qt-labs"
 QT_GIT_PROTOCOL ?= "git"
diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb 
b/recipes-qt/examples/qt5everywheredemo_1.0.bb
index ab2bbd4..7735d90 100644
--- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
+++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
"file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b"
 DEPENDS = "qtdeclarative qtgraphicaleffects"
 
 SRCREV = "c17fe9e0ec0882ac4c4dc1168095f569acab5d09"
-SRC_URI = "${QT_GIT}/qt-labs-qt5-everywhere-demo"
+SRC_URI = "${QT_LABS_GIT}/qt-labs-qt5-everywhere-demo"
 
 S = "${WORKDIR}/git/QtDemo"
 
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][krogoth][PATCH] Update Qt's git repositories to match new location

2016-10-26 Thread Vesa Jääskeläinen

On 26/10/2016 17.30, Martin Jansa wrote:


On Sun, Sep 25, 2016 at 08:54:45PM +0300, Vesa Jääskeläinen wrote:

Signed-off-by: Vesa Jääskeläinen 
---
  conf/layer.conf | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index b7207e6..9220a75 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -27,5 +27,5 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
  
  IMAGE_FEATURES[validitems] += "qtcreator-debug"
  
-QT_GIT ?= "git://github.com/qtproject"

+QT_GIT ?= "git://github.com/qt"
  QT_GIT_PROTOCOL ?= "git"

This isn't in master yet, so it cannot be applied in krogoth and it also
breaks qt5everywheredemo fetch
http://errors.yoctoproject.org/Errors/Details/93069/


Hmm... It seems that 'qt5-everywhere-demo' has moved to:
git://github.com/qt-labs/qt5-everywhere-demo

I'll play around with it and send V2... I suppose you want it first for 
master then.


Thanks,
Vesa Jääskeläinen
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5] Latest Qt5 5.6.1+ update breaks qtwayland?

2016-10-18 Thread Vesa Jääskeläinen

On 18/10/2016 20.23, Denys Dmytriyenko wrote:


On Wed, Aug 10, 2016 at 11:49:47PM -0400, Denys Dmytriyenko wrote:

Has anyone seen this:

git/src/client/qwaylandintegration_p.h:91:29: error: 'QPlatformAccessibility* 
QtWaylandClient::QWaylandIntegration::accessibility() const' marked 'override', 
but does not override
|  QPlatformAccessibility *accessibility() const Q_DECL_OVERRIDE;


Ping on this one. Anyone else is seeing this? Is it C++11 specific? I'm using
gcc-5.3 from Linaro...


Try the patch I sent earlier to this mailing list:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109281.html

FYI -- filed the bug report for this:
https://bugreports.qt.io/browse/QTBUG-56192

Thanks,
Vesa Jääskeläinen
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-qt5][krogoth][PATCH] Update Qt's git repositories to match new location

2016-09-25 Thread Vesa Jääskeläinen
Signed-off-by: Vesa Jääskeläinen 
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index b7207e6..9220a75 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -27,5 +27,5 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
 
 IMAGE_FEATURES[validitems] += "qtcreator-debug"
 
-QT_GIT ?= "git://github.com/qtproject"
+QT_GIT ?= "git://github.com/qt"
 QT_GIT_PROTOCOL ?= "git"
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][krogoth][PATCH] qtwayland: Fix building of QWaylandIntegration if some Qt5 features are disabled.

2016-09-25 Thread Vesa Jääskeläinen

On 25/09/2016 10.54, Vesa Jääskeläinen wrote:

QPlatformIntegration's interface methods are disabled based on QT_NO_OPENGL,
QT_NO_CLIPBOARD, QT_NO_DRAGANDDROP, QT_NO_ACCESSIBILITY and
QT_NO_SESSIONMANAGER, these has to be taken into account when compiling
QtWayland.

Signed-off-by: Vesa Jääskeläinen 
---
  recipes-qt/qt5/qtwayland-native_git.bb |   1 +
  ...g-of-QWaylandIntegration-if-some-Qt5-feat.patch | 156 +
  recipes-qt/qt5/qtwayland_git.bb|   1 +
  3 files changed, 158 insertions(+)
  create mode 100644 
recipes-qt/qt5/qtwayland/0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch


FYI: I have sent upstream PR but no response within a week:
https://github.com/qt/qtwayland/pull/1


--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-qt5][krogoth][PATCH] qtwayland: Fix building of QWaylandIntegration if some Qt5 features are disabled.

2016-09-25 Thread Vesa Jääskeläinen
QPlatformIntegration's interface methods are disabled based on QT_NO_OPENGL,
QT_NO_CLIPBOARD, QT_NO_DRAGANDDROP, QT_NO_ACCESSIBILITY and
QT_NO_SESSIONMANAGER, these has to be taken into account when compiling
QtWayland.

Signed-off-by: Vesa Jääskeläinen 
---
 recipes-qt/qt5/qtwayland-native_git.bb |   1 +
 ...g-of-QWaylandIntegration-if-some-Qt5-feat.patch | 156 +
 recipes-qt/qt5/qtwayland_git.bb|   1 +
 3 files changed, 158 insertions(+)
 create mode 100644 
recipes-qt/qt5/qtwayland/0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch

diff --git a/recipes-qt/qt5/qtwayland-native_git.bb 
b/recipes-qt/qt5/qtwayland-native_git.bb
index 8fc1862..18477b0 100644
--- a/recipes-qt/qt5/qtwayland-native_git.bb
+++ b/recipes-qt/qt5/qtwayland-native_git.bb
@@ -15,6 +15,7 @@ DEPENDS = "qtbase-native wayland-native"
 
 SRC_URI += " \
 file://0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch \
+file://0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch \
 "
 
 do_configure() {
diff --git 
a/recipes-qt/qt5/qtwayland/0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch
 
b/recipes-qt/qt5/qtwayland/0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch
new file mode 100644
index 000..d173e67
--- /dev/null
+++ 
b/recipes-qt/qt5/qtwayland/0001-Fix-building-of-QWaylandIntegration-if-some-Qt5-feat.patch
@@ -0,0 +1,156 @@
+From de85e1c1ee76be845a21b441d9e4ea12a30d84c7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Vesa=20J=C3=A4=C3=A4skel=C3=A4inen?= 
+Date: Sun, 18 Sep 2016 11:51:59 +0300
+Subject: [PATCH] Fix building of QWaylandIntegration if some Qt5 features are
+ disabled.
+
+QPlatformIntegration's interface methods are disabled based on QT_NO_OPENGL,
+QT_NO_CLIPBOARD, QT_NO_DRAGANDDROP, QT_NO_ACCESSIBILITY and
+QT_NO_SESSIONMANAGER, these has to be taken into account when compiling
+QtWayland.
+---
+ src/client/qwaylandintegration.cpp | 21 ++---
+ src/client/qwaylandintegration_p.h | 12 
+ 2 files changed, 30 insertions(+), 3 deletions(-)
+
+diff --git a/src/client/qwaylandintegration.cpp 
b/src/client/qwaylandintegration.cpp
+index 39fff53..481e3d6 100644
+--- a/src/client/qwaylandintegration.cpp
 b/src/client/qwaylandintegration.cpp
+@@ -39,7 +39,9 @@
+ #include "qwaylandinputcontext_p.h"
+ #include "qwaylandshmbackingstore_p.h"
+ #include "qwaylandnativeinterface_p.h"
++#ifndef QT_NO_CLIPBOARD
+ #include "qwaylandclipboard_p.h"
++#endif
+ #include "qwaylanddnd_p.h"
+ #include "qwaylandwindowmanagerintegration_p.h"
+ #include "qwaylandscreen_p.h"
+@@ -57,7 +59,9 @@
+ #include 
+ 
+ #include 
++#ifndef QT_NO_ACCESSIBILITY
+ #include 
++#endif
+ #include 
+ 
+ #include "qwaylandhardwareintegration_p.h"
+@@ -117,8 +121,6 @@ QWaylandIntegration::QWaylandIntegration()
+ , mNativeInterface(new QWaylandNativeInterface(this))
+ #ifndef QT_NO_ACCESSIBILITY
+ , mAccessibility(new QPlatformAccessibility())
+-#else
+-, mAccessibility(0)
+ #endif
+ , mClientBufferIntegrationInitialized(false)
+ , mServerBufferIntegrationInitialized(false)
+@@ -126,9 +128,12 @@ QWaylandIntegration::QWaylandIntegration()
+ {
+ initializeInputDeviceIntegration();
+ mDisplay = new QWaylandDisplay(this);
++#ifndef QT_NO_CLIPBOARD
+ mClipboard = new QWaylandClipboard(mDisplay);
++#endif
++#ifndef QT_NO_DRAGANDDROP
+ mDrag = new QWaylandDrag(mDisplay);
+-
++#endif
+ QString icStr = QPlatformInputContextFactory::requested();
+ icStr.isNull() ? mInputContext.reset(new QWaylandInputContext(mDisplay))
+: 
mInputContext.reset(QPlatformInputContextFactory::create(icStr));
+@@ -136,8 +141,12 @@ QWaylandIntegration::QWaylandIntegration()
+ 
+ QWaylandIntegration::~QWaylandIntegration()
+ {
++#ifndef QT_NO_DRAGANDDROP
+ delete mDrag;
++#endif
++#ifndef QT_NO_CLIPBOARD
+ delete mClipboard;
++#endif
+ #ifndef QT_NO_ACCESSIBILITY
+ delete mAccessibility;
+ #endif
+@@ -213,15 +222,19 @@ QPlatformFontDatabase 
*QWaylandIntegration::fontDatabase() const
+ return mFontDb;
+ }
+ 
++#ifndef QT_NO_CLIPBOARD
+ QPlatformClipboard *QWaylandIntegration::clipboard() const
+ {
+ return mClipboard;
+ }
++#endif
+ 
++#ifndef QT_NO_DRAGANDDROP
+ QPlatformDrag *QWaylandIntegration::drag() const
+ {
+ return mDrag;
+ }
++#endif
+ 
+ QPlatformInputContext *QWaylandIntegration::inputContext() const
+ {
+@@ -243,10 +256,12 @@ QVariant QWaylandIntegration::styleHint(StyleHint hint) 
const
+ return QPlatformIntegration::styleHint(hint);
+ }
+ 
++#ifndef QT_NO_ACCESSIBILITY
+ QPlatformAccessibility *QWaylandIntegration::accessibility() const
+ {
+ return mAccessibility;
+ }
++#endif
+ 
+ QPlatformServices *QWaylandIntegration::services() const
+ {
+diff --git a/src/client/qwaylandintegration_p.h 
b/src/client/qwaylandintegration_p.h
+ind

Re: [oe] [meta-qt5][WIP][PATCH] qt5: upgrade to latest revisions in 5.7 branch

2016-07-27 Thread Vesa Jääskeläinen

Hi,

...snip...

I did not see the license change from GPLv2/LGPLv2.1 -> GPLv3/LGPLv3. 
Was this some previous change or just forgotten one? With quick look I 
did not spot GPLv3 mentions in meta-qt5 in github.


Because of this dramatic license change I would recommend keeping old 
5.6 available so if one blacklists GPLv3 & LGPLv3 then old one gets 
picked up.


I suppose right way to handle this special licensing case is to define 
license as being by default GPLv3 | LGPLv3 and then if company purchases 
license for Qt5.7 then override recipes license with something like 
LICENSE_pn_qt5 = "commercial" in local.conf or own layer with matching 
.bbappend?


Another related question is that what is recommended method to select 
license? As some software is under multiple licenses and then we would 
select one of those licenses and then only want that license to be 
collected for image.


I suppose this would need similar method as what PACKAGECONFIG[...] but 
with LIC_FILES_CHKSUM[foo] and then you select one with LICENSE="foo"?


Thanks,
Vesa Jääskeläinen
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] Fix nano's license to GPLv3.

2016-05-31 Thread Vesa Jääskeläinen
Hi,

I'd recommend applying this fix for all yocto branches.

Thanks,
Vesa Jääskeläinen

On Tue, May 31, 2016 at 3:38 PM, Vesa Jääskeläinen 
wrote:

> Nano recipe has incorrectly stated GPLv2 license where actually it is
> GPLv3.
>
> Signed-off-by: Vesa Jääskeläinen 
> ---
>  meta-oe/recipes-support/nano/nano.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/nano/nano.inc
> b/meta-oe/recipes-support/nano/nano.inc
> index bdefe9b..3fad029 100644
> --- a/meta-oe/recipes-support/nano/nano.inc
> +++ b/meta-oe/recipes-support/nano/nano.inc
> @@ -2,7 +2,7 @@ DESCRIPTION = "GNU nano (Nano's ANOther editor, or \
>  Not ANOther editor) is an enhanced clone of the \
>  Pico text editor."
>  HOMEPAGE = "http://www.nano-editor.org/";
> -LICENSE = "GPLv2"
> +LICENSE = "GPLv3"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
>  SECTION = "console/utils"
>  DEPENDS = "ncurses"
> --
> 1.9.1
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] Fix nano's license to GPLv3.

2016-05-31 Thread Vesa Jääskeläinen
Nano recipe has incorrectly stated GPLv2 license where actually it is GPLv3.

Signed-off-by: Vesa Jääskeläinen 
---
 meta-oe/recipes-support/nano/nano.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/nano/nano.inc 
b/meta-oe/recipes-support/nano/nano.inc
index bdefe9b..3fad029 100644
--- a/meta-oe/recipes-support/nano/nano.inc
+++ b/meta-oe/recipes-support/nano/nano.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "GNU nano (Nano's ANOther editor, or \
 Not ANOther editor) is an enhanced clone of the \
 Pico text editor."
 HOMEPAGE = "http://www.nano-editor.org/";
-LICENSE = "GPLv2"
+LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
 SECTION = "console/utils"
 DEPENDS = "ncurses"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel