Skip to contentSkip to conversation

qt4: add missing libglu dependency

PATCH In review Ross Burton 2 participants 3 messages Nov 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4: add missing libglu dependency

Qt4 needs to explicitly depend on libglu now that it's been split out of the Mesa recipe.

---
 meta/recipes-qt/qt4/qt4-x11-free.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-qt/qt4/qt4-x11-free.inc +2 -2
index 20ad30c..ef3ff81 100644
@@ -3,11 +3,11 @@ require qt4.inc
 DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version."
 HOMEPAGE = "http://qt.nokia.com"
 SECTION = "x11/libs"
-DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
+DEPENDS += "virtual/libgl libglu virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
 PROVIDES += "qt4-x11"
 QT4DEPENDS = ""
 
-INC_PR = "r47"
+INC_PR = "r48"
 
 QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
 QT_GLFLAGS_qemux86 = "-opengl"
Signature · 1 line
1.7.10
#1 lore raw
Quoted 2 lines · Ross Burton

Qt4 needs to explicitly depend on libglu now that it's been split out of the Mesa recipe.

I'll try to remove -lGLU from our linux.conf which seems to be only reason why we depend on it.
./linux.conf:QMAKE_LIBS_OPENGL = -lGLU -lGL

Upstream has only -lGL in QMAKE_LIBS_OPENGL.

Cheers,

Quoted 32 lines
---
 meta/recipes-qt/qt4/qt4-x11-free.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-qt/qt4/qt4-x11-free.inc +2 -2
index 20ad30c..ef3ff81 100644
@@ -3,11 +3,11 @@ require qt4.inc
 DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version."
 HOMEPAGE = "http://qt.nokia.com"
 SECTION = "x11/libs"
-DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
+DEPENDS += "virtual/libgl libglu virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
 PROVIDES += "qt4-x11"
 QT4DEPENDS = ""
 
-INC_PR = "r47"
+INC_PR = "r48"
 
 QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
 QT_GLFLAGS_qemux86 = "-opengl"
Signature · 7 lines
1.7.10


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

PATCH 1/1 qt4: remove -lGLU from QMAKE_LIBS_OPENGL in our linux.conf

upstream does not need GLU since:
commit e7eed096a0c33607a7a37baaf06e5952dc9d556b

Author: Bj<C3><B8>rn Erik Nilsen <[email protected]>
Date:   Mon Aug 9 14:07:01 2010 +0200

Remove dependency of OpenGL Utility Library (GLU).

GLU is not part of standard OpenGL and is not used internally in Qt, so we should not depend on it.

Task-number: QT-12227
Reviewed-by: kim

---
 meta/recipes-qt/qt4/qt4-4.8.1/linux.conf | 2 +-
 meta/recipes-qt/qt4/qt4-4.8.3/linux.conf | 2 +-
 meta/recipes-qt/qt4/qt4-embedded.inc     | 2 +-
 meta/recipes-qt/qt4/qt4-native.inc       | 2 +-
 meta/recipes-qt/qt4/qt4-x11-free.inc     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-qt/qt4/qt4-4.8.1/linux.conf +1 -1
index a541355..8670381 100644
@@ -29,7 +29,7 @@ QMAKE_LIBS_X11        = $(OE_QMAKE_LIBS_X11)
 QMAKE_LIBS_X11SM      = $(OE_QMAKE_LIBS_X11SM)
 QMAKE_LIBS_NIS        = -lnsl
 QMAKE_LIBS_EGL        = -lEGL
-QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL     = -lGL
 QMAKE_LIBS_OPENGL_QT  = -lGL
 QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
 QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
meta/recipes-qt/qt4/qt4-4.8.3/linux.conf +1 -1
index a541355..8670381 100644
@@ -29,7 +29,7 @@ QMAKE_LIBS_X11        = $(OE_QMAKE_LIBS_X11)
 QMAKE_LIBS_X11SM      = $(OE_QMAKE_LIBS_X11SM)
 QMAKE_LIBS_NIS        = -lnsl
 QMAKE_LIBS_EGL        = -lEGL
-QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL     = -lGL
 QMAKE_LIBS_OPENGL_QT  = -lGL
 QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
 QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
meta/recipes-qt/qt4/qt4-embedded.inc +1 -1
index afca7f8..fbd8c28 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 = "r49"
+INC_PR = "r50"
 
 QT4EDEPENDS = ""
 QT_BASE_LIB  ?= "libqt-embedded"
meta/recipes-qt/qt4/qt4-native.inc +1 -1
index 5f0fce1..ad20723 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
                     file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
                     file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
 
-INC_PR = "r17"
+INC_PR = "r18"
 
 inherit native
 
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
index 20ad30c..a50b0c7 100644
@@ -7,7 +7,7 @@ DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender li
 PROVIDES += "qt4-x11"
 QT4DEPENDS = ""
 
-INC_PR = "r47"
+INC_PR = "r48"
 
 QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
 QT_GLFLAGS_qemux86 = "-opengl"
Signature · 1 line
1.8.0