Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256802 - x11-libs/qt-4.4 keywording on sparc-solaris
Summary: x11-libs/qt-4.4 keywording on sparc-solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: High enhancement
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 223005
  Show dependency tree
 
Reported: 2009-01-29 16:14 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2009-10-20 10:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
qt-4.4.2-solaris.patch (qt-4.4.2-solaris.patch,380 bytes, patch)
2009-01-29 16:16 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
qt-4.4.2-g++.diff (qt-4.4.2-g++.diff,408 bytes, patch)
2009-01-29 16:16 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
qt-4.4.2-configure-libiconv.diff (qt-4.4.2-configure-libiconv.diff,397 bytes, patch)
2009-01-29 23:27 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
qt-4.4.2-no-system-libs.diff (qt-4.4.2-no-system-libs.diff,728 bytes, patch)
2009-02-19 21:10 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
qtdemo.png (qtdemo.png,176.55 KB, image/png)
2009-05-27 10:24 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2009-01-29 16:14:53 UTC
The following patches will, together with qt-4.3.3-solaris-prefix.patch from the previous version, allow building of qt-4.4.2 in a sparc-solaris prefix.

Reproducible: Always

Steps to Reproduce:
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-01-29 16:16:14 UTC
Created attachment 180120 [details, diff]
qt-4.4.2-solaris.patch

Add missing linker options for Solaris
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-01-29 16:16:50 UTC
Created attachment 180121 [details, diff]
qt-4.4.2-g++.diff

Use g++ instead of Sun CC
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-01-29 23:27:26 UTC
Created attachment 180178 [details, diff]
qt-4.4.2-configure-libiconv.diff

Do not attempt to implicitly cast const char** to char**
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-13 15:34:37 UTC
so, you just need these patches and the ~sparc-solaris keyword added to qt-4.4.2?
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-02-18 21:07:38 UTC
please keyword:

x11-libs/qt-4.4.2

please add the patches and keyword:

x11-libs/qt-assistant-4.4.2-r1
x11-libs/qt-core-4.4.2-r2
x11-libs/qt-gui-4.4.2-r3
x11-libs/qt-qt3support-4.4.2
x11-libs/qt-script-4.4.2
x11-libs/qt-sql-4.4.2-r1
x11-libs/qt-svg-4.4.2
x11-libs/qt-test-4.4.2
x11-libs/qt-webkit-4.4.2-r1
x11-libs/qt-xmlpatterns-4.4.2
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-02-19 21:10:24 UTC
Created attachment 182576 [details, diff]
qt-4.4.2-no-system-libs.diff

additional patch to make qt not use system installed libraries from /usr/sfw and /usr/openwin
Comment 7 Fabian Groffen gentoo-dev 2009-02-24 13:47:23 UTC
I'm a bit concerned about the libiconv patch, why is it a problem?
Comment 8 Fabian Groffen gentoo-dev 2009-02-24 13:57:20 UTC
where did you apply these patches?  In all ebuilds, or just qt-core or something?
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-02-27 02:39:07 UTC
Without the libiconv patch, gcc will fail to compile the iconv configure test. The patches have to be added to each qt ebuild.
Comment 10 Fabian Groffen gentoo-dev 2009-05-24 09:06:09 UTC
I'm currently testing these, looks promising
Comment 11 Fabian Groffen gentoo-dev 2009-05-24 09:35:52 UTC
"patches" added to qt4-build.eclass, I was able to successfully build qt-4.5.1 on x86-solaris.  Thanks!
Comment 12 Fabian Groffen gentoo-dev 2009-05-27 09:21:31 UTC
hmmm, it does build for me, but qt-demo produces garbage on the terminal, writes directories and only shows squares in the windows, no readable fonts.
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-05-27 10:19:59 UTC
I tested it, qtdemo mostly works for me. Only the OpenGL demo (predictably) fails.  Maybe you are missing some fonts?
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-05-27 10:24:07 UTC
Created attachment 192570 [details]
qtdemo.png

Screenshot of qtdemo running in a Xephyr session. During execution, the following messages are printed to the terminal:

X Error: BadImplementation (server does not implement operation) 17
  Extension:    153 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x17
X Error: BadImplementation (server does not implement operation) 17
  Extension:    153 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x17
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
Unrecognised OpenGL version
Comment 15 Fabian Groffen gentoo-dev 2009-10-20 10:42:16 UTC
3.5.3 works for me now, and pretty swift too!