doxygen: Do not generate #line directive with flex/bison
PATCH 1/2 doxygen: Do not generate #line directive with flex/bison
This ensures that buildpaths are not emitted into generated C sourcefiles fixes.
WARNING: doxygen-1.9.3-r0 do_package_qa: QA Issue: File /usr/src/debug/doxygen/1.9.3-r0/generated_src/xmlcode.cpp in package doxygen-src contains reference to TMPDIR
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb +4 -0
@@ -14,4 +14,8 @@ SRC_URI[sha256sum] = "f352dbc3221af7012b7b00935f2dfdc9fb67a97d43287d2f6c81c50449 inherit cmake python3native +EXTRA_OECMAKE += "\ + -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ + -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ +" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.40.1
PATCH 2/2 gattlib: Upgrade to latest tip of trunk
License-Update: Year changed [1]
Remove build directory from include directives in generated sourcecode via gdbus-codegen
[1] https://github.com/labapart/gattlib/commit/5c87eda925c597e72107b5026c6b8d490ce76d62
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/gattlib/gattlib_git.bb +9 -2
@@ -2,7 +2,7 @@ DESCRIPTION = "Bluetooth library with attribute support" SECTION = "libs/network" LICENSE = "GPL-2.0-or-later | BSD-3-Clause" -LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=71fdd2be76b4e95fe28324a70d4981c5" +LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=a87ee154f005a6f035b8b34ac2191f3b" DEPENDS = "bluez5 glib-2.0" DEPENDS += "glib-2.0-native"
@@ -14,7 +14,7 @@ SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https \ " SRCBRANCH = "master" -SRCREV = "fa54ae42ccb3d8f911e00b02ed1e581537e47f79" +SRCREV = "33a8a275928b186381bb0aea0f9778e330e57ec3" S = "${WORKDIR}/git"
@@ -28,5 +28,12 @@ EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF" inherit pkgconfig cmake +do_compile:append() { + for f in org-bluez-gattdescriptor1.c org-bluez-battery1.c org-bluez-adaptater1.c \ + org-bluez-device1.c org-bluez-gattservice1.c org-bluez-gattcharacteristic1.c; do + sed -i -e 's|${B}/dbus/||g' ${B}/dbus/$f + done +} + FILES:${PN} = "${libdir}/*" FILES:${PN}-dev = "${includedir}/* ${libdir}/pkgconfig"
Signature · 1 line
2.40.1