basu: Update to latest master
PATCH 1/2 basu: Update to latest master
There is only one commit after 0.2.1 release which is to fix build with lld.
https://git.sr.ht/~emersion/basu/commit/a08cf5a575325435040d35710dbac3d0c32b1676
--- meta-oe/recipes-core/basu/basu_0.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/basu/basu_0.2.1.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = "git://git.sr.ht/~emersion/basu;protocol=https;branch=master" DEPENDS += "gperf-native" S = "${WORKDIR}/git" -PV = "0.2.1" +PV = "0.2.1+git" SRCREV = "684a41d68cfbb05e38aacb60a8548e21ddfbecdb" inherit meson pkgconfig
Signature · 1 line
2.43.0
PATCH 2/2 sdbus-c++: Install ptests into PTEST_PATH
add rdep on basu and dbus when not using systemd
--- meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.4.0/run-ptest | 4 ++-- meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-)
meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.4.0/run-ptest +2 -2
@@ -4,12 +4,12 @@ set -o pipefail SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" -${SCRIPTPATH}/../tests/sdbus-c++-unit-tests 2>&1 | \ +${SCRIPTPATH}/sdbus-c++-unit-tests 2>&1 | \ sed -r 's/^\[\s+OK\s+\] (.*) \([0-9]+\sms\)$/OK: \1 /' | \ sed -r 's/^\[\s+FAILED\s+\] (.*) \([0-9]+\sms\)$/FAILED: \1 /' | \ awk '{if ($1 == "OK:" || $1 == "FAILED:") {print $0}}' -${SCRIPTPATH}/../tests/sdbus-c++-integration-tests 2>&1 | \ +${SCRIPTPATH}/sdbus-c++-integration-tests 2>&1 | \ sed -r 's/^\[\s+OK\s+\] (.*) \([0-9]+\sms\)$/OK: \1 /' | \ sed -r 's/^\[\s+FAILED\s+\] (.*) \([0-9]+\sms\)$/FAILED: \1 /' | \ awk '{if ($1 == "OK:" || $1 == "FAILED:") {print $0}}'
meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb +4 -5
@@ -10,9 +10,9 @@ inherit cmake pkgconfig systemd ptest PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'with-external-libsystemd', 'with-builtin-libsystemd', d)} \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}" -PACKAGECONFIG[with-builtin-libsystemd] = ",,sdbus-c++-libsystemd,libcap" +PACKAGECONFIG[with-builtin-libsystemd] = ",,sdbus-c++-libsystemd,libcap,basu" PACKAGECONFIG[with-external-libsystemd] = ",,systemd,libsystemd" -PACKAGECONFIG[with-tests] = "-DBUILD_TESTS=ON -DTESTS_INSTALL_PATH=${libdir}/${BPN}/tests,-DBUILD_TESTS=OFF,googletest gmock" +PACKAGECONFIG[with-tests] = "-DBUILD_TESTS=ON -DTESTS_INSTALL_PATH=${PTEST_PATH},-DBUILD_TESTS=OFF,googletest gmock" DEPENDS += "expat"
@@ -39,14 +39,13 @@ do_install:append() { fi } -PTEST_PATH = "${libdir}/${BPN}/ptest" do_install_ptest() { - install -d ${D}${PTEST_PATH} - cp -r ${B}/tests/sdbus-c++-unit-tests ${D}${PTEST_PATH} + DESTDIR='${D}' cmake_runcmake_build --target tests/install } FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/" FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp" +RDEPENDS:${PN}-ptest += "dbus" # It adds -isystem which is spurious, no idea where it gets it from CCACHE_DISABLE = "1"
Signature · 1 line
2.43.0
Quoted 28 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Khem Raj
Sent: den 1 december 2023 09:11
To: [email protected]
Cc: Khem Raj <[email protected]>
Subject: [oe] [meta-oe][PATCH 1/2] basu: Update to latest masterThere is only one commit after 0.2.1 release which is to fix build with lld.
https://git.sr.ht/~emersion/basu/commit/a08cf5a575325435040d35710dbac3d0c32b1676
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-core/basu/basu_0.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes- renamed from meta-oe/recipes-core/basu/basu_0.2.1.bb +0
-0core/basu/basu_0.2.1.bb
index500408e11e..56c25f5f1b100644meta-oe/recipes-core/basu/basu_0.2.1.bb +0
-0@@ -9,7 +9,7 @@ SRC_URI ="
git://git.sr.ht/~emersion/basu;protocol=https;branch=master"
DEPENDS += "gperf-native"S = "${WORKDIR}/git"
meta-oe/recipes-core/basu/basu_0.2.1.bb SRC_URI = "git://git.sr.ht/~emersion/basu;protocol=https;branch=master" · line 13
Quoted 3 lines
meta-oe/recipes-core/basu/basu_0.2.1.bb +1
-1-PV = "0.2.1" +PV = "0.2.1+git" SRCREV = "684a41d68cfbb05e38aacb60a8548e21ddfbecdb"
You forgot to update the SRCREV...
Quoted 4 lines
inherit meson pkgconfig
--
2.43.0
//Peter
Quoted 28 lines · Peter Kjellerstedt
Quoted 28 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Khem Raj
Sent: den 1 december 2023 09:11
To: [email protected]
Cc: Khem Raj <[email protected]>
Subject: [oe] [meta-oe][PATCH 1/2] basu: Update to latest masterThere is only one commit after 0.2.1 release which is to fix build with lld.
https://git.sr.ht/~emersion/basu/commit/a08cf5a575325435040d35710dbac3d0c32b1676
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-core/basu/basu_0.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes- renamed from meta-oe/recipes-core/basu/basu_0.2.1.bb +0
-0core/basu/basu_0.2.1.bb
index500408e11e..56c25f5f1b100644meta-oe/recipes-core/basu/basu_0.2.1.bb +0
-0@@ -9,7 +9,7 @@ SRC_URI ="
git://git.sr.ht/~emersion/basu;protocol=https;branch=master"
DEPENDS += "gperf-native"
Quoted 6 lines
meta-oe/recipes-core/basu/basu_0.2.1.bb SRC_URI = "git://git.sr.ht/~emersion/basu;protocol=https;branch=master" · line 13
Quoted 4 lines
S = "${WORKDIR}/git"
meta-oe/recipes-core/basu/basu_0.2.1.bb +1
-1-PV = "0.2.1" +PV = "0.2.1+git" SRCREV = "684a41d68cfbb05e38aacb60a8548e21ddfbecdb"You forgot to update the SRCREV...
indeed, got lost in rebases. Thanks for reporting. I have sent a followup fix
Quoted 8 lines
Quoted 5 lines
inherit meson pkgconfig
--
2.43.0//Peter