Re: [gentoo-dev] FEATURES to cut the excess in portage

2006-11-05 Thread John Jawed
Ah yep, missed it. Nevermind my chatter :-) On 11/5/06, Tobias Scherbaum <[EMAIL PROTECTED]> wrote: Am Sonntag, den 05.11.2006, 20:08 +0100 schrieb Christian Heim: > On Sunday, 05. November. 2006 19:02, John Jawed wrote: > > Two patches which allow a user to bypass files created

[gentoo-dev] FEATURES to cut the excess in portage

2006-11-05 Thread John Jawed
Two patches which allow a user to bypass files created with doman and dodoc in FEATURES: FEATURES="noman nodoc" emerge -av foo http://jawed.name/dev/gentoo/nodoc.patch http://jawed.name/dev/gentoo/noman.patch Quick background/inspiration: I found myself having to make an initrd suitable to do

Re: [gentoo-dev] Einput eclass

2006-07-24 Thread John Jawed
Alright, now it's the latest. Regards, John "Open source, you don't pay back, you pay forward." On 7/24/06, Alex Tarkovsky <[EMAIL PROTECTED]> wrote: On 7/24/06, John Jawed <[EMAIL PROTECTED]> wrote: > Updated version is up at http://jawed.name/dev/gentoo/

Re: [gentoo-dev] Einput eclass

2006-07-24 Thread John Jawed
Updated version is up at http://jawed.name/dev/gentoo/einput.eclass now. Regards, John "Open source, you don't pay back, you pay forward." On 7/24/06, Alex Tarkovsky <[EMAIL PROTECTED]> wrote: To ensure the global vars play nicely in the Portage environment I've renamed a few, and moved a coupl

Re: [gentoo-dev] Einput eclass

2006-07-23 Thread John Jawed
Alex, Nice work on this, it's looking good now. Is there a reason the leading asterisk was dropped? Having it there might be good for readability as well as keeping in line with the "look here" (einfo, eerror, ewarn, etc) motif in portage. I will be testing and reporting back my results, encoura

[gentoo-dev] Re: Einput eclass

2006-07-22 Thread John Jawed
Updated version, revised to use Gentoo supplied color codes (thanks to shillelagh for pointing me to these). http://jawed.name/dev/gentoo/einput.eclass Also cleaned up logic in displayListPrompt. Regards, John "Open source, you don't pay back, you pay forward." -- gentoo-dev@gentoo.org mailing

Re: [gentoo-dev] Einput eclass

2006-07-21 Thread John Jawed
Brian, I was looking through /usr/bin/emerge and lines 3477-3481 seemed to best fit what displayConfirmPrompt is trying to supplement. The check on line 3477 is against a "No" returned from userPrompt(), and then a system exit code is issued by caller (line 3481). Was unable to find any other in

Re: [gentoo-dev] Einput eclass

2006-07-20 Thread John Jawed
There are two ebuilds which use this currently: http://jawed.name/dev/gentoo/openfts-0.39.ebuild http://jawed.name/dev/gentoo/dev-db/pgfouine/pgfouine-0.6.ebuild The code used to generate the screenshot got lost in the initial posting, here it is: pkg_config() { displayListPrompt "1" "L

[gentoo-dev] Einput eclass

2006-07-19 Thread John Jawed
Below is a link to an "enhanced input" eclass as well as a screenshot. This eclass was made to simplify interacting with the user at pkg_config(). http://jawed.name/dev/gentoo/einput.eclass http://jawed.name/dev/gentoo/einput.png (code used to create this output is below) This eclass started off