diff mbox series

[meta-gnome,2/2] grilo: Fix buildpaths in generated header file

Message ID 20230418043555.1657262-2-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] xmlrpc-c: Upgrade to 1.59.01 | expand

Commit Message

Khem Raj April 18, 2023, 4:35 a.m. UTC
grl-type-builtins.h gets generated during compilation and it uses
absolute paths to source files in comments. This is flagged by packager
therefore remove the buildpath

Fixes
WARNING: grilo-0.3.15-r0 do_package_qa: QA Issue: File /usr/src/debug/grilo/0.3.
15-r0/src/grl-type-builtins.h in package grilo-src contains reference to TMPDIR
[buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb b/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb
index d51a27f01a..526a8593dc 100644
--- a/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb
+++ b/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb
@@ -26,3 +26,6 @@  PACKAGECONFIG[test-ui] = "-Denable-test-ui=true, -Denable-test-ui=false, gtk+3 l
 # Once we have a recipe for 'totem-plparser' this can turn into a PACKAGECONFIG
 EXTRA_OEMESON = "-Denable-grl-pls=false"
 
+do_compile:append() {
+        sed -i -e 's,${B}/../,,' ${B}/src/grl-type-builtins.h
+}