From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 7/7] core-image-gtk-directfb.bb: add an image for gtk over directfb
Date: Tue, 13 Dec 2011 18:51:37 +0800 [thread overview]
Message-ID: <4EE72E39.9000103@windriver.com> (raw)
In-Reply-To: <CAP9ODKrGOc27fxR74Ops4YjF+vLAwU5kZRZFW4XZjiFBaS=hig@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2164 bytes --]
On 2011?12?12? 19:40, Otavio Salvador wrote:
> On Mon, Dec 12, 2011 at 09:28, Xiaofeng Yan
> <xiaofeng.yan@windriver.com <mailto:xiaofeng.yan@windriver.com>> wrote:
>
> From: Xiaofeng Yan <xiaofeng.yan@windriver.com
> <mailto:xiaofeng.yan@windriver.com>>
>
> This file can make an image to run gtk over directfb.
>
>
> I think this ought to be done on core-image-gtk not a specific one for
> directfb as it depends on a distro feature and you can't just generate
> an image with this, if the distro has no directfb feature enabled.
> --
> Otavio Salvador O.S. Systems
> E-mail: otavio@ossystems.com.br <mailto:otavio@ossystems.com.br>
> http://www.ossystems.com.br
> Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
I can add a mechanism to inform user to add "gtk-directfb" to
DISTRO_FEATURES by adding like the following steps
$touch meta/class/gtk-directfb.bbclass
$cat meta/class/gtk-directfb.bbclass
python () {
import os
import signal
packages = d.getVar('DISTRO_FEATURES', 1).split()
for pkg in packages:
if pkg == "x11":
print("Please remove x11 from DISTRO_FEATURES, use
\"gtk-directfb\" instead of it\n")
pid = os.getpid()
os.kill(pid,signal.SIGCLD) # it could have some issues
}
$cat core-image-gtk-directfb.bb
LICENSE = "MIT"
PR="r0"
inherit gtk-directfb
LIC_FILES_CHKSUM =
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
DEPENDS += "task-core-gtk-directfb"
RDEPENDS_${PN} += " \
task-core-gtk-directfb-base \
"
inherit core-image
IMAGE_INSTALL += "\
${POKY_BASE_INSTALL} \
task-core-basic \
module-init-tools \
task-core-gtk-directfb-base \
"
Do you have any comment about above method ?
Thanks
Yan
[-- Attachment #2: Type: text/html, Size: 4731 bytes --]
next prev parent reply other threads:[~2011-12-13 10:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 11:28 [PATCH 0/7] gtk+-directfb: The patches to run gtk over directfb Xiaofeng Yan
2011-12-12 11:28 ` [PATCH 1/7] cairo: add directfb DISTRO_FEATURE Xiaofeng Yan
2011-12-12 11:28 ` [PATCH 2/7] pango: Disable x11 when pango doesn't run over x11 Xiaofeng Yan
2011-12-12 11:28 ` [PATCH 3/7] gtk.inc: add feature based on directfb Xiaofeng Yan
2011-12-12 11:28 ` [PATCH 4/7] gtk: add demos to the configuation of gtk+ Xiaofeng Yan
2011-12-13 15:47 ` Richard Purdie
2011-12-13 16:20 ` Richard Purdie
2011-12-13 19:46 ` Richard Purdie
2011-12-12 11:28 ` [PATCH 5/7] directfb-examples: add package directfb-examples to OE-core Xiaofeng Yan
2011-12-12 11:28 ` [PATCH 6/7] task-core-gtk-directfb.bb: Add task list to run gtk over directfb Xiaofeng Yan
2011-12-12 11:28 ` [PATCH 7/7] core-image-gtk-directfb.bb: add an image for " Xiaofeng Yan
2011-12-12 11:40 ` Otavio Salvador
2011-12-13 10:51 ` Xiaofeng Yan [this message]
2011-12-13 10:57 ` Otavio Salvador
2011-12-13 12:06 ` Richard Purdie
2011-12-13 12:29 ` [PATCH 0/7] gtk+-directfb: The patches to run " Richard Purdie
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=4EE72E39.9000103@windriver.com \
--to=xiaofeng.yan@windriver.com \
--cc=openembedded-core@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.