Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Suggested packages option in portage
Date: Wed, 29 May 2013 21:17:40
Message-Id: 1369862248.9228.11.camel@localhost
In Reply to: Re: [gentoo-dev] [RFC] Suggested packages option in portage by Ian Stakenvicius
1 El mié, 29-05-2013 a las 11:46 -0400, Ian Stakenvicius escribió:
2 > On 29/05/13 11:43 AM, Vadim A. Misbakh-Soloviov wrote:
3 > > I think, it'll be nice to have a way to suggest some packages to
4 > > user, when (s)he installs something. For now it is only way to do
5 > > that by something like:
6 > >
7 > > pkg_postinst() { if ! has_version dev-lua/iluajit; then einfo
8 > > "You'd probably want to install dev-lua/iluajit to"; ewarn "get
9 > > fully functional interactive shell for LuaJIT"; fi if has_version
10 > > app-editors/emacs || has_version app-editors/xemacs; then einfo
11 > > "You'd probably want to install app-emacs/lua-mode to"; ewarn "get
12 > > Lua completion in emacs."; fi }
13 > >
14 > > but some people find that way annoying and some devs also thinks it
15 > > is bad way. Another way (use USEflags-related PDEPs — is a bad way
16 > > too).
17 > >
18 > > Any thoughts? :)
19 > >
20 >
21 >
22 > There are many thoughts, iirc there was at least one 100+ long thread
23 > in august/september 2012. Search for "SDEPEND" and "IUSE_RUNTIME" in
24 > the mailing list logs.
25 >
26
27 Also:
28 https://bugs.gentoo.org/show_bug.cgi?id=373323
29 https://bugs.gentoo.org/show_bug.cgi?id=453618
30
31 But I cannot remember what was finally blocking them (specially solution
32 pointed in second bug report)