Summary: | dev-python/PyQt4 needs a patch for ARM | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Holler <aholler> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm, python |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 322351 | ||
Attachments: | Patch from Ubuntu |
Description
Alexander Holler
2010-06-01 09:43:05 UTC
Created attachment 233763 [details, diff]
Patch from Ubuntu
To apply the patch I've changed the following: --- /usr/portage/dev-python/PyQt4/PyQt4-4.7.3.ebuild 2010-05-25 12:35:43.000000000 +0200 +++ PyQt4-4.7.3.ebuild 2010-05-31 16:39:50.048733374 +0200 @@ -48,6 +48,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.6.1-configure-multilib.patch" "${FILESDIR}/${PN}-4.7.2-configure.py.patch" + "${FILESDIR}/qreal_float_support.diff" ) src_prepare() { Is upstream aware of the issue? I don't know. Could you inform them please? I've informed them, but it seems they don't like the patch. The problem has come through a change in the definition of qreal on ARM: http://doc.trolltech.com/4.0/qtglobal.html#qreal-typedef against http://doc.trolltech.com/4.6/qtglobal.html#qreal-typedef So if something which uses PyQt uses double instead of qreal this fails now. So this patch is something which offers downward compatibility. Upstream will not apply this patch, which is understandable, because it isn't a problem of PyQt. But as long as there is no patch for kde4 which fixes the problem there, my suggestion is to apply this patch. Since both PyQt and KDE upstream don't leave us with any other choice, I've applied the patch provided for ARM arch. This needs a little more testing before closing. I'm closing this, if anything comes up with the testing we'll reopen. Thanks Alexander for reporting. |