Patchwork [meta-oe] claws-mail: Fix build with B!=S

login
register
mail settings
Submitter Martin Jansa
Date June 23, 2014, 2:03 p.m.
Message ID <1403532238-6766-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/74253/
State New, archived
Headers show

Comments

Martin Jansa - June 23, 2014, 2:03 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-efl/recipes-efl/efl/imlib2_git.bb              | 3 +++
 meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-efl/recipes-efl/efl/imlib2_git.bb b/meta-efl/recipes-efl/efl/imlib2_git.bb
index dc91763..8c6ac66 100644
--- a/meta-efl/recipes-efl/efl/imlib2_git.bb
+++ b/meta-efl/recipes-efl/efl/imlib2_git.bb
@@ -11,6 +11,9 @@  inherit efl binconfig
 SRC_URI = "git://git.enlightenment.org/legacy/${BPN}.git"
 S = "${WORKDIR}/git"
 
+# autotools-brokensep
+B = "${S}"
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[gif] = "--with-gif,--without-gif,giflib"
 PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff"
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb b/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb
index 831a140..7072046 100644
--- a/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb
+++ b/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb
@@ -14,7 +14,7 @@  SRC_URI[archive.md5sum] = "4c5ac7b21f0ed17d0f6404124c2229a4"
 SRC_URI[archive.sha256sum] = "ed70975a5056b3ffc4fe6e977f0d9606febc1499763c090241b029a73ff24e65"
 
 do_configure_append() {
-    cd po ; for PO in *.po ; do MO=`echo $PO | sed s/\\.po//`.gmo ; if ! test -f $MO ; then msgfmt $PO -o $MO ; fi ; done
+    cd ${S}/po ; for PO in *.po ; do MO=`echo $PO | sed s/\\.po//`.gmo ; if ! test -f $MO ; then msgfmt $PO -o $MO ; fi ; done; cd ${B}
 }
 
 PACKAGECONFIG ??= "startup-notification dbus"
@@ -52,7 +52,7 @@  do_install_prepend() {
 do_install_append() {
     rm -r ${D}${datadir}/icons
     install -d ${D}${datadir}/pixmaps
-    install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/
+    install -m 0644 ${S}/claws-mail.png ${D}${datadir}/pixmaps/
     sed -i 's/Icon=[^.]*$/&.png/' ${D}${datadir}/applications/claws-mail.desktop
 }