Bug 22160 - qt support for app-sci/electric
Bug#: 22160 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P4
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: orzel@freehackers.org
Component: Applications
URL: 
Summary: qt support for app-sci/electric
Keywords:  
Status Whiteboard: 
Opened: 2003-06-03 09:14 0000
Description:   Opened: 2003-06-03 09:14 0000
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.

------- Comment #1 From George Shapovalov 2003-06-13 23:32:45 0000 -------
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

------- Comment #2 From John Steele Scott 2004-03-14 16:24:20 0000 -------
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.

------- Comment #3 From John Steele Scott 2004-03-14 16:26:30 0000 -------
Created an attachment (id=27377) [details]
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).

------- Comment #4 From John Steele Scott 2004-03-14 16:27:51 0000 -------
Created an attachment (id=27378) [details]
fixes sandbox violations

This patch modifies the install target in the Makefile to respect $DESTDIR, so
we don't have any more sandbox violations.

------- Comment #5 From John Steele Scott 2004-03-14 16:31:05 0000 -------
Created an attachment (id=27380) [details]
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.

------- Comment #6 From Patrick Kursawe 2004-04-19 08:22:52 0000 -------
Nice work, John, put this into portage with only small changes. Thank you very
much.