summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2009-10-29 18:27:23 +0000
committerDominik Kapusta <ayoy@gentoo.org>2009-10-29 18:27:23 +0000
commit4633720851dbb0aadca1ea987ee2bb7b30874f49 (patch)
tree8b9a0589aa8626a6848078a930924fd638efd7d9 /x11-libs
parentAdding a patch to fix regression in event loop (diff)
downloadgentoo-2-4633720851dbb0aadca1ea987ee2bb7b30874f49.tar.gz
gentoo-2-4633720851dbb0aadca1ea987ee2bb7b30874f49.tar.bz2
gentoo-2-4633720851dbb0aadca1ea987ee2bb7b30874f49.zip
Adding a patch to fix regression in event loop
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt-test/ChangeLog8
-rw-r--r--x11-libs/qt-test/files/qt-4.5.3-glib-event-loop.patch11
-rw-r--r--x11-libs/qt-test/qt-test-4.5.3-r1.ebuild35
3 files changed, 53 insertions, 1 deletions
diff --git a/x11-libs/qt-test/ChangeLog b/x11-libs/qt-test/ChangeLog
index 37312e92c535..c2b1a7c753c0 100644
--- a/x11-libs/qt-test/ChangeLog
+++ b/x11-libs/qt-test/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/qt-test
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-test/ChangeLog,v 1.43 2009/10/29 11:27:05 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-test/ChangeLog,v 1.44 2009/10/29 18:27:23 ayoy Exp $
+
+*qt-test-4.5.3-r1 (29 Oct 2009)
+
+ 29 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> +qt-test-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; Christian Faulhammer <fauli@gentoo.org> qt-test-4.5.3.ebuild:
stable x86, bug 290922
diff --git a/x11-libs/qt-test/files/qt-4.5.3-glib-event-loop.patch b/x11-libs/qt-test/files/qt-4.5.3-glib-event-loop.patch
new file mode 100644
index 000000000000..580f027a5471
--- /dev/null
+++ b/x11-libs/qt-test/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-test/qt-test-4.5.3-r1.ebuild b/x11-libs/qt-test/qt-test-4.5.3-r1.ebuild
new file mode 100644
index 000000000000..f6196dea753e
--- /dev/null
+++ b/x11-libs/qt-test/qt-test-4.5.3-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-test/qt-test-4.5.3-r1.ebuild,v 1.1 2009/10/29 18:27:23 ayoy Exp $
+
+EAPI="2"
+inherit qt4-build
+
+DESCRIPTION="The testing framework module for the Qt toolkit"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="iconv"
+
+DEPEND="~x11-libs/qt-core-${PV}[debug=]"
+RDEPEND="${DEPEND}"
+
+QT4_TARGET_DIRECTORIES="src/testlib"
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
+include/QtTest/
+include/QtCore/
+src/corelib/"
+
+PATCHES=(
+ "${FILESDIR}/qt-4.5-nolibx11.diff"
+ "${FILESDIR}/qt-${PV}-glib-event-loop.patch"
+)
+
+src_configure() {
+ myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
+ -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
+ -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
+ -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
+ -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
+ -no-fontconfig -no-glib -no-opengl -no-svg"
+ qt4-build_src_configure
+}