Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623608 - media-gfx/opencsg-1.4.0 can be used with qt5, but ebuild is limited to qt4 only
Summary: media-gfx/opencsg-1.4.0 can be used with qt5, but ebuild is limited to qt4 only
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 623610
  Show dependency tree
 
Reported: 2017-07-03 00:38 UTC by maurerpe
Modified: 2017-07-05 04:00 UTC (History)
1 user (show)

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


Attachments
opencsg-1.4.0-r1.ebuild (opencsg-1.4.0-r100.ebuild,1015 bytes, text/plain)
2017-07-03 00:38 UTC, maurerpe
Details
opencsg-1.4.0-r1.ebuild (opencsg-1.4.0-r100.ebuild,1.04 KB, text/plain)
2017-07-03 00:42 UTC, maurerpe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maurerpe 2017-07-03 00:38:21 UTC
Created attachment 480086 [details]
opencsg-1.4.0-r1.ebuild

The media-gfx/opencsg code base works with qt5 and has for quite some time.  However, the ebuild in portage is only capable of building against qt4.

Attached is an ebuild lets the user choose either qt4 or qt5 (but not both).
Comment 1 maurerpe 2017-07-03 00:42:21 UTC
Created attachment 480088 [details]
opencsg-1.4.0-r1.ebuild

Forgot if/then/else in original ebuild.  Fixed now.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-07-04 13:33:12 UTC
Thanks, I've taken care of this in a version bump:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62743237f197457f7c43bc71620ff143b9acc7c2

Since we're slowly chipping away at Qt 4, I just made it use Qt 5 unconditionally. It seems to only use Qt for qmake (and doesn't link to Qt libraries at all) so this shouldn't affect revdeps.
Comment 3 maurerpe 2017-07-05 04:00:09 UTC
Excellent.  Thanks for the quick response.  I had trouble with the bumped ebuild, but for issues unrelated to this bug.  Reference bug 623840 for more info.  After applying the bug 623840 patch, everything worked as expected.