[oe] [meta-xfce][PATCH] xfce4-screenshooter: fix parallel build issue

Hongxu Jia hongxu.jia at windriver.com
Wed Apr 18 09:07:09 UTC 2018


While do an out-of-tree build, if dir panel-plugin is not created
in time, there is a compile failure:
...
| intltool-merge  -d -u -c ./po/.intltool-merge-cache ../xfce4-screenshooter-1.9.1/po
../xfce4-screenshooter-1.9.1/panel-plugin/screenshooter.desktop.in
panel-plugin/screenshooter.desktop
| Died at intltool-merge line 1184, <PO_FILE> line 22700.
...
Ensure panel-plugin subdirectory exists fixes the issue.

The fix refers the following commit:
...
commit 754754b53bbf4c72d7855e9209f1ccecce5cd8dd
Author: Catalin Enache <catalin.enache at windriver.com>
Date:   Thu Nov 9 11:12:29 2017 +0800

    xfce4-screenshooter: create src dir before build
...

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb
index e449dce..6702d73 100644
--- a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb
+++ b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb
@@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "e62b31d9cf06a7414a26400c2ebe7a2ae7c2b22aa60f997f25145ea9eb
 
 do_compile_prepend() {
     mkdir -p lib
-    mkdir -p src
+    mkdir -p src panel-plugin
 }
 
 FILES_${PN} += " \
-- 
2.7.4




More information about the Openembedded-devel mailing list