summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2009-10-29 18:17:27 +0000
committerDominik Kapusta <ayoy@gentoo.org>2009-10-29 18:17:27 +0000
commit7e346f70255428ea1b3a94dcd7e4889c65ddea57 (patch)
tree672f5c888c23829d2c25c297cddd23ca7d371c47 /x11-libs/qt-opengl
parentVersion bump with new optimization USE flags and code cleanup. Closes bugs 28... (diff)
downloadgentoo-2-7e346f70255428ea1b3a94dcd7e4889c65ddea57.tar.gz
gentoo-2-7e346f70255428ea1b3a94dcd7e4889c65ddea57.tar.bz2
gentoo-2-7e346f70255428ea1b3a94dcd7e4889c65ddea57.zip
Adding a patch to fix regression in event loop
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qt-opengl')
-rw-r--r--x11-libs/qt-opengl/ChangeLog8
-rw-r--r--x11-libs/qt-opengl/files/qt-4.5.3-glib-event-loop.patch11
-rw-r--r--x11-libs/qt-opengl/qt-opengl-4.5.3-r1.ebuild48
3 files changed, 66 insertions, 1 deletions
diff --git a/x11-libs/qt-opengl/ChangeLog b/x11-libs/qt-opengl/ChangeLog
index b53b3f31bc89..f12bf5316dfa 100644
--- a/x11-libs/qt-opengl/ChangeLog
+++ b/x11-libs/qt-opengl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/qt-opengl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-opengl/ChangeLog,v 1.44 2009/10/29 15:14:26 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-opengl/ChangeLog,v 1.45 2009/10/29 18:17:27 ayoy Exp $
+
+*qt-opengl-4.5.3-r1 (29 Oct 2009)
+
+ 29 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> +qt-opengl-4.5.3-r1.ebuild,
+ +files/qt-4.5.3-glib-event-loop.patch:
+ Adding a patch to fix regression in event loop
29 Oct 2009; Tomáš Chvátal <scarabeus@gentoo.org>
qt-opengl-4.5.3.ebuild:
diff --git a/x11-libs/qt-opengl/files/qt-4.5.3-glib-event-loop.patch b/x11-libs/qt-opengl/files/qt-4.5.3-glib-event-loop.patch
new file mode 100644
index 000000000000..580f027a5471
--- /dev/null
+++ b/x11-libs/qt-opengl/files/qt-4.5.3-glib-event-loop.patch
@@ -0,0 +1,11 @@
+diff -up qt-x11-opensource-src-4.5.3/src/corelib/kernel/qeventdispatcher_glib.cpp.than qt-x11-opensource-src-4.5.3/src/corelib/kernel/qeventdispatcher_glib.cpp
+--- qt-x11-opensource-src-4.5.3/src/corelib/kernel/qeventdispatcher_glib.cpp.than 2009-10-29 16:15:58.000000000 +0100
++++ qt-x11-opensource-src-4.5.3/src/corelib/kernel/qeventdispatcher_glib.cpp 2009-10-29 16:16:22.000000000 +0100
+@@ -263,7 +263,6 @@ QEventDispatcherGlibPrivate::QEventDispa
+ (void) new (&timerSource->timerList) QTimerInfoList();
+ timerSource->processEventsFlags = QEventLoop::AllEvents;
+ g_source_set_can_recurse(&timerSource->source, true);
+- g_source_set_priority(&timerSource->source, G_PRIORITY_DEFAULT_IDLE);
+ g_source_attach(&timerSource->source, mainContext);
+ }
+
diff --git a/x11-libs/qt-opengl/qt-opengl-4.5.3-r1.ebuild b/x11-libs/qt-opengl/qt-opengl-4.5.3-r1.ebuild
new file mode 100644
index 000000000000..14818204b4a4
--- /dev/null
+++ b/x11-libs/qt-opengl/qt-opengl-4.5.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-opengl/qt-opengl-4.5.3-r1.ebuild,v 1.1 2009/10/29 18:17:27 ayoy Exp $
+
+EAPI="2"
+inherit qt4-build
+
+DESCRIPTION="The OpenGL module for the Qt toolkit"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="qt3support"
+
+DEPEND="~x11-libs/qt-core-${PV}[debug=,qt3support=]
+ ~x11-libs/qt-gui-${PV}[debug=,qt3support=]
+ virtual/opengl
+ virtual/glu"
+RDEPEND="${DEPEND}"
+
+QT4_TARGET_DIRECTORIES="
+src/opengl
+src/plugins/graphicssystems/opengl"
+
+QT4_EXTRACT_DIRECTORIES="
+include/QtCore
+include/QtGui
+include/QtOpenGL
+src/corelib
+src/gui
+src/opengl
+src/plugins
+src/3rdparty"
+
+QCONFIG_ADD="opengl"
+QCONFIG_DEFINE="QT_OPENGL"
+
+PATCHES=(
+ "${FILESDIR}/qt-${PV}-glib-event-loop.patch"
+)
+
+src_configure() {
+ myconf="${myconf} -opengl
+ $(qt_use qt3support)"
+
+ qt4-build_src_configure
+
+ # Not building tools/designer/src/plugins/tools/view3d as it's
+ # commented out of the build in the source
+}