Re: [oe] [meta-oe][PATCH v2] wxwidgets: enable to use private fonts
On 5/13/22 12:15 AM, Khem Raj wrote: On Wed, May 11, 2022 at 11:23 PM Kai wrote: On 5/11/22 11:21 PM, Khem Raj wrote: On Wed, May 11, 2022 at 12:45 AM kai wrote: From: Kai Kang Enable option wxUSE_PRIVATE_FONTS of wxwidgets if build with gtk. It allows application to use the font from the given file even if it is not globally installed on the system. Signed-off-by: Kai Kang --- v2: * use upper case 'ON' to align with others in oe meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index 6b57cb54c..b9b1dcf0d 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -39,6 +39,7 @@ EXTRA_OECMAKE += " \ -DwxUSE_LIBTIFF=sys \ -DwxUSE_REGEX=builtin \ -DwxPLATFORM_LIB_DIR=${@d.getVar('baselib').replace('lib', '')} \ +${@bb.utils.contains('PACKAGECONFIG', 'gtk', '-DwxUSE_PRIVATE_FONTS=ON', '', d)} \ why not add it to the packageconfig setting itself ? It is an useful feature for wxwidgets with gui, so I want it to be enabled by default. And it requires pango to make it work. I can see gtk3 depends on pango but qtbase doesn't. So only check 'gtk' I meant to do something like below instead of this patch. PACKAGECONFIG[gtk] = "-DwxBUILD_TOOLKIT=gtk3 -DwxUSE_GUI=ON -DwxUSE_PRIVATE_FONTS=ON,,gtk+3,,,no_gui qt" OK. v3 will be sent. Thanks, Kai here. Regards, Kai " EXTRA_OECMAKE:append:libc-musl = " \ -DHAVE_LOCALE_T=OFF \ -- 2.17.1 -- Kai Kang Wind River Linux -- Kai Kang Wind River Linux -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97091): https://lists.openembedded.org/g/openembedded-devel/message/97091 Mute This Topic: https://lists.openembedded.org/mt/91031050/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] python3-pyalsaaudio: upgrade 0.9.0 -> 0.9.2
From: Xu Huan Signed-off-by: Xu Huan --- ...thon3-pyalsaaudio_0.9.0.bb => python3-pyalsaaudio_0.9.2.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pyalsaaudio_0.9.0.bb => python3-pyalsaaudio_0.9.2.bb} (61%) diff --git a/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.9.0.bb b/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.9.2.bb similarity index 61% rename from meta-python/recipes-devtools/python/python3-pyalsaaudio_0.9.0.bb rename to meta-python/recipes-devtools/python/python3-pyalsaaudio_0.9.2.bb index 862c3d594..e7e706c6c 100644 --- a/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.9.2.bb @@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d" inherit pypi setuptools3 -SRC_URI[md5sum] = "48c40424a79c2568676a41643d93f1f7" -SRC_URI[sha256sum] = "3ca069c736c8ad2a3047b5033468d983a2480f94fad4feb0169c056060e01e69" +SRC_URI[sha256sum] = "e74a66d6c7a6bcceb990df66d3ebc0fe382fc9d765f35f050f9d98c695304b36" DEPENDS += "alsa-lib" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97088): https://lists.openembedded.org/g/openembedded-devel/message/97088 Mute This Topic: https://lists.openembedded.org/mt/91072922/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] python3-grpcio-tools: upgrade 1.45.0 -> 1.46.0
From: Xu Huan Signed-off-by: Xu Huan --- ...n3-grpcio-tools_1.45.0.bb => python3-grpcio-tools_1.46.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-grpcio-tools_1.45.0.bb => python3-grpcio-tools_1.46.0.bb} (82%) diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.45.0.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.46.0.bb similarity index 82% rename from meta-python/recipes-devtools/python/python3-grpcio-tools_1.45.0.bb rename to meta-python/recipes-devtools/python/python3-grpcio-tools_1.46.0.bb index 1e919dd3a..9569e8ec9 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.45.0.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.46.0.bb @@ -10,7 +10,7 @@ inherit pypi setuptools3 DEPENDS += "${PYTHON_PN}-grpcio" SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch" -SRC_URI[sha256sum] = "a016cfc21e0d91b3b036d3d4f968d1fdea865dfa03524cb1fbeca84719fd45a2" +SRC_URI[sha256sum] = "9295bf9b1e6dd5bcb260d594745fa3d6a089daade28f3a80cb2bc976b5359b7d" RDEPENDS:${PN} = "${PYTHON_PN}-grpcio" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97089): https://lists.openembedded.org/g/openembedded-devel/message/97089 Mute This Topic: https://lists.openembedded.org/mt/91072923/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] python3-pychromecast: upgrade 11.0.0 -> 12.1.1
From: Xu Huan Changelog: = Add load_media_failed callback to MediaStatusListener Tweak media status Lookup known cast models in mDNS discovery Fix default value for fetching model name in discovery Signed-off-by: Xu Huan --- ...n3-pychromecast_11.0.0.bb => python3-pychromecast_12.1.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pychromecast_11.0.0.bb => python3-pychromecast_12.1.1.bb} (83%) diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_11.0.0.bb b/meta-python/recipes-devtools/python/python3-pychromecast_12.1.1.bb similarity index 83% rename from meta-python/recipes-devtools/python/python3-pychromecast_11.0.0.bb rename to meta-python/recipes-devtools/python/python3-pychromecast_12.1.1.bb index f55696373..b34c78eb8 100644 --- a/meta-python/recipes-devtools/python/python3-pychromecast_11.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pychromecast_12.1.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast; LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" -SRC_URI[sha256sum] = "151723b178110052b673b8765a120c85d16eae8c22d75575dceebe2be1eb1ef6" +SRC_URI[sha256sum] = "9545a22acdadc96603f76d7878c6ea17baf1328260cf560c887c8c12aad4c82c" PYPI_PACKAGE = "PyChromecast" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97090): https://lists.openembedded.org/g/openembedded-devel/message/97090 Mute This Topic: https://lists.openembedded.org/mt/91072924/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] python3-mypy: upgrade 0.942 -> 0.950
From: Xu Huan Signed-off-by: Xu Huan --- .../python/{python3-mypy_0.942.bb => python3-mypy_0.950.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-mypy_0.942.bb => python3-mypy_0.950.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.942.bb b/meta-python/recipes-devtools/python/python3-mypy_0.950.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-mypy_0.942.bb rename to meta-python/recipes-devtools/python/python3-mypy_0.950.bb index 5b4b6d5ba..c268adebe 100644 --- a/meta-python/recipes-devtools/python/python3-mypy_0.942.bb +++ b/meta-python/recipes-devtools/python/python3-mypy_0.950.bb @@ -7,7 +7,7 @@ PYPI_PACKAGE = "mypy" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "17e44649fec92e9f82102b48a3bf7b4a5510ad0cd22fa21a104826b5db4903e2" +SRC_URI[sha256sum] = "1b333cfbca1762ff15808a0ef4f71b5d3eed8528b23ea1c3fb50543c867d68de" BBCLASSEXTEND = "native" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97087): https://lists.openembedded.org/g/openembedded-devel/message/97087 Mute This Topic: https://lists.openembedded.org/mt/91072921/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] python3-google-auth: upgrade 2.6.3 -> 2.6.6
From: Xu Huan Changelog: == fix missing import in _default.py add additional missing import in _default.py silence TypeError during tear down stage Signed-off-by: Xu Huan --- ...ython3-google-auth_2.6.3.bb => python3-google-auth_2.6.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-google-auth_2.6.3.bb => python3-google-auth_2.6.6.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.6.3.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.6.6.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-google-auth_2.6.3.bb rename to meta-python/recipes-devtools/python/python3-google-auth_2.6.6.bb index ee5311f4f..d51790f36 100644 --- a/meta-python/recipes-devtools/python/python3-google-auth_2.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-google-auth_2.6.6.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" inherit pypi setuptools3 -SRC_URI[sha256sum] = "d65bb0e3701eaaa64fd2aa85e1325580524b0bddc6dc5db3ab89c481b6a20141" +SRC_URI[sha256sum] = "1ba4938e032b73deb51e59c4656a00e0939cf0b1112575099f136babb4563312" RDEPENDS:${PN} += "\ ${PYTHON_PN}-asyncio \ -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97086): https://lists.openembedded.org/g/openembedded-devel/message/97086 Mute This Topic: https://lists.openembedded.org/mt/91072911/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [kirkstone][PATCH 1/3] devmem2: reinstate previous patches, removed by mistake
This reverts commit 5e8f4720aaa3da7350ead06959cae0492133cd61. Signed-off-by: Denys Dmytriyenko Signed-off-by: Khem Raj Signed-off-by: Denys Dmytriyenko --- meta-oe/recipes-support/devmem2/devmem2.bb| 3 +- ...word-is-32-bit-and-add-support-for-6.patch | 70 ++ .../devmem2/devmem2/devmem2-fixups-2.patch| 91 +++ 3 files changed, 163 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/devmem2/devmem2/0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch create mode 100644 meta-oe/recipes-support/devmem2/devmem2/devmem2-fixups-2.patch diff --git a/meta-oe/recipes-support/devmem2/devmem2.bb b/meta-oe/recipes-support/devmem2/devmem2.bb index 92c05fe06..c6b8df5e4 100644 --- a/meta-oe/recipes-support/devmem2/devmem2.bb +++ b/meta-oe/recipes-support/devmem2/devmem2.bb @@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=a9eb9f3890384519f435aedf9862 PR = "r7" SRC_URI = "http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c \ - " + file://devmem2-fixups-2.patch;apply=yes;striplevel=0 \ + file://0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch" S = "${WORKDIR}" diff --git a/meta-oe/recipes-support/devmem2/devmem2/0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch b/meta-oe/recipes-support/devmem2/devmem2/0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch new file mode 100644 index 0..2a57f2989 --- /dev/null +++ b/meta-oe/recipes-support/devmem2/devmem2/0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch @@ -0,0 +1,70 @@ +From 1360a907879dd24041797a3b709d49aeac2ab444 Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko +Date: Tue, 29 May 2018 16:55:42 -0400 +Subject: [PATCH] devmem.c: ensure word is 32-bit and add support for 64-bit + long + +Signed-off-by: Denys Dmytriyenko +--- + devmem2.c | 23 +-- + 1 file changed, 17 insertions(+), 6 deletions(-) + +diff --git a/devmem2.c b/devmem2.c +index 5845381..68131b2 100644 +--- a/devmem2.c b/devmem2.c +@@ -39,6 +39,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -69,7 +70,7 @@ int main(int argc, char **argv) { + if(argc < 2) { + fprintf(stderr, "\nUsage:\t%s { address } [ type [ data ] ]\n" + "\taddress : memory address to act upon\n" +- "\ttype: access operation type : [b]yte, [h]alfword, [w]ord\n" ++ "\ttype: access operation type : [b]yte, [h]alfword, [w]ord, [l]ong\n" + "\tdata: data to be written\n\n", + argv[0]); + exit(1); +@@ -103,9 +104,14 @@ int main(int argc, char **argv) { + read_result = *((unsigned short *) virt_addr); + break; + case 'w': +- data_size = sizeof(unsigned long); ++ data_size = sizeof(uint32_t); + virt_addr = fixup_addr(virt_addr, data_size); +- read_result = *((unsigned long *) virt_addr); ++ read_result = *((uint32_t *) virt_addr); ++ break; ++ case 'l': ++ data_size = sizeof(uint64_t); ++ virt_addr = fixup_addr(virt_addr, data_size); ++ read_result = *((uint64_t *) virt_addr); + break; + default: + fprintf(stderr, "Illegal data type '%c'.\n", access_type); +@@ -129,9 +135,14 @@ int main(int argc, char **argv) { + read_result = *((unsigned short *) virt_addr); + break; + case 'w': +- virt_addr = fixup_addr(virt_addr, sizeof(unsigned long)); +- *((unsigned long *) virt_addr) = write_val; +- read_result = *((unsigned long *) virt_addr); ++ virt_addr = fixup_addr(virt_addr, sizeof(uint32_t)); ++ *((uint32_t *) virt_addr) = write_val; ++ read_result = *((uint32_t *) virt_addr); ++ break; ++ case 'l': ++ virt_addr = fixup_addr(virt_addr, sizeof(uint64_t)); ++ *((uint64_t *) virt_addr) = write_val; ++ read_result = *((uint64_t *) virt_addr); + break; + } + sprintf(fmt_str, "Write at address 0x%%08lX (%%p): 0x%%0%dlX, " +-- +2.7.4 + diff --git a/meta-oe/recipes-support/devmem2/devmem2/devmem2-fixups-2.patch b/meta-oe/recipes-support/devmem2/devmem2/devmem2-fixups-2.patch new file mode 100644 index 0..4517797fc --- /dev/null +++
[oe] [kirkstone][PATCH 2/3] devmem2: add support for different page sizes
Instead of hardcoding 4K page size, query the system and use the value for memory mapping. Signed-off-by: Denys Dmytriyenko Signed-off-by: Khem Raj Signed-off-by: Denys Dmytriyenko --- meta-oe/recipes-support/devmem2/devmem2.bb| 4 ++- ...ort-different-page-sizes-at-run-time.patch | 35 +++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/devmem2/devmem2/0001-devmem2-support-different-page-sizes-at-run-time.patch diff --git a/meta-oe/recipes-support/devmem2/devmem2.bb b/meta-oe/recipes-support/devmem2/devmem2.bb index c6b8df5e4..ba7aad8ab 100644 --- a/meta-oe/recipes-support/devmem2/devmem2.bb +++ b/meta-oe/recipes-support/devmem2/devmem2.bb @@ -5,7 +5,9 @@ PR = "r7" SRC_URI = "http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c \ file://devmem2-fixups-2.patch;apply=yes;striplevel=0 \ - file://0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch" + file://0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch \ + file://0001-devmem2-support-different-page-sizes-at-run-time.patch \ +" S = "${WORKDIR}" diff --git a/meta-oe/recipes-support/devmem2/devmem2/0001-devmem2-support-different-page-sizes-at-run-time.patch b/meta-oe/recipes-support/devmem2/devmem2/0001-devmem2-support-different-page-sizes-at-run-time.patch new file mode 100644 index 0..0da0732c5 --- /dev/null +++ b/meta-oe/recipes-support/devmem2/devmem2/0001-devmem2-support-different-page-sizes-at-run-time.patch @@ -0,0 +1,35 @@ +From 0f6af48b2fbc71ec8abe862d3e9eb6da7b03538b Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko +Date: Wed, 8 Aug 2018 14:38:00 -0400 +Subject: [PATCH] devmem2: support different page sizes at run-time + +Signed-off-by: Denys Dmytriyenko +--- + devmem2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/devmem2.c b/devmem2.c +index 68131b2..76af2d6 100644 +--- a/devmem2.c b/devmem2.c +@@ -53,8 +53,6 @@ + #define FATAL do { fprintf(stderr, "Error at line %d, file %s (%d) [%s]\n", \ + __LINE__, __FILE__, errno, strerror(errno)); exit(1); } while(0) + +-#define MAP_SIZE 4096UL +-#define MAP_MASK (MAP_SIZE - 1) + + static inline void *fixup_addr(void *addr, size_t size); + +@@ -66,6 +64,8 @@ int main(int argc, char **argv) { + int access_type = 'w'; + char fmt_str[128]; + size_t data_size; ++ unsigned long MAP_SIZE = sysconf(_SC_PAGE_SIZE); ++ unsigned long MAP_MASK = (MAP_SIZE - 1); + + if(argc < 2) { + fprintf(stderr, "\nUsage:\t%s { address } [ type [ data ] ]\n" +-- +2.7.4 + -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97084): https://lists.openembedded.org/g/openembedded-devel/message/97084 Mute This Topic: https://lists.openembedded.org/mt/91070559/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [kirkstone][PATCH 3/3] devmem2: update SRC_URI according to redirect
From: Michael Opdenacker http://www.free-electrons.com now redirects to https://bootlin.com Signed-off-by: Michael Opdenacker Signed-off-by: Khem Raj Signed-off-by: Denys Dmytriyenko --- meta-oe/recipes-support/devmem2/devmem2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/devmem2/devmem2.bb b/meta-oe/recipes-support/devmem2/devmem2.bb index ba7aad8ab..70d413521 100644 --- a/meta-oe/recipes-support/devmem2/devmem2.bb +++ b/meta-oe/recipes-support/devmem2/devmem2.bb @@ -3,7 +3,7 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=a9eb9f3890384519f435aedf986297cf" PR = "r7" -SRC_URI = "http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c \ +SRC_URI = "https://bootlin.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c \ file://devmem2-fixups-2.patch;apply=yes;striplevel=0 \ file://0001-devmem.c-ensure-word-is-32-bit-and-add-support-for-6.patch \ file://0001-devmem2-support-different-page-sizes-at-run-time.patch \ -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97085): https://lists.openembedded.org/g/openembedded-devel/message/97085 Mute This Topic: https://lists.openembedded.org/mt/91070560/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 v2] wxwidgets: enable to use private fonts
On Wed, May 11, 2022 at 11:23 PM Kai wrote: > > On 5/11/22 11:21 PM, Khem Raj wrote: > > On Wed, May 11, 2022 at 12:45 AM kai wrote: > >> From: Kai Kang > >> > >> Enable option wxUSE_PRIVATE_FONTS of wxwidgets if build with gtk. It > >> allows application to use the font from the given file even if it is > >> not globally installed on the system. > >> > >> Signed-off-by: Kai Kang > >> --- > >> v2: > >> * use upper case 'ON' to align with others in oe > >> > >> meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb > >> b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb > >> index 6b57cb54c..b9b1dcf0d 100644 > >> --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb > >> +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb > >> @@ -39,6 +39,7 @@ EXTRA_OECMAKE += " \ > >> -DwxUSE_LIBTIFF=sys \ > >> -DwxUSE_REGEX=builtin \ > >> -DwxPLATFORM_LIB_DIR=${@d.getVar('baselib').replace('lib', '')} \ > >> +${@bb.utils.contains('PACKAGECONFIG', 'gtk', > >> '-DwxUSE_PRIVATE_FONTS=ON', '', d)} \ > > why not add it to the packageconfig setting itself ? > It is an useful feature for wxwidgets with gui, so I want it to be > enabled by default. And it requires pango to make it work. > > I can see gtk3 depends on pango but qtbase doesn't. So only check 'gtk' I meant to do something like below instead of this patch. PACKAGECONFIG[gtk] = "-DwxBUILD_TOOLKIT=gtk3 -DwxUSE_GUI=ON -DwxUSE_PRIVATE_FONTS=ON,,gtk+3,,,no_gui qt" > here. > > Regards, > Kai > > > > >> " > >> EXTRA_OECMAKE:append:libc-musl = " \ > >> -DHAVE_LOCALE_T=OFF \ > >> -- > >> 2.17.1 > >> > >> > >> > >> > > -- > Kai Kang > Wind River Linux > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97082): https://lists.openembedded.org/g/openembedded-devel/message/97082 Mute This Topic: https://lists.openembedded.org/mt/91031050/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] ntp: prerm script is removing link to ntpd prior to stopping ntpd
All, I'm on the dunfell branch and I am switching my ntp client from ntp to chrony. I noticed after I upgraded that ntp was still running even though it had been removed from my system. After checking in with opkg, I started checking the prerm scripts. Here is the prerm script as it was generated when I was using the morty branch: #!/bin/sh # Begin section update-rc.d if [ -z "$D" -a -x "/etc/init.d/ntpd" ]; then /etc/init.d/ntpd stop || : fi # End section update-rc.d # Begin section update-alternatives update-alternatives --remove ntpd /usr/sbin/ntpd.ntp # End section update-alternatives and here is the prerm script generated by the dunfell branch: #!/bin/sh set -e update-alternatives --remove ntpd /usr/sbin/ntpd.ntp if true && [ -z "$D" -a -x "/etc/init.d/ntpd" ]; then /etc/init.d/ntpd stop || : Fi As you can see, now ntpd cannot be stopped because the link is removed before attempting to stop ntpd. I'm assuming this is related to this commit? https://git.openembedded.org/openembedded-core/commit/?h=dunfell=7cb951a803deca151344d905bf2fab038e72e0d0 I checked all the prerm scripts on my image, and ntp was the only one in which the init script name was also the alternative link name. The only script that I saw that added something different was busybox-syslog, which adds a section to stop syslog in the beginning of the prerm script. Is ntp a corner case, or are there more packages which might have the same problem? Thanks, Bryan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97081): https://lists.openembedded.org/g/openembedded-devel/message/97081 Mute This Topic: https://lists.openembedded.org/mt/91057732/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][kirkstone][PATCH] bats: Add patch to fix false-negatives caused by teardown code
BATS v1.6.0 has a regression which can result in test case failures being ignored when teardown code executes successfully. This patch applies the accepted bug-fix until the next BATS release. Also, fix a comment that wasn't updated during the BATS upgrade, to match the correct release (v1.6.0) associated with the SRCREV. Signed-off-by: Richard Neill --- meta-oe/recipes-test/bats/bats_1.6.0.bb | 8 +- ...tus-in-teardown-overriding-exit-code.patch | 150 ++ 2 files changed, 156 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch diff --git a/meta-oe/recipes-test/bats/bats_1.6.0.bb b/meta-oe/recipes-test/bats/bats_1.6.0.bb index 7ea1aa8f3..df81595c9 100644 --- a/meta-oe/recipes-test/bats/bats_1.6.0.bb +++ b/meta-oe/recipes-test/bats/bats_1.6.0.bb @@ -6,8 +6,12 @@ HOMEPAGE = "https://github.com/bats-core/bats-core; LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b" -SRC_URI = "git://github.com/bats-core/bats-core.git;branch=master;protocol=https" -# v1.4.1 +SRC_URI = "\ + git://github.com/bats-core/bats-core.git;branch=master;protocol=https \ + file://0001-Fix-status-in-teardown-overriding-exit-code.patch \ + " + +# v1.6.0 SRCREV = "210acf3a8ed318ddedad3137c15451739beba7d4" S = "${WORKDIR}/git" diff --git a/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch b/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch new file mode 100644 index 0..f4b1db931 --- /dev/null +++ b/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch @@ -0,0 +1,150 @@ +From aa628ccdc4dec1c129c1bd98b53ef94d8c2e119a Mon Sep 17 00:00:00 2001 +From: Richard Neill +Date: Mon, 9 May 2022 12:20:48 +0100 +Subject: [PATCH] Fix status in teardown* overriding exit code + +Patch fixes regression which produces false-negatives in v1.6.0, where the +teardown function can cause BATS to report success even if test cases fail. +Fixes: https://github.com/bats-core/bats-core/issues/575 + +Upstream-Status: Backport [Adapted from https://github.com/bats-core/bats-core/commit/5f372058b05f817e4e3a8dab27f83c30fd467504] +Signed-off-by: Richard Neill +--- + libexec/bats-core/bats-exec-file | 18 -- + libexec/bats-core/bats-exec-suite | 12 ++-- + libexec/bats-core/bats-exec-test | 8 + 3 files changed, 18 insertions(+), 20 deletions(-) + +diff --git a/libexec/bats-core/bats-exec-file b/libexec/bats-core/bats-exec-file +index 298441b..63452c7 100755 +--- a/libexec/bats-core/bats-exec-file b/libexec/bats-core/bats-exec-file +@@ -118,7 +118,6 @@ bats_run_teardown_file() { + + bats_file_teardown_trap() { + bats_run_teardown_file +- local status=0 + bats_file_exit_trap + } + +@@ -144,9 +143,9 @@ bats_file_exit_trap() { + bats_print_failed_command "${stack_trace[@]}" >&3 + bats_prefix_lines_for_tap_output < "$BATS_OUT" | bats_replace_filename >&3 + rm -rf "$BATS_OUT" +-status=1 ++bats_exec_file_status=1 + fi +- exit $status ++ exit $bats_exec_file_status + } + + function setup_file() { +@@ -250,15 +249,15 @@ bats_read_tests_list_file() { + } + + bats_run_tests() { +- status=0 ++ bats_exec_file_status=0 + + if [[ "$num_jobs" != 1 && "${BATS_NO_PARALLELIZE_WITHIN_FILE-False}" == False ]]; then + export BATS_SEMAPHORE_NUMBER_OF_SLOTS="$num_jobs" +-bats_run_tests_in_parallel "$BATS_RUN_TMPDIR/parallel_output" || status=1 ++bats_run_tests_in_parallel "$BATS_RUN_TMPDIR/parallel_output" || bats_exec_file_status=1 + else + for test_name in "${tests_to_run[@]}"; do + if [[ "${BATS_INTERRUPTED-NOTSET}" != NOTSET ]]; then +-status=130 # bash's code for SIGINT exits ++bats_exec_file_status=130 # bash's code for SIGINT exits + break + fi + # Only handle non-empty lines +@@ -267,14 +266,13 @@ bats_run_tests() { + ((++test_number_in_file)) + # deal with empty flags to avoid spurious "unbound variable" errors on Bash 4.3 and lower + if [[ "${#flags[@]}" -gt 0 ]]; then +- "$BATS_LIBEXEC/bats-exec-test" "${flags[@]}" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || status=1 ++ "$BATS_LIBEXEC/bats-exec-test" "${flags[@]}" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || bats_exec_file_status=1 + else +- "$BATS_LIBEXEC/bats-exec-test" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || status=1 ++ "$BATS_LIBEXEC/bats-exec-test" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || bats_exec_file_status=1 + fi + fi + done + fi +- export status + } + + bats_create_file_tempdirs() { +@@ -322,4 +320,4 @@ bats_run_tests + trap bats_interrupt_trap INT + bats_run_teardown_file + +-exit $status
[oe] [meta-oe][dunfell][PATCH] lua: fix CVE-2022-28805
From: Steve Sakoman singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code. https://nvd.nist.gov/vuln/detail/CVE-2022-28805 (From OE-Core rev: d2ba3b8850d461bc7b773240cdf15b22b31a3f9e) Signed-off-by: Sana Kazi Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie (cherry picked from commit 91e14d3a8e6e67267047473f5c449f266b44f354) Signed-off-by: Omkar Patil Signed-off-by: omkar --- .../lua/lua/0001-lua-fix-CVE-2022-28805.patch | 73 +++ .../lua/lua/CVE-2022-28805.patch | 28 +++ meta-oe/recipes-devtools/lua/lua_5.3.6.bb | 1 + 3 files changed, 102 insertions(+) create mode 100644 meta-oe/recipes-devtools/lua/lua/0001-lua-fix-CVE-2022-28805.patch create mode 100644 meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch diff --git a/meta-oe/recipes-devtools/lua/lua/0001-lua-fix-CVE-2022-28805.patch b/meta-oe/recipes-devtools/lua/lua/0001-lua-fix-CVE-2022-28805.patch new file mode 100644 index 0..606c9ea98 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua/0001-lua-fix-CVE-2022-28805.patch @@ -0,0 +1,73 @@ +From a38684e4cb4e1439e5f2f7370724496d5b363b32 Mon Sep 17 00:00:00 2001 +From: Steve Sakoman +Date: Mon, 18 Apr 2022 09:04:08 -1000 +Subject: [PATCH] lua: fix CVE-2022-28805 + +singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup +call, leading to a heap-based buffer over-read that might affect a system that +compiles untrusted Lua code. + +https://nvd.nist.gov/vuln/detail/CVE-2022-28805 + +(From OE-Core rev: d2ba3b8850d461bc7b773240cdf15b22b31a3f9e) + +Signed-off-by: Sana Kazi +Signed-off-by: Steve Sakoman +Signed-off-by: Richard Purdie +(cherry picked from commit 91e14d3a8e6e67267047473f5c449f266b44f354) +Signed-off-by: Omkar Patil +--- + .../lua/lua/CVE-2022-28805.patch | 28 +++ + meta-oe/recipes-devtools/lua/lua_5.3.6.bb | 1 + + 2 files changed, 29 insertions(+) + create mode 100644 meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch + +diff --git a/meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch b/meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch +new file mode 100644 +index 0..0a21d1ce7 +--- /dev/null b/meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch +@@ -0,0 +1,28 @@ ++From 1f3c6f4534c6411313361697d98d1145a1f030fa Mon Sep 17 00:00:00 2001 ++From: Roberto Ierusalimschy ++Date: Tue, 15 Feb 2022 12:28:46 -0300 ++Subject: [PATCH] Bug: Lua can generate wrong code when _ENV is ++ ++CVE: CVE-2022-28805 ++ ++Upstream-Status: Backport [https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa] ++ ++Signed-off-by: Sana Kazi ++Signed-off-by: Steve Sakoman ++--- ++ src/lparser.c | 1 + ++ 1 files changed, 1 insertions(+) ++ ++diff --git a/src/lparser.c b/src/lparser.c ++index 3abe3d751..a5cd55257 100644 ++--- a/src/lparser.c + b/src/lparser.c ++@@ -300,6 +300,7 @@ ++ expdesc key; ++ singlevaraux(fs, ls->envn, var, 1); /* get environment variable */ ++ lua_assert(var->k != VVOID); /* this one must exist */ +++luaK_exp2anyregup(fs, var); /* but could be a constant */ ++ codestring(ls, , varname); /* key is variable name */ ++ luaK_indexed(fs, var, ); /* env[varname] */ ++ } ++ +diff --git a/meta-oe/recipes-devtools/lua/lua_5.3.6.bb b/meta-oe/recipes-devtools/lua/lua_5.3.6.bb +index 342ed1b54..0137cc3c5 100644 +--- a/meta-oe/recipes-devtools/lua/lua_5.3.6.bb b/meta-oe/recipes-devtools/lua/lua_5.3.6.bb +@@ -10,6 +10,7 @@ SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \ +file://CVE-2020-15888.patch \ +file://CVE-2020-15945.patch \ +file://0001-Fixed-bug-barriers-cannot-be-active-during-sweep.patch \ ++ file://CVE-2022-28805.patch \ +" + + # if no test suite matches PV release of Lua exactly, download the suite for the closest Lua release. +-- +2.17.1 + diff --git a/meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch b/meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch new file mode 100644 index 0..0a21d1ce7 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua/CVE-2022-28805.patch @@ -0,0 +1,28 @@ +From 1f3c6f4534c6411313361697d98d1145a1f030fa Mon Sep 17 00:00:00 2001 +From: Roberto Ierusalimschy +Date: Tue, 15 Feb 2022 12:28:46 -0300 +Subject: [PATCH] Bug: Lua can generate wrong code when _ENV is + +CVE: CVE-2022-28805 + +Upstream-Status: Backport [https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa] + +Signed-off-by: Sana Kazi +Signed-off-by: Steve Sakoman +--- + src/lparser.c | 1 + + 1 files changed, 1 insertions(+) + +diff --git a/src/lparser.c b/src/lparser.c +index 3abe3d751..a5cd55257 100644 +--- a/src/lparser.c b/src/lparser.c +@@ -300,6 +300,7 @@ + expdesc key; + singlevaraux(fs, ls->envn, var, 1); /* get
[oe] [meta-filesystems][PATCH] btrfsmaintenance: add recipe for btrfsmaintenance scripts
Btrfs requires regular maintenance in order to self-heal. Other distributions like OpenSUSE, Debian and Fedora use these scripts to perform those. Signed-off-by: Claudius Heine --- .../btrfsmaintenance/btrfsmaintenance_0.5.bb | 62 +++ ...change-sysconfig-path-to-etc-default.patch | 47 ++ ...ective-to-btrfsmaintenance-refresh.s.patch | 33 ++ 3 files changed, 142 insertions(+) create mode 100644 meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb create mode 100644 meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch create mode 100644 meta-filesystems/recipes-utils/btrfsmaintenance/files/0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb new file mode 100644 index 0..a4573cf59 --- /dev/null +++ b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb @@ -0,0 +1,62 @@ + +SUMMARY = "Services for periodic btrfs maintenance tasks" +DESCRIPTION = "A set of scripts supplementing the btrfs filesystem and aims \ +to automate a few maintenance tasks. This means the scrub, balance, trim \ +or defragmentation." +HOMEPAGE = "https://github.com/kdave/btrfsmaintenance; +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" + +SECTION = "base" + +DEPENDS = "btrfs-tools" + +SRC_URI = "git://github.com/kdave/${BPN};branch=master;protocol=https \ +file://0001-change-sysconfig-path-to-etc-default.patch \ +file://0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch \ +" +SRCREV = "be42cb6267055d125994abd6927cf3a26deab74c" + +UPSTREAM_CHECK_URI = "https://github.com/kdave/${BPN}/tags; +UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P\d+(?:\.\d+)*)" + +RDEPENDS:${PN} = "bash" + +S="${WORKDIR}/git" + +inherit allarch + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { +install -Dm0644 ${S}/btrfsmaintenance-refresh.path \ +${D}${systemd_system_unitdir}/btrfsmaintenance-refresh.path +install -Dm0644 ${S}/*.timer \ +${D}${systemd_system_unitdir} +install -Dm0644 ${S}/*.service \ +${D}${systemd_system_unitdir} + +install -Dm0644 ${S}/btrfsmaintenance-functions \ +${D}${datadir}/${PN}/btrfsmaintenance-functions +install -Dm0755 ${S}/*.sh \ +${D}${datadir}/${PN} + +install -Dm0644 ${S}/sysconfig.btrfsmaintenance \ +${D}${sysconfdir}/default/btrfsmaintenance +} + +inherit systemd +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE:${PN} = " \ +btrfs-scrub.timer \ +btrfs-scrub.service \ +btrfs-trim.timer \ +btrfs-trim.service \ +btrfs-balance.timer \ +btrfs-balance.service \ +btrfs-defrag.timer \ +btrfs-defrag.service \ +btrfsmaintenance-refresh.service \ +btrfsmaintenance-refresh.path \ +" diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch b/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch new file mode 100644 index 0..d425206f0 --- /dev/null +++ b/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch @@ -0,0 +1,47 @@ +From b49dbe17e0d9ae463e5a34e6991aa2d3c70d2fb1 Mon Sep 17 00:00:00 2001 +From: Claudius Heine +Date: Wed, 11 May 2022 14:33:13 +0200 +Subject: [PATCH] change sysconfig path to /etc/default + +OE uses /etc/default for service configuration, not /etc/sysconfig which +is used by SUSE and RedHat based distributions. + +Change the files accordingly + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Claudius Heine +--- + btrfsmaintenance-refresh.path| 4 ++-- + btrfsmaintenance-refresh.service | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/btrfsmaintenance-refresh.path b/btrfsmaintenance-refresh.path +index d56ad11..f0b4132 100644 +--- a/btrfsmaintenance-refresh.path b/btrfsmaintenance-refresh.path +@@ -1,8 +1,8 @@ + [Unit] +-Description=Watch /etc/sysconfig/btrfsmaintenance ++Description=Watch /etc/default/btrfsmaintenance + + [Path] +-PathChanged=/etc/sysconfig/btrfsmaintenance ++PathChanged=/etc/default/btrfsmaintenance + + [Install] + WantedBy=multi-user.target +diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service +index 4ed1eb4..d6225a6 100644 +--- a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service +@@ -1,5 +1,5 @@ + [Unit] +-Description=Update cron periods from /etc/sysconfig/btrfsmaintenance ++Description=Update cron periods from /etc/default/btrfsmaintenance + + [Service] + ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer +-- +2.33.3 + diff --git
[oe] kernel bbappend files failed to triggler build updated in kirkstone branch, could be bugs?
Hi, I have a kernel bbappend file which can update patch files but cannot not update a defconfig file when the files are changed. FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI:append = "file://0001_wifi.patch \ file://0001-kernel-mtd.patch \ file://defconfig \ " All files are in files directory, if I change a patch file, it can trigger the build, but if I change the defconfig file, it could not trigger the new build. Is it a bug in the kirkstone branch? Thank you. Kind regards, jupiter -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97077): https://lists.openembedded.org/g/openembedded-devel/message/97077 Mute This Topic: https://lists.openembedded.org/mt/91054458/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-filesystems][PATCH] btrfsmaintenance: add recipe for btrfsmaintenance scripts
Btrfs requires regular maintenance in order to self-heal. Other distributions like OpenSUSE, Debian and Fedora use these scripts to perform those. Signed-off-by: Claudius Heine --- .../btrfsmaintenance/btrfsmaintenance_0.5.bb | 62 +++ ...change-sysconfig-path-to-etc-default.patch | 47 ++ ...ective-to-btrfsmaintenance-refresh.s.patch | 33 ++ 3 files changed, 142 insertions(+) create mode 100644 meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb create mode 100644 meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch create mode 100644 meta-filesystems/recipes-utils/btrfsmaintenance/files/0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb new file mode 100644 index 0..a4573cf59 --- /dev/null +++ b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb @@ -0,0 +1,62 @@ + +SUMMARY = "Services for periodic btrfs maintenance tasks" +DESCRIPTION = "A set of scripts supplementing the btrfs filesystem and aims \ +to automate a few maintenance tasks. This means the scrub, balance, trim \ +or defragmentation." +HOMEPAGE = "https://github.com/kdave/btrfsmaintenance; +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" + +SECTION = "base" + +DEPENDS = "btrfs-tools" + +SRC_URI = "git://github.com/kdave/${BPN};branch=master;protocol=https \ +file://0001-change-sysconfig-path-to-etc-default.patch \ +file://0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch \ +" +SRCREV = "be42cb6267055d125994abd6927cf3a26deab74c" + +UPSTREAM_CHECK_URI = "https://github.com/kdave/${BPN}/tags; +UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P\d+(?:\.\d+)*)" + +RDEPENDS:${PN} = "bash" + +S="${WORKDIR}/git" + +inherit allarch + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { +install -Dm0644 ${S}/btrfsmaintenance-refresh.path \ +${D}${systemd_system_unitdir}/btrfsmaintenance-refresh.path +install -Dm0644 ${S}/*.timer \ +${D}${systemd_system_unitdir} +install -Dm0644 ${S}/*.service \ +${D}${systemd_system_unitdir} + +install -Dm0644 ${S}/btrfsmaintenance-functions \ +${D}${datadir}/${PN}/btrfsmaintenance-functions +install -Dm0755 ${S}/*.sh \ +${D}${datadir}/${PN} + +install -Dm0644 ${S}/sysconfig.btrfsmaintenance \ +${D}${sysconfdir}/default/btrfsmaintenance +} + +inherit systemd +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE:${PN} = " \ +btrfs-scrub.timer \ +btrfs-scrub.service \ +btrfs-trim.timer \ +btrfs-trim.service \ +btrfs-balance.timer \ +btrfs-balance.service \ +btrfs-defrag.timer \ +btrfs-defrag.service \ +btrfsmaintenance-refresh.service \ +btrfsmaintenance-refresh.path \ +" diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch b/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch new file mode 100644 index 0..d425206f0 --- /dev/null +++ b/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch @@ -0,0 +1,47 @@ +From b49dbe17e0d9ae463e5a34e6991aa2d3c70d2fb1 Mon Sep 17 00:00:00 2001 +From: Claudius Heine +Date: Wed, 11 May 2022 14:33:13 +0200 +Subject: [PATCH] change sysconfig path to /etc/default + +OE uses /etc/default for service configuration, not /etc/sysconfig which +is used by SUSE and RedHat based distributions. + +Change the files accordingly + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Claudius Heine +--- + btrfsmaintenance-refresh.path| 4 ++-- + btrfsmaintenance-refresh.service | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/btrfsmaintenance-refresh.path b/btrfsmaintenance-refresh.path +index d56ad11..f0b4132 100644 +--- a/btrfsmaintenance-refresh.path b/btrfsmaintenance-refresh.path +@@ -1,8 +1,8 @@ + [Unit] +-Description=Watch /etc/sysconfig/btrfsmaintenance ++Description=Watch /etc/default/btrfsmaintenance + + [Path] +-PathChanged=/etc/sysconfig/btrfsmaintenance ++PathChanged=/etc/default/btrfsmaintenance + + [Install] + WantedBy=multi-user.target +diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service +index 4ed1eb4..d6225a6 100644 +--- a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service +@@ -1,5 +1,5 @@ + [Unit] +-Description=Update cron periods from /etc/sysconfig/btrfsmaintenance ++Description=Update cron periods from /etc/default/btrfsmaintenance + + [Service] + ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer +-- +2.33.3 + diff --git
[oe] [meta-python] [PATCH] python3-flask: upgrade 2.1.1 -> 2.1.2
From: Xu Huan Changelog: == Fix type annotation for json.loads, it accepts str or bytes. The --cert and --key options on flask run can be given in either order. Signed-off-by: Xu Huan --- .../python/{python3-flask_2.1.1.bb => python3-flask_2.1.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-flask_2.1.1.bb => python3-flask_2.1.2.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-flask_2.1.1.bb b/meta-python/recipes-devtools/python/python3-flask_2.1.2.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-flask_2.1.1.bb rename to meta-python/recipes-devtools/python/python3-flask_2.1.2.bb index 24a704770..7d290a4fe 100644 --- a/meta-python/recipes-devtools/python/python3-flask_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask_2.1.2.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/mitsuhiko/flask/; LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" -SRC_URI[sha256sum] = "a8c9bd3e558ec99646d177a9739c41df1ded0629480b4c8d2975412f3c9519c8" +SRC_URI[sha256sum] = "315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477" PYPI_PACKAGE = "Flask" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97073): https://lists.openembedded.org/g/openembedded-devel/message/97073 Mute This Topic: https://lists.openembedded.org/mt/91054369/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] python3-click: upgrade 8.1.2 -> 8.1.3
From: Xu Huan Released 2022-04-28 Use verbose form of typing.Callable for @command and @group. Show error when attempting to create an option with multiple=True, is_flag=True. Use count instead. Signed-off-by: Xu Huan --- .../python/{python3-click_8.1.2.bb => python3-click_8.1.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-click_8.1.2.bb => python3-click_8.1.3.bb} (92%) diff --git a/meta-python/recipes-devtools/python/python3-click_8.1.2.bb b/meta-python/recipes-devtools/python/python3-click_8.1.3.bb similarity index 92% rename from meta-python/recipes-devtools/python/python3-click_8.1.2.bb rename to meta-python/recipes-devtools/python/python3-click_8.1.3.bb index a623fe104..006742f15 100644 --- a/meta-python/recipes-devtools/python/python3-click_8.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-click_8.1.3.bb @@ -8,7 +8,7 @@ HOMEPAGE = "http://click.pocoo.org/; LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8" -SRC_URI[sha256sum] = "479707fe14d9ec9a0757618b7a100a0ae4c4e236fac5b7f80ca68028141a1a72" +SRC_URI[sha256sum] = "7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e" inherit pypi setuptools3 ptest -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97074): https://lists.openembedded.org/g/openembedded-devel/message/97074 Mute This Topic: https://lists.openembedded.org/mt/91054370/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] python3-flask-login: upgrade 0.6.0 -> 0.6.1
From: Xu Huan Changelog: == Only preserve subdomain or host view args in unauthorized redirect The new utility function login_remembered returns True if the current login is remembered across sessions. Fix side effect potentially executing view twice for same request. Clarify usage of FlaskLoginClient test client in docs. Signed-off-by: Xu Huan --- ...ython3-flask-login_0.6.0.bb => python3-flask-login_0.6.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-flask-login_0.6.0.bb => python3-flask-login_0.6.1.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-flask-login_0.6.0.bb b/meta-python/recipes-devtools/python/python3-flask-login_0.6.1.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-flask-login_0.6.0.bb rename to meta-python/recipes-devtools/python/python3-flask-login_0.6.1.bb index dd295cf2d..d19acd9b6 100644 --- a/meta-python/recipes-devtools/python/python3-flask-login_0.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-login_0.6.1.bb @@ -6,7 +6,7 @@ HOMEPAGE = " https://github.com/maxcountryman/flask-login; LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=8aa87a1cd9fa41d969ad32cfdac2c596" -SRC_URI[sha256sum] = "aa84fcfb4c3cf09ca58c08e816b7bce73f1349ba1cf13d00d8dffc5872d5fcf6" +SRC_URI[sha256sum] = "1306d474a270a036d6fd14f45640c4d77355e4f1c67ca4331b372d3448997b8c" PYPI_PACKAGE = "Flask-Login" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97075): https://lists.openembedded.org/g/openembedded-devel/message/97075 Mute This Topic: https://lists.openembedded.org/mt/91054371/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] python3-google-api-core: upgrade 2.7.1 -> 2.7.3
From: Xu Huan Changelog: == allow grpc without grpcio-status remove dependency on pkg_resources Avoid AttributeError if grpcio-status is not installed Signed-off-by: Xu Huan --- ...oogle-api-core_2.7.1.bb => python3-google-api-core_2.7.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-google-api-core_2.7.1.bb => python3-google-api-core_2.7.3.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-google-api-core_2.7.1.bb b/meta-python/recipes-devtools/python/python3-google-api-core_2.7.3.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-google-api-core_2.7.1.bb rename to meta-python/recipes-devtools/python/python3-google-api-core_2.7.3.bb index 55884e99c..3422dd711 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-core_2.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-core_2.7.3.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit pypi setuptools3 -SRC_URI[sha256sum] = "b0fa577e512f0c8e063386b974718b8614586a798c5894ed34bedf256d9dae24" +SRC_URI[sha256sum] = "17957f0704cbe95bd2ce25019efd2046423978594d181d4263e5dcffd2dbbc79" RDEPENDS:${PN} += "\ ${PYTHON_PN}-asyncio \ -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97072): https://lists.openembedded.org/g/openembedded-devel/message/97072 Mute This Topic: https://lists.openembedded.org/mt/91054368/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] python3-cbor2: upgrade 5.4.2 -> 5.4.3
From: Xu Huan Signed-off-by: Xu Huan --- .../python/{python3-cbor2_5.4.2.bb => python3-cbor2_5.4.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-cbor2_5.4.2.bb => python3-cbor2_5.4.3.bb} (88%) diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.4.3.bb similarity index 88% rename from meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb rename to meta-python/recipes-devtools/python/python3-cbor2_5.4.3.bb index cafc32ad1..0890b99c0 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.4.3.bb @@ -4,7 +4,7 @@ DEPENDS +="${PYTHON_PN}-setuptools-scm-native" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" -SRC_URI[sha256sum] = "e283e70b55a049ff364cc5e648fde587e4d9b0e87e4b2664c69e639135e6b3b8" +SRC_URI[sha256sum] = "62b863c5ee6ced4032afe948f3c1484f375550995d3b8498145237fe28e546c2" inherit pypi python_setuptools_build_meta ptest -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97071): https://lists.openembedded.org/g/openembedded-devel/message/97071 Mute This Topic: https://lists.openembedded.org/mt/91054361/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] python3-bitarray: upgrade 2.4.1 -> 2.5.0
2022-05-04 2.5.0: --- * add calculating of canonical Huffman codes 'util.canonical_huffman()' and decoding thereof 'util.canonical_decode()', see #173 * allow creating "Huffman codes" from frequency maps with a single symbol in 'util.huffman_code()' and 'util.canonical_huffman()', see #172 * allow bytes-like argument in '.frombytes()' and '.pack()' - previously, the arguments were limited to the 'bytes' object, see #174 * allow bytes-like arguments in 'util.deserialize()' * add official pyodide support * add [DEFLATE decompression](../examples/puff/) example * optimize '.bytereverse()' * optimize 'delslice()' for cases like 'del a[1:17:2]' when 'a' is large * fix 'examples/huffman/compress.py' to handle files with 0 or 1 characters, see also #172 * add 'skipIF' decorator for skipping tests * add test Signed-off-by: Zheng Ruoqin --- .../{python3-bitarray_2.4.1.bb => python3-bitarray_2.5.0.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-bitarray_2.4.1.bb => python3-bitarray_2.5.0.bb} (77%) diff --git a/meta-python/recipes-devtools/python/python3-bitarray_2.4.1.bb b/meta-python/recipes-devtools/python/python3-bitarray_2.5.0.bb similarity index 77% rename from meta-python/recipes-devtools/python/python3-bitarray_2.4.1.bb rename to meta-python/recipes-devtools/python/python3-bitarray_2.5.0.bb index fbb89b8dd..bb80c4a04 100644 --- a/meta-python/recipes-devtools/python/python3-bitarray_2.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-bitarray_2.5.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray; LICENSE = "PSF-2.0" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" -SRC_URI[sha256sum] = "faeca03f979e992cc76f7406af7eb9795cb111b8d8969c891a032bd7497c87da" +SRC_URI[sha256sum] = "5abed04adcd2031f6e714993d95223bf9ae85354c640c270b2ed6f46b83573ba" inherit setuptools3 pypi -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97070): https://lists.openembedded.org/g/openembedded-devel/message/97070 Mute This Topic: https://lists.openembedded.org/mt/91054360/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] python3-autobahn: upgrade 22.3.2 -> 22.4.2
Signed-off-by: Zheng Ruoqin --- .../{python3-autobahn_22.3.2.bb => python3-autobahn_22.4.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-autobahn_22.3.2.bb => python3-autobahn_22.4.2.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-autobahn_22.3.2.bb b/meta-python/recipes-devtools/python/python3-autobahn_22.4.2.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-autobahn_22.3.2.bb rename to meta-python/recipes-devtools/python/python3-autobahn_22.4.2.bb index 78514a412..3dc308385 100644 --- a/meta-python/recipes-devtools/python/python3-autobahn_22.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-autobahn_22.4.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://crossbar.io/autobahn; LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=97c0bda20ad1d845c6369c0e47a1cd98" -SRC_URI[sha256sum] = "58a887c7a196bb08d8b6624cb3695f493a9e5c9f00fd350d8d6f829b47ff9036" +SRC_URI[sha256sum] = "57b7acf228d50d83cf327372b889e2a168a869275b26e17917ed0b4cf4d823a6" inherit pypi setuptools3 -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97069): https://lists.openembedded.org/g/openembedded-devel/message/97069 Mute This Topic: https://lists.openembedded.org/mt/91054356/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] python3-pika: upgrade 1.2.0 -> 1.2.1
License-Update: Copyright year updated to 2021 Signed-off-by: Zheng Ruoqin --- .../python/{python3-pika_1.2.0.bb => python3-pika_1.2.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pika_1.2.0.bb => python3-pika_1.2.1.bb} (73%) diff --git a/meta-python/recipes-devtools/python/python3-pika_1.2.0.bb b/meta-python/recipes-devtools/python/python3-pika_1.2.1.bb similarity index 73% rename from meta-python/recipes-devtools/python/python3-pika_1.2.0.bb rename to meta-python/recipes-devtools/python/python3-pika_1.2.1.bb index aa3179f2a..38f84cf1b 100644 --- a/meta-python/recipes-devtools/python/python3-pika_1.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-pika_1.2.1.bb @@ -6,9 +6,9 @@ including RabbitMQ’s extensions. \ SECTION = "devel/python" HOMEPAGE = "https://pika.readthedocs.io; LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=278bdfee5b51616941c1f6b2f1cfcb99" +LIC_FILES_CHKSUM = "file://LICENSE;md5=678ec81495ba50edf81e84e4f1aa69f3" -SRC_URI[sha256sum] = "f023d6ac581086b124190cb3dc81dd581a149d216fa4540ac34f9be1e3970b89" +SRC_URI[sha256sum] = "e5fbf3a0a3599f4e114f6e4a7af096f9413a8f24f975c2657ba2fac3c931434f" inherit pypi setuptools3 -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97068): https://lists.openembedded.org/g/openembedded-devel/message/97068 Mute This Topic: https://lists.openembedded.org/mt/91054348/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] python3-booleanpy: upgrade 3.8 -> 4.0
License-Update: remove year from Copyright Signed-off-by: Zheng Ruoqin --- .../{python3-booleanpy_3.8.bb => python3-booleanpy_4.0.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-python/recipes-devtools/python/{python3-booleanpy_3.8.bb => python3-booleanpy_4.0.bb} (55%) diff --git a/meta-python/recipes-devtools/python/python3-booleanpy_3.8.bb b/meta-python/recipes-devtools/python/python3-booleanpy_4.0.bb similarity index 55% rename from meta-python/recipes-devtools/python/python3-booleanpy_3.8.bb rename to meta-python/recipes-devtools/python/python3-booleanpy_4.0.bb index a1ce7eafc..41fd3d960 100644 --- a/meta-python/recipes-devtools/python/python3-booleanpy_3.8.bb +++ b/meta-python/recipes-devtools/python/python3-booleanpy_4.0.bb @@ -2,10 +2,9 @@ SUMMARY = "Define boolean algebras, create and parse boolean expressions and cre HOMEPAGE = "https://github.com/bastikr/boolean.py; LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9b58494d4f385978ca5a7ef4f6abca53" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d118b5feceee598ebeca76e13395c2bd" -SRC_URI[md5sum] = "83ccc145ba74a585637124c8bc648333" -SRC_URI[sha256sum] = "cc24e20f985d60cd4a3a5a1c0956dd12611159d32a75081dabd0c9ab981acaa4" +SRC_URI[sha256sum] = "17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4" PYPI_PACKAGE = "boolean.py" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97067): https://lists.openembedded.org/g/openembedded-devel/message/97067 Mute This Topic: https://lists.openembedded.org/mt/91054347/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] python3-antlr4-runtime: upgrade 4.9.2 -> 4.10
License-Update: Version updated to 4.10 Signed-off-by: Zheng Ruoqin --- ...antlr4-runtime_4.9.2.bb => python3-antlr4-runtime_4.10.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-antlr4-runtime_4.9.2.bb => python3-antlr4-runtime_4.10.bb} (53%) diff --git a/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.9.2.bb b/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.10.bb similarity index 53% rename from meta-python/recipes-devtools/python/python3-antlr4-runtime_4.9.2.bb rename to meta-python/recipes-devtools/python/python3-antlr4-runtime_4.10.bb index 8a19b6c64..01f17207c 100644 --- a/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.9.2.bb +++ b/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.10.bb @@ -1,8 +1,8 @@ SUMMARY = "ANTLR runtime for Python" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=c96f0ee5f5d08fd4387e5f00507bb13e" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6e514123aedb5d9fb133d1bc6c598d46" -SRC_URI[sha256sum] = "31f5abdc7faf16a1a6e9bf2eb31565d004359b821b09944436a34361929ae85a" +SRC_URI[sha256sum] = "061a49bc72ae05a35d9b61c0ba0ac36c0397708819f02fbfb20a80e47d287a1b" PYPI_PACKAGE = "antlr4-python3-runtime" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97066): https://lists.openembedded.org/g/openembedded-devel/message/97066 Mute This Topic: https://lists.openembedded.org/mt/91054345/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] jq: Fix typo OE_EXTRACONF -> EXTRA_OECONF
From: Joerg Vehlow Signed-off-by: Joerg Vehlow --- meta-oe/recipes-devtools/jq/jq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/jq/jq_git.bb b/meta-oe/recipes-devtools/jq/jq_git.bb index d0c70da76..8b0218c83 100644 --- a/meta-oe/recipes-devtools/jq/jq_git.bb +++ b/meta-oe/recipes-devtools/jq/jq_git.bb @@ -21,7 +21,7 @@ PACKAGECONFIG[docs] = "--enable-docs,--disable-docs,ruby-native" PACKAGECONFIG[maintainer-mode] = "--enable-maintainer-mode,--disable-maintainer-mode,flex-native bison-native" PACKAGECONFIG[oniguruma] = "--with-oniguruma,--without-oniguruma,onig" -OE_EXTRACONF += " \ +EXTRA_OECONF += " \ --disable-valgrind \ " -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97065): https://lists.openembedded.org/g/openembedded-devel/message/97065 Mute This Topic: https://lists.openembedded.org/mt/91054174/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 16/16] python3-web3: new package
Add a recipe for web3: a library for interacting with Ethereum. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-web3_5.29.0.bb | 20 +++ 2 files changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-web3_5.29.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 2bf26fc69..d08908939 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -443,6 +443,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-visitor \ python3-waitress \ python3-watchdog \ +python3-web3 \ python3-webcolors \ python3-webencodings \ python3-websocket-client \ diff --git a/meta-python/recipes-devtools/python/python3-web3_5.29.0.bb b/meta-python/recipes-devtools/python/python3-web3_5.29.0.bb new file mode 100644 index 0..660d4f6f0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-web3_5.29.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "A Python library for interacting with Ethereum." +HOMEPAGE = "https://github.com/ethereum/web3.py; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dc2732bdc5e50382737979791cbb3b7" + +SRC_URI[sha256sum] = "a78acc0f0150013755398ae185c8c7063d9db0777aa09733de22242a746bd30c" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-aiohttp \ +python3-distutils \ +python3-eth-account \ +python3-idna \ +python3-lru-dict \ +python3-requests \ +python3-setuptools \ +python3-websockets \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97063): https://lists.openembedded.org/g/openembedded-devel/message/97063 Mute This Topic: https://lists.openembedded.org/mt/91053941/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 14/16] python3-eth-account: new package
Add a recipe for python3-eth-account: a tool for signing Ethereum transactions and messages with local private keys. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-eth-account_0.6.1.bb| 18 ++ 2 files changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index db3f8516a..da83aab48 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-engineio \ python3-et-xmlfile \ python3-eth-abi \ +python3-eth-account \ python3-eth-hash \ python3-eth-keyfile \ python3-eth-keys \ diff --git a/meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb b/meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb new file mode 100644 index 0..9c87d3f5d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb @@ -0,0 +1,18 @@ +SUMMARY = "Assign Ethereum transactions and messages with local private keys." +HOMEPAGE = "https://github.com/ethereum/eth-account; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324" + +SRC_URI[sha256sum] = "54b0b7d661e73f4cd12d508c9baa5c9a6e8c194aa7bafc39277cd673683ae50e" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-bitarray \ +python3-cytoolz \ +python3-eth-abi \ +python3-eth-keyfile \ +python3-eth-rlp \ +python3-hexbytes \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97062): https://lists.openembedded.org/g/openembedded-devel/message/97062 Mute This Topic: https://lists.openembedded.org/mt/91053940/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 15/16] python3-lru-dict: new package
Add a recipe for lru-dict: a fixed size dict like container. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb| 1 + .../recipes-devtools/python/python3-lru-dict_1.1.7.bb| 9 + 2 files changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index da83aab48..2bf26fc69 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -223,6 +223,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-lockfile \ python3-lorem \ python3-lrparsing \ +python3-lru-dict \ python3-luma-core \ python3-luma-oled \ python3-lxml \ diff --git a/meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb b/meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb new file mode 100644 index 0..0a0682e0c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb @@ -0,0 +1,9 @@ +SUMMARY = "A fixed size dict like container which evicts Least Recently Used (LRU) items once size limit is exceeded." +HOMEPAGE = "https://github.com/amitdev/lru-dict; +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153" + +SRC_URI[sha256sum] = "45b81f67d75341d4433abade799a47e9c42a9e22a118531dcb5e549864032d7c" + +inherit pypi setuptools3 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97064): https://lists.openembedded.org/g/openembedded-devel/message/97064 Mute This Topic: https://lists.openembedded.org/mt/91053942/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 13/16] python3-eth-abi: new package
Add a recipe for eth-abi: utilities for working with Ethereum ABI definitions. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-eth-abi_3.0.0.bb| 18 ++ 2 files changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-abi_3.0.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 41e30fad0..db3f8516a 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -110,6 +110,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-email-validator \ python3-engineio \ python3-et-xmlfile \ +python3-eth-abi \ python3-eth-hash \ python3-eth-keyfile \ python3-eth-keys \ diff --git a/meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb b/meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb new file mode 100644 index 0..e1f220af9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python utilities for working with Ethereum ABI definitions, especially encoding and decoding." +HOMEPAGE = "https://github.com/ethereum/eth-abi; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bf9691ead96f1163622689e47ce3f366" + +SRC_URI[sha256sum] = "31578b179cf9430c21ac32a4e5f401c14b6e2cc1fd64ca3587cd354068217804" + +PYPI_PACKAGE = "eth_abi" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-eth-typing \ +python3-eth-utils \ +python3-parsimonious \ +python3-setuptools \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97061): https://lists.openembedded.org/g/openembedded-devel/message/97061 Mute This Topic: https://lists.openembedded.org/mt/91053939/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 12/16] python3-parsimonious: new package
Add a recipe for parsimonious: an arbitrary-lookahead parser written in pure Python. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-parsimonious_0.9.0.bb | 11 +++ 2 files changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-parsimonious_0.9.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 41a98ba05..41e30fad0 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -261,6 +261,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-paramiko \ python3-parse \ python3-parse-type \ +python3-parsimonious \ python3-parso \ python3-passlib \ python3-pastedeploy \ diff --git a/meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb b/meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb new file mode 100644 index 0..5a604fa41 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb @@ -0,0 +1,11 @@ +SUMMARY = "Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python." +HOMEPAGE = "https://github.com/erikrose/parsimonious; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" + +SRC_URI[sha256sum] = "b2ad1ae63a2f65bd78f5e0a8ac510a98f3607a43f1db2a8d46636a5d9e4a30c1" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-regex" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97060): https://lists.openembedded.org/g/openembedded-devel/message/97060 Mute This Topic: https://lists.openembedded.org/mt/91053938/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 09/16] python3-hexbytes: new package
Add a recipe for hexbytes: a Python bytes subclass that decodes hex, with a readable console output. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb| 1 + .../recipes-devtools/python/python3-hexbytes_0.2.2.bb| 9 + 2 files changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-hexbytes_0.2.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 5e41d92c1..0a96e4005 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -474,6 +474,7 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\ python3-dominate-ptest \ python3-geojson-ptest \ python3-gunicorn-ptest \ +python3-hexbytes \ python3-html2text-ptest \ python3-inflection-ptest \ python3-intervals-ptest \ diff --git a/meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb b/meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb new file mode 100644 index 0..89792d980 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb @@ -0,0 +1,9 @@ +SUMMARY = "Python bytes subclass that decodes hex, with a readable console output." +HOMEPAGE = "https://github.com/ethereum/hexbytes; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324" + +SRC_URI[sha256sum] = "a5881304d186e87578fb263a85317c808cf130e1d4b3d37d30142ab0f7898d03" + +inherit pypi setuptools3 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97057): https://lists.openembedded.org/g/openembedded-devel/message/97057 Mute This Topic: https://lists.openembedded.org/mt/91053935/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 11/16] python3-eth-rlp: new package
Add a recipe for eth-rlp: RLP definitions for common Ethereum objects. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-eth-rlp_0.3.0.bb | 15 +++ 2 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-rlp_0.3.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 d7d119d18..41a98ba05 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -113,6 +113,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-eth-hash \ python3-eth-keyfile \ python3-eth-keys \ +python3-eth-rlp \ python3-eth-typing \ python3-eth-utils \ python3-evdev \ diff --git a/meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb b/meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb new file mode 100644 index 0..d19a65755 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "RLP definitions for common Ethereum objects in Python" +HOMEPAGE = "https://github.com/ethereum/eth-rlp; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324" + +SRC_URI[sha256sum] = "f3263b548df718855d9a8dbd754473f383c0efc82914b0b849572ce3e06e71a6" + +inherit pypi setuptools3 + +RDEPENDS:${PN} = " \ +python3-eth-utils \ +python3-hexbytes \ +python3-rlp \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97058): https://lists.openembedded.org/g/openembedded-devel/message/97058 Mute This Topic: https://lists.openembedded.org/mt/91053936/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 10/16] python3-rlp: new package
Add a recipe for rlp: a Python implementation of Recursive Length Prefix encoding (RLP). Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + ...-setup-don-t-use-setuptools-markdown.patch | 35 +++ .../python/python3-rlp_3.0.0.bb | 14 3 files changed, 50 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch create mode 100644 meta-python/recipes-devtools/python/python3-rlp_3.0.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 0a96e4005..d7d119d18 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -372,6 +372,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-rfc3339-validator \ python3-rfc3986-validator \ python3-rfc3987 \ +python3-rlp \ python3-robotframework \ python3-robotframework-seriallibrary \ python3-rsa \ diff --git a/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch new file mode 100644 index 0..643d29639 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch @@ -0,0 +1,35 @@ +From 5a2db801c6520be296cee9cba0e0e4ffac68430c Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski +Date: Wed, 11 May 2022 15:11:19 +0200 +Subject: [PATCH] setup: don't use setuptools-markdown + +This project is deprecated and irrelevant for the functionality of +pyrlp. We don't support it in meta-python so just drop it from the +dependencies. + +Signed-off-by: Bartosz Golaszewski +--- + setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 1055fb1..55fca24 100755 +--- a/setup.py b/setup.py +@@ -46,13 +46,11 @@ setup( + # *IMPORTANT*: Don't manually change the version here. See README for more. + version='3.0.0', + description="A package for Recursive Length Prefix encoding and decoding", +-long_description_markdown_filename='README.md', + author="jnnk", + author_email='jnnk...@gmail.com', + url='https://github.com/ethereum/pyrlp', + packages=find_packages(exclude=["tests", "tests.*"]), + include_package_data=True, +-setup_requires=['setuptools-markdown'], + install_requires=[ + "eth-utils>=2.0.0,<3", + ], +-- +2.34.1 + diff --git a/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb b/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb new file mode 100644 index 0..e747ae33b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "A Python implementation of Recursive Length Prefix encoding (RLP)." +HOMEPAGE = "https://github.com/ethereum/pyrlp; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" + +SRC_URI[sha256sum] = "63b0465d2948cd9f01de449d7adfb92d207c1aef3982f20310f8009be4a507e8" +SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch" + +inherit pypi setuptools3 + +DEPENDS += "python3-pip-native" + +RDEPENDS:${PN} += "python3-eth-utils" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97059): https://lists.openembedded.org/g/openembedded-devel/message/97059 Mute This Topic: https://lists.openembedded.org/mt/91053937/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 08/16] python3-eth-keyfile: new package
Add a recipe for eth-keyfile: a library for handling the encrypted keyfiles used to store ethereum private keys. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + ...-setup-don-t-use-setuptools-markdown.patch | 36 +++ .../python/python3-eth-keyfile_0.6.0.bb | 16 + 3 files changed, 53 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.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 41bb24b32..5e41d92c1 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-engineio \ python3-et-xmlfile \ python3-eth-hash \ +python3-eth-keyfile \ python3-eth-keys \ python3-eth-typing \ python3-eth-utils \ diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch new file mode 100644 index 0..7b8120380 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch @@ -0,0 +1,36 @@ +From 4348c72877e049804c7cdb7eec7a6bcd7ac2ea1d Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski +Date: Wed, 11 May 2022 13:21:30 +0200 +Subject: [PATCH] setup: don't use setuptools-markdown + +This project is deprecated and irrelevant for the functionality of +eth-keyfile. We don't support it in meta-python so just drop it from +the dependencies. + +Signed-off-by: Bartosz Golaszewski +--- + setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/setup.py b/setup.py +index cbb7f4c..7702aa4 100644 +--- a/setup.py b/setup.py +@@ -51,14 +51,12 @@ setup( + "A library for handling the encrypted keyfiles used to store ethereum " + "private keys." + ), +-long_description_markdown_filename='README.md', + author='Piper Merriam', + author_email='pipermerr...@gmail.com', + url='https://github.com/ethereum/eth-keyfile', + include_package_data=True, + install_requires=install_requires, + extras_require=deps, +-setup_requires=['setuptools-markdown'], + py_modules=['eth_keyfile'], + license="MIT", + zip_safe=False, +-- +2.34.1 + diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb new file mode 100644 index 0..9477632e2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "A library for handling the encrypted keyfiles used to store ethereum private keys." +HOMEPAGE = "https://github.com/ethereum/eth-keyfile; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2beaef1b1764f4d6b46084c885b4bcad" + +SRC_URI[sha256sum] = "d30597cdecb8ccd3b56bb275cd86fcdc7a279f86eafa92ddc49f66512f0bff67" +SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-eth-keys \ +python3-pycryptodome \ +python3-setuptools \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97056): https://lists.openembedded.org/g/openembedded-devel/message/97056 Mute This Topic: https://lists.openembedded.org/mt/91053934/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 07/16] python3-eth-keys: new package
Add a recipe for eth-keys: common API for Ethereum key operations. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../recipes-devtools/python/python3-eth-keys_0.4.0.bb | 11 +++ 2 files changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-keys_0.4.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 11de569a9..41bb24b32 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-engineio \ python3-et-xmlfile \ python3-eth-hash \ +python3-eth-keys \ python3-eth-typing \ python3-eth-utils \ python3-evdev \ diff --git a/meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb b/meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb new file mode 100644 index 0..b0b1aad76 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb @@ -0,0 +1,11 @@ +SUMMARY = "A common API for Ethereum key operations with pluggable backends." +HOMEPAGE = "https://github.com/ethereum/eth-keys; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2beaef1b1764f4d6b46084c885b4bcad" + +SRC_URI[sha256sum] = "7d18887483bc9b8a3fdd8e32ddcb30044b9f08fcb24a380d93b6eee3a5bb3216" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-eth-utils" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97055): https://lists.openembedded.org/g/openembedded-devel/message/97055 Mute This Topic: https://lists.openembedded.org/mt/91053933/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 06/16] python3-eth-utils: new package
Add a recipe for eth-utils: utility functions for codebases which interact with ethereum. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + ...-setup-don-t-use-setuptools-markdown.patch | 37 +++ .../python/python3-eth-utils_2.0.0.bb | 16 3 files changed, 54 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils_2.0.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 d8cc9c0a5..11de569a9 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -112,6 +112,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-et-xmlfile \ python3-eth-hash \ python3-eth-typing \ +python3-eth-utils \ python3-evdev \ python3-execnet \ python3-fann2 \ diff --git a/meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch new file mode 100644 index 0..3c3c5270a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch @@ -0,0 +1,37 @@ +From bc86d603e632ce61de4ae7a5d4bcef080cbdb160 Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski +Date: Wed, 11 May 2022 13:45:06 +0200 +Subject: [PATCH] setup: don't use setuptools-markdown + +This project is deprecated and irrelevant for the functionality of +eth-utils. We don't support it in meta-python so just drop it from +the dependencies. + +Signed-off-by: Bartosz Golaszewski +--- + setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 5717d5b..cb62132 100644 +--- a/setup.py b/setup.py +@@ -37,7 +37,6 @@ setup( + # *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility. + version='1.1.2', + description="""Common utility functions for ethereum codebases.""", +-long_description_markdown_filename='README.md', + author='Piper Merriam', + author_email='pipermerr...@gmail.com', + url='https://github.com/ethereum/eth_utils', +@@ -48,7 +47,6 @@ setup( + "toolz>0.8.2,<1;implementation_name=='pypy'", + "cytoolz>=0.8.2,<1.0.0;implementation_name=='cpython'", + ], +-setup_requires=['setuptools-markdown'], + extras_require=extras_require, + py_modules=['eth_utils'], + license="MIT", +-- +2.34.1 + diff --git a/meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb b/meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb new file mode 100644 index 0..ff7caf5bf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Common utility functions for codebases which interact with ethereum." +HOMEPAGE = "https://github.com/ethereum/eth-utils; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324" + +SRC_URI[sha256sum] = "32f50edb14c5be0c4f0e8c2e6117286ccc5dfda21d170f358add554a048398e3" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-eth-hash \ +python3-eth-typing \ +python3-setuptools \ +python3-toolz \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97054): https://lists.openembedded.org/g/openembedded-devel/message/97054 Mute This Topic: https://lists.openembedded.org/mt/91053932/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 03/16] python3-decouple: new package
Add a recipe for python-decouple: generic tool for separating settings from code. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb| 1 + .../python/python3-decouple_3.6.bb | 16 2 files changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-decouple_3.6.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 5f97bd954..922a08af5 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -92,6 +92,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-dbus-next \ python3-dbussy \ python3-decorator \ +python3-decouple \ python3-defusedxml \ python3-dill \ python3-diskcache \ diff --git a/meta-python/recipes-devtools/python/python3-decouple_3.6.bb b/meta-python/recipes-devtools/python/python3-decouple_3.6.bb new file mode 100644 index 0..772ee7faf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-decouple_3.6.bb @@ -0,0 +1,16 @@ +SUMMARY = "Strict separation of settings from code." +HOMEPAGE = "https://github.com/henriquebastos/python-decouple/; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a46375b26bb7d7603565d829a2a51782" + +SRC_URI[sha256sum] = "2838cdf77a5cf127d7e8b339ce14c25bceb3af3e674e039d4901ba16359968c7" + +PYPI_PACKAGE = "python-decouple" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-shell \ +python3-stringold \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97051): https://lists.openembedded.org/g/openembedded-devel/message/97051 Mute This Topic: https://lists.openembedded.org/mt/91053928/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 05/16] python3-eth-typing: new package
Add a recipe for eth-typing: common type annotations for ethereum python packages. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb| 1 + .../recipes-devtools/python/python3-eth-typing_3.0.0.bb | 9 + 2 files changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-typing_3.0.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 4b32c7db2..d8cc9c0a5 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-engineio \ python3-et-xmlfile \ python3-eth-hash \ +python3-eth-typing \ python3-evdev \ python3-execnet \ python3-fann2 \ diff --git a/meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb b/meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb new file mode 100644 index 0..a500d5b52 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb @@ -0,0 +1,9 @@ +SUMMARY = "Common type annotations for ethereum python packages." +HOMEPAGE = "https://github.com/ethereum/eth-typing; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bf9691ead96f1163622689e47ce3f366" + +SRC_URI[sha256sum] = "079e4c41e98cf2635d3830a99f3cbd7b1d73d2368464d4493c002bece545184a" + +inherit pypi setuptools3 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97053): https://lists.openembedded.org/g/openembedded-devel/message/97053 Mute This Topic: https://lists.openembedded.org/mt/91053931/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 04/16] python3-eth-hash: new package
Add a recipe for eth-hash: the Ethereum hashing function module. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb| 1 + .../recipes-devtools/python/python3-eth-hash_0.3.2.bb| 9 + 2 files changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-hash_0.3.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 922a08af5..4b32c7db2 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -110,6 +110,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-email-validator \ python3-engineio \ python3-et-xmlfile \ +python3-eth-hash \ python3-evdev \ python3-execnet \ python3-fann2 \ diff --git a/meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb b/meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb new file mode 100644 index 0..c9630b172 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb @@ -0,0 +1,9 @@ +SUMMARY = "The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3." +HOMEPAGE = "https://github.com/ethereum/eth-hash; +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324" + +SRC_URI[sha256sum] = "3f40cecd5ead88184aa9550afc19d057f103728108c5102f592f8415949b5a76" + +inherit pypi setuptools3 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97052): https://lists.openembedded.org/g/openembedded-devel/message/97052 Mute This Topic: https://lists.openembedded.org/mt/91053929/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 00/16] python: add a bunch of packages for interacting with ethereum blockchains
This adds recipes for several python packages allowing to interact with ethereum. The high-level package that we're adding is python3-web3, the rest are its direct or indirect dependencies. There's nothing controversial here other than two packages using a deprecated setuptools-markdown package where we add local patches to simply not use it. Bartosz Golaszewski (16): python3-toolz: new package python3-cytoolz: new package python3-decouple: new package python3-eth-hash: new package python3-eth-typing: new package python3-eth-utils: new package python3-eth-keys: new package python3-eth-keyfile: new package python3-hexbytes: new package python3-rlp: new package python3-eth-rlp: new package python3-parsimonious: new package python3-eth-abi: new package python3-eth-account: new package python3-lru-dict: new package python3-web3: new package .../packagegroups/packagegroup-meta-python.bb | 16 .../python/python3-cytoolz_0.11.2.bb | 12 ++ .../python/python3-decouple_3.6.bb| 16 .../python/python3-eth-abi_3.0.0.bb | 18 + .../python/python3-eth-account_0.6.1.bb | 18 + .../python/python3-eth-hash_0.3.2.bb | 9 + ...-setup-don-t-use-setuptools-markdown.patch | 36 ++ .../python/python3-eth-keyfile_0.6.0.bb | 16 .../python/python3-eth-keys_0.4.0.bb | 11 ++ .../python/python3-eth-rlp_0.3.0.bb | 15 .../python/python3-eth-typing_3.0.0.bb| 9 + ...-setup-don-t-use-setuptools-markdown.patch | 37 +++ .../python/python3-eth-utils_2.0.0.bb | 16 .../python/python3-hexbytes_0.2.2.bb | 9 + .../python/python3-lru-dict_1.1.7.bb | 9 + .../python/python3-parsimonious_0.9.0.bb | 11 ++ ...-setup-don-t-use-setuptools-markdown.patch | 35 ++ .../python/python3-rlp_3.0.0.bb | 14 +++ .../python/python3-toolz_0.11.2.bb| 14 +++ .../python/python3-web3_5.29.0.bb | 20 ++ 20 files changed, 341 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-decouple_3.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb create mode 100644 meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch create mode 100644 meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-web3_5.29.0.bb -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97048): https://lists.openembedded.org/g/openembedded-devel/message/97048 Mute This Topic: https://lists.openembedded.org/mt/91053925/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 01/16] python3-toolz: new package
Add a recipe for toolz: a set of utility functions for iterators, functions, and dictionaries. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-toolz_0.11.2.bb | 14 ++ 2 files changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-toolz_0.11.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 bee529805..5edec8f68 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -405,6 +405,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-thrift \ python3-tinyrecord \ python3-tornado \ +python3-toolz \ python3-tqdm \ python3-trafaret \ python3-trafaret-config \ diff --git a/meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb b/meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb new file mode 100644 index 0..a597641e5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb @@ -0,0 +1,14 @@ +SUMMARY = "A set of utility functions for iterators, functions, and dictionaries." +HOMEPAGE = "https://github.com/pytoolz/toolz; +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d" + +SRC_URI[sha256sum] = "6b312d5e15138552f1bda8a4e66c30e236c831b612b2bf0005f8a1df10a4bc33" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ +python3-json \ +python3-math \ +" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97049): https://lists.openembedded.org/g/openembedded-devel/message/97049 Mute This Topic: https://lists.openembedded.org/mt/91053926/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 02/16] python3-cytoolz: new package
Add a recipe for cytoolz: cython implementation of the toolz package. Signed-off-by: Bartosz Golaszewski --- .../packagegroups/packagegroup-meta-python.bb| 1 + .../python/python3-cytoolz_0.11.2.bb | 12 2 files changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cytoolz_0.11.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 5edec8f68..5f97bd954 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -86,6 +86,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-custom-inherit \ ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'python3-cvxopt', '', d)} \ python3-cycler \ +python3-cytoolz \ python3-dateparser \ python3-dateutil \ python3-dbus-next \ diff --git a/meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb b/meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb new file mode 100644 index 0..14f597c28 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb @@ -0,0 +1,12 @@ +SUMMARY = "Cython implementation of the toolz package, which provides high \ +performance utility functions for iterables, functions, and dictionaries." +HOMEPAGE = "https://github.com/pytoolz/cytoolz; +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=efbcddfa5610ca0c07ecfa274a82b373" + +SRC_URI[sha256sum] = "ea23663153806edddce7e4153d1d407d62357c05120a4e8485bddf1bd5ab22b4" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-toolz" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97050): https://lists.openembedded.org/g/openembedded-devel/message/97050 Mute This Topic: https://lists.openembedded.org/mt/91053927/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] polkit: add udisks2 rule
From: Vyacheslav Yurkov The rule allows non-priviledged users from plugdev group to mount/unmount block devices Signed-off-by: Vyacheslav Yurkov --- .../files/50-org.freedesktop.udiskie.rules| 24 +++ .../polkit/polkit-group-rule-udisks2.bb | 17 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-extended/polkit/files/50-org.freedesktop.udiskie.rules create mode 100644 meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb diff --git a/meta-oe/recipes-extended/polkit/files/50-org.freedesktop.udiskie.rules b/meta-oe/recipes-extended/polkit/files/50-org.freedesktop.udiskie.rules new file mode 100644 index 00..2ffa4087a8 --- /dev/null +++ b/meta-oe/recipes-extended/polkit/files/50-org.freedesktop.udiskie.rules @@ -0,0 +1,24 @@ +polkit.addRule(function(action, subject) { + var YES = polkit.Result.YES; + var permission = { +// required for udisks1: +"org.freedesktop.udisks.filesystem-mount": YES, +"org.freedesktop.udisks.luks-unlock": YES, +"org.freedesktop.udisks.drive-eject": YES, +"org.freedesktop.udisks.drive-detach": YES, +// required for udisks2: +"org.freedesktop.udisks2.filesystem-mount": YES, +"org.freedesktop.udisks2.encrypted-unlock": YES, +"org.freedesktop.udisks2.eject-media": YES, +"org.freedesktop.udisks2.power-off-drive": YES, +// required for udisks2 if using udiskie from another seat (e.g. systemd): +"org.freedesktop.udisks2.filesystem-mount-other-seat": YES, +"org.freedesktop.udisks2.filesystem-unmount-others": YES, +"org.freedesktop.udisks2.encrypted-unlock-other-seat": YES, +"org.freedesktop.udisks2.eject-media-other-seat": YES, +"org.freedesktop.udisks2.power-off-drive-other-seat": YES + }; + if (subject.isInGroup("plugdev")) { +return permission[action.id]; + } +}); diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb b/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb new file mode 100644 index 00..ae024d0328 --- /dev/null +++ b/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Polkit rule to allow non-priviledged users mount/umount block devices via udisks2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +require polkit-group-rule.inc + +# The file originates from https://github.com/coldfix/udiskie/wiki/Permissions +SRC_URI = "file://50-org.freedesktop.udiskie.rules" + +RDEPENDS_${PN} += "udisks2" + +do_install() { +install -m 0755 ${WORKDIR}/50-org.freedesktop.udiskie.rules ${D}${sysconfdir}/polkit-1/rules.d +} + +USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM:${PN} = "--system plugdev" -- 2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97047): https://lists.openembedded.org/g/openembedded-devel/message/97047 Mute This Topic: https://lists.openembedded.org/mt/91053339/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 v2] wxwidgets: enable to use private fonts
On 5/11/22 11:21 PM, Khem Raj wrote: On Wed, May 11, 2022 at 12:45 AM kai wrote: From: Kai Kang Enable option wxUSE_PRIVATE_FONTS of wxwidgets if build with gtk. It allows application to use the font from the given file even if it is not globally installed on the system. Signed-off-by: Kai Kang --- v2: * use upper case 'ON' to align with others in oe meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index 6b57cb54c..b9b1dcf0d 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -39,6 +39,7 @@ EXTRA_OECMAKE += " \ -DwxUSE_LIBTIFF=sys \ -DwxUSE_REGEX=builtin \ -DwxPLATFORM_LIB_DIR=${@d.getVar('baselib').replace('lib', '')} \ +${@bb.utils.contains('PACKAGECONFIG', 'gtk', '-DwxUSE_PRIVATE_FONTS=ON', '', d)} \ why not add it to the packageconfig setting itself ? It is an useful feature for wxwidgets with gui, so I want it to be enabled by default. And it requires pango to make it work. I can see gtk3 depends on pango but qtbase doesn't. So only check 'gtk' here. Regards, Kai " EXTRA_OECMAKE:append:libc-musl = " \ -DHAVE_LOCALE_T=OFF \ -- 2.17.1 -- Kai Kang Wind River Linux -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#97046): https://lists.openembedded.org/g/openembedded-devel/message/97046 Mute This Topic: https://lists.openembedded.org/mt/91031050/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-