Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396239 - app-misc/byobu-5.0 uses tmux as default backend - modify ebuild accordingly
Summary: app-misc/byobu-5.0 uses tmux as default backend - modify ebuild accordingly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-27 21:29 UTC by Erik Quaeghebeur
Modified: 2011-12-28 11:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.