Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635062 - media-gfx/openscad-2015.03 egl problem and solution
Summary: media-gfx/openscad-2015.03 egl problem and solution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-22 11:46 UTC by Jesper Saxtorph
Modified: 2017-12-09 02:20 UTC (History)
0 users

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


Attachments
Fix of egl dependencies + change to newest stable (openscad-eglfix.patch,941 bytes, patch)
2017-10-22 11:46 UTC, Jesper Saxtorph
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Saxtorph 2017-10-22 11:46:39 UTC
Created attachment 499640 [details, diff]
Fix of egl dependencies + change to newest stable

I do not remember all the details as I had the problem in January and just forgot all about reporting it.
As far as I remember openscad and egl do not work with older glew (<2.0). So if you are running with a stabel glew version, then openscad will not work as there is no stable version of glew >=2.0 and openscad depends on glew.

So basically you either need to use -egl (qtgui and qtopengl) or you need a newer glew. I am using egl and do not remember if I ever tested without egl. At that time I ran up against qt4 and I think I first tried to run it with -egl on the qt4 parts with success, but I am not sure anymore.

Anyway I have been running with media-libs/glew-2.0.0 for some time with success.

As a side note I have also changed to run with the newest stable openscad: 2015.03-3 instead of the one used in the current ebuild: 2015.03-2

I have attached a patch giving the ebuild I use.
(remember renaming of openscad-2015.03_p2_uic_tr_fix.patch to openscad-2015.03_p3_uic_tr_fix.patch)

Best regards,
Jesper
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-12-09 02:20:33 UTC
hm, there is no dev-qt/qtopengl:5[-egl], so let's stick with the newer glew version. Thanks for the hint with the pachlevel 3 download.

Author: Michael Weber <xmw@gentoo.org>
Date:   Sat Dec 9 03:19:35 2017 +0100

    media-gfx/openscad: Version bump (big thanks to Jesper Saxtorph, bug 635062).
    
    Package-Manager: Portage-2.3.16, Repoman-2.3.6