* [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb
2012-01-12 8:12 PATCH 0/3] Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
@ 2012-01-12 8:12 ` Xiaofeng Yan
2012-01-12 8:12 ` [PATCH 2/3] cairo.inc: " Xiaofeng Yan
2012-01-12 8:12 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
2 siblings, 0 replies; 7+ messages in thread
From: Xiaofeng Yan @ 2012-01-12 8:12 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
"direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb".
PACKAGECONFIG can't select directfb as backend rightly, or else.
[YOCTO #1674]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
meta/recipes-gnome/gtk+/gtk+.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index 5eb7eb1..4e03670 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -15,7 +15,7 @@ DEPENDS = "glib-2.0 pango atk jpeg libpng gtk-doc-native gdk-pixbuf-native docbo
libgcrypt cairo gdk-pixbuf"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
- ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
+ ${@base_contains('DISTRO_FEATURES', 'gtk-directfb', 'gtk-directfb', '', d)}"
# for gtk+ 2.x, have to pick either x11 or directfb not both
# for gtk+ 3.x, PACKAGECONFIG[gtk-directfb] should be removed because directfb will not be support as
--
1.7.0.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/3] cairo.inc: Change configuration of directfb to gtk-directfb
2012-01-12 8:12 PATCH 0/3] Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
2012-01-12 8:12 ` [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb Xiaofeng Yan
@ 2012-01-12 8:12 ` Xiaofeng Yan
2012-01-12 8:12 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
2 siblings, 0 replies; 7+ messages in thread
From: Xiaofeng Yan @ 2012-01-12 8:12 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
"direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb".
PACKAGECONFIG can't select directfb as backend rightly, or else.
[YOCTO #1674]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
meta/recipes-graphics/cairo/cairo.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index 5f8f7b6..930675d 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
@@ -13,7 +13,7 @@ LICENSE = "MPL-1 & LGPLv2.1"
X11DEPENDS = "virtual/libx11 libsm libxrender"
DEPENDS = "libpng fontconfig pixman glib-2.0"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
- ${@base_contains('DISTRO_FEATURES', 'gtk-directfb', 'directfb', '', d)}"
+ ${@base_contains('DISTRO_FEATURES', 'gtk-directfb', 'gtk-directfb', '', d)}"
PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}"
PACKAGECONFIG[gtk-directfb] = "--enable-directfb=yes,,directfb"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/3] pango.inc: add directory "/etc/pango"
2012-01-12 8:12 PATCH 0/3] Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
2012-01-12 8:12 ` [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb Xiaofeng Yan
2012-01-12 8:12 ` [PATCH 2/3] cairo.inc: " Xiaofeng Yan
@ 2012-01-12 8:12 ` Xiaofeng Yan
2012-01-12 20:30 ` Saul Wold
2 siblings, 1 reply; 7+ messages in thread
From: Xiaofeng Yan @ 2012-01-12 8:12 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Command "pango-querymodules > /etc/pango/pango.modules" can't work when \
starting up yocto because of no directory "/etc/pango". It will cause \
messy code when gtk-demo running.
[YOCTO #1674]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
meta/recipes-graphics/pango/pango.inc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index b428b9d..e103fab 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -46,6 +46,11 @@ fi
}
+# Command "pango-querymodules > /etc/pango/pango.modules" needs this directory.
+do_install_prepend() {
+ install -d ${D}/${sysconfdir}/pango
+}
+
python populate_packages_prepend () {
prologue = d.getVar("postinst_prologue", 1)
@@ -54,6 +59,6 @@ python populate_packages_prepend () {
do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules')
}
-FILES_${PN} = "/etc/pango/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
+FILES_${PN} += "${syscondir}/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 3/3] pango.inc: add directory "/etc/pango"
2012-01-12 8:12 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
@ 2012-01-12 20:30 ` Saul Wold
2012-01-12 20:33 ` Phil Blundell
0 siblings, 1 reply; 7+ messages in thread
From: Saul Wold @ 2012-01-12 20:30 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 01/12/2012 12:12 AM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> Command "pango-querymodules> /etc/pango/pango.modules" can't work when \
> starting up yocto because of no directory "/etc/pango". It will cause \
> messy code when gtk-demo running.
>
> [YOCTO #1674]
>
> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com>
> ---
> meta/recipes-graphics/pango/pango.inc | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
> index b428b9d..e103fab 100644
> --- a/meta/recipes-graphics/pango/pango.inc
> +++ b/meta/recipes-graphics/pango/pango.inc
> @@ -46,6 +46,11 @@ fi
>
> }
>
> +# Command "pango-querymodules> /etc/pango/pango.modules" needs this directory.
> +do_install_prepend() {
> + install -d ${D}/${sysconfdir}/pango
> +}
> +
> python populate_packages_prepend () {
> prologue = d.getVar("postinst_prologue", 1)
>
> @@ -54,6 +59,6 @@ python populate_packages_prepend () {
> do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules> /etc/pango/pango.modules')
> }
>
> -FILES_${PN} = "/etc/pango/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
> +FILES_${PN} += "${syscondir}/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
Is this too general? Should it be ${sysconfdir}/pango?
Sau!
> FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
> FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 3/3] pango.inc: add directory "/etc/pango"
2012-01-12 20:30 ` Saul Wold
@ 2012-01-12 20:33 ` Phil Blundell
2012-01-13 7:05 ` Xiaofeng Yan
0 siblings, 1 reply; 7+ messages in thread
From: Phil Blundell @ 2012-01-12 20:33 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2012-01-12 at 12:30 -0800, Saul Wold wrote:
> On 01/12/2012 12:12 AM, Xiaofeng Yan wrote:
> > -FILES_${PN} = "/etc/pango/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
> > +FILES_${PN} += "${syscondir}/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
> Is this too general? Should it be ${sysconfdir}/pango?
"${sysconfdir}" is in the default FILES_${PN} anyway. (Also,
"${syscondir}/*" won't match anything since there is no such variable.)
So this change is largely benign but it won't accomplish much.
p.
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 3/3] pango.inc: add directory "/etc/pango"
2012-01-12 20:33 ` Phil Blundell
@ 2012-01-13 7:05 ` Xiaofeng Yan
0 siblings, 0 replies; 7+ messages in thread
From: Xiaofeng Yan @ 2012-01-13 7:05 UTC (permalink / raw)
To: openembedded-core
On 2012年01月13日 04:33, Phil Blundell wrote:
> On Thu, 2012-01-12 at 12:30 -0800, Saul Wold wrote:
>> On 01/12/2012 12:12 AM, Xiaofeng Yan wrote:
>>> -FILES_${PN} = "/etc/pango/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
>>> +FILES_${PN} += "${syscondir}/* ${bindir}/* ${libdir}/libpango*${SOLIBS}"
>> Is this too general? Should it be ${sysconfdir}/pango?
> "${sysconfdir}" is in the default FILES_${PN} anyway.
I will remove this changes.
> (Also,
> "${syscondir}/*" won't match anything since there is no such variable.)
>
> So this change is largely benign but it won't accomplish much.
>
> p.
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 7+ messages in thread