Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] libx11-diet: Fix bug 1050
@ 2011-08-12  7:06 Xiaofeng Yan
  2011-08-12  7:06 ` [PATCH 1/1] " Xiaofeng Yan
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2011-08-12  7:06 UTC (permalink / raw)
  To: openembedded-core

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

I got do_compile failure during building qemux86 image 
| ../../../doltlibtool: line 17: 
/distro/dcui/0704/pc1/build/tmp/work/i586-poky-linux/ \
libx11-diet-1.3-r2/libX11-1.3/modules/im/ximcp/../../../libtool: No such file or directory 

This is due to not found libtool, but i586-poky-linux-libtool in libX11-1.3 
So I link libtool to ${TARGET_PREFIX}libtool for solving this problem. 
 

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: xiaofeng/libx11-diet
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/libx11-diet

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


Xiaofeng Yan (1):
  libx11-diet: Fix bug 1050

 meta/recipes-graphics/xorg-lib/libx11.inc |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)




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

* [PATCH 1/1] libx11-diet: Fix bug 1050
  2011-08-12  7:06 [PATCH 0/1] libx11-diet: Fix bug 1050 Xiaofeng Yan
@ 2011-08-12  7:06 ` Xiaofeng Yan
  2011-08-12 16:39   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2011-08-12  7:06 UTC (permalink / raw)
  To: openembedded-core

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

[YOCTO #1050]
I got do_compile failure during building qemux86 image
| ../../../doltlibtool: line 17:
/distro/dcui/0704/pc1/build/tmp/work/i586-poky-linux/libx11-diet-1.3-r2/libX11-1.3/modules/im/ximcp/../../../libtool:
No such file or directory

This is due to not found libtool, but i586-poky-linux-libtool in libX11-1.3
So I link libtool to ${TARGET_PREFIX}libtool for solving this problem.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 meta/recipes-graphics/xorg-lib/libx11.inc |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
index c156ce6..dbc50f8 100644
--- a/meta/recipes-graphics/xorg-lib/libx11.inc
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -18,6 +18,12 @@ EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-sp
 FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
 FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
 
+do_configure_append() {
+    if [ -f ${TARGET_PREFIX}libtool ]; then
+        ln -sf ${TARGET_PREFIX}libtool libtool
+    fi
+}
+
 do_compile() {
 	cd ${S}/src/util
 	mv makekeys.c.orig makekeys.c || true
-- 
1.7.0.4




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

* Re: [PATCH 1/1] libx11-diet: Fix bug 1050
  2011-08-12  7:06 ` [PATCH 1/1] " Xiaofeng Yan
@ 2011-08-12 16:39   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-12 16:39 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2011-08-12 at 15:06 +0800, Xiaofeng Yan wrote:
> From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> 
> [YOCTO #1050]
> I got do_compile failure during building qemux86 image
> | ../../../doltlibtool: line 17:
> /distro/dcui/0704/pc1/build/tmp/work/i586-poky-linux/libx11-diet-1.3-r2/libX11-1.3/modules/im/ximcp/../../../libtool:
> No such file or directory
> 
> This is due to not found libtool, but i586-poky-linux-libtool in libX11-1.3
> So I link libtool to ${TARGET_PREFIX}libtool for solving this problem.
> 
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> ---
>  meta/recipes-graphics/xorg-lib/libx11.inc |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
> index c156ce6..dbc50f8 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11.inc
> +++ b/meta/recipes-graphics/xorg-lib/libx11.inc
> @@ -18,6 +18,12 @@ EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-sp
>  FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
>  FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
>  
> +do_configure_append() {
> +    if [ -f ${TARGET_PREFIX}libtool ]; then
> +        ln -sf ${TARGET_PREFIX}libtool libtool
> +    fi
> +}
> +

Please just disable dolt as per the other libx11 recipes.

Cheers,

Richard




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

end of thread, other threads:[~2011-08-12 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12  7:06 [PATCH 0/1] libx11-diet: Fix bug 1050 Xiaofeng Yan
2011-08-12  7:06 ` [PATCH 1/1] " Xiaofeng Yan
2011-08-12 16:39   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox