Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464214 - app-editors/nano: add USE=static support
Summary: app-editors/nano: add USE=static support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-02 17:40 UTC by Joe M
Modified: 2014-03-05 18:18 UTC (History)
1 user (show)

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


Attachments
patch for a static version of nano (static_nano.patch,1.12 KB, text/plain)
2013-04-02 17:40 UTC, Joe M
Details
patch for a static build of nano (static_nano.updated.patch,1.69 KB, text/plain)
2013-04-02 18:12 UTC, Joe M
Details
nano 2.3.2 ebuild with static use flag (nano-2.3.2.ebuild,2.39 KB, text/plain)
2013-04-02 22:29 UTC, Joe M
Details

Note You need to log in before you can comment on or make changes to this bug.
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