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" "List Entry" "2" "List File" "Choose a listing
style"
einfo
displayConfirmPrompt "Are you sure you want to rm -rf /?"
einfo
displayQuestionPrompt "Is Gentoo a good Linux distro?" "Yes it is Jim"
einfo
displaySQuestionPrompt "Please enter your root password"
}
On 7/20/06, Luca Longinotti <[EMAIL PROTECTED]> wrote:
I'm willing to put this eclass in the tree and maintain it myself for now, and
when John
become a full Gentoo dev (this is already scheduled, he'll help out on
PostgreSQL related stuff in the near future), he can take it over
directy... Any objections to this wandering into the tree?
Thanks Luca!
On 7/20/06, Brian Harring <[EMAIL PROTECTED]> wrote:
Examples of converted ebuilds would be wise prior to plopping it into
the tree imo- fex, displayConfirmPrompt looks like it should be
reliant on exit codes rather then mangling a global var to indicate
the outcome; that would shift it more towards "get confirmation"
rather then display.
Makes much more sense, I will get to work on converting those to exit codes.
Regards,
John
"Open source, you don't pay back, you pay forward."
--
[email protected] mailing list