All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/9] gtk.inc: add directfb DISTRO_FEATURE
Date: Thu, 24 Nov 2011 15:28:04 +0800	[thread overview]
Message-ID: <4ECDF204.7000105@windriver.com> (raw)
In-Reply-To: <2C6A2DBB-2756-4475-9BBF-16A2496EB4A3@dominion.thruhere.net>

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

On 2011?11?24? 14:38, Koen Kooi wrote:
> Op 24 nov. 2011, om 04:06 heeft Xiaofeng Yan het volgende geschreven:
>
>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>>
>> gtk run over x11 at current OE-core. If gtk want to run over directfb, then \
>> the configuration related to x11 should be disabled and directfb should be enabled.
> Apart from this patch is messing with PACKAGES as well, I still don't believe it's true that x11 must be disabled for directfb to work
>
>
As what I explained yesterday, One main goal of this image is to remove 
the stuff related to x11 because I want to build an image only based on 
directfb and run gtk over directfb.
you know, directfb as a graphic library is enough in many embedded 
development. It has many advantages in embedded field like digital 
television, set-top box, ...  Of course, it has its defect in other 
aspect. So x11 is not needed in this image.  I just don't want to let 
user to take too much time for building an image including directfb with 
no x11 during developing product.
>> [YOCTO #1674]
>>
>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>> ---
>> meta/recipes-gnome/gtk+/gtk+.inc |   20 ++++++++++++++++----
>> 1 files changed, 16 insertions(+), 4 deletions(-)
>>
>> diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
>> index 0e5c45c..926f7dd 100644
>> --- a/meta/recipes-gnome/gtk+/gtk+.inc
>> +++ b/meta/recipes-gnome/gtk+/gtk+.inc
>> @@ -9,13 +9,20 @@ LICENSE = "LGPLv2&  LGPLv2+&  LGPLv2.1+"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
>>
>> SECTION = "libs"
>> -DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \
>> -           gtk-doc-native docbook-utils-native libxrandr libgcrypt \
>> -           libxdamage libxrender libxcomposite cairo gdk-pixbuf"
>> +X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite"
>> +
>> +DEPENDS = "glib-2.0 pango atk jpeg libpng gtk-doc-native gdk-pixbuf-native docbook-utils-native \
>> +           libgcrypt cairo gdk-pixbuf"
>> +
>> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
>> +           ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
>> +
>> +PACKAGECONFIG[x11] = "--with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}"
>> +PACKAGECONFIG[directfb] = "--with-gdktarget=directfb,,directfb"
>>
>> inherit autotools pkgconfig
>>
>> -PACKAGES += "libgail"
>> +PACKAGES += "libgail gtk-demo"
>>
>> FILES_${PN} = "${bindir}/gtk-update-icon-cache \
>> 	${bindir}/gtk-query-immodules-2.0 \
>> @@ -40,6 +47,11 @@ FILES_${PN}-dbg += " \
>> 	${libdir}/gtk-2.0/${LIBV}/engines/.debug/* \
>> 	${libdir}/gtk-2.0/${LIBV}/printbackends/.debug/*"
>>
>> +FILES_gtk-demo = " \
>> +        ${datadir}/gtk-2.0/demo/* \
>> +        ${bindir}/gtk-demo \
>> +        "
>> +
>> FILES_libgail = " \
>> 	${libdir}/gtk-2.0/modules/libgail.so \
>> 	${libdir}/gtk-2.0/modules/libferret.so \
>> -- 
>> 1.7.0.4
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[-- Attachment #2: Type: text/html, Size: 4944 bytes --]

  reply	other threads:[~2011-11-24  7:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24  3:06 [PATCH 0/9] The patches to run gtk over directfb Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 1/9] qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURES Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 2/9] gconf: Disable dbus-x11 when x11 isn't " Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 3/9] gtk.inc: add directfb DISTRO_FEATURE Xiaofeng Yan
2011-11-24  6:38   ` Koen Kooi
2011-11-24  7:28     ` Xiaofeng Yan [this message]
2011-11-24  8:57       ` Koen Kooi
2011-11-24 11:04     ` Phil Blundell
2011-11-24  3:06 ` [PATCH 4/9] gtk+: add demos to the configuation of gtk+ Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 5/9] cairo: add directfb DISTRO_FEATURE Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 6/9] pango: " Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 7/9] directfb-examples: add package directfb-examples to OE-core Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 8/9] task-gtk-directfb.bb: Add task list to run gtk over directfb Xiaofeng Yan
2011-11-24  3:06 ` [PATCH 9/9] core-image-gtk-directfb.bb: add an image for " Xiaofeng Yan
2011-12-05 12:14 ` [PATCH 0/9] The patches to run " Phil Blundell
  -- strict thread matches above, loose matches on Subject: below --
2011-11-23  6:47 Xiaofeng Yan
2011-11-23  6:47 ` [PATCH 3/9] gtk.inc: add directfb DISTRO_FEATURE Xiaofeng Yan

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=4ECDF204.7000105@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.