mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
gcab: fix buildpaths QA issue
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
This commit is contained in:
committed by
Armin Kuster
parent
a85ae7a7fb
commit
1189cafbd0
+37
@@ -0,0 +1,37 @@
|
|||||||
|
From 6fa1b6d3f72caf6d0cf61752b522dc19fb9933b7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Martin Jansa <martin.jansa@gmail.com>
|
||||||
|
Date: Fri, 30 Aug 2024 10:44:17 +0200
|
||||||
|
Subject: [PATCH] gcab-enums.c.etemplate: include @basename@ instead of full
|
||||||
|
path from @filename@
|
||||||
|
|
||||||
|
* fixes:
|
||||||
|
ERROR: QA Issue: File /usr/src/debug/gcab/1.6/libgcab/gcab-enums.c in package gcab-src contains reference to TMPDIR [buildpaths]
|
||||||
|
|
||||||
|
lib32-gcab/1.6/package $ grep -R styhead .
|
||||||
|
./usr/src/debug/lib32-gcab/1.6/libgcab/gcab-enums.c:#include "WORKDIR/build/../gcab-1.6/libgcab/gcab-file.h"
|
||||||
|
./usr/src/debug/lib32-gcab/1.6/libgcab/gcab-enums.c:#include "WORKDIR/build/../gcab-1.6/libgcab/gcab-folder.h"
|
||||||
|
|
||||||
|
glib-mkenum supports also @basename@ since 2.22 which would avoid this QA issue
|
||||||
|
@filename@ name of current input file
|
||||||
|
@basename@ base name of the current input file (Since: 2.22)
|
||||||
|
|
||||||
|
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
||||||
|
---
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
libgcab/gcab-enums.c.etemplate | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libgcab/gcab-enums.c.etemplate b/libgcab/gcab-enums.c.etemplate
|
||||||
|
index 194b1e0..2e85824 100644
|
||||||
|
--- a/libgcab/gcab-enums.c.etemplate
|
||||||
|
+++ b/libgcab/gcab-enums.c.etemplate
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
/*** END file-header ***/
|
||||||
|
|
||||||
|
/*** BEGIN file-production ***/
|
||||||
|
-#include "@filename@"
|
||||||
|
+#include "@basename@"
|
||||||
|
/*** END file-production ***/
|
||||||
|
|
||||||
|
|
||||||
@@ -7,6 +7,7 @@ DEPENDS = "glib-2.0"
|
|||||||
|
|
||||||
SRC_URI = "\
|
SRC_URI = "\
|
||||||
${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \
|
${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \
|
||||||
|
file://0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "2f0c9615577c4126909e251f9de0626c3ee7a152376c15b5544df10fc87e560b"
|
SRC_URI[sha256sum] = "2f0c9615577c4126909e251f9de0626c3ee7a152376c15b5544df10fc87e560b"
|
||||||
|
|||||||
Reference in New Issue
Block a user