as stated on http://www.staticfreesoft.com/manual/text/chap01-03.html, electric can either use motif or Qt. My feature wish is that the ebuild does accordingly to the USE var. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hi Thomas. I'll look into this as I'll get some time - this doesn't seem to be completely trivial. According to description modification to Makefile is required. Of course patch to the existing ebuild would be appreciated ;). George
Hi George, Thomas, I have done a little bit of work on this issue, and will attach my results. The reality is that electric needs to be more fully autoconfiscated, but for now we will just go the Makefile-patching route.
Created attachment 27377 [details, diff] patch to enable qt This patch uncomments the parts of the Makefile.in required to build with qt, and comments out the parts which will build against motif (you can't have both).
Created attachment 27378 [details, diff] fixes sandbox violations This patch modifies the install target in the Makefile to respect $DESTDIR, so we don't have any more sandbox violations.
Created attachment 27380 [details, diff] patch for electric ebuild This patch modifies the ebuild as follows: 1) Apply the fix-sandbox patch. 2) If qt is in use, apply the qt patch and depend on qt, otherwise stick with openmotif. 3) Set DESTDIR for when we make install.
Nice work, John, put this into portage with only small changes. Thank you very much.