Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22160 - qt support for app-sci/electric
Summary: qt support for app-sci/electric
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low enhancement
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-03 09:14 UTC by Thomas Capricelli
Modified: 2004-04-19 08:22 UTC (History)
2 users (show)

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


Attachments
patch to enable qt (6.08-qt.patch,1.34 KB, patch)
2004-03-14 16:26 UTC, John Steele Scott
Details | Diff
fixes sandbox violations (6.08-fix-sandbox.patch,962 bytes, patch)
2004-03-14 16:27 UTC, John Steele Scott
Details | Diff
patch for electric ebuild (electric-qt.ebuild.patch,1.01 KB, patch)
2004-03-14 16:31 UTC, John Steele Scott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2003-06-03 09:14:47 UTC
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 George Shapovalov (RETIRED) gentoo-dev 2003-06-13 23:32:45 UTC
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 John Steele Scott 2004-03-14 16:24:20 UTC
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 John Steele Scott 2004-03-14 16:26:30 UTC
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).
Comment 4 John Steele Scott 2004-03-14 16:27:51 UTC
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.
Comment 5 John Steele Scott 2004-03-14 16:31:05 UTC
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.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2004-04-19 08:22:52 UTC
Nice work, John, put this into portage with only small changes. Thank you very much.