diff -Nru pyside-1.0.1/debian/changelog pyside-1.0.1/debian/changelog --- pyside-1.0.1/debian/changelog 2011-04-01 14:08:32.000000000 -0300 +++ pyside-1.0.1/debian/changelog 2011-05-16 16:46:03.000000000 -0300 @@ -1,3 +1,11 @@ +pyside (1.0.1-1ubuntu0.1) natty-proposed; urgency=low + + * debian/patches/remove_opengl_detection_restriction.patch: + - Remove the restriction of detecting QtOpenGL module just when gl.h is + available at the system (LP: #707794) + + -- Ricardo Salveti de Araujo Wed, 11 May 2011 08:06:30 +0200 + pyside (1.0.1-1) unstable; urgency=low * New 1.0.1 upstream release diff -Nru pyside-1.0.1/debian/patches/remove_opengl_detection_restriction.patch pyside-1.0.1/debian/patches/remove_opengl_detection_restriction.patch --- pyside-1.0.1/debian/patches/remove_opengl_detection_restriction.patch 1969-12-31 21:00:00.000000000 -0300 +++ pyside-1.0.1/debian/patches/remove_opengl_detection_restriction.patch 2011-05-16 16:45:42.000000000 -0300 @@ -0,0 +1,35 @@ +Description: Remove the restriction of detecing QtOpenGL module just when the gl.h header was found. +From: Hugo Parente Lima +Origin: upstream +Upstream commit: 54e97b8e14613348a881f3375b1f0e9b7bbf0df5 + +From 54e97b8e14613348a881f3375b1f0e9b7bbf0df5 Mon Sep 17 00:00:00 2001 +From: Hugo Parente Lima +Date: Fri, 6 May 2011 15:10:42 -0300 +Subject: [PATCH] Remove the restriction of detecing QtOpenGL module just when the gl.h header was found. + +This is needed to be able to compile the QtOpenGL module on Linux when using OpenGL-ES +backend. On the other hand OpenGL-ES support isn't yet supported under MS Windows but I +don't think that this should be a problem at all. +--- + PySide/CMakeLists.txt | 4 +--- + 1 files changed, 1 insertions(+), 3 deletions(-) + +diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt +index ac1529f..62c8068 100644 +--- a/PySide/CMakeLists.txt ++++ b/PySide/CMakeLists.txt +@@ -19,9 +19,7 @@ HAS_QT_MODULE(QT_QTWEBKIT_FOUND QtWebKit) + HAS_QT_MODULE(QT_QTSVG_FOUND QtSvg) + HAS_QT_MODULE(QT_QTXML_FOUND QtXml) + HAS_QT_MODULE(QT_QTTEST_FOUND QtTest) +-if (GL_H) +- HAS_QT_MODULE(QT_QTOPENGL_FOUND QtOpenGL) +-endif() ++HAS_QT_MODULE(QT_QTOPENGL_FOUND QtOpenGL) + HAS_QT_MODULE(QT_QTSQL_FOUND QtSql) + if(QT_QTDESIGNER_FOUND) + HAS_QT_MODULE(QT_QTUITOOLS_FOUND QtUiTools) +-- +1.7.4.1 + diff -Nru pyside-1.0.1/debian/patches/series pyside-1.0.1/debian/patches/series --- pyside-1.0.1/debian/patches/series 2011-04-01 08:58:07.000000000 -0300 +++ pyside-1.0.1/debian/patches/series 2011-05-16 16:45:42.000000000 -0300 @@ -1,2 +1,3 @@ lessBuildVerbosity.patch cmake_selectDefaultPython.patch +remove_opengl_detection_restriction.patch