[oe] [meta-qt5][PATCH] qmake5_base.bbclass: set qt.conf by environment variable again
Qt update to 5.8 caused fallout in meta-qt5-extra. It turned out that qmake pulled in many pointers to native sysroot. Native sysroot is qmake's default in case no configuration file qt.conf is set. The problem with the new way of setting qt.conf by cmd parameter is that is has to be set explicitly. For instance all the packages coming from [1] use autotools for configuration. These ask qmake for paths during configuration and build further Makefiles during compile. To patch these for additional cmd parameter is nasty business. Setting qt.conf when building all qtbase's causes errors during configuration. To fix this we set the filename to a non existent file so that Qt's default is used. This dirty hack was necessary because there was no way found to export an empty variable OE_QMAKE_QTCONF_PATH. This patch was tested by building huge parts of meta-qt5-extra. The meta-layers did not yet contain oe-core's recipe-specific-sysroot changes so master build might fail for missing dependencies. [1] http://www.rncbc.org/drupal/ Signed-off-by: Andreas Müller--- classes/qmake5_base.bbclass| 9 ++--- recipes-qt/qt5/nativesdk-qtbase_git.bb | 5 +++ recipes-qt/qt5/qtbase-native_git.bb| 5 +++ ...o-allow-to-set-qt.conf-from-the-outside-u.patch | 38 ++ recipes-qt/qt5/qtbase_git.bb | 5 +++ recipes-qt/qt5/qtwebengine_git.bb | 2 +- 6 files changed, 59 insertions(+), 5 deletions(-) create mode 100644 recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index 50e5a30..df8f624 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass @@ -41,8 +41,9 @@ export OE_QMAKE_LDFLAGS = "${LDFLAGS}" export OE_QMAKE_AR = "${AR}" export OE_QMAKE_STRIP = "echo" export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/wayland-scanner" -OE_QMAKE_QTCONF_PATH = "${WORKDIR}/qt.conf" -export OE_QMAKE_QTCONF = "-qtconf ${OE_QMAKE_QTCONF_PATH}" + +# qmake reads if from shell environment +export OE_QMAKE_QTCONF_PATH = "${WORKDIR}/qt.conf" inherit qmake5_paths remove-libtool @@ -170,8 +171,8 @@ qmake5_base_do_configure () { # for config.tests to read this export QMAKE_MAKE_ARGS="${EXTRA_OEMAKE}" -CMD="${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_QTCONF} ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST -- $QMAKE_VARSUBST_CONFIGURE" -${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_QTCONF} ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST -- $QMAKE_VARSUBST_CONFIGURE || die "Error calling $CMD" +CMD="${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST -- $QMAKE_VARSUBST_CONFIGURE" +${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST -- $QMAKE_VARSUBST_CONFIGURE || die "Error calling $CMD" } qmake5_base_native_do_install() { diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 7d2ce58..7a4c113 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb @@ -27,6 +27,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" # common for qtbase-native, qtbase-nativesdk and qtbase SRC_URI += "\ file://0001-Add-linux-oe-g-platform.patch \ +file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ file://0003-Add-external-hostbindir-option.patch \ file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ file://0005-configure-bump-path-length-from-256-to-512-character.patch \ @@ -92,6 +93,10 @@ QT_CONFIG_FLAGS += " \ OE_QMAKE_PATH_HOST_DATA = "${libdir}${QT_DIR_NAME}" OE_QMAKE_PATH_HOST_LIBS = "${libdir}" +# for qtbase configuration we need default settings +# since we cannot set empty set filename to a not existent file +export OE_QMAKE_QTCONF_PATH = "foodummy" + do_configure() { ${S}/configure -v \ -opensource -confirm-license \ diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index ba1be2c..9cd3dfc 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb @@ -22,6 +22,7 @@ require qt5-git.inc # common for qtbase-native, qtbase-nativesdk and qtbase SRC_URI += "\ file://0001-Add-linux-oe-g-platform.patch \ +file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ file://0003-Add-external-hostbindir-option.patch \ file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ file://0005-configure-bump-path-length-from-256-to-512-character.patch \ @@ -77,6 +78,10 @@
Re: [oe] [meta-oe] udisks: Make use of bitbake variables for sbin, lib locations.
On 2/8/17 5:06 AM, Amarnath Valluri wrote: > Signed-off-by: Amarnath Valluri> --- > meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb > b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb > index eec6933..81533a2 100644 > --- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb > +++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb > @@ -24,6 +24,12 @@ PACKAGECONFIG[parted] = > "--enable-parted,--disable-parted,parted" > > EXTRA_OECONF = "--disable-man-pages" > > +do_configure_prepend() { > + #Point to right lib,sbin directories > + sed -i -e 's;slashlibdir=/lib;slashlibdir=${base_libdir};g' \ > + -e 's;slashsbindir=/sbin;slashsbindir=${base_sbindir};g' > ${S}/configure.ac > +} > + perhaps this should be turned into a static patch. > FILES_${PN} += "${libdir}/polkit-1/extensions/*.so \ > ${datadir}/dbus-1/ \ > ${datadir}/polkit-1 \ > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-webserver][PATCH] apache: use the APACHE_MIRROR variable in the SRC_URI
Signed-off-by: Derek Straka--- meta-webserver/recipes-httpd/apache2/apache2-native_2.4.25.bb | 2 +- meta-webserver/recipes-httpd/apache2/apache2_2.4.25.bb| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.25.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.25.bb index 7a2b236..fc84872 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.25.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.25.bb @@ -8,7 +8,7 @@ LICENSE = "Apache-2.0" inherit autotools pkgconfig native -SRC_URI = "http://archive.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \ +SRC_URI = "${APACHE_MIRROR}/dist/httpd/httpd-${PV}.tar.bz2 \ file://0001-configure-use-pkg-config-for-PCRE-detection.patch \ " diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.25.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.25.bb index 9446082..b3a2dfd 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.25.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.25.bb @@ -6,7 +6,7 @@ DEPENDS = "libtool-native apache2-native openssl expat pcre apr apr-util" SECTION = "net" LICENSE = "Apache-2.0" -SRC_URI = "http://archive.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \ +SRC_URI = "${APACHE_MIRROR}/dist/httpd/httpd-${PV}.tar.bz2 \ file://server-makefile.patch \ file://httpd-2.4.1-corelimit.patch \ file://httpd-2.4.4-export.patch \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] tcpdump: update to 4.9.0 for security fixes
From: Armin KusterCVE included in this release: CVE-2016-7922 CVE-2016-7923 CVE-2016-7924 CVE-2016-7925 CVE-2016-7926 CVE-2016-7927 CVE-2016-7928 CVE-2016-7929 CVE-2016-7930 CVE-2016-7931 CVE-2016-7932 CVE-2016-7933 CVE-2016-7934 CVE-2016-7935 CVE-2016-7936 CVE-2016-7937 CVE-2016-7938 CVE-2016-7939 CVE-2016-7940 CVE-2016-7973 CVE-2016-7974 CVE-2016-7975 CVE-2016-7983 CVE-2016-7984 CVE-2016-7985 CVE-2016-7986 CVE-2016-7992 CVE-2016-7993 CVE-2016-8574 CVE-2016-8575 CVE-2017-5202 CVE-2017-5203 CVE-2017-5204 CVE-2017-5205 CVE-2017-5341 CVE-2017-5342 CVE-2017-5482 CVE-2017-5483 CVE-2017-5484 CVE-2017-5485 CVE-2017-5486 updated add-ptest patch to apply to Makefile.in Signed-off-by: Armin Kuster --- .../tcpdump/tcpdump/add-ptest.patch| 25 ++ .../tcpdump/{tcpdump_4.8.1.bb => tcpdump_4.9.0.bb} | 6 -- 2 files changed, 15 insertions(+), 16 deletions(-) rename meta-networking/recipes-support/tcpdump/{tcpdump_4.8.1.bb => tcpdump_4.9.0.bb} (90%) diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch index 358f605..196cec7 100644 --- a/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch +++ b/meta-networking/recipes-support/tcpdump/tcpdump/add-ptest.patch @@ -10,11 +10,11 @@ Signed-off-by: Hongjun.Yang Makefile.in | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -diff --git a/Makefile.in b/Makefile.in -index 8c35a45..4fb8ae6 100644 a/Makefile.in -+++ b/Makefile.in -@@ -428,9 +428,17 @@ distclean: +Index: tcpdump-4.9.0/Makefile.in +=== +--- tcpdump-4.9.0.orig/Makefile.in tcpdump-4.9.0/Makefile.in +@@ -436,9 +436,17 @@ distclean: tests/failure-outputs.txt rm -rf autom4te.cache tests/DIFF tests/NEW @@ -25,14 +25,11 @@ index 8c35a45..4fb8ae6 100644 (cd tests && ./TESTrun.sh) +install-ptest: -+ cp -r tests $(DESTDIR) -+ cp -r config.h $(DESTDIR) -+ install -m 0755 Makefile$(DESTDIR) -+ ln -sf /usr/sbin/tcpdump$(DESTDIR)/tcpdump ++ cp -r tests $(DESTDIR) ++ cp -r config.h $(DESTDIR) ++ install -m 0755 Makefile$(DESTDIR) ++ ln -sf /usr/sbin/tcpdump$(DESTDIR)/tcpdump + - tags: $(TAGFILES) - ctags -wtd $(TAGFILES) + extags: $(TAGFILES) + ctags $(TAGFILES) --- -1.9.1 - diff --git a/meta-networking/recipes-support/tcpdump/tcpdump_4.8.1.bb b/meta-networking/recipes-support/tcpdump/tcpdump_4.9.0.bb similarity index 90% rename from meta-networking/recipes-support/tcpdump/tcpdump_4.8.1.bb rename to meta-networking/recipes-support/tcpdump/tcpdump_4.9.0.bb index 35a5cfe..43e388c 100644 --- a/meta-networking/recipes-support/tcpdump/tcpdump_4.8.1.bb +++ b/meta-networking/recipes-support/tcpdump/tcpdump_4.9.0.bb @@ -12,8 +12,10 @@ SRC_URI = " \ file://add-ptest.patch \ file://run-ptest \ " -SRC_URI[md5sum] = "32f57943649f276e09236ba66622bb0c" -SRC_URI[sha256sum] = "20e4341ec48fcf72abcae312ea913e6ba6b958617b2f3fb496d51f0ae88d831c" + +SRC_URI[md5sum] = "2b83364eef53b63ca3181b4eb56dab0c" +SRC_URI[sha256sum] = "eae98121cbb1c9adbedd9a777bf2eae9fa1c1c676424a54740311c8abcee5a5e" + export LIBS=" -lpcap" inherit autotools-brokensep ptest -- 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-py: update to version 1.4.32
Signed-off-by: Derek Straka--- meta-python/recipes-devtools/python/python-py.inc | 4 ++-- .../python/{python-py_1.4.31.bb => python-py_1.4.32.bb} | 0 .../python/{python3-py_1.4.31.bb => python3-py_1.4.32.bb} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python-py_1.4.31.bb => python-py_1.4.32.bb} (100%) rename meta-python/recipes-devtools/python/{python3-py_1.4.31.bb => python3-py_1.4.32.bb} (100%) diff --git a/meta-python/recipes-devtools/python/python-py.inc b/meta-python/recipes-devtools/python/python-py.inc index 9e33b16..4ac502e 100644 --- a/meta-python/recipes-devtools/python/python-py.inc +++ b/meta-python/recipes-devtools/python/python-py.inc @@ -2,7 +2,7 @@ SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" -SRC_URI[md5sum] = "5d2c63c56dc3f2115ec35c066ecd582b" -SRC_URI[sha256sum] = "a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114" +SRC_URI[md5sum] = "68ee0b5867282595d0b410a7f3c03ab3" +SRC_URI[sha256sum] = "c4b89fd1ff1162375115608d01f77c38cca1d0f28f37fd718005e19b28be41a7" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python-py_1.4.31.bb b/meta-python/recipes-devtools/python/python-py_1.4.32.bb similarity index 100% rename from meta-python/recipes-devtools/python/python-py_1.4.31.bb rename to meta-python/recipes-devtools/python/python-py_1.4.32.bb diff --git a/meta-python/recipes-devtools/python/python3-py_1.4.31.bb b/meta-python/recipes-devtools/python/python3-py_1.4.32.bb similarity index 100% rename from meta-python/recipes-devtools/python/python3-py_1.4.31.bb rename to meta-python/recipes-devtools/python/python3-py_1.4.32.bb -- 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-sqlalchemy: update to version 1.1.5
Signed-off-by: Derek Straka--- meta-python/recipes-devtools/python/python-sqlalchemy.inc | 14 ++ ...thon-sqlalchemy_1.1.4.bb => python-sqlalchemy_1.1.5.bb} | 0 .../recipes-devtools/python/python3-sqlalchemy_1.1.4.bb| 2 -- .../recipes-devtools/python/python3-sqlalchemy_1.1.5.bb| 5 + 4 files changed, 15 insertions(+), 6 deletions(-) rename meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.4.bb => python-sqlalchemy_1.1.5.bb} (100%) delete mode 100644 meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.5.bb diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc b/meta-python/recipes-devtools/python/python-sqlalchemy.inc index 471c109..ec6433e 100644 --- a/meta-python/recipes-devtools/python/python-sqlalchemy.inc +++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc @@ -2,12 +2,18 @@ DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ application developers the full power and flexibility of SQL" HOMEPAGE = "http://www.sqlalchemy.org/; LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d7dba1721bc8ce05d421f7279cb87971" +LIC_FILES_CHKSUM = "file://LICENSE;md5=452f4b8adb0feba42e5be5f1fbfbf538" PYPI_PACKAGE = "SQLAlchemy" inherit pypi -SRC_URI[md5sum] = "be5af1bebe595206b71b513a14836e4f" -SRC_URI[sha256sum] = "701b57d628b9fa1cfb82f10665e7214d5d2db23251ca6f23b91c5f56fcdbdeb5" +SRC_URI[md5sum] = "50685d97dca4b91945ae6309d03ab8c9" +SRC_URI[sha256sum] = "68fb40049690e567ebda7b270176f5abf0d53d9fbd515fec4e43326f601119b6" -RDEPENDS_${PN} += "${PYTHON_PN}-numbers" +RDEPENDS_${PN} += " \ +${PYTHON_PN}-json \ +${PYTHON_PN}-pickle \ +${PYTHON_PN}-netclient \ +${PYTHON_PN}-numbers \ +${PYTHON_PN}-threading \ +" diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.4.bb b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.5.bb similarity index 100% rename from meta-python/recipes-devtools/python/python-sqlalchemy_1.1.4.bb rename to meta-python/recipes-devtools/python/python-sqlalchemy_1.1.5.bb diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb deleted file mode 100644 index 86cf9ed..000 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-sqlalchemy.inc diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.5.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.5.bb new file mode 100644 index 000..01f1e97 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.5.bb @@ -0,0 +1,5 @@ +inherit setuptools3 +require python-sqlalchemy.inc + +# Requires _pydecimal.py which is in misc +RDEPENDS_${PN} += "${PYTHON_PN}-enum ${PYTHON_PN}-misc" -- 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-werkzeug: update to version 0.11.15
Signed-off-by: Derek Straka--- meta-python/recipes-devtools/python/python-werkzeug.inc | 5 +++-- .../{python-werkzeug_0.11.11.bb => python-werkzeug_0.11.15.bb} | 0 .../{python3-werkzeug_0.11.11.bb => python3-werkzeug_0.11.15.bb} | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python-werkzeug_0.11.11.bb => python-werkzeug_0.11.15.bb} (100%) rename meta-python/recipes-devtools/python/{python3-werkzeug_0.11.11.bb => python3-werkzeug_0.11.15.bb} (100%) diff --git a/meta-python/recipes-devtools/python/python-werkzeug.inc b/meta-python/recipes-devtools/python/python-werkzeug.inc index 91c47ae..e469bf3 100644 --- a/meta-python/recipes-devtools/python/python-werkzeug.inc +++ b/meta-python/recipes-devtools/python/python-werkzeug.inc @@ -10,8 +10,8 @@ HOMEPAGE = "http://werkzeug.pocoo.org/; LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=a68f5361a2b2ca9fdf26b38aaecb6faa" -SRC_URI[md5sum] = "1d34afa1f19abcef4c0da51ebc2c4ea7" -SRC_URI[sha256sum] = "e72c46bc14405cba7a26bd2ce28df734471bc9016bc8b4cb69466c2c14c2f7e5" +SRC_URI[md5sum] = "cb4010478dd33905f95920e4880204a2" +SRC_URI[sha256sum] = "455d7798ac263266dbd38d4841f7534dd35ca9c3da4a8df303f8488f38f3bcc0" PYPI_PACKAGE = "Werkzeug" @@ -25,6 +25,7 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-pkgutil \ +${PYTHON_PN}-pprint \ ${PYTHON_PN}-subprocess \ ${PYTHON_PN}-threading \ ${PYTHON_PN}-unixadmin \ diff --git a/meta-python/recipes-devtools/python/python-werkzeug_0.11.11.bb b/meta-python/recipes-devtools/python/python-werkzeug_0.11.15.bb similarity index 100% rename from meta-python/recipes-devtools/python/python-werkzeug_0.11.11.bb rename to meta-python/recipes-devtools/python/python-werkzeug_0.11.15.bb diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_0.11.11.bb b/meta-python/recipes-devtools/python/python3-werkzeug_0.11.15.bb similarity index 100% rename from meta-python/recipes-devtools/python/python3-werkzeug_0.11.11.bb rename to meta-python/recipes-devtools/python/python3-werkzeug_0.11.15.bb -- 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-thrift: update to version 0.10.0
* Verified license remains the same * Added a set of RDEPENDS for minimal environments Signed-off-by: Derek Straka--- .../python-thrift/python-thrift_0.10.0.bb | 17 + .../python-thrift/python-thrift_0.9.3.bb| 8 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb delete mode 100644 meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb diff --git a/meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb b/meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb new file mode 100644 index 000..e6f61bd --- /dev/null +++ b/meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "Python bindings for the Apache Thrift RPC system" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=26a2009ddcb7c4162f8bafd5ef73c670" + +SRC_URI[md5sum] = "76bb768a210257dd203923110042e560" +SRC_URI[sha256sum] = "b7f6c09155321169af03f9fb20dc15a4a0c7481e7c334a5ba8f7f0d864633209" + +PYPI_PACKAGE_EXT = "zip" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ +${PYTHON_PN}-logging \ +${PYTHON_PN}-six \ +${PYTHON_PN}-stringold \ +${PYTHON_PN}-threading \ +" diff --git a/meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb b/meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb deleted file mode 100644 index 652de95..000 --- a/meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb +++ /dev/null @@ -1,8 +0,0 @@ -SUMMARY = "Python bindings for the Apache Thrift RPC system" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1203b6a05c3bff3229710e3f063ddca7" - -SRC_URI[md5sum] = "b519551d7a086bb0b4f222a8f566b7e8" -SRC_URI[sha256sum] = "dfbc3d3bd19d396718dab05abaf46d93ae8005e2df798ef02e32793cd963877e" - -inherit pypi setuptools -- 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-pyalsaaudio: update to version 0.8.2
Signed-off-by: Derek Straka--- .../recipes-devtools/python/python-pyalsaaudio_0.4.bb | 15 --- .../recipes-devtools/python/python-pyalsaaudio_0.8.2.bb | 13 + 2 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyalsaaudio_0.4.bb create mode 100644 meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.2.bb diff --git a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.4.bb b/meta-python/recipes-devtools/python/python-pyalsaaudio_0.4.bb deleted file mode 100644 index 0e660ad..000 --- a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.4.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Support for the Linux 2.6.x ALSA Sound System" -SECTION = "devel/python" -DEPENDS = "alsa-lib" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d" -SRCNAME = "pyalsaaudio" -PR = "ml2" - -SRC_URI = "${SOURCEFORGE_MIRROR}/pyalsaaudio/${SRCNAME}-${PV}.tar.gz" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -SRC_URI[md5sum] = "b312c28efba7db0494836a79f0a49898" -SRC_URI[sha256sum] = "07148ce16024724b17cc24c51d0f4fb78af214b09b7dc8dcb7b06e5647f4c582" diff --git a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.2.bb b/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.2.bb new file mode 100644 index 000..5408702 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.2.bb @@ -0,0 +1,13 @@ +SUMMARY = "Support for the Linux 2.6.x ALSA Sound System" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d" + +SRC_URI[md5sum] = "1f22415a3d8da4b303182ad81c2d062e" +SRC_URI[sha256sum] = "b6df486f1c4035041a5f3800496b86c64e48e4a7d47f94dcbca11b0187aa3a15" + +DEPENDS += "alsa-lib" + +inherit pypi distutils + +RDEPENDS_${PN} += "alsa-lib" -- 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 v2 1/3] libev: Add recipe for version 4.24
On Wed, Feb 8, 2017 at 10:53 AM, Khem Rajwrote: > On Wed, Feb 8, 2017 at 10:13 AM, Fabio Berton > wrote: >> Signed-off-by: Fabio Berton >> --- >> meta-oe/recipes-connectivity/libev/libev_4.24.bb | 16 >> 1 file changed, 16 insertions(+) >> create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb >> >> diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb >> b/meta-oe/recipes-connectivity/libev/libev_4.24.bb >> new file mode 100644 >> index 0..f236eacab >> --- /dev/null >> +++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb >> @@ -0,0 +1,16 @@ >> +SUMMARY = "A full-featured and high-performance event loop that is loosely \ >> +modelled after libevent." >> +HOMEPAGE = "http://software.schmorp.de/pkg/libev.html; >> +LICENSE = "BSD-2-Clause | GPL-2.0+" >> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347" >> + >> +SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz; >> + >> +SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54" >> +SRC_URI[sha256sum] = >> "973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821" >> + >> +S = "${WORKDIR}/${PN}-${PV}" >> + >> +inherit autotools >> + >> +EXTRA_OECONF += "--with-pic" > > this looks good. I also have an after thought where libevent will > conflict with libev when it comes to who provides event.h file. The libevent header is deprecated and everything should be using instead. So the simple fix would be for libevent to stop installing the legacy header. > So we > need to note that conflict down as well. May be a follow up. It wont > show up as much when we have rss now however SDKs and dev images will > show this up where we will unify the rootfs. > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH 1/4] lvm2: remove unbuildable 2.02.138
Can you check if this is the last gpl2 version On Wed, Feb 8, 2017 at 1:39 AM Patrick Ohlywrote: > The patches defined in lvm2.inc no longer apply cleanly to 2.02.138 > and as no-one has complained, the old version is probably obsolete > and can be removed. > > Signed-off-by: Patrick Ohly > --- > meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb | 4 > 1 file changed, 4 deletions(-) > delete mode 100644 meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb > > diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb > b/meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb > deleted file mode 100644 > index 13a866e..000 > --- a/meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb > +++ /dev/null > @@ -1,4 +0,0 @@ > -require lvm2.inc > - > -SRC_URI[md5sum] = "c660e02ad4586a1d297b6befbe85556d" > -SRC_URI[sha256sum] = > "93878a4ba4f70d9f2d0d919eb85bc51652a58776b5428ec8e7e32769d332f596" > -- > git-series 0.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 v2 3/3] libwebsockets: Add recipe for version 2.1.0
On Wed, Feb 8, 2017 at 10:13 AM, Fabio Bertonwrote: > Signed-off-by: Fabio Berton > --- > .../libwebsockets/libwebsockets_2.1.0.bb | 32 > ++ > 1 file changed, 32 insertions(+) > create mode 100644 > meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb > > diff --git > a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb > b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb > new file mode 100644 > index 0..316b38d3b > --- /dev/null > +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb > @@ -0,0 +1,32 @@ > +SUMMARY = "Canonical libwebsockets.org websocket library" > +HOMEPAGE = "https://libwebsockets.org/; > +LICENSE = "LGPL-2.1" > +LIC_FILES_CHKSUM = > "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" GPL-2.0 looks wrong given that LICENSE is LGPL and not GPL? Define LIC_FILES_CHKSUM in terms of a file from within the libwebsockets source tree instead. > + > +DEPENDS = "zlib" > + > +SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz; > + > +SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50" > +SRC_URI[sha256sum] = > "bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66" > + > +S = "${WORKDIR}/${PN}-${PV}" That's the default, so doesn't need to be specified. > +inherit cmake pkgconfig > + > +PACKAGECONFIG ?= "libuv client server http2 ssl" > +PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev" > +PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv" > +PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," > +PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON," > +PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," > +PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," > +PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl" > +PACKAGECONFIG[testapps] = > "-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON," Maybe sort this list of PACKAGECONFIG options (unless the current order has some special significance?). > + > +PACKAGES =+ "${PN}-testapps" > + > +FILES_${PN}-dev += "${libdir}/cmake/libwebsockets/*.cmake" The "convention" in various other recipes seems to be simply: FILES_${PN}-dev += "${libdir}/cmake" > +FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*" > + > +RDEPENDS_${PN} += "zlib" Explicitly defining a runtime dependency on a library isn't normally required since it will be detected automatically. If it is required in this case then please explain why in the commit message. > 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-qt5][PATCH v2] qt3d: Add assimp dependency
RSS: http://git.openembedded.org/openembedded-core/commit/?id=809746f56df4b91af014bf6a3f28997d6698ac78 http://lists.openembedded.org/pipermail/openembedded-architecture/2017-January/000384.html and following threads For morty and older releases you need to disable autodetection in qt3d sources when the assimp PACKAGECONFIG is not enabled (see PACKAGECONFIG in other recipes for some examples how to do it - but for qt5 it's often tricky as it rarely has enable/disable options usable in configure and has to be patched). Otherwise assimp can still be detected when it's built as a dependency of some other recipe and might be removed from sysroot while qt3d build is already running and causing the issues you were trying to fix. On Wed, Feb 8, 2017 at 6:42 PM, Tom Hochsteinwrote: > > > > -Original Message- > > From: openembedded-devel-boun...@lists.openembedded.org [mailto: > openembedded-devel-boun...@lists.openembedded.org] On > > Behalf Of Martin Jansa > > Sent: Tuesday, February 07, 2017 6:01 AM > > To: openembedded-devel@lists.openembedded.org > > Subject: Re: [oe] [meta-qt5][PATCH v2] qt3d: Add assimp dependency > > > > On Fri, Jan 27, 2017 at 04:54:00PM -0600, Tom Hochstein wrote: > > > Fix build error: > > > > > > fatal error: assimp/Importer.hpp: No such file or directory > > > > I'm was able to build qt3d without this dependency, is there something > > in your config which enabled it? Or is it autodetected from sysroot > > which wont be an issue anymore with master and RSS, but your change > > doesn't fix the autodetection for older branches. > > We do enable assimp from another recipe. > > I am unable to reproduce the original problem either. > > Without the explicit dependency, it would seem that the build would at > best be non-deterministic, enabling or disabling assimp support based > solely on the timing of the Yocto tasks. I'm not aware of the technologies > you allude to. Do they provide some determinism for this case? > > > > > > Signed-off-by: Tom Hochstein > > > --- > > > recipes-qt/qt5/qt3d_git.bb | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb > > > index 2276c36..7c31213 100644 > > > --- a/recipes-qt/qt5/qt3d_git.bb > > > +++ b/recipes-qt/qt5/qt3d_git.bb > > > @@ -19,6 +19,7 @@ PACKAGECONFIG ??= "" > > > PACKAGECONFIG_class-native ??= "tools-only" > > > PACKAGECONFIG_class-nativesdk ??= "tools-only" > > > PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" > > > +PACKAGECONFIG[assimp] = ",,assimp" > > > > > > EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" > > > > > > -- > > > 1.9.1 > > > > > > -- > > > ___ > > > Openembedded-devel mailing list > > > Openembedded-devel@lists.openembedded.org > > > > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. > openembedded.org%2Fmailman%2Flistinfo%2Fopenembedde > > d- > > devel=01%7C01%7Ctom.hochstein%40nxp.com% > 7Cfa462298ac744a52797808d44f50f020%7C686ea1d3bc2b4c6fa92cd99c5c301635 > > %7C0=mLf9Lt9hQ5Rn8Ygbq7PczLY4Ix%2BscnMCbhC%2BDyUwLLM%3D=0 > > > > -- > > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com > -- > ___ > 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-python][PATCH] gateone: correct the inherit to use setuptools
Signed-off-by: Derek Straka--- meta-python/recipes-connectivity/gateone/gateone_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-connectivity/gateone/gateone_git.bb b/meta-python/recipes-connectivity/gateone/gateone_git.bb index 5323554..8b2a192 100644 --- a/meta-python/recipes-connectivity/gateone/gateone_git.bb +++ b/meta-python/recipes-connectivity/gateone/gateone_git.bb @@ -14,7 +14,7 @@ SRC_URI = "git://github.com/liftoff/GateOne.git;branch=master \ S = "${WORKDIR}/git" -inherit distutils python-dir systemd update-rc.d +inherit setuptools python-dir systemd update-rc.d DISTUTILS_INSTALL_ARGS = "--root=${D} \ --prefix=${prefix} \ -- 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-pbr: change the dependency to be a RDEPENDS and fix build issues
Signed-off-by: Derek Straka--- meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb index fd35197..7fddf7a 100644 --- a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb @@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd66 inherit pypi setuptools -DEPENDS_class-target += " \ +RDEPENDS_${PN}_class-target += " \ python-pip \ " -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt5][PATCH v2] qt3d: Add assimp dependency
> -Original Message- > From: openembedded-devel-boun...@lists.openembedded.org > [mailto:openembedded-devel-boun...@lists.openembedded.org] On > Behalf Of Martin Jansa > Sent: Tuesday, February 07, 2017 6:01 AM > To: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-qt5][PATCH v2] qt3d: Add assimp dependency > > On Fri, Jan 27, 2017 at 04:54:00PM -0600, Tom Hochstein wrote: > > Fix build error: > > > > fatal error: assimp/Importer.hpp: No such file or directory > > I'm was able to build qt3d without this dependency, is there something > in your config which enabled it? Or is it autodetected from sysroot > which wont be an issue anymore with master and RSS, but your change > doesn't fix the autodetection for older branches. We do enable assimp from another recipe. I am unable to reproduce the original problem either. Without the explicit dependency, it would seem that the build would at best be non-deterministic, enabling or disabling assimp support based solely on the timing of the Yocto tasks. I'm not aware of the technologies you allude to. Do they provide some determinism for this case? > > > Signed-off-by: Tom Hochstein> > --- > > recipes-qt/qt5/qt3d_git.bb | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb > > index 2276c36..7c31213 100644 > > --- a/recipes-qt/qt5/qt3d_git.bb > > +++ b/recipes-qt/qt5/qt3d_git.bb > > @@ -19,6 +19,7 @@ PACKAGECONFIG ??= "" > > PACKAGECONFIG_class-native ??= "tools-only" > > PACKAGECONFIG_class-nativesdk ??= "tools-only" > > PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" > > +PACKAGECONFIG[assimp] = ",,assimp" > > > > EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" > > > > -- > > 1.9.1 > > > > -- > > ___ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openembedded.org%2Fmailman%2Flistinfo%2Fopenembedde > d- > devel=01%7C01%7Ctom.hochstein%40nxp.com%7Cfa462298ac744a52797808d44f50f020%7C686ea1d3bc2b4c6fa92cd99c5c301635 > %7C0=mLf9Lt9hQ5Rn8Ygbq7PczLY4Ix%2BscnMCbhC%2BDyUwLLM%3D=0 > > -- > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] why is the current version of netdata "1.0.1+git${SRCPV}"?
http://lists.openembedded.org/pipermail/openembedded-devel/2017-January/110784.html On Wed, Feb 8, 2017 at 6:57 PM, Robert P. J. Daywrote: > > just noticed recipe file "netdata_git.bb", with the above setting > for PV ... apparently, there was a very recent tagging with "v1.5.0", > is there any value in upgrading(?) to that newer version? or at least > adding a fixed version of the recipe to go with the git version? > rday > > -- > > > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > > > -- > ___ > 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 1/3] libev: Add recipe for version 4.24
On Wed, Feb 8, 2017 at 10:13 AM, Fabio Bertonwrote: > Signed-off-by: Fabio Berton > --- > meta-oe/recipes-connectivity/libev/libev_4.24.bb | 16 > 1 file changed, 16 insertions(+) > create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb > > diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb > b/meta-oe/recipes-connectivity/libev/libev_4.24.bb > new file mode 100644 > index 0..f236eacab > --- /dev/null > +++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb > @@ -0,0 +1,16 @@ > +SUMMARY = "A full-featured and high-performance event loop that is loosely \ > +modelled after libevent." > +HOMEPAGE = "http://software.schmorp.de/pkg/libev.html; > +LICENSE = "BSD-2-Clause | GPL-2.0+" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347" > + > +SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz; > + > +SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54" > +SRC_URI[sha256sum] = > "973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821" > + > +S = "${WORKDIR}/${PN}-${PV}" > + > +inherit autotools > + > +EXTRA_OECONF += "--with-pic" this looks good. I also have an after thought where libevent will conflict with libev when it comes to who provides event.h file. So we need to note that conflict down as well. May be a follow up. It wont show up as much when we have rss now however SDKs and dev images will show this up where we will unify the rootfs. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 3/3] libwebsockets: Add recipe for version 2.1.0
Signed-off-by: Fabio Berton--- .../libwebsockets/libwebsockets_2.1.0.bb | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb new file mode 100644 index 0..316b38d3b --- /dev/null +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb @@ -0,0 +1,32 @@ +SUMMARY = "Canonical libwebsockets.org websocket library" +HOMEPAGE = "https://libwebsockets.org/; +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +DEPENDS = "zlib" + +SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz; + +SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50" +SRC_URI[sha256sum] = "bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66" + +S = "${WORKDIR}/${PN}-${PV}" + +inherit cmake pkgconfig + +PACKAGECONFIG ?= "libuv client server http2 ssl" +PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev" +PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv" +PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," +PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON," +PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," +PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," +PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl" +PACKAGECONFIG[testapps] = "-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON," + +PACKAGES =+ "${PN}-testapps" + +FILES_${PN}-dev += "${libdir}/cmake/libwebsockets/*.cmake" +FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*" + +RDEPENDS_${PN} += "zlib" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 1/3] libev: Add recipe for version 4.24
Signed-off-by: Fabio Berton--- meta-oe/recipes-connectivity/libev/libev_4.24.bb | 16 1 file changed, 16 insertions(+) create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb b/meta-oe/recipes-connectivity/libev/libev_4.24.bb new file mode 100644 index 0..f236eacab --- /dev/null +++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb @@ -0,0 +1,16 @@ +SUMMARY = "A full-featured and high-performance event loop that is loosely \ +modelled after libevent." +HOMEPAGE = "http://software.schmorp.de/pkg/libev.html; +LICENSE = "BSD-2-Clause | GPL-2.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347" + +SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz; + +SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54" +SRC_URI[sha256sum] = "973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821" + +S = "${WORKDIR}/${PN}-${PV}" + +inherit autotools + +EXTRA_OECONF += "--with-pic" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2 2/3] libuv: Add recipe for version 1.10.2
Signed-off-by: Fabio Berton--- meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb diff --git a/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb new file mode 100644 index 0..fbdbeaa89 --- /dev/null +++ b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb @@ -0,0 +1,19 @@ +SUMMARY = "A multi-platform support library with a focus on asynchronous I/O" +HOMEPAGE = "https://github.com/libuv/libuv; +BUGTRACKER = "https://github.com/libuv/libuv/issues; +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775" + +SRC_URI = "https://github.com/libuv/${PN}/archive/v${PV}.tar.gz; + +SRC_URI[md5sum] = "6e16d1d1ca464add0730d637effb1c1c" +SRC_URI[sha256sum] = "2d740a2adea0f1a19058626f55a076ac41a4ac1f95d4e57cae0c8a634a6cd63b" + +S = "${WORKDIR}/${PN}-${PV}" + +inherit autotools + +do_configure() { +${S}/autogen.sh || bbnote "${PN} failed to autogen.sh" +oe_runconf +} -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] why is the current version of netdata "1.0.1+git${SRCPV}"?
just noticed recipe file "netdata_git.bb", with the above setting for PV ... apparently, there was a very recent tagging with "v1.5.0", is there any value in upgrading(?) to that newer version? or at least adding a fixed version of the recipe to go with the git version? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-gnome][PATCH v02 3/3] dconf: make gtk+3 dependency optional
On Wed, Feb 8, 2017 at 3:31 PM,wrote: > From: Andy Kling > > dconf requires gtk+3 only for dconf-editor and is useful > even on systems without gui. > > add PACKAGECONFIG for editor, enable it by default if x11 > is present in DISTRO_FEATURES > > add gtk+3 to DEPENDS only if editor is present in PACKAGECONFIG > > add x11 to REQUIRED_DISTRO_FEATURES only if editor is enabled > > Note: editor will be dropped from dconf in version 0.23.1 > --- > meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > index f7666cc0f..8c66958a6 100644 > --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > @@ -9,15 +9,20 @@ SRC_URI[archive.md5sum] = "69a12ed68893f2e1e81ac4e531bc1515" > SRC_URI[archive.sha256sum] = > "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955" > GNOME_COMPRESS_TYPE = "xz" > > -DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native" > +DEPENDS = "dbus glib-2.0 libxml2 intltool-native > ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk+3", "", d)}" > > inherit vala gtk-doc distro_features_check > > -REQUIRED_DISTRO_FEATURES = "x11" > +PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "editor", > "", d)}" > + > +#note: editor will be removed in version 0.23.1 > +PACKAGECONFIG[editor] = "--enable-editor,--disable-editor,gtk+3" You add gtk+3 twice: in DEPENDS above and here. Just keep it in PACKAGECONFIG Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-gnome][PATCH v02 3/3] dconf: make gtk+3 dependency optional
From: Andy Klingdconf requires gtk+3 only for dconf-editor and is useful even on systems without gui. add PACKAGECONFIG for editor, enable it by default if x11 is present in DISTRO_FEATURES add gtk+3 to DEPENDS only if editor is present in PACKAGECONFIG add x11 to REQUIRED_DISTRO_FEATURES only if editor is enabled Note: editor will be dropped from dconf in version 0.23.1 --- meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb index f7666cc0f..8c66958a6 100644 --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb @@ -9,15 +9,20 @@ SRC_URI[archive.md5sum] = "69a12ed68893f2e1e81ac4e531bc1515" SRC_URI[archive.sha256sum] = "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955" GNOME_COMPRESS_TYPE = "xz" -DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native" +DEPENDS = "dbus glib-2.0 libxml2 intltool-native ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk+3", "", d)}" inherit vala gtk-doc distro_features_check -REQUIRED_DISTRO_FEATURES = "x11" +PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "editor", "", d)}" + +#note: editor will be removed in version 0.23.1 +PACKAGECONFIG[editor] = "--enable-editor,--disable-editor,gtk+3" + +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains("PACKAGECONFIG", "editor", "x11", "", d)}" EXTRA_OECONF += "--disable-man" -PACKAGES =+ "dconf-editor" +PACKAGES =+ "${@bb.utils.contains("DISTRO_FEATURES", "x11", "dconf-editor", "", d)}" FILES_${PN} += " \ ${datadir}/dbus-1 \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-gnome][PATCH v02 1/3] dconf: depends on dbus
From: Andy Klingconfigure of dconf requires dbus | checking for dbus... no | configure: error: Package requirements (dbus-1) were not met: | | No package 'dbus-1' found --- meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb index f38be880f..2830e717b 100644 --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb @@ -9,7 +9,7 @@ SRC_URI[archive.md5sum] = "69a12ed68893f2e1e81ac4e531bc1515" SRC_URI[archive.sha256sum] = "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955" GNOME_COMPRESS_TYPE = "xz" -DEPENDS = "glib-2.0 gtk+3 libxml2 intltool-native" +DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native" inherit vala gtk-doc distro_features_check -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-gnome][PATCH v02 2/3] dconf: fix bash completion in wrong package
From: Andy Klingbash completion is used by dconf itself not by editor. move file to main package. --- meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb index 2830e717b..f7666cc0f 100644 --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb @@ -22,10 +22,10 @@ PACKAGES =+ "dconf-editor" FILES_${PN} += " \ ${datadir}/dbus-1 \ ${libdir}/gio/modules/*.so \ +${datadir}/bash-completion \ " FILES_dconf-editor = " \ ${bindir}/dconf-editor \ ${datadir}/icons \ -${datadir}/bash-completion \ " FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/libdconfsettings.so" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] dconf: conditionally depend on gtk+3
v02 fix typo introduced during rebase sorry for the noise :/ -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-gnome][PATCH 3/3] dconf: make gtk+3 dependency optional
From: Andy Klingdconf requires gtk+3 only for dconf-editor and is useful even on systems without gui. add PACKAGECONFIG for editor, enable it by default if x11 is present in DISTRO_FEATURES add gtk+3 to DEPENDS only if editor is present in PACKAGECONFIG add x11 to REQUIRED_DISTRO_FEATURES only if editor is enabled Note: editor will be dropped from dconf in version 0.23.1 --- meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb index f7666cc0f..0b5970ec1 100644 --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb @@ -9,15 +9,20 @@ SRC_URI[archive.md5sum] = "69a12ed68893f2e1e81ac4e531bc1515" SRC_URI[archive.sha256sum] = "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955" GNOME_COMPRESS_TYPE = "xz" -DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native" +DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk+3", "", d)}" inherit vala gtk-doc distro_features_check -REQUIRED_DISTRO_FEATURES = "x11" +PACKAGECONFIG ??= " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "editor", "", d)}" + +#note: editor will be removed in version 0.23.1 +PACKAGECONFIG[editor] = "--enable-editor,--disable-editor,gtk+3" + +REQUIRED_DISTRO_FEATURES = ${@bb.utils.contains("PACKAGECONFIG", "editor", "x11", "", d)}" EXTRA_OECONF += "--disable-man" -PACKAGES =+ "dconf-editor" +PACKAGES =+ "${@bb.utils.contains("DISTRO_FEATURES", "x11", "dconf-editor", "", d)}" FILES_${PN} += " \ ${datadir}/dbus-1 \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-gnome][PATCH 2/3] dconf: fix bash completion in wrong package
From: Andy Klingbash completion is used by dconf itself not by editor. move file to main package. --- meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb index 2830e717b..f7666cc0f 100644 --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb @@ -22,10 +22,10 @@ PACKAGES =+ "dconf-editor" FILES_${PN} += " \ ${datadir}/dbus-1 \ ${libdir}/gio/modules/*.so \ +${datadir}/bash-completion \ " FILES_dconf-editor = " \ ${bindir}/dconf-editor \ ${datadir}/icons \ -${datadir}/bash-completion \ " FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/libdconfsettings.so" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-gnome][PATCH 1/3] dconf: depends on dbus
From: Andy Klingconfigure of dconf requires dbus | checking for dbus... no | configure: error: Package requirements (dbus-1) were not met: | | No package 'dbus-1' found --- meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb index f38be880f..2830e717b 100644 --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb @@ -9,7 +9,7 @@ SRC_URI[archive.md5sum] = "69a12ed68893f2e1e81ac4e531bc1515" SRC_URI[archive.sha256sum] = "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955" GNOME_COMPRESS_TYPE = "xz" -DEPENDS = "glib-2.0 gtk+3 libxml2 intltool-native" +DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native" inherit vala gtk-doc distro_features_check -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] dconf: conditionally depend on gtk+3
dconf only uses gtk for dconf-editor. compiling editor conditionally allows to remove the hard dependency. so dconf can be used on systems without GUI. while writing this patch I came across some minor bugs that are also fixed with this series. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-filesystem] aufs-utils: Replace install paths with appropriate bitbake environment
autf-utils Makefile is using hardcoded /bin, /sbin paths, instead we should respect the bitbake environment. This change makes the recipe portable to environments where ${base_bindir} != /bin or ${base_sbindir} != /sbin. Signed-off-by: Amarnath Valluri--- meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb index 8980980..3d59e50 100644 --- a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb +++ b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb @@ -18,6 +18,13 @@ PV = "3.14+git${SRCPV}" S = "${WORKDIR}/git" +do_configure_prepend() { + # Replace sbin,bin paths with bitbake environment + sed -i -e 's;install_sbin: Tgt = ${DESTDIR}/sbin;install_sbin: Tgt = ${DESTDIR}/${base_sbindir};' \ + -e 's;install_ubin: Tgt = ${DESTDIR}/usr/sbin;install_sbin: Tgt = ${DESTDIR}/${bindir};' \ + ${S}/Makefile +} + do_configure_append () { install -d ${S}/include/linux/ cp ${WORKDIR}/aufs_type.h ${S}/include/linux/ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking] inetutils: Move files only when src != dst.
While moving files from ${bindir} to ${base_bindir} check if both are same. Signed-off-by: Amarnath Valluri--- meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb index a8c4025..c43aa64 100644 --- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb +++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb @@ -58,14 +58,16 @@ do_configure_prepend () { } do_install_append () { -install -m 0755 -d ${D}${base_bindir} install -m 0755 -d ${D}${base_sbindir} install -m 0755 -d ${D}${sbindir} install -m 0755 -d ${D}${sysconfdir}/xinetd.d -mv ${D}${bindir}/ping* ${D}${base_bindir}/ +if [ "${base_bindir}" != "${bindir}" ] ; then + install -m 0755 -d ${D}${base_bindir} + mv ${D}${bindir}/ping* ${D}${base_bindir}/ + mv ${D}${bindir}/hostname ${D}${base_bindir}/ +fi mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ mv ${D}${libexecdir}/syslogd ${D}${base_sbindir}/ -mv ${D}${bindir}/hostname ${D}${base_bindir}/ mv ${D}${libexecdir}/tftpd ${D}${sbindir}/in.tftpd mv ${D}${libexecdir}/telnetd ${D}${sbindir}/in.telnetd mv ${D}${libexecdir}/rexecd ${D}${sbindir}/in.rexecd -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking] netcf_git: Check if src != dst while moving files.
Signed-off-by: Amarnath Valluri--- meta-networking/recipes-support/netcf/netcf_git.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb index ed713ac..4ffd3db 100644 --- a/meta-networking/recipes-support/netcf/netcf_git.bb +++ b/meta-networking/recipes-support/netcf/netcf_git.bb @@ -47,9 +47,11 @@ do_install_append() { if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_unitdir}/system if [ -d "${D}${libdir}/systemd/system" ]; then - mv ${D}${libdir}/systemd/system/* ${D}${systemd_unitdir}/system/ - rm -rf ${D}${libdir}/systemd/ - else + if [ "${systemd_unitdir}" != "${libdir}/systemd" ] ; then + mv ${D}${libdir}/systemd/system/* ${D}${systemd_unitdir}/system/ + rm -rf ${D}${libdir}/systemd/ + fi + elif [ "${systemd_unitdir}" != "${nonarch_libdir}/systemd" ] ; then mv ${D}${nonarch_libdir}/systemd/system/* ${D}${systemd_unitdir}/system/ rm -rf ${D}${nonarch_libdir}/systemd/ fi -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking] ebtables: Move files only when src != dst.
While moving files from ${base_sbindir} to ${sbindir} check if both are same. Signed-off-by: Amarnath Valluri--- meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb index d24b81b..f5e2871 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb @@ -70,8 +70,10 @@ do_install () { # The script ebtables-save refernces perl in exec_prefix, so # move it to sbindir to avoid QA issue -install -d ${D}/${sbindir} -mv ${D}/${base_sbindir}/ebtables-save ${D}/${sbindir} +if ${base_sbindir} != ${sbindir} ; then + install -d ${D}/${sbindir} + mv ${D}/${base_sbindir}/ebtables-save ${D}/${sbindir} +fi # Install systemd service files install -d ${D}${systemd_unitdir}/system -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] libgphoto: Replace 'lib' with ${nonarch_base_libdir}
Make use of bitbake variable for udev ruls folder. This change makes the recipe more portable. Signed-off-by: Amarnath Valluri--- meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb index 098da79..fa07cd3 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb @@ -23,7 +23,7 @@ SRC_URI[libgphoto2.sha256sum] = "031a262e342fae43f724afe66787947ce1fb483277dfe5a inherit autotools pkgconfig gettext lib_package -EXTRA_OECONF = " --with-drivers=all udevscriptdir=/lib/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes" +EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes" PACKAGECONFIG ??= "" PACKAGECONFIG[gd] = ",--without-gdlib,gd" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] xf86-input-tslib: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
Signed-off-by: Amarnath Valluri--- meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb index 082c771..6a3689a 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb @@ -28,8 +28,8 @@ do_configure_prepend() { do_install_append() { install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty -install -d ${D}/lib/udev/rules.d -install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/lib/udev/rules.d/ +install -d ${D}${nonarch_base_libdir}/udev/rules.d +install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/ } -FILES_${PN} += "${datadir}/hal /lib/udev" +FILES_${PN} += "${datadir}/hal ${nonarch_base_libdir}/udev" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] lvm2: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
Signed-off-by: Amarnath Valluri--- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 7bd26c0..bd20390 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -37,7 +37,7 @@ EXTRA_OECONF = "--with-user= \ --enable-pkgconfig \ --enable-dmeventd \ --enable-lvmetad \ ---with-udev-prefix= \ +--with-udevidir=${nonarch_base_libdir}/udev/rules.d \ --with-usrlibdir=${libdir} \ --with-systemdsystemunitdir=${systemd_system_unitdir} \ --disable-thin_check_needs_check \ @@ -70,7 +70,7 @@ SYSTEMD_AUTO_ENABLE = "disable" TARGET_CC_ARCH += "${LDFLAGS}" -FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev" +FILES_${PN} += "${libdir}/device-mapper/*.so ${nonarch_base_libdir}/udev" FILES_${PN}-dbg += "${libdir}/device-mapper/.debug" RDEPENDS_${PN} = "bash" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] multipath-tools: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
Signed-off-by: Amarnath Valluri--- meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb index 6bd6118..ea191a0 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb @@ -46,7 +46,7 @@ TARGET_CC_ARCH += "${LDFLAGS}" EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \ OPTFLAGS="${CFLAGS}" \ LIB=${base_libdir} libdir=${base_libdir}/multipath \ -unitdir=/lib/systemd/system \ +unitdir/=${systemd_system_unitdir} \ ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \ ' @@ -68,11 +68,12 @@ FILES_${PN}-dbg += "${base_libdir}/multipath/.debug" # systemd and udev stuff always goes under /lib! # FILES_${PN} += "${base_libdir}/multipath \ -/lib/systemd" +${systemd_system_unitdir} \ + " PACKAGES =+ "kpartx" FILES_kpartx = "${base_sbindir}/kpartx \ -/usr/lib/udev/kpartx_id \ +${nonarch_libdir}/udev/kpartx_id \ " RDEPENDS_${PN} += "kpartx" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] openct: Replace /lib/udev with ${nonarch_base_libdir}/udev.
Signed-off-by: Amarnath Valluri--- meta-oe/recipes-support/openct/openct_0.6.20.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/openct/openct_0.6.20.bb b/meta-oe/recipes-support/openct/openct_0.6.20.bb index d4ad9c1..85ca851 100644 --- a/meta-oe/recipes-support/openct/openct_0.6.20.bb +++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb @@ -34,7 +34,7 @@ EXTRA_OECONF=" \ --enable-pcsc \ --enable-doc \ --enable-api-doc \ ---with-udev=/lib/udev \ +--with-udev=${nonarch_base_libdir}/udev \ --with-bundle=${libdir}/pcsc/drivers \ " @@ -42,7 +42,7 @@ inherit autotools pkgconfig FILES_${PN} += " \ ${libdir}/ctapi \ -/lib/udev \ +${nonarch_base_libdir}/udev \ ${libdir}/openct-ifd.so \ ${libdir}/pcsc \ /run/openct/status \ @@ -62,7 +62,7 @@ do_install_append() { do_install () { rm -rf ${D} install -d ${D}/etc -install -dm 755 ${D}/lib/udev +install -dm 755 ${D}${nonarch_base_libdir}/udev # fix up hardcoded paths sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \ ${WORKDIR}/openct.service ${WORKDIR}/openct.init -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] udisks: Make use of bitbake variables for sbin, lib locations.
Signed-off-by: Amarnath Valluri--- meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb index eec6933..81533a2 100644 --- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb +++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb @@ -24,6 +24,12 @@ PACKAGECONFIG[parted] = "--enable-parted,--disable-parted,parted" EXTRA_OECONF = "--disable-man-pages" +do_configure_prepend() { + #Point to right lib,sbin directories + sed -i -e 's;slashlibdir=/lib;slashlibdir=${base_libdir};g' \ + -e 's;slashsbindir=/sbin;slashsbindir=${base_sbindir};g' ${S}/configure.ac +} + FILES_${PN} += "${libdir}/polkit-1/extensions/*.so \ ${datadir}/dbus-1/ \ ${datadir}/polkit-1 \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] State of bitbake world, Failed tasks 2017-02-07
== Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!colspan='6'|Failed depencencies!!|Signatures !!colspan='12'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64 ||qemuarm||max||min ||qemux86||max||min ||all ||already-stripped ||libdir||textrel ||build-deps||file-rdeps ||version-going-backwards ||host-user-contaminated ||installed-vs-shipped ||unknown-configure-option ||symlink-to-sysroot ||invalid-pkgconfig ||pkgname || |- ||2017-02-07||99||102 ||104 ||N/A ||N/A ||N/A ||N/A ||N/A ||N/A ||0 ||0 ||0 ||2 ||0 ||5 ||314 ||0 ||2 ||0 ||0 ||0 ||0 || |} http://www.openembedded.org/wiki/Bitbake_World_Status == Failed tasks 2017-02-07 == INFO: jenkins-job.sh-1.8.15 Complete log available at http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.report.20170208_013442.log === common (96) === * meta-browser/recipes-mozilla/firefox-addon/firefox-addon-webconverger_git.bb:do_install * meta-openembedded/meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb:do_configure * meta-openembedded/meta-efl/recipes-efl/e17/exquisite_svn.bb:do_compile * meta-openembedded/meta-efl/recipes-efl/efl/elementary_1.15.1.bb:do_compile * meta-openembedded/meta-efl/recipes-efl/efl/libeweather_svn.bb:do_compile * meta-openembedded/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_0.26.bb:do_compile * meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb:do_compile * meta-openembedded/meta-gnome/recipes-apps/gnome-mplayer/gmtk_1.0.5.bb:do_configure * meta-openembedded/meta-gnome/recipes-gnome/devilspie/devilspie2_0.33.bb:do_compile * meta-openembedded/meta-gnome/recipes-gnome/gnome-backgrounds/gnome-backgrounds_2.32.0.bb:do_configure * meta-openembedded/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_2.32.1.bb:do_compile * meta-openembedded/meta-gnome/recipes-gnome/gnome-mime-data/gnome-mime-data_2.18.0.bb:do_configure * meta-openembedded/meta-gnome/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb:do_configure * meta-openembedded/meta-gnome/recipes-gnome/gtksourceview/gtksourceview2_2.10.5.bb:do_configure * meta-openembedded/meta-gnome/recipes-gnome/libgnome/libgnomekbd_2.32.0.bb:do_configure * meta-openembedded/meta-gnome/recipes-gnome/libidl/libidl-native_0.8.14.bb:do_configure * meta-openembedded/meta-gnome/recipes-support/onboard/onboard_1.3.0.bb:do_compile * meta-openembedded/meta-gpe/recipes-graphics/libgpewidget/libgpewidget_0.117.bb:do_compile * meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb:do_compile * meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:do_configure * meta-openembedded/meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_0.2.2.bb:do_compile * meta-openembedded/meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.10.bb:do_configure * meta-openembedded/meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb:do_fetch * meta-openembedded/meta-multimedia/recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb:do_compile * meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb:do_configure * meta-openembedded/meta-networking/recipes-connectivity/crda/crda_3.18.bb:do_compile * meta-openembedded/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb:do_configure * meta-openembedded/meta-networking/recipes-protocols/openflow/openflow_git.bb:do_configure * meta-openembedded/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb:do_compile * meta-openembedded/meta-networking/recipes-support/wireshark/wireshark_2.2.4.bb:do_compile * meta-openembedded/meta-oe/recipes-connectivity/gnokii/gnokii_0.6.31.bb:do_configure * meta-openembedded/meta-oe/recipes-connectivity/libmbim/libmbim_1.14.0.bb:do_compile * meta-openembedded/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb:do_configure * meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager-openvpn_1.2.6.bb:do_configure * meta-openembedded/meta-oe/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb:do_compile * meta-openembedded/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb:do_compile * meta-openembedded/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb:do_compile * meta-openembedded/meta-oe/recipes-core/glib-2.0/glibmm_2.50.0.bb:do_configure * meta-openembedded/meta-oe/recipes-devtools/geany/geany_1.29.bb:do_configure * meta-openembedded/meta-oe/recipes-devtools/php/php_7.1.0.bb:do_install *
Re: [oe] [meta-oe][PATCH 1/3] libev: Add recipe for version 4.24
Hi, I'll merge and send a v2. Thanks On Wed, Feb 8, 2017 at 4:29 AM, Khem Rajwrote: > There are some shortcomings in this recipe > > Please merge the changes from > > https://github.com/kraj/meta-openembedded/blob/kraj/master/ > meta-oe/recipes-extended/libev/libev_4.24.bb > > On Tue, Feb 7, 2017 at 11:32 AM, Fabio Berton > wrote: > > Signed-off-by: Fabio Berton > > --- > > meta-oe/recipes-connectivity/libev/libev_4.24.bb | 14 ++ > > 1 file changed, 14 insertions(+) > > create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb > > > > diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb > b/meta-oe/recipes-connectivity/libev/libev_4.24.bb > > new file mode 100644 > > index 0..40f7dc710 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb > > @@ -0,0 +1,14 @@ > > +SUMMARY = "A full-featured and high-performance event loop that is > loosely \ > > +modelled after libevent." > > +HOMEPAGE = "http://software.schmorp.de/pkg/libev.html; > > +LICENSE = "GPLv2+" > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee3 > 47" > > + > > +SRC_URI = "http://dist.schmorp.de/${PN}/${PN}-${PV}.tar.gz; > > + > > +SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54" > > +SRC_URI[sha256sum] = "973593d3479abdf657674a55afe5f7 > 8624b0e440614e2b8cb3a07f16d4d7f821" > > + > > +S = "${WORKDIR}/${PN}-${PV}" > > + > > +inherit autotools > > -- > > 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 > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] procmail: avoid bashism in do_install
Found with verify-bashisms. Signed-off-by: Patrick Ohly--- meta-oe/recipes-support/procmail/procmail_3.22.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/procmail/procmail_3.22.bb b/meta-oe/recipes-support/procmail/procmail_3.22.bb index 1063654..9bbd410 100644 --- a/meta-oe/recipes-support/procmail/procmail_3.22.bb +++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb @@ -38,7 +38,8 @@ do_compile() { do_install() { install -d ${D}${bindir} -install -d ${D}${mandir}/man{1,5} +install -d ${D}${mandir}/man1 +install -d ${D}${mandir}/man5 oe_runmake -i BASENAME=${D}/usr MANDIR=${D}${mandir} install install -m 0644 debian/mailstat.1 ${D}${mandir}/man1 } base-commit: dd0494206e2ad08f5b9e969c94da66fd10c51e9c -- git-series 0.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 4/4] cryptsetup: enable native compilation
Useful for setting up dm-verity during a build. "native-sdk" gets added just in case that this may also be used in an SDK. Signed-off-by: Patrick Ohly--- meta-oe/recipes-support/cryptsetup/cryptsetup_1.7.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/cryptsetup/cryptsetup_1.7.2.bb b/meta-oe/recipes-support/cryptsetup/cryptsetup_1.7.2.bb index d560625..38470ac 100644 --- a/meta-oe/recipes-support/cryptsetup/cryptsetup_1.7.2.bb +++ b/meta-oe/recipes-support/cryptsetup/cryptsetup_1.7.2.bb @@ -32,3 +32,5 @@ RRECOMMENDS_${PN} = "kernel-module-aes-generic \ " EXTRA_OECONF = "--enable-static" + +BBCLASSEXTEND = "native nativesdk" -- git-series 0.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 3/4] lvm2: enable native compilation
Required for cryptsetup-native, which useful for setting up dm-verity during a build. "native-sdk" gets added just in case that this may also be used in an SDK. Signed-off-by: Patrick Ohly--- meta-oe/recipes-support/lvm2/lvm2.inc | 28 meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 7bd26c0..333223a 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -1,6 +1,6 @@ SECTION = "utils" DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux." -DEPENDS = "udev" +DEPENDS_append_class-target = " udev" LICENSE = "GPLv2 & LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \ file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24" @@ -16,11 +16,20 @@ S = "${WORKDIR}/LVM2.${PV}" inherit autotools-brokensep pkgconfig systemd -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ +PACKAGECONFIG_class-target ??= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ thin-provisioning-tools \ odirect \ " +# odirect is enabled by default also for native compilation because +# there's currently a bug in lib/device/dev-io.c which prevents +# compiling without it. It is better to stick to configurations that +# were actually tested by upstream... +PACKAGECONFIG ??= " \ + odirect \ +" + PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools" @@ -32,12 +41,9 @@ EXTRA_OECONF = "--with-user= \ --enable-realtime \ --enable-applib \ --enable-cmdlib \ ---enable-udev_sync \ ---enable-udev_rules \ --enable-pkgconfig \ --enable-dmeventd \ --enable-lvmetad \ ---with-udev-prefix= \ --with-usrlibdir=${libdir} \ --with-systemdsystemunitdir=${systemd_system_unitdir} \ --disable-thin_check_needs_check \ @@ -45,12 +51,24 @@ EXTRA_OECONF = "--with-user= \ --with-thin-dump=${sbindir}/thin_dump \ --with-thin-repair=${sbindir}/thin_repair \ --with-thin-restore=${sbindir}/thin_restore \ +${EXTRA_OECONF_UDEV} \ +" + +EXTRA_OECONF_UDEV = " \ +--disable-udev_sync \ +--disable-udev_rules \ +" +EXTRA_OECONF_UDEV_class-target = " \ +--enable-udev_sync \ +--enable-udev_rules \ +--with-udev-prefix= \ " CACHED_CONFIGUREVARS += "MODPROBE_CMD=${base_sbindir}/modprobe" do_install_append() { # Install machine specific configuration file +install -d ${D}${sysconfdir}/lvm install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf sed -i -e 's:@libdir@:${libdir}:g' ${D}${sysconfdir}/lvm/lvm.conf if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb b/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb index 8476b01..6983bca 100644 --- a/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb +++ b/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb @@ -4,3 +4,5 @@ SRC_URI[md5sum] = "c5a54ee0b86703daaad6e856439e115a" SRC_URI[sha256sum] = "e120b066b85b224552efda40204488c5123de068725676fd6e5c8bc655051b94" DEPENDS += "autoconf-archive" + +BBCLASSEXTEND = "native nativesdk" -- git-series 0.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/4] fuse: support native compilation
This is required for swtpm-native (from meta-security) and simulating a virtual TPM in qemu. Right now, accessing swtpm only works via CUSE and thus needs fuse. Signed-off-by: Patrick Ohly--- meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb index 8cc6dbd..9a2dc11 100644 --- a/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb @@ -30,9 +30,9 @@ DEPENDS = "gettext-native" PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg" # Fusermount requires features from the util-linux version of mount. -RDEPENDS_${PN} += "util-linux-mount" +RDEPENDS_${PN}_class-target += "util-linux-mount" -RRECOMMENDS_${PN} = "kernel-module-fuse libulockmgr fuse-utils" +RRECOMMENDS_${PN}_class-target = "kernel-module-fuse libulockmgr fuse-utils" FILES_${PN} += "${libdir}/libfuse.so.*" FILES_${PN}-dev += "${libdir}/libfuse*.la" @@ -62,3 +62,5 @@ do_install_append() { install -m 0644 ${WORKDIR}/fuse.conf ${D}${sysconfdir}/modules-load.d fi } + +BBCLASSEXTEND = "native nativesdk" -- git-series 0.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/4] lvm2: remove unbuildable 2.02.138
The patches defined in lvm2.inc no longer apply cleanly to 2.02.138 and as no-one has complained, the old version is probably obsolete and can be removed. Signed-off-by: Patrick Ohly--- meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb | 4 1 file changed, 4 deletions(-) delete mode 100644 meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb b/meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb deleted file mode 100644 index 13a866e..000 --- a/meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb +++ /dev/null @@ -1,4 +0,0 @@ -require lvm2.inc - -SRC_URI[md5sum] = "c660e02ad4586a1d297b6befbe85556d" -SRC_URI[sha256sum] = "93878a4ba4f70d9f2d0d919eb85bc51652a58776b5428ec8e7e32769d332f596" -- git-series 0.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/4] native cryptsetup and fuse
I have some experimental code which enables dm-verity integrity protection in an image. This relies on cryptsetup-native and thus lvm2-native. swtpm-native (in its current form - if time permits I hope to modify it so that it works without CUSE) needs fuse-native. While (accidentally) building the old lvm2 2.02.138 I noticed a build error; let's remove it. Patrick Ohly (4): lvm2: remove unbuildable 2.02.138 fuse: support native compilation lvm2: enable native compilation cryptsetup: enable native compilation meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb| 6 +- meta-oe/recipes-support/cryptsetup/cryptsetup_1.7.2.bb | 2 +- meta-oe/recipes-support/lvm2/lvm2.inc | 28 +-- meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb | 4 +-- meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb | 2 +- 5 files changed, 31 insertions(+), 11 deletions(-) delete mode 100644 meta-oe/recipes-support/lvm2/lvm2_2.02.138.bb base-commit: c162c9102881ae97772e56ca779ffedbc445aca0 -- git-series 0.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel