All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qt4-x11-free: depend on ICU
@ 2013-11-29 13:51 Ross Burton
  2013-11-29 14:47 ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2013-11-29 13:51 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
 meta/recipes-qt/qt4/qt4.inc          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc
index 369b3d5..46869aa 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free.inc
+++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
@@ -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 = ""
 
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 293eb87..659561c 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -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} \
-- 
1.7.10.4



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

* Re: [PATCH] qt4-x11-free: depend on ICU
  2013-11-29 13:51 [PATCH] qt4-x11-free: depend on ICU Ross Burton
@ 2013-11-29 14:47 ` Paul Eggleton
  2013-11-29 20:10   ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-11-29 14:47 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core

Hi Ross,

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.
> 
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
>  meta/recipes-qt/qt4/qt4.inc          |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc
> b/meta/recipes-qt/qt4/qt4-x11-free.inc index 369b3d5..46869aa 100644
> --- a/meta/recipes-qt/qt4/qt4-x11-free.inc
> +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
> @@ -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 = ""
> 
> diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
> index 293eb87..659561c 100644
> --- a/meta/recipes-qt/qt4/qt4.inc
> +++ b/meta/recipes-qt/qt4/qt4.inc
> @@ -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} \

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

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [PATCH] qt4-x11-free: depend on ICU
  2013-11-29 14:47 ` Paul Eggleton
@ 2013-11-29 20:10   ` Burton, Ross
  2013-11-30 21:48     ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2013-11-29 20:10 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: OE-core

On 29 November 2013 14:47, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> 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


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

* Re: [PATCH] qt4-x11-free: depend on ICU
  2013-11-29 20:10   ` Burton, Ross
@ 2013-11-30 21:48     ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2013-11-30 21:48 UTC (permalink / raw)
  To: Burton, Ross, Robert Yang; +Cc: Paul Eggleton, OE-core

On Fri, Nov 29, 2013 at 6:10 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 29 November 2013 14:47, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
>> 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.

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

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


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

end of thread, other threads:[~2013-11-30 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 13:51 [PATCH] qt4-x11-free: depend on ICU Ross Burton
2013-11-29 14:47 ` Paul Eggleton
2013-11-29 20:10   ` Burton, Ross
2013-11-30 21:48     ` Otavio Salvador

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.