Skip to contentSkip to conversation

qt4-x11-free: depend on ICU

PATCH In review Ross Burton 3 participants 4 messages Nov 29, 2013 – Nov 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4-x11-free: depend on ICU

ICU presence is auto-detected at configure time and until recently (e68850 and d61230) was pulled into most builds through harfbuzz and beecrypt. Now it's floating and this leads to build failures.

As in all likelihood the majority of people were building this with ICU enabled, add an explicit dependency.

---
 meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
 meta/recipes-qt/qt4/qt4.inc          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
index 369b3d5..46869aa 100644
@@ -3,7 +3,7 @@ require qt4.inc
 DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version."
 HOMEPAGE = "http://qt-project.org/"
 SECTION = "x11/libs"
-DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
+DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor icu"
 PROVIDES += "qt4-x11"
 QT4DEPENDS = ""
 
meta/recipes-qt/qt4/qt4.inc +1 -1
index 293eb87..659561c 100644
@@ -23,7 +23,7 @@ QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio
 QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
                     -shared -no-nas-sound -no-nis \
                     -system-libjpeg -system-libpng -system-libtiff -system-zlib \
-                    -no-pch -stl -glib \
+                    -no-pch -stl -glib -icu \
                     -no-rpath -silent \
                     ${QT_DBUS} \
                     ${QT_QT3SUPPORT} \
Signature · 1 line
1.7.10.4
#1 lore raw

Hi Ross,

Quoted 33 lines · On Friday 29 November 2013 13:51:05 Ross Burton wrote:

ICU presence is auto-detected at configure time and until recently (e68850 and d61230) was pulled into most builds through harfbuzz and beecrypt. Now it's floating and this leads to build failures.

As in all likelihood the majority of people were building this with ICU enabled, add an explicit dependency.

---
 meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
 meta/recipes-qt/qt4/qt4.inc          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-qt/qt4/qt4-x11-free.inc index 369b3d5..46869aa 100644

meta/recipes-qt/qt4/qt4-x11-free.inc +0 -0
@@ -3,7 +3,7 @@ require qt4.inc
 DESCRIPTION = "Qt is a versatile cross-platform application framework --

this is the X11 version." HOMEPAGE = "http://qt-project.org/"
SECTION = "x11/libs"
-DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" +DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor icu" PROVIDES += "qt4-x11"
QT4DEPENDS = ""

meta/recipes-qt/qt4/qt4.inc +0 -0
index 293eb87..659561c 100644
@@ -23,7 +23,7 @@ QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES',

'pulseaudio', '-pulseaudio QT_CONFIG_FLAGS += "-release -no-cups

meta/recipes-qt/qt4/qt4.inc QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio · line 29

Quoted 8 lines
meta/recipes-qt/qt4/qt4.inc +1 -2
-reduce-relocations \
                     -shared -no-nas-sound -no-nis \
                     -system-libjpeg -system-libpng -system-libtiff
-system-zlib \ -                    -no-pch -stl -glib \
+                    -no-pch -stl -glib -icu \
                     -no-rpath -silent \
                     ${QT_DBUS} \
                     ${QT_QT3SUPPORT} \

It seems like ICU might still have problems building for PowerPC. If that's the case, we should probably be explicitly disabling ICU for that architecture, right?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 3 lines · Paul Eggleton

It seems like ICU might still have problems building for PowerPC. If that's the case, we should probably be explicitly disabling ICU for that architecture, right?

From discussion with Richard he reminded me that the problem is where host and target endian are different, so this impacts more than just PPC (and not all PPC machines). A quick look at the ICU documentation suggests that they have tooling in place for this so it's certainly worth checking that this is still an issue.

That said, this is simply enforcing the behaviour that was pretty consistent before as harfbuzz and beecrypt were both causing ICU to be installed.

Ross

#3 lore raw
Quoted 11 lines · Ross
Quoted 3 lines · Paul Eggleton

It seems like ICU might still have problems building for PowerPC. If that's the case, we should probably be explicitly disabling ICU for that architecture, right?

From discussion with Richard he reminded me that the problem is where host and target endian are different, so this impacts more than just PPC (and not all PPC machines). A quick look at the ICU documentation suggests that they have tooling in place for this so it's certainly worth checking that this is still an issue.

Quoted 3 lines

That said, this is simply enforcing the behaviour that was pretty consistent before as harfbuzz and beecrypt were both causing ICU to be installed.

This should be backported to Dora so we don't have it floating there as well.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750