public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Suggested packages option in portage
@ 2013-05-29 15:43 Vadim A. Misbakh-Soloviov
  2013-05-29 15:46 ` Ian Stakenvicius
  0 siblings, 1 reply; 3+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-05-29 15:43 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

I think, it'll be nice to have a way to suggest some packages to user,
when (s)he installs something. For now it is only way to do that by
something like:

pkg_postinst() {
        if ! has_version dev-lua/iluajit; then
                einfo "You'd probably want to install dev-lua/iluajit to";
                ewarn "get fully functional interactive shell for LuaJIT";
        fi
        if has_version app-editors/emacs || has_version
app-editors/xemacs; then
                einfo "You'd probably want to install app-emacs/lua-mode
to";
                ewarn "get Lua completion in emacs.";
        fi
}

but some people find that way annoying and some devs also thinks it is
bad way.
Another way (use USEflags-related PDEPs — is a bad way too).

Any thoughts? :)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [RFC] Suggested packages option in portage
  2013-05-29 15:43 [gentoo-dev] [RFC] Suggested packages option in portage Vadim A. Misbakh-Soloviov
@ 2013-05-29 15:46 ` Ian Stakenvicius
  2013-05-29 21:17   ` Pacho Ramos
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Stakenvicius @ 2013-05-29 15:46 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 29/05/13 11:43 AM, Vadim A. Misbakh-Soloviov wrote:
> I think, it'll be nice to have a way to suggest some packages to
> user, when (s)he installs something. For now it is only way to do
> that by something like:
> 
> pkg_postinst() { if ! has_version dev-lua/iluajit; then einfo
> "You'd probably want to install dev-lua/iluajit to"; ewarn "get
> fully functional interactive shell for LuaJIT"; fi if has_version
> app-editors/emacs || has_version app-editors/xemacs; then einfo
> "You'd probably want to install app-emacs/lua-mode to"; ewarn "get
> Lua completion in emacs."; fi }
> 
> but some people find that way annoying and some devs also thinks it
> is bad way. Another way (use USEflags-related PDEPs — is a bad way
> too).
> 
> Any thoughts? :)
> 


There are many thoughts, iirc there was at least one 100+ long thread
in august/september 2012.  Search for "SDEPEND" and "IUSE_RUNTIME" in
the mailing list logs.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iF4EAREIAAYFAlGmIs0ACgkQ2ugaI38ACPCzcQD/bANxbOhGaxwNhdXJ7Nxhw3Ld
yZr96dhlKwfp6I1D2pIA+gPO0eYRGo4FDkbMQ1z72lawQgufTKbXpHwobjCTUVlb
=c6wc
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [RFC] Suggested packages option in portage
  2013-05-29 15:46 ` Ian Stakenvicius
@ 2013-05-29 21:17   ` Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2013-05-29 21:17 UTC (permalink / raw
  To: gentoo-dev

El mié, 29-05-2013 a las 11:46 -0400, Ian Stakenvicius escribió:
> On 29/05/13 11:43 AM, Vadim A. Misbakh-Soloviov wrote:
> > I think, it'll be nice to have a way to suggest some packages to
> > user, when (s)he installs something. For now it is only way to do
> > that by something like:
> > 
> > pkg_postinst() { if ! has_version dev-lua/iluajit; then einfo
> > "You'd probably want to install dev-lua/iluajit to"; ewarn "get
> > fully functional interactive shell for LuaJIT"; fi if has_version
> > app-editors/emacs || has_version app-editors/xemacs; then einfo
> > "You'd probably want to install app-emacs/lua-mode to"; ewarn "get
> > Lua completion in emacs."; fi }
> > 
> > but some people find that way annoying and some devs also thinks it
> > is bad way. Another way (use USEflags-related PDEPs — is a bad way
> > too).
> > 
> > Any thoughts? :)
> > 
> 
> 
> There are many thoughts, iirc there was at least one 100+ long thread
> in august/september 2012.  Search for "SDEPEND" and "IUSE_RUNTIME" in
> the mailing list logs.
> 

Also:
https://bugs.gentoo.org/show_bug.cgi?id=373323
https://bugs.gentoo.org/show_bug.cgi?id=453618

But I cannot remember what was finally blocking them (specially solution
pointed in second bug report)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-29 21:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 15:43 [gentoo-dev] [RFC] Suggested packages option in portage Vadim A. Misbakh-Soloviov
2013-05-29 15:46 ` Ian Stakenvicius
2013-05-29 21:17   ` Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox