[oe-commits] Martin Jansa : claws-mail: Fix build with B!=S

git at git.openembedded.org git at git.openembedded.org
Tue Jul 15 13:09:08 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 9fcd58ebc21bab8565e727cb34accbf91d131c95
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=9fcd58ebc21bab8565e727cb34accbf91d131c95

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Jun 23 16:03:53 2014 +0200

claws-mail: Fix build with B!=S

Signed-off-by: Martin Jansa <Martin.Jansa at 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(-)

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
 }
 



More information about the Openembedded-commits mailing list