[oe] [meta-python][PATCH] python-robotframework: Add robot framework serial library
Add the robotframework serial library which provides the python library and associated robot keywords to open and communicate with serial devices. Signed-off-by: Sipke Vriend--- .../python/python-robotframework-seriallibrary.inc| 15 +++ .../python/python-robotframework-seriallibrary_0.3.1.bb | 2 ++ .../python/python3-robotframework-seriallibrary_0.3.1.bb | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc create mode 100644 meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb diff --git a/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc b/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc new file mode 100644 index 000..9f07b65 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc @@ -0,0 +1,15 @@ +SUMMARY = "Robot Framework test library for serial connection" +HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary; +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI[md5sum] = "b7c9565d54c30df7cd3f3c0e29adffa3" +SRC_URI[sha256sum] = "256ad60fc0b7df4be44d82c302f5ed8fad4935cda99e4b45942e3c88179d1e19" + +SRC_URI = "https://files.pythonhosted.org/packages/ce/e1/1e337dc84a20b9d92d7b243d16bb9f6fc0084967eca7454228bb546efec7/robotframework-seriallibrary-0.3.1.tar.gz; +RDEPENDS_${PN} += " \ +${PYTHON_PN}-pyserial \ +${PYTHON_PN}-robotframework \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb b/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb new file mode 100644 index 000..440f69c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools +require python-robotframework-seriallibrary.inc diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb new file mode 100644 index 000..440f69c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools +require python-robotframework-seriallibrary.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH] python-robotframework: Add runtime dependencies to robot framework
Add the runtime dependencies robot framework has so they are available on images including it. Signed-off-by: Sipke Vriend--- meta-python/recipes-devtools/python/python-robotframework.inc | 11 +++ .../recipes-devtools/python/python-robotframework_3.0.2.bb| 4 2 files changed, 15 insertions(+) diff --git a/meta-python/recipes-devtools/python/python-robotframework.inc b/meta-python/recipes-devtools/python/python-robotframework.inc index cc20d64..78bbbc6 100644 --- a/meta-python/recipes-devtools/python/python-robotframework.inc +++ b/meta-python/recipes-devtools/python/python-robotframework.inc @@ -13,3 +13,14 @@ inherit pypi SRC_URI[md5sum] = "ea49a54b9d7e38302712194e85c37eaa" SRC_URI[sha256sum] = "2018f233568227f9af8c366f93e243a157b742f3baf5b649ecc9750ac0ee1ff7" + +RDEPENDS_${PN} += " \ +${PYTHON_PN}-shell \ +${PYTHON_PN}-pprint \ +${PYTHON_PN}-xml \ +${PYTHON_PN}-difflib \ +${PYTHON_PN}-threading \ +${PYTHON_PN}-html \ +${PYTHON_PN}-docutils \ +${PYTHON_PN}-ctypes \ +" diff --git a/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb b/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb index 16eaa78..ff7dedb 100644 --- a/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb +++ b/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb @@ -1,2 +1,6 @@ inherit setuptools require python-robotframework.inc + +RDEPENDS_${PN} += " \ +${PYTHON_PN}-zlib \ +" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] openobex: explicitly set ASNEEDED from openobex recipe
On Tue, May 8, 2018 at 2:24 PM, Andrea Adamiwrote: > On Sat, May 5, 2018 at 1:09 AM, Andre McCurdy wrote: >> Up to now, an openobex specific over-ride for ASNEEDED has been >> provided by oe-core (from as-needed.inc). If ASNEEDED does need to be >> over-ridden in order to build openobex it's not ideal that the >> over-ride comes from a different layer so define it directly in the >> meta-oe recipe. >> > Hi, > > don't we have a special include for this purpose? > /meta/conf/distro/include/as-needed.inc > What want we do? ASNEEDED in the recipe or include the as_needed.inc? We want to move the ASNEEDED over-ride from as_needed.inc into the recipe. For a short time during the transition the over-ride will be applied from both places. > For me, patch is ok, all in the recipe (there are just few cases). > > Cheers > Andrea > >> Signed-off-by: Andre McCurdy >> --- >> meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb >> b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb >> index 2db48f3..1b56685 100644 >> --- a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb >> +++ b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb >> @@ -25,6 +25,8 @@ EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF" >> >> #--enable-apps --enable-syslog >> >> +ASNEEDED = "" >> + >> do_install_append () { >> rmdir ${D}${bindir} >> } >> -- >> 1.9.1 >> >> -- >> ___ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] openobex: explicitly set ASNEEDED from openobex recipe
On Sat, May 5, 2018 at 1:09 AM, Andre McCurdywrote: > Up to now, an openobex specific over-ride for ASNEEDED has been > provided by oe-core (from as-needed.inc). If ASNEEDED does need to be > over-ridden in order to build openobex it's not ideal that the > over-ride comes from a different layer so define it directly in the > meta-oe recipe. > Hi, don't we have a special include for this purpose? /meta/conf/distro/include/as-needed.inc What want we do? ASNEEDED in the recipe or include the as_needed.inc? For me, patch is ok, all in the recipe (there are just few cases). Cheers Andrea > Signed-off-by: Andre McCurdy > --- > meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb > b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb > index 2db48f3..1b56685 100644 > --- a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb > +++ b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb > @@ -25,6 +25,8 @@ EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF" > > #--enable-apps --enable-syslog > > +ASNEEDED = "" > + > do_install_append () { > rmdir ${D}${bindir} > } > -- > 1.9.1 > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/3] libmbim: upgrade to 1.16
This is needed for the next version of modemmanager. Signed-off-by: Martin Kelly--- A similar patch was also sent by Khem Raj; that patch is just as good, but I wanted to send this in the same series because the modemmanager upgrade requires a libmbim upgrade. .../libmbim/{libmbim_1.14.0.bb => libmbim_1.16.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-connectivity/libmbim/{libmbim_1.14.0.bb => libmbim_1.16.0.bb} (82%) diff --git a/meta-oe/recipes-connectivity/libmbim/libmbim_1.14.0.bb b/meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb similarity index 82% rename from meta-oe/recipes-connectivity/libmbim/libmbim_1.14.0.bb rename to meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb index f89ef9d57..5260c0f14 100644 --- a/meta-oe/recipes-connectivity/libmbim/libmbim_1.14.0.bb +++ b/meta-oe/recipes-connectivity/libmbim/libmbim_1.16.0.bb @@ -14,5 +14,5 @@ inherit autotools pkgconfig bash-completion SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \ file://clang.patch \ " -SRC_URI[md5sum] = "2ed809e65c85353d3ab59e372890e549" -SRC_URI[sha256sum] = "ca8d52a95a18cbabae8f15f83f1572316e888b6504f946e6645d24405127ab5b" +SRC_URI[md5sum] = "76ea4d8381989919b1d9b91c818fed80" +SRC_URI[sha256sum] = "c8ca50beeddd4b43309df5b698917268303bf176cea58fe4fe53d5bf0e93fac2" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/3] modemmanager: upgrade to 1.7.991
This version has a ublox plugin for expanded modem support. The underlying issue that enum-conversion.patch fixes appears to already have been fixed upstream, so we can drop the patch. Signed-off-by: Martin Kelly--- .../modemmanager/modemmanager/enum-conversion.patch | 21 - ...odemmanager_1.6.4.bb => modemmanager_1.7.991.bb} | 9 - 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch rename meta-oe/recipes-connectivity/modemmanager/{modemmanager_1.6.4.bb => modemmanager_1.7.991.bb} (88%) diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch b/meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch deleted file mode 100644 index a3fb0f3eb..0 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fixes errors found bt Clang - -| ../../ModemManager-1.6.4/src/mm-bearer-qmi.c:774:50: error: implicit conversion from enumeration type 'MMBearerStatus' to different enumeration type 'MMBearerConnectionStatus' [-Werror,-Wenum-conversion] -| MMBearerConnectionStatus bearer_status = mm_base_bearer_get_status (MM_BASE_BEARER (self)); -| ~ ^ -| 1 error generated. - - -Index: ModemManager-1.6.4/src/mm-bearer-qmi.c -=== ModemManager-1.6.4.orig/src/mm-bearer-qmi.c -+++ ModemManager-1.6.4/src/mm-bearer-qmi.c -@@ -771,7 +771,7 @@ packet_service_status_indication_cb (Qmi - _status, - NULL, - NULL)) { --MMBearerConnectionStatus bearer_status = mm_base_bearer_get_status (MM_BASE_BEARER (self)); -+MMBearerConnectionStatus bearer_status = (MMBearerConnectionStatus)mm_base_bearer_get_status (MM_BASE_BEARER (self)); - - if (connection_status == QMI_WDS_CONNECTION_STATUS_DISCONNECTED && - bearer_status != MM_BEARER_CONNECTION_STATUS_DISCONNECTED && diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb similarity index 88% rename from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb rename to meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb index e60cd4b74..4f9400169 100644 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb +++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb @@ -11,11 +11,10 @@ inherit gnomebase gettext systemd vala gobject-introspection bash-completion DEPENDS = "glib-2.0 libgudev dbus-glib intltool-native" -SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \ - file://enum-conversion.patch \ -" -SRC_URI[md5sum] = "06488186c7dd53f8104183b86f7a1568" -SRC_URI[sha256sum] = "cdd5b4cb1e4d7643643a28ccbfc4bb354bfa9cb89a77ea160ebdf7926171c668" +SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz; + +SRC_URI[md5sum] = "4efe6a240cef212bf8855c95424e7c7f" +SRC_URI[sha256sum] = "4e366243bd4983f2e6efe35cb901cf5da51939307b5d6299fe622a9fcf411745" S = "${WORKDIR}/ModemManager-${PV}" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 3/3] modemmanager: fix mbim disable string
The current string used to disable mbim is "--enable-mbim=no", which is producing a warning. It should be "--with-mdim=no", so change it. Signed-off-by: Martin Kelly--- meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb index 4f9400169..b1a718dbf 100644 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb +++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb @@ -25,7 +25,7 @@ PACKAGECONFIG ??= "mbim qmi polkit \ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit" # Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. -PACKAGECONFIG[mbim] = "--with-mbim,--enable-mbim=no,libmbim" +PACKAGECONFIG[mbim] = "--with-mbim,--with-mbim=no,libmbim" # Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol. PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-java][PATCHv3] jdepend: Retrieve source from Git rather than tarball
When Bitbake downloads jdepend-2.9.1.zip itself and I download https://github.com/clarkware/jdepend/blob/master/dist/jdepend-2.9.1.zip , the calculated hashes don't match the ones included in the recipe. The hashes were last changed in commit dd5c43fca8289b8795a9214aee616775e1493109 on 1st March, but GitHub claims that the file being downloaded was published on 20th January, so I can't explain why they are wrong. Ross Burton has provided a plausible reason in http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html where he also advocates switching to using Git repositories rather than GitHub-generated tarballs. It seems that we can't really rely on these tarballs to remain unchanged, so let's download the Git hash that corresponds to v2.9.1 instead. This should always remain valid. Cc: André DraszikCc: Khem Raj Cc: Ross Burton Signed-off-by: Mike Crowe --- recipes-core/jdepend/jdepend_2.9.1.bb | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/jdepend_2.9.1.bb index 5f09a8b..dfbf493 100644 --- a/recipes-core/jdepend/jdepend_2.9.1.bb +++ b/recipes-core/jdepend/jdepend_2.9.1.bb @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230" HOMEPAGE = "https://github.com/clarkware/jdepend; -SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip;downloadfilename=${BP}.zip; +SRC_URI = "git://github.com/clarkware/jdepend" +SRCREV = "57980590313a5dbde236a3eb2c8958e9e53e6a10" +S = "${WORKDIR}/git" inherit java-library @@ -18,7 +20,4 @@ do_compile() { fastjar cf ${JARFILENAME} -C build . } -SRC_URI[md5sum] = "9b91efe1d770e023893f89f4dde8434e" -SRC_URI[sha256sum] = "536b5082d64e4f4514ce30178f36c7a31b34d969275f278f72e522e7f7c9" - BBCLASSEXTEND = "native" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-java][PATCHv2] jdepend: Retrieve source from Git rather than tarball
http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html, fwiw Ross On 4 May 2018 at 19:37, Mike Crowewrote: > When Bitbake downloads jdepend-2.9.1.zip itself and I download > https://github.com/clarkware/jdepend/blob/master/dist/jdepend-2.9.1.zip , > the calculated hashes don't match the ones included in the recipe. > > The hashes were last changed in commit > dd5c43fca8289b8795a9214aee616775e1493109 on 1st March, but GitHub claims > that the file being downloaded was published on 20th January, so I can't > explain why they are wrong. > > It seems that we can't really rely on these tarballs to remain unchanged, > so let's download the Git hash that corresponds to v2.9.1 instead. This > should always remain valid. > > Cc: André Draszik > Cc: Khem Raj > Signed-off-by: Mike Crowe > --- > recipes-core/jdepend/jdepend_2.9.1.bb | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > I'll let whoever wants to merge this decide whether to take v1 with > the updated hashes or v2 using the Git repository. > > diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/ > jdepend_2.9.1.bb > index 5f09a8b..dfbf493 100644 > --- a/recipes-core/jdepend/jdepend_2.9.1.bb > +++ b/recipes-core/jdepend/jdepend_2.9.1.bb > @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5= > f5777d32a7709d558c2877d4a6616230" > > HOMEPAGE = "https://github.com/clarkware/jdepend; > > -SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip; > downloadfilename=${BP}.zip" > +SRC_URI = "git://github.com/clarkware/jdepend" > +SRCREV = "57980590313a5dbde236a3eb2c8958e9e53e6a10" > +S = "${WORKDIR}/git" > > inherit java-library > > @@ -18,7 +20,4 @@ do_compile() { >fastjar cf ${JARFILENAME} -C build . > } > > -SRC_URI[md5sum] = "9b91efe1d770e023893f89f4dde8434e" > -SRC_URI[sha256sum] = "536b5082d64e4f4514ce30178f > 36c7a31b34d969275f278f72e522e7f7c9" > - > BBCLASSEXTEND = "native" > -- > 2.11.0 > > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel