Re: [oe] [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao



在 2018年05月30日 00:49, Khem Raj 写道:

On Tue, May 29, 2018 at 12:09 AM, Yi Zhao  wrote:


在 2018年05月25日 15:54, Yi Zhao 写道:

Signed-off-by: Yi Zhao 
---
   meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
   1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
index a8c8bcf..0a89be5 100644
--- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
+++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
@@ -18,6 +18,9 @@ SRC_URI =
"http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
   SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
   SRC_URI[sha256sum] =
"86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
   +UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags;
+UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"


The UPSTREAM_CHECK_GITTAGREGEX should be removed. I had sent V2 patch.

Please rebase it on top of current master and send a v3


This patch can be dropped since the recipe switches to use git:// as 
SRC_URI. bitbake -c checkpkg  can work well now.


//Yi





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


Re: [oe] [meta-multimedia][PATCH] meta-multimedia: update LAYERDEPENDS

2018-05-29 Thread Yi Zhao



在 2018年05月30日 00:04, Khem Raj 写道:

On Wed, May 23, 2018 at 11:27 PM, Yi Zhao  wrote:

Add meta-oe as LAYERDEPENDS to fix ParseError:
meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb:13:
Could not inherit file classes/dos2unix.bbclass


If thats the only dependency on meta-oe then
Perhaps dos2unix class should be migrated to OE-Core. Can you prepare
a patch for that instead ?

OK. I will do it.

//Yi



We should try to make these layers independent of each other as much
as we can.


Signed-off-by: Yi Zhao 
---
  meta-multimedia/conf/layer.conf | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-multimedia/conf/layer.conf b/meta-multimedia/conf/layer.conf
index cfedf2f..24d7a6d 100644
--- a/meta-multimedia/conf/layer.conf
+++ b/meta-multimedia/conf/layer.conf
@@ -28,5 +28,6 @@ BBFILE_PRIORITY_multimedia-layer = "6"
  LAYERVERSION_multimedia-layer = "1"

  LAYERDEPENDS_multimedia-layer = "core"
+LAYERDEPENDS_multimedia-layer += "openembedded-layer"

  LAYERSERIES_COMPAT_multimedia-layer = "sumo"
--
2.7.4

--
___
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-python][PATCH v2 1/3] meta-python: Add python-pyflame recipe

2018-05-29 Thread Andrew Jeffery
On Wed, 30 May 2018, at 07:53, Khem Raj wrote:
> On Tue, May 29, 2018 at 3:03 PM Andrew Jeffery  wrote:
> 
> >
> >
> > On Wed, 30 May 2018, at 02:34, Khem Raj wrote:
> > > On Tue, May 29, 2018 at 4:48 AM, Andrew Jeffery  wrote:
> > > > On Thu, 10 May 2018, at 16:07, Andrew Jeffery wrote:
> > > >> Signed-off-by: Andrew Jeffery 
> > > >
> > > > Ping - is there anything I need to revise for this patch or the
> > following two?
> > > >
> > >
> > > There was a review comment for you to adress, see
> > >
> > > https://patchwork.openembedded.org/patch/150467/
> > >
> > > if you have addressed that please send a v3 for whole series.
> >
> > That comment is on v1 of the series. This is v2, and I have reworked the
> > recipe to simply clone the git repo instead of grab the tarball to avoid
> > the issue that was pointed out.
> >
> 
> Ok thanks I think the v2 seems to be missing in patchwork that’s the reason
> it will go missed i wonder if you resend than patchwork will catch it

Someone has archived the patches. Here they are:

https://patchwork.openembedded.org/project/oe/patches/?submitter=12303=*=v2=both=

Cheers,

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


Re: [oe] [meta-python][PATCH v2 1/3] meta-python: Add python-pyflame recipe

2018-05-29 Thread Khem Raj
On Tue, May 29, 2018 at 3:03 PM Andrew Jeffery  wrote:

>
>
> On Wed, 30 May 2018, at 02:34, Khem Raj wrote:
> > On Tue, May 29, 2018 at 4:48 AM, Andrew Jeffery  wrote:
> > > On Thu, 10 May 2018, at 16:07, Andrew Jeffery wrote:
> > >> Signed-off-by: Andrew Jeffery 
> > >
> > > Ping - is there anything I need to revise for this patch or the
> following two?
> > >
> >
> > There was a review comment for you to adress, see
> >
> > https://patchwork.openembedded.org/patch/150467/
> >
> > if you have addressed that please send a v3 for whole series.
>
> That comment is on v1 of the series. This is v2, and I have reworked the
> recipe to simply clone the git repo instead of grab the tarball to avoid
> the issue that was pointed out.
>

Ok thanks I think the v2 seems to be missing in patchwork that’s the reason
it will go missed i wonder if you resend than patchwork will catch it

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


Re: [oe] [meta-python][PATCH v2 1/3] meta-python: Add python-pyflame recipe

2018-05-29 Thread Andrew Jeffery



On Wed, 30 May 2018, at 02:34, Khem Raj wrote:
> On Tue, May 29, 2018 at 4:48 AM, Andrew Jeffery  wrote:
> > On Thu, 10 May 2018, at 16:07, Andrew Jeffery wrote:
> >> Signed-off-by: Andrew Jeffery 
> >
> > Ping - is there anything I need to revise for this patch or the following 
> > two?
> >
> 
> There was a review comment for you to adress, see
> 
> https://patchwork.openembedded.org/patch/150467/
> 
> if you have addressed that please send a v3 for whole series.

That comment is on v1 of the series. This is v2, and I have reworked the recipe 
to simply clone the git repo instead of grab the tarball to avoid the issue 
that was pointed out.

Thanks,

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


Re: [oe] [meta-oe][master-next][PATCH v3 17/17] libeigen: rely on cmake.bbclass to put cmake package files in dev package

2018-05-29 Thread Khem Raj
it was in queue so ran through it

ERROR: libeigen-3.3.4-r0 do_package: QA Issue: libeigen:
Files/directories were installed but not shipped in any package:
  /usr/share/eigen3
  /usr/share/eigen3/cmake
  /usr/share/eigen3/cmake/Eigen3Config.cmake
  /usr/share/eigen3/cmake/UseEigen3.cmake
  /usr/share/eigen3/cmake/Eigen3Targets.cmake
  /usr/share/eigen3/cmake/Eigen3ConfigVersion.cmake


It seems you need to keep

${datadir}/eigen3 added to FILES_${PN}-dev


On Fri, May 25, 2018 at 7:49 PM, Trevor Woerner  wrote:
> On Fri, May 25, 2018 at 10:45 PM, Trevor Woerner  wrote:
>
>> Sounds good; I'll take a look. Thanks!
>>
>
> Oops, spoke too soon; looks like someone beat me to it :-)
> --
> ___
> 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-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-05-29 Thread Samuli Piippo
Add recipes for Qt OPC UA and Qt WebGL platform plugin.
---
 recipes-qt/qt5/nativesdk-qtbase_git.bb|  7 +-
 recipes-qt/qt5/qt3d_git.bb|  2 +-
 recipes-qt/qt5/qt5-git.inc|  2 +-
 recipes-qt/qt5/qtbase-native_git.bb   |  3 +-
 recipes-qt/qt5/qtbase_git.bb  |  7 +-
 recipes-qt/qt5/qtcanvas3d_git.bb  |  2 +-
 recipes-qt/qt5/qtcharts_git.bb|  2 +-
 recipes-qt/qt5/qtconnectivity_git.bb  |  2 +-
 recipes-qt/qt5/qtdeclarative_git.bb   |  6 +-
 recipes-qt/qt5/qtgamepad_git.bb   |  2 +-
 recipes-qt/qt5/qtgraphicaleffects_git.bb  |  2 +-
 recipes-qt/qt5/qtimageformats_git.bb  |  2 +-
 recipes-qt/qt5/qtknx_git.bb   |  2 +-
 recipes-qt/qt5/qtlocation_git.bb  | 10 +--
 recipes-qt/qt5/qtmultimedia_git.bb|  2 +-
 recipes-qt/qt5/qtopcua_git.bb | 13 
 recipes-qt/qt5/qtpurchasing_git.bb|  2 +-
 recipes-qt/qt5/qtquickcontrols2_git.bb|  2 +-
 recipes-qt/qt5/qtquickcontrols_git.bb |  2 +-
 recipes-qt/qt5/qtremoteobjects_git.bb |  2 +-
 recipes-qt/qt5/qtscript_git.bb|  2 +-
 recipes-qt/qt5/qtscxml_git.bb |  2 +-
 recipes-qt/qt5/qtsensors_git.bb   |  2 +-
 recipes-qt/qt5/qtserialbus_git.bb |  2 +-
 recipes-qt/qt5/qtserialport_git.bb|  7 +-
 recipes-qt/qt5/qtsvg_git.bb   |  2 +-
 recipes-qt/qt5/qttools_git.bb |  2 +-
 recipes-qt/qt5/qtvirtualkeyboard_git.bb   |  2 +-
 ...01-fix-build-without-xkbcommon-evdev.patch | 68 ---
 recipes-qt/qt5/qtwayland_git.bb   |  9 +--
 recipes-qt/qt5/qtwebchannel_git.bb|  2 +-
 recipes-qt/qt5/qtwebengine_git.bb |  4 +-
 recipes-qt/qt5/qtwebglplugin_git.bb   | 21 ++
 recipes-qt/qt5/qtwebsockets_git.bb|  2 +-
 recipes-qt/qt5/qtwebview_git.bb   |  2 +-
 recipes-qt/qt5/qtx11extras_git.bb |  2 +-
 recipes-qt/qt5/qtxmlpatterns_git.bb   |  2 +-
 37 files changed, 84 insertions(+), 123 deletions(-)
 create mode 100644 recipes-qt/qt5/qtopcua_git.bb
 delete mode 100644 
recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
 create mode 100644 recipes-qt/qt5/qtwebglplugin_git.bb

diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 27bd563..5971eeb 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "http://qt-project.org;
 LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | 
The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial 
)"
 LIC_FILES_CHKSUM = " \
 file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
-file://LICENSE.LGPLv3;md5=86d02ed8764e77c1c0b194fde895a51b \
 file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
 file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
@@ -174,8 +173,8 @@ do_install() {
 install -m 644 ${WORKDIR}/OEQt5Toolchain.cmake 
${D}${datadir}/cmake/OEToolchainConfig.cmake.d/
 
 # Fix up absolute paths in scripts
-grep -lr /usr/bin/python ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/ | \
-xargs -r sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,'
+sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \
+${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py
 }
 
 fakeroot do_generate_qt_environment_file() {
@@ -210,4 +209,4 @@ fakeroot do_generate_qt_environment_file() {
 do_generate_qt_environment_file[umask] = "022"
 addtask generate_qt_environment_file after do_install before do_package
 
-SRCREV = "2b5587d901a0cc23749bf27a923d50bf0e5860d3"
+SRCREV = "6eef81ee1c82f934e14d47047d8b6103b8755321"
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
index 6b5ddeb..07b28ac 100644
--- a/recipes-qt/qt5/qt3d_git.bb
+++ b/recipes-qt/qt5/qt3d_git.bb
@@ -36,6 +36,6 @@ do_configure_prepend() {
  ${S}/src/quick3d/imports/input/importsinput.pro
 }
 
-SRCREV = "6d73c51d44d10925a05804cd8e70978f155643df"
+SRCREV = "15e863517ea37ca7ba6bcb75b078272eddbc5d37"
 
 BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
index ae7394c..41ad280 100644
--- a/recipes-qt/qt5/qt5-git.inc
+++ b/recipes-qt/qt5/qt5-git.inc
@@ -14,4 +14,4 @@ CVE_PRODUCT = "qt"
 
 S = "${WORKDIR}/git"
 
-PV = "5.10.1+5.11-beta3+git${SRCPV}"
+PV = "5.11.0+git${SRCPV}"
diff --git a/recipes-qt/qt5/qtbase-native_git.bb 
b/recipes-qt/qt5/qtbase-native_git.bb
index d6c53ad..0d7e598 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "http://qt-project.org;
 LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | 

Re: [oe] [OE-core] [PATCH] telnetd:Fix deadlock on cleanup

2018-05-29 Thread Khem Raj
this belongs to oe-devel list

Please check will latest master, if you can reporduce the issue with master
then we can revive this discussion on the patch.

On Sun, May 27, 2018 at 11:27 PM, Seiichi Ishitsuka
 wrote:
> Hi all,
>
> I was able to reproduce the old problems shown below with 
> netkit-telnet_0.17.bb.
>
> https://patchwork.openembedded.org/patch/96727/
> https://bugs.launchpad.net/ubuntu/+source/netkit-telnet/+bug/507455
>
> The evaluated environment is,
>  glibc  :2.2
>  kernel :4.4.32
>
> How to reproduce:
>
> Run the script more than once in the background, and
> please adjust CPU usage to 100%.
>
> #!/bin/sh
>
> HOST="host.target"
> USER="root"
> PASS="password"
>
> while :
>   do
>   expect -c "
>   set timeout 10
>   spawn telnet $HOST
>   expect login:\  ; send \"$USER\r\"
>   expect sword:\  ; send \"$PASS\r\"
>   expect \"# \" ; send \"exit\r\"
>   " > /dev/null
>   done
>
>
> Best regards,
> Seiichi Ishitsuka
>
> --
> ___
> Openembedded-core mailing list
> openembedded-c...@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python] Added python modules periphery and Flask-Sijax

2018-05-29 Thread Khem Raj
Hi Franz

On Mon, May 28, 2018 at 11:27 PM, Franz Forstmayr  wrote:
> Hi,
> I created a pull request on Github where i added recipes for python
> modules periphery and Flask-Sijax.
> https://github.com/openembedded/meta-openembedded/pull/80
>
> Can someone check, if everything is ok?

We do not use github workflow for patches, please send the patches or
pulls to oe-devel mailing list.

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


Re: [oe] [meta-python][PATCH v2 1/3] meta-python: Add python-pyflame recipe

2018-05-29 Thread Khem Raj
On Tue, May 29, 2018 at 4:48 AM, Andrew Jeffery  wrote:
> On Thu, 10 May 2018, at 16:07, Andrew Jeffery wrote:
>> Signed-off-by: Andrew Jeffery 
>
> Ping - is there anything I need to revise for this patch or the following two?
>

There was a review comment for you to adress, see

https://patchwork.openembedded.org/patch/150467/

if you have addressed that please send a v3 for whole series.

> Cheers,
>
> Andrew
>
>> ---
>>  meta-python/recipes-devtools/python/python-pyflame.inc  | 12 
>> 
>>  meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb |  1 +
>>  2 files changed, 13 insertions(+)
>>  create mode 100644 meta-python/recipes-devtools/python/python-pyflame.inc
>>  create mode 100644 
>> meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/
>> meta-python/recipes-devtools/python/python-pyflame.inc
>> new file mode 100644
>> index ..3b84a7e8f8e3
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-pyflame.inc
>> @@ -0,0 +1,12 @@
>> +SUMMARY = "Pyflame: A Ptracing Profiler For Python"
>> +HOMEPAGE = "https://github.com/uber/pyflame;
>> +SECTION = "devel/python"
>> +LICENSE = "Apache-2.0"
>> +LIC_FILES_CHKSUM = "file://${S}/
>> LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>> +DEPENDS = "python"
>> +
>> +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}"
>> +S = "${WORKDIR}/git"
>> +
>> +inherit pkgconfig autotools
>> +
>> diff --git a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
>> b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
>> new file mode 100644
>> index ..96f03305f883
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
>> @@ -0,0 +1 @@
>> +require python-pyflame.inc
>> --
>> 2.14.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-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI

2018-05-29 Thread Khem Raj
On Tue, May 29, 2018 at 12:09 AM, Yi Zhao  wrote:
>
>
> 在 2018年05月25日 15:54, Yi Zhao 写道:
>>
>> Signed-off-by: Yi Zhao 
>> ---
>>   meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
>> b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
>> index a8c8bcf..0a89be5 100644
>> --- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
>> +++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
>> @@ -18,6 +18,9 @@ SRC_URI =
>> "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
>>   SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
>>   SRC_URI[sha256sum] =
>> "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
>>   +UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags;
>> +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
>
>
> The UPSTREAM_CHECK_GITTAGREGEX should be removed. I had sent V2 patch.

Please rebase it on top of current master and send a v3
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v2] broadcom-bt-firmware: Add new recipe for Broadcom Bluetooth firmwares

2018-05-29 Thread Khem Raj
Previous version is now upstreamed. Please send the delta rebased on
top of the prior version in a v3

On Tue, May 29, 2018 at 6:35 AM, Krzysztof Kozlowski  wrote:
> Several Broadcom Bluetooth USB dongles require firmware to be loaded.
> This recipe provides the firmware for BCM20702, BCM20703, BCM43142,
> BCM4335, BCM4350, BCM4356 and BCM4371 based devices.
>
> Signed-off-by: Krzysztof Kozlowski 
>
> ---
>
> Changes since v1:
> 1. Rebase on sumo
>
> The patch is also available here:
> https://github.com/krzk/meta-openembedded/commits/broadcom-bt-v2
> ---
>  .../broadcom-bt-firmware_git.bb| 76 
> ++
>  1 file changed, 76 insertions(+)
>  create mode 100644 
> meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb
>
> diff --git 
> a/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb 
> b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb
> new file mode 100644
> index ..8c474ecdc472
> --- /dev/null
> +++ b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb
> @@ -0,0 +1,76 @@
> +# Copyright (C) 2018 Krzysztof Kozlowski 
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +SUMMARY = "Broadcom Bluetooth firmware files"
> +DESCRIPTION = "Firmware for Broadcom Bluetooth devices. Note that in case of 
> BT+WiFi devices, separate WiFi firmware might be needed."
> +HOMEPAGE = "https://github.com/winterheart/broadcom-bt-firmware;
> +
> +LICENSE = "Firmware-Broadcom-WIDCOMM"
> +NO_GENERIC_LICENSE[Firmware-Broadcom-WIDCOMM] = "LICENSE.broadcom_bcm20702"
> +
> +LIC_FILES_CHKSUM = 
> "file://LICENSE.broadcom_bcm20702;md5=c0d5ea0502b00df74173d0f8a48b619d"
> +SRC_URI = "git://github.com/winterheart/broadcom-bt-firmware.git"
> +SRCREV = "c0bd928b8ae5754b6077c99afe6ef5c949a58f32"
> +PE = "1"
> +PV = "0.0+git${SRCPV}"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit allarch
> +
> +CLEANBROKEN = "1"
> +
> +do_compile() {
> +:
> +}
> +
> +do_install() {
> +install -d ${D}${nonarch_base_libdir}/firmware/brcm/
> +cp brcm/*.hcd ${D}${nonarch_base_libdir}/firmware/brcm/
> +
> +# For license package:
> +install -m 0644 LICENSE.broadcom_bcm20702 
> ${D}${nonarch_base_libdir}/firmware/brcm/
> +
> +# For main package:
> +install -m 0644 DEVICES.md ${D}${nonarch_base_libdir}/firmware/brcm/
> +}
> +
> +PACKAGES =+ " \
> +${PN}-bcm20702a1 \
> +${PN}-bcm20702b0 \
> +${PN}-bcm20703a1 \
> +${PN}-bcm43142a0 \
> +${PN}-bcm4335c0 \
> +${PN}-bcm4350c5 \
> +${PN}-bcm4356a2 \
> +${PN}-bcm4371c2 \
> +${PN}-license \
> +"
> +
> +RDEPENDS_${PN}-bcm20702a1 = "${PN}-license"
> +RDEPENDS_${PN}-bcm20702b0 = "${PN}-license"
> +RDEPENDS_${PN}-bcm20703a1 = "${PN}-license"
> +RDEPENDS_${PN}-bcm43142a0 = "${PN}-license"
> +RDEPENDS_${PN}-bcm4335c0 = "${PN}-license"
> +RDEPENDS_${PN}-bcm4350c5 = "${PN}-license"
> +RDEPENDS_${PN}-bcm4356a2 = "${PN}-license"
> +RDEPENDS_${PN}-bcm4371c2 = "${PN}-license"
> +
> +FILES_${PN}-bcm20702a1 = 
> "${nonarch_base_libdir}/firmware/brcm/BCM20702A1*hcd"
> +FILES_${PN}-bcm20702b0 = 
> "${nonarch_base_libdir}/firmware/brcm/BCM20702B0*hcd"
> +FILES_${PN}-bcm20703a1 = 
> "${nonarch_base_libdir}/firmware/brcm/BCM20703A1*hcd"
> +FILES_${PN}-bcm43142a0 = 
> "${nonarch_base_libdir}/firmware/brcm/BCM43142A0*hcd"
> +FILES_${PN}-bcm4335c0 = "${nonarch_base_libdir}/firmware/brcm/BCM4335C0*hcd"
> +FILES_${PN}-bcm4350c5 = "${nonarch_base_libdir}/firmware/brcm/BCM4350C5*hcd"
> +FILES_${PN}-bcm4356a2 = "${nonarch_base_libdir}/firmware/brcm/BCM4356A2*hcd"
> +FILES_${PN}-bcm4371c2 = "${nonarch_base_libdir}/firmware/brcm/BCM4371C2*hcd"
> +FILES_${PN}-license += 
> "${nonarch_base_libdir}/firmware/brcm/LICENSE.broadcom_bcm20702"
> +
> +FILES_${PN} += "${nonarch_base_libdir}/firmware/brcm/*"
> +RDEPENDS_${PN} += "${PN}-license"
> +
> +# Make broadcom-bt-firmware depend on all of the split-out packages.
> +python populate_packages_prepend () {
> +firmware_pkgs = oe.utils.packages_filter_out_system(d)
> +d.appendVar('RDEPENDS_broadcom-bt-firmware', ' ' + ' 
> '.join(firmware_pkgs))
> +}
> --
> 2.7.4
>
> --
> ___
> 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-multimedia][PATCH] meta-multimedia: update LAYERDEPENDS

2018-05-29 Thread Khem Raj
On Wed, May 23, 2018 at 11:27 PM, Yi Zhao  wrote:
> Add meta-oe as LAYERDEPENDS to fix ParseError:
> meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb:13:
> Could not inherit file classes/dos2unix.bbclass
>

If thats the only dependency on meta-oe then
Perhaps dos2unix class should be migrated to OE-Core. Can you prepare
a patch for that instead ?

We should try to make these layers independent of each other as much
as we can.

> Signed-off-by: Yi Zhao 
> ---
>  meta-multimedia/conf/layer.conf | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-multimedia/conf/layer.conf b/meta-multimedia/conf/layer.conf
> index cfedf2f..24d7a6d 100644
> --- a/meta-multimedia/conf/layer.conf
> +++ b/meta-multimedia/conf/layer.conf
> @@ -28,5 +28,6 @@ BBFILE_PRIORITY_multimedia-layer = "6"
>  LAYERVERSION_multimedia-layer = "1"
>
>  LAYERDEPENDS_multimedia-layer = "core"
> +LAYERDEPENDS_multimedia-layer += "openembedded-layer"
>
>  LAYERSERIES_COMPAT_multimedia-layer = "sumo"
> --
> 2.7.4
>
> --
> ___
> 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 v2] broadcom-bt-firmware: Add new recipe for Broadcom Bluetooth firmwares

2018-05-29 Thread Krzysztof Kozlowski
Several Broadcom Bluetooth USB dongles require firmware to be loaded.
This recipe provides the firmware for BCM20702, BCM20703, BCM43142,
BCM4335, BCM4350, BCM4356 and BCM4371 based devices.

Signed-off-by: Krzysztof Kozlowski 

---

Changes since v1:
1. Rebase on sumo

The patch is also available here:
https://github.com/krzk/meta-openembedded/commits/broadcom-bt-v2
---
 .../broadcom-bt-firmware_git.bb| 76 ++
 1 file changed, 76 insertions(+)
 create mode 100644 
meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb

diff --git 
a/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb 
b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb
new file mode 100644
index ..8c474ecdc472
--- /dev/null
+++ b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_git.bb
@@ -0,0 +1,76 @@
+# Copyright (C) 2018 Krzysztof Kozlowski 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Broadcom Bluetooth firmware files"
+DESCRIPTION = "Firmware for Broadcom Bluetooth devices. Note that in case of 
BT+WiFi devices, separate WiFi firmware might be needed."
+HOMEPAGE = "https://github.com/winterheart/broadcom-bt-firmware;
+
+LICENSE = "Firmware-Broadcom-WIDCOMM"
+NO_GENERIC_LICENSE[Firmware-Broadcom-WIDCOMM] = "LICENSE.broadcom_bcm20702"
+
+LIC_FILES_CHKSUM = 
"file://LICENSE.broadcom_bcm20702;md5=c0d5ea0502b00df74173d0f8a48b619d"
+SRC_URI = "git://github.com/winterheart/broadcom-bt-firmware.git"
+SRCREV = "c0bd928b8ae5754b6077c99afe6ef5c949a58f32"
+PE = "1"
+PV = "0.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+inherit allarch
+
+CLEANBROKEN = "1"
+
+do_compile() {
+:
+}
+
+do_install() {
+install -d ${D}${nonarch_base_libdir}/firmware/brcm/
+cp brcm/*.hcd ${D}${nonarch_base_libdir}/firmware/brcm/
+
+# For license package:
+install -m 0644 LICENSE.broadcom_bcm20702 
${D}${nonarch_base_libdir}/firmware/brcm/
+
+# For main package:
+install -m 0644 DEVICES.md ${D}${nonarch_base_libdir}/firmware/brcm/
+}
+
+PACKAGES =+ " \
+${PN}-bcm20702a1 \
+${PN}-bcm20702b0 \
+${PN}-bcm20703a1 \
+${PN}-bcm43142a0 \
+${PN}-bcm4335c0 \
+${PN}-bcm4350c5 \
+${PN}-bcm4356a2 \
+${PN}-bcm4371c2 \
+${PN}-license \
+"
+
+RDEPENDS_${PN}-bcm20702a1 = "${PN}-license"
+RDEPENDS_${PN}-bcm20702b0 = "${PN}-license"
+RDEPENDS_${PN}-bcm20703a1 = "${PN}-license"
+RDEPENDS_${PN}-bcm43142a0 = "${PN}-license"
+RDEPENDS_${PN}-bcm4335c0 = "${PN}-license"
+RDEPENDS_${PN}-bcm4350c5 = "${PN}-license"
+RDEPENDS_${PN}-bcm4356a2 = "${PN}-license"
+RDEPENDS_${PN}-bcm4371c2 = "${PN}-license"
+
+FILES_${PN}-bcm20702a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20702A1*hcd"
+FILES_${PN}-bcm20702b0 = "${nonarch_base_libdir}/firmware/brcm/BCM20702B0*hcd"
+FILES_${PN}-bcm20703a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20703A1*hcd"
+FILES_${PN}-bcm43142a0 = "${nonarch_base_libdir}/firmware/brcm/BCM43142A0*hcd"
+FILES_${PN}-bcm4335c0 = "${nonarch_base_libdir}/firmware/brcm/BCM4335C0*hcd"
+FILES_${PN}-bcm4350c5 = "${nonarch_base_libdir}/firmware/brcm/BCM4350C5*hcd"
+FILES_${PN}-bcm4356a2 = "${nonarch_base_libdir}/firmware/brcm/BCM4356A2*hcd"
+FILES_${PN}-bcm4371c2 = "${nonarch_base_libdir}/firmware/brcm/BCM4371C2*hcd"
+FILES_${PN}-license += 
"${nonarch_base_libdir}/firmware/brcm/LICENSE.broadcom_bcm20702"
+
+FILES_${PN} += "${nonarch_base_libdir}/firmware/brcm/*"
+RDEPENDS_${PN} += "${PN}-license"
+
+# Make broadcom-bt-firmware depend on all of the split-out packages.
+python populate_packages_prepend () {
+firmware_pkgs = oe.utils.packages_filter_out_system(d)
+d.appendVar('RDEPENDS_broadcom-bt-firmware', ' ' + ' '.join(firmware_pkgs))
+}
-- 
2.7.4

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


Re: [oe] [meta-qt5] QtWebEngine SEGV_MAPERR when opening web view on Raspberry Pi 3

2018-05-29 Thread Martin Hundebøll

Hi,

On 2018-05-29 13:25, kdgoncha...@gmail.com wrote:

Hi

I'm using meta-qt5 and meta-raspberrypi layers to build an image for Rapberry 
Pi 3. The image contains PyQt app running with eglfs plugin.
Starting from QT 5.9.4 (commit e1046125d212a016d96944ff907e17d51a5b41af on 
rocko branch), QtWebEngine view started to crash with SEGV_MAPERR. The error 
also occurs with QT 5.10.1 built from the sumo branch:

Received signal 11 SEGV_MAPERR 
#0 0x72a7ab4a 
#1 0x72a7a9c6 
#2 0x71eda2c8 
#3 0x72a7adc2 
#4 0x76bb4d30 
[end of stack trace]
Calling _exit(1). Core file will not be generated.

I posted a bug report on QT tracker with more details about the crash: 
https://bugreports.qt.io/browse/QTBUG-68484 
(https://bugreports.qt.io/browse/QTBUG-68484)
But maybe something is wrong with my configuration and I have to update it?

I'm using core-image-minimal with several modifications. Here is my 
qtbase_git.bbappend:

PACKAGECONFIG_GL = "eglfs gles2"
PACKAGECONFIG_append = " fontconfig "



For what its worth, here's our configuration for Qt graphics on a RPi3:

> DEPENDS_pn-qtbase = "virtual/libgles2"
> QT_CONFIG_FLAGS_append_pn-qtbase = " -qpa eglfs"
> PACKAGECONFIG_GL_pn-qtbase = "gles2 eglfs kms gbm"
> PACKAGECONFIG_append_pn-mesa = "gallium egl gles gbm"
> GALLIUMDRIVERS_append = " vc4"
> GALLIUMDRIVERS_remove = "swrast"

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


Re: [oe] [meta-python][PATCH v2 1/3] meta-python: Add python-pyflame recipe

2018-05-29 Thread Andrew Jeffery
On Thu, 10 May 2018, at 16:07, Andrew Jeffery wrote:
> Signed-off-by: Andrew Jeffery 

Ping - is there anything I need to revise for this patch or the following two?

Cheers,

Andrew

> ---
>  meta-python/recipes-devtools/python/python-pyflame.inc  | 12 
>  meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb |  1 +
>  2 files changed, 13 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-pyflame.inc
>  create mode 100644 
> meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
> 
> diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/
> meta-python/recipes-devtools/python/python-pyflame.inc
> new file mode 100644
> index ..3b84a7e8f8e3
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pyflame.inc
> @@ -0,0 +1,12 @@
> +SUMMARY = "Pyflame: A Ptracing Profiler For Python"
> +HOMEPAGE = "https://github.com/uber/pyflame;
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://${S}/
> LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> +DEPENDS = "python"
> +
> +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}"
> +S = "${WORKDIR}/git"
> +
> +inherit pkgconfig autotools
> +
> diff --git a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb 
> b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
> new file mode 100644
> index ..96f03305f883
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
> @@ -0,0 +1 @@
> +require python-pyflame.inc
> -- 
> 2.14.1
> 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-qt5] QtWebEngine SEGV_MAPERR when opening web view on Raspberry Pi 3

2018-05-29 Thread kdgoncharov
Hi

I'm using meta-qt5 and meta-raspberrypi layers to build an image for Rapberry 
Pi 3. The image contains PyQt app running with eglfs plugin.
Starting from QT 5.9.4 (commit e1046125d212a016d96944ff907e17d51a5b41af on 
rocko branch), QtWebEngine view started to crash with SEGV_MAPERR. The error 
also occurs with QT 5.10.1 built from the sumo branch:

Received signal 11 SEGV_MAPERR 
#0 0x72a7ab4a 
#1 0x72a7a9c6 
#2 0x71eda2c8 
#3 0x72a7adc2 
#4 0x76bb4d30 
[end of stack trace]
Calling _exit(1). Core file will not be generated.

I posted a bug report on QT tracker with more details about the crash: 
https://bugreports.qt.io/browse/QTBUG-68484 
(https://bugreports.qt.io/browse/QTBUG-68484)
But maybe something is wrong with my configuration and I have to update it?

I'm using core-image-minimal with several modifications. Here is my 
qtbase_git.bbappend:

PACKAGECONFIG_GL = "eglfs gles2"
PACKAGECONFIG_append = " fontconfig "
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] 答复: [meta-oe][PATCH v3] turbostat: add the recipe of turbostat to meta-oe

2018-05-29 Thread Song, Hongzhi
ping
// Hongzhi

发件人: openembedded-devel-boun...@lists.openembedded.org 
[openembedded-devel-boun...@lists.openembedded.org] 代表 Hongzhi.Song 
[hongzhi.s...@windriver.com]
发送时间: 2018年5月28日 10:00
收件人: openembedded-devel@lists.openembedded.org
主题: [oe] [meta-oe][PATCH v3] turbostat: add the recipe of turbostat to  meta-oe

It is an efficient and necessary tool to reflect the status of X86
processors. Turbostat reports processor topology, frequency, idle
power-state statistics, temperature and power on X86 processors.

Signed-off-by: Hongzhi.Song 
---
 meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb | 58 +++
 1 file changed, 58 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb

diff --git a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb 
b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
new file mode 100644
index 0..355941794
--- /dev/null
+++ b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
@@ -0,0 +1,58 @@
+#
+# Copyright (C) 2013 Wind River Systems, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+SUMMARY = "Frequency and Idle power monitoring tools for Linux"
+
+DESCRIPTION = "The turbostat tool allows you to determine the actual \
+processor frequency and idle power saving state residency on supported \
+processors."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
+COMPATIBLE_HOST_libc-musl = "null"
+
+DEPENDS = "virtual/kernel"
+
+do_fetch[noexec] = "1"
+do_unpack[noexec] = "1"
+do_patch[noexec] = "1"
+
+# This looks in S, so we better make sure there's
+# something in the directory.
+#
+do_populate_lic[depends] = "${PN}:do_configure"
+
+
+EXTRA_OEMAKE = '\
+CC="${CC}" \
+   'CFLAGS=-Wall -I${STAGING_KERNEL_DIR}/arch/x86/include/uapi 
${LDFLAGS}' \
+   '
+
+# If we build under STAGING_KERNEL_DIR, source will not be put
+# into the dbg rpm.  STAGING_KERNEL_DIR will exist by the time
+# do_configure() is invoked so we can safely copy from it.
+#
+do_configure_prepend() {
+   mkdir -p ${S}
+   cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S}
+   cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S}
+   cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
+   cp -r ${STAGING_KERNEL_DIR}/COPYING ${S}
+}
+
+do_compile() {
+   sed -i 's#MSRHEADER#"msr-index.h"#' turbostat.c
+   sed -i 's#INTEL_FAMILY_HEADER#"intel-family.h"#' turbostat.c
+   sed -i 's#\$(CC) \$(CFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#\$(CC) 
\$(CFLAGS) \$(LDFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#' Makefile
+   oe_runmake STAGING_KERNEL_DIR=${STAGING_KERNEL_DIR}
+}
+
+do_install() {
+   oe_runmake DESTDIR="${D}" install
+}
--
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


Re: [oe] [meta-oe][PATCH v2] pam-plugin-ldapdb: add recipe

2018-05-29 Thread Richard Leitner
Any updates/suggestions on how I should proceed with this patch?

On 05/23/2018 11:03 AM, Richard Leitner wrote:
> 
> On 05/23/2018 10:54 AM, Martin Jansa wrote:
>> Don't use github archives which are regenerated from time to time with 
>> different checksums (read older discussions for more details).
> 
> What should we use instead?
> git clone?
> My comments on that from the last patch version:
> 
>> Why should we change to git clones instead of archives? What's the advantage?
> 
> .. ok that's clear with the "different checksums" statement
> 
>> IMHO it only causes more traffic and uses more disk space.
>> Furthermore if we rely on tags these may be changed without our notice...
>> And if they are unsigned (like here) we also don't know if something got 
>> modified unintentionally...
>> Or should we use revision hashes?
> 
> If these points were already settled please give me a pointer to that 
> discussion.
> 
> thanks & regards;Richard.L
> 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v2] uhubctl: add recipe

2018-05-29 Thread Richard Leitner
Ping

On 05/23/2018 12:11 AM, Richard Leitner wrote:
> Add recipe for uhubctl v2.0.0, an utility to control USB power per-port
> on "smart" USB hubs.
> 
> Signed-off-by: Richard Leitner 
> ---
> Changes v2:
>   + applied suggestions by Khem Raj:
> - replace version fix patch with sed line
> - remove redundant ${S} assignment
> - remove redundant FILES assignmet
> ---
>  meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb | 21 +
>  1 file changed, 21 insertions(+)
>  create mode 100644 meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb
> 
> diff --git a/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb 
> b/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb
> new file mode 100644
> index 0..6306ddb55
> --- /dev/null
> +++ b/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb
> @@ -0,0 +1,21 @@
> +SUMMARY = "USB hub per-port power control"
> +HOMEPAGE = "https://github.com/mvp/uhubctl;
> +BUGTRACKER = "https://github.com/mvp/uhubctl/issues;
> +DEPENDS = "libusb1"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "https://github.com/mvp/${PN}/archive/v${PV}.tar.gz;
> +SRC_URI[md5sum] = "5c711911d766d7681c3812277574"
> +SRC_URI[sha256sum] = 
> "4c31278b2c03e5be5a696c3088bc86cf2557a70e00f697799c163aba18e3c40e"
> +
> +# uhubctl gets its program version from "git describe". As we use the source
> +# archive do reduce download size replace the call with our hardcoded 
> version.
> +do_configure_append() {
> +sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile
> +}
> +
> +do_install () {
> +oe_runmake install DESTDIR=${D}
> +}
> 

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


[oe] [meta-oe][PATCH 23/24] thin-provisioning-tools: add UPSTREAM_CHECK_GITTAGREGEX

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 .../thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb| 2 ++
 1 file changed, 2 insertions(+)
 mode change 100755 => 100644 
meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb

diff --git 
a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb
 
b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb
old mode 100755
new mode 100644
index c9d6690..4a692dc
--- 
a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb
+++ 
b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb
@@ -13,6 +13,8 @@ SRC_URI = "git://github.com/jthornber/thin-provisioning-tools 
\
 
 SRCREV = "49bfc12e9c7956c1ac134b24afbe1a6a602ce7d5"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
+
 DEPENDS += "expat libaio boost"
 
 inherit autotools-brokensep
-- 
2.7.4

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


[oe] [meta-oe][PATCH 22/24] syslog-ng: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc 
b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
index 771cdb1..cb7ca31 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
@@ -22,6 +22,8 @@ SRC_URI = 
"https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.ta
file://configure.ac-add-option-enable-thread-tls-to-manage-.patch \
 "
 
+UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases;
+
 inherit autotools gettext systemd pkgconfig update-rc.d
 
 EXTRA_OECONF = " \
-- 
2.7.4

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


[oe] [meta-oe][PATCH 24/24] unixodbc: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb 
b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb
index 62d9db8..2674d35 100644
--- a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb
+++ b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb
@@ -14,6 +14,8 @@ SRC_URI = 
"ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${PV}.tar.gz \
 SRC_URI[md5sum] = "a8629fd2953b04b4639d0a9d8a5cf9d1"
 SRC_URI[sha256sum] = 
"88b637f647c052ecc3861a3baa275c3b503b193b6a49ff8c28b2568656d14d69"
 
+UPSTREAM_CHECK_REGEX = "unixODBC-(?P\d+(\.\d+)+)\.tar"
+
 inherit autotools-brokensep
 
 S = "${WORKDIR}/unixODBC-${PV}"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 19/24] mce-inject: add UPSTREAM_CHECK_COMMITS

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/mcelog/mce-inject_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/mcelog/mce-inject_git.bb 
b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
index f876144..86d50a2 100644
--- a/meta-oe/recipes-support/mcelog/mce-inject_git.bb
+++ b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
@@ -8,6 +8,8 @@ SRC_URI = 
"git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git"
 
 SRCREV = "4cbe46321b4a81365ff3aafafe63967264dbfec5"
 
+UPSTREAM_CHECK_COMMITS = "1"
+
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6"
 
-- 
2.7.4

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


[oe] [meta-oe][PATCH 20/24] sdparm: add UPSTREAM_CHECK_REGEX

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/sdparm/sdparm_1.10.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.10.bb 
b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
index 3299a77..35e22d3 100644
--- a/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
+++ b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
@@ -12,6 +12,8 @@ SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
"
 MIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc;
 
+UPSTREAM_CHECK_REGEX = "sdparm-(?P\d+(\.\d+)+)\.tgz"
+
 PACKAGES =+ "${PN}-scripts"
 RDEPENDS_${PN}-scripts += "bash ${PN}"
 
-- 
2.7.4

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


[oe] [meta-oe][PATCH 21/24] sg3-utils: add UPSTREAM_CHECK_REGEX

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb 
b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb
index c7de057..f14a531 100644
--- a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb
+++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb
@@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=f90da7fc52172599dbf082d7620f18ca"
 SRC_URI = "http://sg.danny.cz/sg/p/sg3_utils-${PV}.tgz;
 MIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc;
 
+UPSTREAM_CHECK_REGEX = "sg3_utils-(?P\d+(\.\d+)+)\.tgz"
+
 SRC_URI[md5sum] = "28080de5bff8b55a29093bec8aea"
 SRC_URI[sha256sum] = 
"1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3"
 
-- 
2.7.4

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


[oe] [meta-oe][PATCH 18/24] lvm2: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/lvm2/lvm2.inc | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc 
b/meta-oe/recipes-support/lvm2/lvm2.inc
index 289e07d..3a1e82b 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -17,6 +17,10 @@ SRC_URI = 
"ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
file://0005-do-not-build-manual.patch \
file://0006-start-lvm2-monitor.service-after-tmp.mount.patch \
"
+
+UPSTREAM_CHECK_URI = "ftp://sources.redhat.com/pub/lvm2/;
+UPSTREAM_CHECK_REGEX = "LVM2\.(?P\d+(\.\d+)+)"
+
 S = "${WORKDIR}/LVM2.${PV}"
 
 inherit autotools-brokensep pkgconfig systemd license
-- 
2.7.4

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


[oe] [meta-oe][PATCH 17/24] libestr: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-support/libestr/libestr_0.1.10.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/libestr/libestr_0.1.10.bb 
b/meta-oe/recipes-support/libestr/libestr_0.1.10.bb
index 9bff4f3..abce8f3 100644
--- a/meta-oe/recipes-support/libestr/libestr_0.1.10.bb
+++ b/meta-oe/recipes-support/libestr/libestr_0.1.10.bb
@@ -8,4 +8,6 @@ SRC_URI = 
"http://libestr.adiscon.com/files/download/${BP}.tar.gz;
 SRC_URI[md5sum] = "f4c9165a23587e77f7efe65d676d5e8e"
 SRC_URI[sha256sum] = 
"bd655e126e750edd18544b88eb1568d200a424a0c23f665eb14bbece07ac703c"
 
+UPSTREAM_CHECK_URI = "http://libestr.adiscon.com/download/;
+
 inherit autotools
-- 
2.7.4

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


[oe] [meta-oe][PATCH 14/24] rsyslog: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb 
b/meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb
index 476540d..03f21c6 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb
@@ -33,6 +33,9 @@ SRC_URI_append_libc-musl = " \
 SRC_URI[md5sum] = "3805617f65a4b4bea34606487a5255a0"
 SRC_URI[sha256sum] = 
"220ba30b5afb0f3ddb328613fea7aa3966b01e4d0c52d6de9ab27b0858f19738"
 
+UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases;
+UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)"
+
 inherit autotools pkgconfig systemd update-rc.d ptest
 
 EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 15/24] crash: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-kernel/crash/crash_7.2.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-kernel/crash/crash_7.2.0.bb 
b/meta-oe/recipes-kernel/crash/crash_7.2.0.bb
index 9bea48e..440a69d 100644
--- a/meta-oe/recipes-kernel/crash/crash_7.2.0.bb
+++ b/meta-oe/recipes-kernel/crash/crash_7.2.0.bb
@@ -31,6 +31,8 @@ SRC_URI[sha256sum] = 
"5d076e1fefb41aa178ad3e1cef6511670efc47de5cb04d4af9bdd4e8f2
 SRC_URI[gdb.md5sum] = "a9836707337e5f7bf76a009a8904f470"
 SRC_URI[gdb.sha256sum] = 
"8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"
 
+UPSTREAM_CHECK_URI = "https://github.com/crash-utility/crash/releases;
+
 inherit gettext
 
 BBCLASSEXTEND = "native cross"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 16/24] makedumpfile: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb
index d6f2d80..38f9d24 100644
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb
+++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb
@@ -28,6 +28,9 @@ SRC_URI = "\
 SRC_URI[md5sum] = "72be5bf973eed898c5127e3abc466583"
 SRC_URI[sha256sum] = 
"ee3d21cb4032a60bd2c802d1d8b21b9f399710e1574f8de8ead5ab50cd821a6d"
 
+UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/makedumpfile/files/makedumpfile/;
+UPSTREAM_CHECK_REGEX = "makedumpfile/(?P\d+(\.\d+)+)/"
+
 SECTION = "base"
 
 # If we do not specify TARGET, makedumpfile will build for the host but use the
-- 
2.7.4

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


[oe] [meta-oe][PATCH 13/24] libreport: add UPSTREAM_CHECK_GITTAGREGEX

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-extended/libreport/libreport_2.9.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-extended/libreport/libreport_2.9.2.bb 
b/meta-oe/recipes-extended/libreport/libreport_2.9.2.bb
index f2c661c..edcccd1 100644
--- a/meta-oe/recipes-extended/libreport/libreport_2.9.2.bb
+++ b/meta-oe/recipes-extended/libreport/libreport_2.9.2.bb
@@ -19,6 +19,9 @@ SRC_URI += 
"file://0001-Makefile.am-remove-doc-and-apidoc.patch \
 file://0005-remove-python2-support.patch \
 "
 SRCREV = "cfff49f06d9d17e269d463ee71b3d94c8bfb0c58"
+
+UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
+
 S = "${WORKDIR}/git"
 
 inherit distro_features_check
-- 
2.7.4

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


[oe] [meta-oe][PATCH 10/24] hwloc: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb 
b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
index 5a335b9..4fe6729 100644
--- a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
+++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
@@ -11,6 +11,8 @@ SRC_URI = 
"https://www.open-mpi.org/software/${PN}/v1.11/downloads/${BP}.tar.bz2
 SRC_URI[md5sum] = "96c34136ff416d2b13a7821c27477bed"
 SRC_URI[sha256sum] = 
"95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24"
 
+UPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v1.11/;
+
 inherit autotools pkgconfig
 
 DEPENDS += "ncurses udev zlib"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 12/24] libpwquality: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb 
b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb
index 2c96063..f2d7922 100644
--- a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb
+++ b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb
@@ -12,6 +12,8 @@ SRC_URI = 
"https://github.com/${SRCNAME}/${SRCNAME}/releases/download/${SRCNAME}
 SRC_URI[md5sum] = "b8defcc7280a90e9400d6689c93a279c"
 SRC_URI[sha256sum] = 
"1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b"
 
+UPSTREAM_CHECK_URI = "https://github.com/libpwquality/libpwquality/releases;
+
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 DEPENDS = "cracklib virtual/gettext python3"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 09/24] haveged: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-extended/haveged/haveged_1.9.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb 
b/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb
index 05ee842..bf13673 100644
--- a/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb
+++ b/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb
@@ -12,6 +12,8 @@ SRC_URI = 
"http://www.issihosts.com/haveged/haveged-${PV}.tar.gz \
 SRC_URI[md5sum] = "fb1d8b3dcbb9d06b30eccd8aa500fd31"
 SRC_URI[sha256sum] = 
"f77d9adbdf421b61601fa29faa9ce3b479d910f73c66b9e364ba8642ccbfbe70"
 
+UPSTREAM_CHECK_URI = "http://www.issihosts.com/haveged/downloads.html;
+
 inherit autotools update-rc.d systemd
 
 EXTRA_OECONF = "\
-- 
2.7.4

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


[oe] [meta-oe][PATCH 11/24] iotop: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-extended/iotop/iotop_0.6.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-extended/iotop/iotop_0.6.bb 
b/meta-oe/recipes-extended/iotop/iotop_0.6.bb
index 5dcae98..51ea32c 100644
--- a/meta-oe/recipes-extended/iotop/iotop_0.6.bb
+++ b/meta-oe/recipes-extended/iotop/iotop_0.6.bb
@@ -12,6 +12,9 @@ SRC_URI = "http://guichaz.free.fr/iotop/files/${BP}.tar.bz2;
 SRC_URI[md5sum] = "5ef9456b26d7694abf3101a72e1e0d1d"
 SRC_URI[sha256sum] = 
"3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b"
 
+UPSTREAM_CHECK_URI = "http://repo.or.cz/iotop.git/tags;
+UPSTREAM_CHECK_REGEX = "iotop-(?P\d+(\.\d+)+)"
+
 inherit distutils
 
 do_install_append() {
-- 
2.7.4

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


[oe] [meta-oe][PATCH 06/24] libmcrypt: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb 
b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
index 2a133c6..be413a1 100644
--- a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
+++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
@@ -9,4 +9,7 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.
 SRC_URI[md5sum] = "0821830d930a86a5c69110837c55b7da"
 SRC_URI[sha256sum] = 
"e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/;
+UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P\d+(\.\d+)+)/"
+
 inherit autotools-brokensep gettext binconfig
-- 
2.7.4

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


[oe] [meta-oe][PATCH 07/24] mariadb: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc 
b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 99e7050..c49dc3c 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -22,6 +22,8 @@ SRC_URI = 
"https://downloads.mariadb.org/f/${BP}/source/${BP}.tar.gz \
 SRC_URI[md5sum] = "3cec4afc06b468687ef576c90148d10d"
 SRC_URI[sha256sum] = 
"c3269ce20b45b177239fd1e3d6d9428a94131711f12758ebf5f6578bb110"
 
+UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases;
+
 S = "${WORKDIR}/mariadb-${PV}"
 
 BINCONFIG_GLOB = "mysql_config"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 08/24] log4cplus: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-devtools/log4cplus/log4cplus_1.2.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-devtools/log4cplus/log4cplus_1.2.0.bb 
b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.2.0.bb
index 31ab9a6..b7c8358 100644
--- a/meta-oe/recipes-devtools/log4cplus/log4cplus_1.2.0.bb
+++ b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.2.0.bb
@@ -10,6 +10,9 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz
 SRC_URI[md5sum] = "e250f0f431c0723f8b625323e7b6465d"
 SRC_URI[sha256sum] = 
"ad5ec3b62f2f0bdc7f06fa398bde61091fd2493e91059e17315b5197420dcf04"
 
+UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/;
+UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P\d+(\.\d+)+)/"
+
 inherit autotools pkgconfig
 
 BBCLASSEXTEND = "native"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 02/24] libhugetlbfs: add UPSTREAM_CHECK_GITTAGREGEX

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb 
b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index a63494a..ee1b9d0 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -21,6 +21,8 @@ SRC_URI = " \
 file://Force-text-segment-alignment-to-0x0800-for-i386-.patch \
 "
 
+UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
+
 S = "${WORKDIR}/git"
 
 COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
-- 
2.7.4

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


[oe] [meta-oe][PATCH 05/24] libnet: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb 
b/meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb
index dfc2049..c991344 100644
--- a/meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb
+++ b/meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb
@@ -15,6 +15,9 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/libnet-dev/${BPN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "f051e6e5bdecddb90f77c701c2ca1804"
 SRC_URI[sha256sum] = 
"72c380785ad44183005e654b47cc12485ee0228d7fa6b0a87109ff7614be4a63"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libnet-dev/files/;
+UPSTREAM_CHECK_REGEX = "libnet-(?P\d+(\.\d+)+-*[a-z]*\d*)\.tar"
+
 S = "${WORKDIR}/${BPN}-${PV}"
 
 inherit autotools binconfig
-- 
2.7.4

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


[oe] [meta-oe][PATCH 04/24] lmsensors: add RECIPE_UPSTREAM_VERSION

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb | 8 
 1 file changed, 8 insertions(+)

diff --git a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb 
b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb
index 454a69f..f235469 100644
--- a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb
+++ b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb
@@ -16,6 +16,14 @@ SRC_URI = 
"https://github.com/groeck/lm-sensors/archive/V3-4-0.tar.gz \
 SRC_URI[md5sum] = "1e9f117cbfa11be1955adc96df71eadb"
 SRC_URI[sha256sum] = 
"e334c1c2b06f7290e3e66bdae330a5d36054701ffd47a5dde7a06f9a7402cb4e"
 
+# It is using '-' but not '.' as delimiter for the version in the releases 
page,
+# which causes the version comparison unmatched.
+#UPSTREAM_CHECK_URI = "https://github.com/groeck/lm-sensors/releases;
+
+RECIPE_UPSTREAM_VERSION = "3.4.0"
+RECIPE_UPSTREAM_DATE = "Jun 25, 2015"
+CHECK_DATE = "May 28, 2018"
+
 inherit update-rc.d systemd
 
 RDEPENDS_${PN}-dev = ""
-- 
2.7.4

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


[oe] [meta-oe][PATCH 01/24] iozone3: add UPSTREAM_CHECK_REGEX

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-benchmark/iozone3/iozone3_465.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb 
b/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
index 2864a4d..191b934 100644
--- a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
+++ b/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
@@ -13,6 +13,8 @@ SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar 
\
 SRC_URI[md5sum] = "c924e5e46fb1cf8145f420e8e57eb954"
 SRC_URI[sha256sum] = 
"2e3d72916e7d7340a7c505fc0c3d28553fcc5ff2daf41d811368e55bd4e6a293"
 
+UPSTREAM_CHECK_REGEX = "iozone3_(?P\d+).tar"
+
 S = "${WORKDIR}/${BPN}_${PV}/src/current/"
 
 #
-- 
2.7.4

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


[oe] [meta-oe][PATCH 03/24] lmbench: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb 
b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 35f2306..593b62f 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -30,6 +30,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
 SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
 SRC_URI[sha256sum] = 
"cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
 
+UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/lmbench/files/development/;
+UPSTREAM_CHECK_REGEX = "lmbench-(?P\d+(\.\d+)+-[a-z]+\d+)"
+
 EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" \
 LDFLAGS="${LDFLAGS}" LDLIBS="${LDLIBS}" LD="${LD}" 
OS="${TARGET_SYS}" \
 TARGET="${TARGET_OS}" BASE="${prefix}" MANDIR="${mandir}"'
-- 
2.7.4

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


[oe] [meta-oe][PATCH 00/24] add UPSTREAM_CHECK_URI for recipes

2018-05-29 Thread Yi Zhao
Some recipes can not get upstream version with bitbake foo -c checkpkg. Add 
UPSTREAM_CHECK_URI for these recipes.

Yi Zhao (24):
  iozone3: add UPSTREAM_CHECK_REGEX
  libhugetlbfs: add UPSTREAM_CHECK_GITTAGREGEX
  lmbench: add UPSTREAM_CHECK_URI
  lmsensors: add RECIPE_UPSTREAM_VERSION
  libnet: add UPSTREAM_CHECK_URI
  libmcrypt: add UPSTREAM_CHECK_URI
  mariadb: add UPSTREAM_CHECK_URI
  log4cplus: add UPSTREAM_CHECK_URI
  haveged: add UPSTREAM_CHECK_URI
  hwloc: add UPSTREAM_CHECK_URI
  iotop: add UPSTREAM_CHECK_URI
  libpwquality: add UPSTREAM_CHECK_URI
  libreport: add UPSTREAM_CHECK_GITTAGREGEX
  rsyslog: add UPSTREAM_CHECK_URI
  crash: add UPSTREAM_CHECK_URI
  makedumpfile: add UPSTREAM_CHECK_URI
  libestr: add UPSTREAM_CHECK_URI
  lvm2: add UPSTREAM_CHECK_URI
  mce-inject: add UPSTREAM_CHECK_COMMITS
  sdparm: add UPSTREAM_CHECK_REGEX
  sg3-utils: add UPSTREAM_CHECK_REGEX
  syslog-ng: add UPSTREAM_CHECK_URI
  thin-provisioning-tools: add UPSTREAM_CHECK_GITTAGREGEX
  unixodbc: add UPSTREAM_CHECK_URI

 meta-oe/recipes-benchmark/iozone3/iozone3_465.bb  | 2 ++
 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb| 2 ++
 meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb   | 3 +++
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb | 8 
 meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb | 3 +++
 meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb   | 3 +++
 meta-oe/recipes-dbs/mysql/mariadb.inc | 2 ++
 meta-oe/recipes-devtools/log4cplus/log4cplus_1.2.0.bb | 3 +++
 meta-oe/recipes-extended/haveged/haveged_1.9.2.bb | 2 ++
 meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb| 2 ++
 meta-oe/recipes-extended/iotop/iotop_0.6.bb   | 3 +++
 meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb   | 2 ++
 meta-oe/recipes-extended/libreport/libreport_2.9.2.bb | 3 +++
 meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb| 3 +++
 meta-oe/recipes-kernel/crash/crash_7.2.0.bb   | 2 ++
 meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb | 3 +++
 meta-oe/recipes-support/libestr/libestr_0.1.10.bb | 2 ++
 meta-oe/recipes-support/lvm2/lvm2.inc | 4 
 meta-oe/recipes-support/mcelog/mce-inject_git.bb  | 2 ++
 meta-oe/recipes-support/sdparm/sdparm_1.10.bb | 2 ++
 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb   | 2 ++
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc   | 2 ++
 .../thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb  | 2 ++
 meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb| 2 ++
 24 files changed, 64 insertions(+)
 mode change 100755 => 100644 
meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb

-- 
2.7.4

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


Re: [oe] [meta-networking][PATCH 02/12] geoip-perl: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao



在 2018年05月25日 15:54, Yi Zhao 写道:

Signed-off-by: Yi Zhao 
---
  meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb 
b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
index a8c8bcf..0a89be5 100644
--- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
+++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
@@ -18,6 +18,9 @@ SRC_URI = 
"http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
  SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
  SRC_URI[sha256sum] = 
"86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
  
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags;

+UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"


The UPSTREAM_CHECK_GITTAGREGEX should be removed. I had sent V2 patch.

//Yi


+
  S = "${WORKDIR}/geoip-api-perl-${PV}"
  
  DEPENDS += "geoip"


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


[oe] [meta-networking][PATCH 02/12 V2] geoip-perl: add UPSTREAM_CHECK_URI

2018-05-29 Thread Yi Zhao
Signed-off-by: Yi Zhao 
---
 meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb 
b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
index a8c8bcf..24fb64d 100644
--- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
+++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
@@ -18,6 +18,8 @@ SRC_URI = 
"http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downlo
 SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
 SRC_URI[sha256sum] = 
"86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
 
+UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoip-api-perl/tags;
+
 S = "${WORKDIR}/geoip-api-perl-${PV}"
 
 DEPENDS += "geoip"
-- 
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-lockfile: Fix build error as following:

2018-05-29 Thread Lei Maohui
"distutils.errors.DistutilsError: Could not find suitable distribution for 
Requirement.parse('pbr>=1.8')"

Signed-off-by: Lei Maohui 
---
 meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb 
b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
index cd15760..9ad865d 100644
--- a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
+++ b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
@@ -11,3 +11,9 @@ inherit pypi setuptools
 
 SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
 SRC_URI[sha256sum] = 
"6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+python-pbr-native \
+"
+
-- 
1.9.1



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


[oe] [meta-python] Added python modules periphery and Flask-Sijax

2018-05-29 Thread Franz Forstmayr
Hi,
I created a pull request on Github where i added recipes for python
modules periphery and Flask-Sijax.
https://github.com/openembedded/meta-openembedded/pull/80

Can someone check, if everything is ok?

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