Skip to contentSkip to conversation

qt4.inc: depend on tiff

PATCH Superseded Andreas Oberritter 5 participants 9 messages Feb 27, 2012 – Feb 28, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

---
 meta/recipes-qt/qt4/qt4.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-qt/qt4/qt4.inc +1 -1
index ea868ff..a16a475 100644
@@ -1,6 +1,6 @@
 inherit qmake_base
 
-DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3"
+DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3 tiff"
 
 require qt4_arch.inc
 QT_ARCH := "${@qt_arch(d)}"
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 3 lines · Andreas Oberritter

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

Please bump INC_PR.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#2 lore raw
Quoted 1 line · On Monday 27 February 2012 14:20:15 Otavio Salvador wrote:

On Mon, Feb 27, 2012 at 14:10, Andreas Oberritter <[email protected]>

Quoted 4 lines · wrote:
Quoted 3 lines

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:
| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No | such file or directory

Please bump INC_PR.

FYI, there's no INC_PR in qt4.inc but you can bump INC_PR in qt4-embedded.inc and qt4-x11-free.inc since those are the only places that include qt4.inc.

Cheers,
Paul

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

PATCH v2 1/1 qt4.inc: depend on tiff

Quoted 10 lines · Paul Eggleton
Quoted 1 line · On Monday 27 February 2012 14:20:15 Otavio Salvador wrote:

On Mon, Feb 27, 2012 at 14:10, Andreas Oberritter <[email protected]>

Quoted 4 lines · wrote:
Quoted 3 lines

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:
| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No | such file or directory

Please bump INC_PR.

FYI, there's no INC_PR in qt4.inc but you can bump INC_PR in qt4-embedded.inc and qt4-x11-free.inc since those are the only places that include qt4.inc.

In this case, bumping PR just wastes everybody's CPU cycles for no gain. Anyway, here's an updated patch:

From fdececee9146f4d23494361d29a34877d67b879b Mon Sep 17 00:00:00 2001
From: Andreas Oberritter <[email protected]>
Date: Mon, 27 Feb 2012 18:03:22 +0100
Subject: [PATCH] qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

---
 meta/recipes-qt/qt4/qt4-embedded.inc |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
 meta/recipes-qt/qt4/qt4.inc          |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-qt/qt4/qt4-embedded.inc +1 -1
index e472af5..80948f3 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is
 SECTION = "libs"
 HOMEPAGE = "http://qt.nokia.com"
 DEPENDS += "directfb tslib"
-INC_PR = "r40"
+INC_PR = "r41"
 
 QT_BASE_LIB  ?= "libqt-embedded"
 
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
index 40939de..75487f7 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com"
 SECTION = "x11/libs"
 DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
 
-INC_PR = "r37"
+INC_PR = "r38"
 
 QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
 QT_GLFLAGS_qemux86 = "-opengl"
meta/recipes-qt/qt4/qt4.inc +2 -2
index ea868ff..161daa3 100644
@@ -1,6 +1,6 @@
 inherit qmake_base
 
-DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3"
+DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3 tiff"
 
 require qt4_arch.inc
 QT_ARCH := "${@qt_arch(d)}"
@@ -15,7 +15,7 @@ QT_GLFLAGS ?= ""
 
 QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
                     -shared -no-nas-sound -no-nis \
-                    -system-libjpeg -system-libpng -system-zlib \
+                    -system-libjpeg -system-libpng -system-libtiff -system-zlib \
                     -no-pch -qdbus -stl -glib -phonon -webkit \
                     -xmlpatterns -no-rpath -qt3support -silent \
                     ${QT_SQL_DRIVER_FLAGS} \
Signature · 1 line
1.7.5.4
#4 lore raw
Quoted 2 lines · Andreas Oberritter

In this case, bumping PR just wastes everybody's CPU cycles for no gain. Anyway, here's an updated patch:

Not really; let's say if you had done a typo on the depends list it would be unnoticed in autobuilders and commited onto master.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#5 lore raw
Quoted 6 lines · Otavio Salvador
Quoted 2 lines · Andreas Oberritter

In this case, bumping PR just wastes everybody's CPU cycles for no gain. Anyway, here's an updated patch:

Not really; let's say if you had done a typo on the depends list it would be unnoticed in autobuilders and commited onto master.

I see your point, but OEBasicHash will notice new dependency and then it will be rebuild
at least by poky autobuilders (if they are building qt4).

#6 lore raw
Quoted 6 lines · Martin Jansa
Quoted 2 lines

Not really; let's say if you had done a typo on the depends list it would be unnoticed in autobuilders and commited onto master.

I see your point, but OEBasicHash will notice new dependency and then it will be rebuild
at least by poky autobuilders (if they are building qt4).

We're not using auto PR yet so let's keep the regular flow for now.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#7 lore raw
Quoted 9 lines · Otavio Salvador
Quoted 6 lines · Martin Jansa
Quoted 2 lines

Not really; let's say if you had done a typo on the depends list it would be unnoticed in autobuilders and commited onto master.

I see your point, but OEBasicHash will notice new dependency and then it will be rebuild
at least by poky autobuilders (if they are building qt4).

We're not using auto PR yet so let's keep the regular flow for now.

I'm not agains PR bump I'm just saying it would be rebuilt with OEBasicHash even without PR bump.. and without PRSERV

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Applied
#8 lore raw
In reply to Andreas Oberritter
Quoted 55 lines · Andreas Oberritter

From fdececee9146f4d23494361d29a34877d67b879b Mon Sep 17 00:00:00 2001
From: Andreas Oberritter<[email protected]>
Date: Mon, 27 Feb 2012 18:03:22 +0100
Subject: [PATCH] qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

---
  meta/recipes-qt/qt4/qt4-embedded.inc |    2 +-
  meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
  meta/recipes-qt/qt4/qt4.inc          |    4 ++--
  3 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-qt/qt4/qt4-embedded.inc +1 -1
index e472af5..80948f3 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is
  SECTION = "libs"
  HOMEPAGE ="http://qt.nokia.com"
  DEPENDS += "directfb tslib"
-INC_PR = "r40"
+INC_PR = "r41"
 
  QT_BASE_LIB  ?= "libqt-embedded"
 
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
index 40939de..75487f7 100644
@@ -5,7 +5,7 @@ HOMEPAGE ="http://qt.nokia.com"
  SECTION = "x11/libs"
  DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
 
-INC_PR = "r37"
+INC_PR = "r38"
 
  QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
  QT_GLFLAGS_qemux86 = "-opengl"
meta/recipes-qt/qt4/qt4.inc +1 -1
index ea868ff..161daa3 100644
@@ -1,6 +1,6 @@
  inherit qmake_base
 
-DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3"
+DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3 tiff"
 
  require qt4_arch.inc
  QT_ARCH := "${@qt_arch(d)}"

meta/recipes-qt/qt4/qt4.inc QT_GLFLAGS ?= ""

Quoted 9 lines
meta/recipes-qt/qt4/qt4.inc +1 -2
@@ -15,7 +15,7 @@ QT_GLFLAGS ?= ""
 
  QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
                      -shared -no-nas-sound -no-nis \
-                    -system-libjpeg -system-libpng -system-zlib \
+                    -system-libjpeg -system-libpng -system-libtiff -system-zlib \
                      -no-pch -qdbus -stl -glib -phonon -webkit \
                      -xmlpatterns -no-rpath -qt3support -silent \
                      ${QT_SQL_DRIVER_FLAGS} \
-- 1.7.5.4

Merged into OE-core

Thanks
Sau!