All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb"
@ 2012-01-13  7:06 Xiaofeng Yan
  2012-01-13  7:06 ` [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb Xiaofeng Yan
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Xiaofeng Yan @ 2012-01-13  7:06 UTC (permalink / raw)
  To: openembedded-core

From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Hi Saul,

I remove ${sysconfdir}/* because bitbake will package this directory as default.

The following part was previous description.
---------------------------------------------- 
Bitbake complain " No package 'cairo-xlib' found" when building image "core-image-gtk-directfb".
Misconfiguration of directfb in PACKAGECONFIG causes this problem. I change directfb to gtk-directfb.
Another problem is about messy code when running gtk-demo because of no "/etc/pango".
I create this directory in pango.inc.
 
Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: xiaofeng/gtk-directfb
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/gtk-directfb

Thanks,
    Xiaofeng Yan <xiaofeng.yan@windriver.com>
---


Xiaofeng Yan (3):
  gtk.inc: Change configuration of directfb to gtk-directfb
  cairo.inc: Change configuration of directfb to gtk-directfb
  pango.inc: add directory "/etc/pango"

 meta/recipes-gnome/gtk+/gtk+.inc      |    2 +-
 meta/recipes-graphics/cairo/cairo.inc |    2 +-
 meta/recipes-graphics/pango/pango.inc |    7 ++++++-
 3 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.7.7




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb
  2012-01-13  7:06 [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
@ 2012-01-13  7:06 ` Xiaofeng Yan
  2012-01-13  7:06 ` [PATCH 2/3] cairo.inc: " Xiaofeng Yan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Xiaofeng Yan @ 2012-01-13  7:06 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.7




^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/3] cairo.inc: Change configuration of directfb to gtk-directfb
  2012-01-13  7:06 [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
  2012-01-13  7:06 ` [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb Xiaofeng Yan
@ 2012-01-13  7:06 ` Xiaofeng Yan
  2012-01-13  7:06 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
  2012-01-17 20:37 ` [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Saul Wold
  3 siblings, 0 replies; 12+ messages in thread
From: Xiaofeng Yan @ 2012-01-13  7:06 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.7




^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 3/3] pango.inc: add directory "/etc/pango"
  2012-01-13  7:06 [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
  2012-01-13  7:06 ` [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb Xiaofeng Yan
  2012-01-13  7:06 ` [PATCH 2/3] cairo.inc: " Xiaofeng Yan
@ 2012-01-13  7:06 ` Xiaofeng Yan
  2012-01-16  4:34   ` Saul Wold
  2012-01-17 20:37 ` [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Saul Wold
  3 siblings, 1 reply; 12+ messages in thread
From: Xiaofeng Yan @ 2012-01-13  7:06 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..06db327 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} += "${bindir}/* ${libdir}/libpango*${SOLIBS}"
 FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
 FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
-- 
1.7.7




^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/3] pango.inc: add directory "/etc/pango"
  2012-01-13  7:06 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
@ 2012-01-16  4:34   ` Saul Wold
  2012-01-17  9:11     ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Saul Wold @ 2012-01-16  4:34 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/12/2012 11:06 PM, 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..06db327 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} += "${bindir}/* ${libdir}/libpango*${SOLIBS}"
This can actually be removed completed since the default for FILES_${PN}
includes bindir/* and libdir/lib*${SOLIBS}

I fixed this up in my testing area.

Sau!

>   FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
>   FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/3] pango.inc: add directory "/etc/pango"
  2012-01-16  4:34   ` Saul Wold
@ 2012-01-17  9:11     ` Khem Raj
  2012-01-17 10:13       ` Koen Kooi
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2012-01-17  9:11 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sun, Jan 15, 2012 at 8:34 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 01/12/2012 11:06 PM, 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..06db327 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} += "${bindir}/* ${libdir}/libpango*${SOLIBS}"
>
> This can actually be removed completed since the default for FILES_${PN}
> includes bindir/* and libdir/lib*${SOLIBS}
>
> I fixed this up in my testing area.
>

Saul

 This seems wrong to me. Since now all the modules will also be bundled in $PN
whereas you want them in pango-modules-* packages since
populate_packages_prepend has nothing left to generate out modules
packages so please reintroduce the FILES_${PN} as it was (note that it
was overwriting the defaults
and not appending to it.)

> Sau!
>
>
>>  FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
>>  FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/3] pango.inc: add directory "/etc/pango"
  2012-01-17  9:11     ` Khem Raj
@ 2012-01-17 10:13       ` Koen Kooi
  0 siblings, 0 replies; 12+ messages in thread
From: Koen Kooi @ 2012-01-17 10:13 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 17 jan. 2012, om 10:11 heeft Khem Raj het volgende geschreven:

> On Sun, Jan 15, 2012 at 8:34 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> On 01/12/2012 11:06 PM, 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..06db327 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} += "${bindir}/* ${libdir}/libpango*${SOLIBS}"
>> 
>> This can actually be removed completed since the default for FILES_${PN}
>> includes bindir/* and libdir/lib*${SOLIBS}
>> 
>> I fixed this up in my testing area.
>> 
> 
> Saul
> 
> This seems wrong to me. Since now all the modules will also be bundled in $PN
> whereas you want them in pango-modules-* packages since
> populate_packages_prepend has nothing left to generate out modules
> packages so please reintroduce the FILES_${PN} as it was (note that it
> was overwriting the defaults
> and not appending to it.)

The original problem can also be solved by doing the mkdir in the postinst prologue


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb"
  2012-01-13  7:06 [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
                   ` (2 preceding siblings ...)
  2012-01-13  7:06 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
@ 2012-01-17 20:37 ` Saul Wold
  3 siblings, 0 replies; 12+ messages in thread
From: Saul Wold @ 2012-01-17 20:37 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/12/2012 11:06 PM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> Hi Saul,
>
> I remove ${sysconfdir}/* because bitbake will package this directory as default.
>
> The following part was previous description.
> ----------------------------------------------
> Bitbake complain " No package 'cairo-xlib' found" when building image "core-image-gtk-directfb".
> Misconfiguration of directfb in PACKAGECONFIG causes this problem. I change directfb to gtk-directfb.
> Another problem is about messy code when running gtk-demo because of no "/etc/pango".
> I create this directory in pango.inc.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: xiaofeng/gtk-directfb
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/gtk-directfb
>
> Thanks,
>      Xiaofeng Yan<xiaofeng.yan@windriver.com>
> ---
>
>
> Xiaofeng Yan (3):
>    gtk.inc: Change configuration of directfb to gtk-directfb
>    cairo.inc: Change configuration of directfb to gtk-directfb
These first 2 were merged into OE-Core
>    pango.inc: add directory "/etc/pango"
>
This was also merged, but there where a couple of other changes to 
pango.inc, I think that we need one more change to fix the /etc/pango -> 
${sysconfdir} in the FILES_${PN}list.

Sau!

>   meta/recipes-gnome/gtk+/gtk+.inc      |    2 +-
>   meta/recipes-graphics/cairo/cairo.inc |    2 +-
>   meta/recipes-graphics/pango/pango.inc |    7 ++++++-
>   3 files changed, 8 insertions(+), 3 deletions(-)
>



^ permalink raw reply	[flat|nested] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

* [PATCH 3/3] pango.inc: add directory "/etc/pango"
  2012-01-12  8:12 PATCH 0/3] " Xiaofeng Yan
@ 2012-01-12  8:12 ` Xiaofeng Yan
  2012-01-12 20:30   ` Saul Wold
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread

end of thread, other threads:[~2012-01-17 20:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13  7:06 [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Xiaofeng Yan
2012-01-13  7:06 ` [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb Xiaofeng Yan
2012-01-13  7:06 ` [PATCH 2/3] cairo.inc: " Xiaofeng Yan
2012-01-13  7:06 ` [PATCH 3/3] pango.inc: add directory "/etc/pango" Xiaofeng Yan
2012-01-16  4:34   ` Saul Wold
2012-01-17  9:11     ` Khem Raj
2012-01-17 10:13       ` Koen Kooi
2012-01-17 20:37 ` [PATCH 0/3]: Fix the error when building image "core-image-gtk-directfb" Saul Wold
  -- strict thread matches above, loose matches on Subject: below --
2012-01-12  8:12 PATCH 0/3] " Xiaofeng Yan
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
2012-01-13  7:05       ` Xiaofeng Yan

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.