Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 396239

Summary: app-misc/byobu-5.0 uses tmux as default backend - modify ebuild accordingly
Product: Gentoo Linux Reporter: Erik Quaeghebeur <gentoo>
Component: Current packagesAssignee: Andrey Kislyuk (RETIRED) <weaver>
Status: RESOLVED INVALID    
Severity: normal CC: shell-tools
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Quaeghebeur 2011-12-27 21:29:38 UTC
byobu-upstream has been adding tmux support in the last few months.
Now, with 5.0, tmux is the default backend, replacing screen (which is still supported).
The ebuild should therefore be modified to either install both screen and tmux or, perhaps better, introduce screen and tmux use flags (of which at least one should be selected by default, perhaps following the upstream choice, and one should always be selected).

[Currently, a stock byobu-5.0 pulls in screen, but selects tmux as the default backend, resulting in an error upon start of byobu.]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-28 03:34:07 UTC
Actually, this looks fine to me, and has done so since before 5.0:

cvs/gentoo-x86/app-misc/byobu $ ebuildvar RDEPEND
byobu-4.52.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
byobu-4.52.ebuild :     dev-libs/newt"
byobu-4.54.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
byobu-4.54.ebuild :     dev-libs/newt"
byobu-4.55.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
byobu-4.55.ebuild :     dev-libs/newt"
 byobu-5.0.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
 byobu-5.0.ebuild :     dev-libs/newt"

But I guess you want the order reversed so that in some package managers' dependency resolvers, one is preferred over the other?
Comment 2 Erik Quaeghebeur 2011-12-28 11:07:53 UTC
(In reply to comment #1)
> Actually, this looks fine to me, and has done so since before 5.0:
> 
> cvs/gentoo-x86/app-misc/byobu $ ebuildvar RDEPEND
> byobu-4.52.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
> byobu-4.52.ebuild :     dev-libs/newt"
> byobu-4.54.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
> byobu-4.54.ebuild :     dev-libs/newt"
> byobu-4.55.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
> byobu-4.55.ebuild :     dev-libs/newt"
>  byobu-5.0.ebuild : RDEPEND="|| ( app-misc/screen app-misc/tmux )
>  byobu-5.0.ebuild :     dev-libs/newt"

Yes, my mistake.

> But I guess you want the order reversed so that in some package managers'
> dependency resolvers, one is preferred over the other?

This may be something the maintainer may choose to do but is not my call, as there are many other byobu users who might prefer differently.

Closing because there is no issue. Sorry for the noise.