qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
cover qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
From: Wenzong Fan <[email protected]>
This patch merged from Wind River Linux, it fix a potential '/' issue for qt4-x11-free.
[yocto bug id: 1671]
The following changes since commit b92b776d56e64a437181de9bc76f8dcc8e15a5f8:
Richard Purdie (1):
meta-yocto: Catch up with xserver and mesa upgrades/rename
are available in the git repository at:
git://git.pokylinux.org/poky-contrib wenzong/qt4_trailingslash
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/qt4_trailingslash
Wenzong Fan (1):
qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
meta/recipes-qt/qt4/qt4.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
PATCH 1/1 qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
From: Wenzong Fan <[email protected]>
[YOCTO #1671]
qt4-x11-free's recipe includes a sed script to sanitize it's .prl files, which are used by qmake to generate a list of libs and includes in the Makefiles it generates. It however, fails to take into account the possibility of trailing slashes, and thus leaves them in, and breaks gcc's syntax. Update these regexes to account for them.
--- meta/recipes-qt/qt4/qt4.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-qt/qt4/qt4.inc +5 -5
@@ -294,13 +294,13 @@ do_install() { rm -f ${D}/${bindir}/lrelease # fix pkgconfig, libtool and prl files - sed -i -e s#-L${S}/lib##g \ - -e s#-L${STAGING_LIBDIR}##g \ + sed -i -e s#-L${S}/lib/\?##g \ + -e s#-L${STAGING_LIBDIR}/\?##g \ -e 's#STAGING_LIBDIR}#libdir}'#g \ - -e s#-L${libdir}##g \ + -e s#-L${libdir}/\?##g \ -e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \ - -e s#" -Wl,-rpath-link,${S}/lib"##g \ - -e s#" -Wl,-rpath-link,${libdir}"##g \ + -e s#" -Wl,-rpath-link,${S}/lib/\?"##g \ + -e s#" -Wl,-rpath-link,${libdir}/\?"##g \ -e 's#Iin#I${in#g' \ ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc
Signature · 1 line
1.7.0.4
Saul Wold
AppliedQuoted 13 lines · On 10/12/2011 07:22 PM, [email protected] wrote:
From: Wenzong Fan<[email protected]>
This patch merged from Wind River Linux, it fix a potential '/' issue for qt4-x11-free.
[yocto bug id: 1671]
The following changes since commit
b92b776d56e64a437181de9bc76f8dcc8e15a5f8:
Richard Purdie (1):
meta-yocto: Catch up with xserver and mesa upgrades/renameare available in the git repository at:
Quoted 9 lines
git://git.pokylinux.org/poky-contribwenzong/qt4_trailingslash
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/qt4_trailingslashWenzong Fan (1):
qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.meta/recipes-qt/qt4/qt4.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
Merged into OE-Core
Thanks
Sau!
Quoted 6 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core