Skip to contentSkip to conversation

libx11-diet: Fix bug 1050

PATCH In review Xiaofeng Yan 2 participants 3 messages Aug 12, 2011

lore
Share & tools
lore
#0 lore raw

cover libx11-diet: Fix bug 1050

From: Xiaofeng Yan <[email protected]>

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 <[email protected]>
---

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

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

PATCH 1/1 libx11-diet: Fix bug 1050

From: Xiaofeng Yan <[email protected]>

[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.

---
 meta/recipes-graphics/xorg-lib/libx11.inc |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
meta/recipes-graphics/xorg-lib/libx11.inc +6 -0
index c156ce6..dbc50f8 100644
@@ -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
Signature · 1 line
1.7.0.4
#2 lore raw
Quoted 21 lines · Xiaofeng Yan

From: Xiaofeng Yan <[email protected]>

[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.

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

meta/recipes-graphics/xorg-lib/libx11.inc EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-sp · line 26

Quoted 9 lines
meta/recipes-graphics/xorg-lib/libx11.inc +6 -0
@@ -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