All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
To: openembedded-devel@lists.openembedded.org
Subject: Convert vala to new world staging
Date: Fri, 05 Mar 2010 16:14:08 +0100	[thread overview]
Message-ID: <87hbou4x8f.fsf@SSpaeth.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

All vala recipes currently complain about being lagacy stages. With a
lot of help from my friends I came up with this patch for
classes/vala.bbclass.


I am currently testing a few compiles and installs with this patch. But
I want to gather feedback and ACKs from Mickey (OE vala God) and others.

Does this make sense?
Sebastian

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Convert vala to new world staging --]
[-- Type: text/x-diff, Size: 1084 bytes --]

diff --git a/classes/vala.bbclass b/classes/vala.bbclass
index 2633905..2c23efb 100644
--- a/classes/vala.bbclass
+++ b/classes/vala.bbclass
@@ -9,8 +9,8 @@ VALA_DONT_STAGE_VAPIS ?= "\(/config.vapi$\)\|\(/config.deps$\)"
 
 # .vapi and .deps files are arch independent and need to be present in the
 # staging datadir for the native vala compiler
-do_stage_append() {
-	install -d ${STAGING_DATADIR_NATIVE}/vala/vapi
-	for VALAFILE in `find . -name "*.vapi" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${STAGING_DATADIR_NATIVE}/vala/vapi/; done
-	for VALAFILE in `find . -name "*.deps" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${STAGING_DATADIR_NATIVE}/vala/vapi/; done
+do_install_append() {
+	install -d ${D}${datadir}/vala/vapi
+	for VALAFILE in `find . -name "*.vapi" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${D}${datadir}/vala/vapi/; done
+	for VALAFILE in `find . -name "*.deps" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${D}${datadir}/vala/vapi/; done
 }

             reply	other threads:[~2010-03-05 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 15:14 Sebastian Spaeth [this message]
2010-03-05 16:42 ` Convert vala to new world staging Koen Kooi
2010-03-05 16:56 ` Dr. Michael Lauer
2010-03-06 14:58   ` Richard Purdie
2010-03-06 16:25     ` Michael 'Mickey' Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbou4x8f.fsf@SSpaeth.de \
    --to=sebastian@sspaeth.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.