Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 464214

Summary: app-editors/nano: add USE=static support
Product: Gentoo Linux Reporter: Joe M <joe9mail>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED WONTFIX    
Severity: normal CC: joe9mail
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for a static version of nano
patch for a static build of nano
nano 2.3.2 ebuild with static use flag

Description Joe M 2013-04-02 17:40:00 UTC
Created attachment 344090 [details]
patch for a static version of nano

static build of nano
Comment 1 Joe M 2013-04-02 18:12:06 UTC
Created attachment 344096 [details]
patch for a static build of nano
Comment 2 SpanKY gentoo-dev 2013-04-02 20:04:42 UTC
Comment on attachment 344096 [details]
patch for a static build of nano

you got closer to the right answer than most people, but this misses a few things ;)

look at wget-1.14.ebuild as an example of how to handle this

also, do not use EAPI=5.  i'll allow EAPI=4 for now.
Comment 3 Joe M 2013-04-02 20:28:48 UTC
Hello Spanky,

Just wanted to check if you need something more from me. Or, if you are incorporating the patch + your changes.

Thanks
Joe
Comment 4 SpanKY gentoo-dev 2013-04-02 20:52:53 UTC
(In reply to comment #3)

i'm not working on it.  i will eventually.  but if you want to try your hand at doing it now, i'll happily review+merge your work.
Comment 5 Joe M 2013-04-02 22:29:13 UTC
Created attachment 344132 [details]
nano 2.3.2 ebuild with static use flag
Comment 6 Joe M 2013-04-02 22:30:29 UTC
changed EAPI from 5 to 4. I checked wget-1.14 and do not see much different from what is in the above attached patch.

Thanks
Comment 7 SpanKY gentoo-dev 2013-04-03 02:23:51 UTC
Comment on attachment 344132 [details]
nano 2.3.2 ebuild with static use flag

please post a patch rather than a whole ebuild

i cited the wget ebuild because your proposal isn't handling the cases the wget one is -- multiple libraries (file, ncurses, slang), and the nuances of RDEPEND vs DEPEND with the various static states

there's no reason to blacklist USE=magic when USE=static