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

Bug 484384

Summary: app-misc/mc-4.8.10 - should prefer USE=ncurses over USE=slang
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2013-09-09 20:18:37 UTC
While I have in make.conf USE=ncurses app-misc/mc wants to install slang. I see it has no IUSE=ncurses at all. I got around with:

USE="-slang" app-misc/mc

I propose that the ebuild should also consider ncurses. Then, we might discuss what to do if both USE="+ncurses +slang" appear. Personally I prefer ncurses because it is always installed and I don't need another library. Let's say that if slang is already placed on teh filesystem, I would agree that per other bugreport in bugzilla, let's prefer slang because it seems some terminal features work better under mc under slang.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-10 14:17:42 UTC
(In reply to Martin Mokrejš from comment #0)
> I see it has no IUSE=ncurses at all.

No, it has this:

    slang? ( >=sys-libs/slang-2 )
    !slang? ( sys-libs/ncurses )

which should work fine.

> I got around with:
> 
> USE="-slang" app-misc/mc

That is not a workaround, it is you expressing a preference.

> I propose that the ebuild should also consider ncurses.

We have now established that it has that already. This was established in bug #353679. If that wasn't fixed to your satisfaction, then please continue to discuss there.

*** This bug has been marked as a duplicate of bug 353679 ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-10 14:18:36 UTC
Also:

# euses slang
slang - Add support for the slang text display library (it's like ncurses, but different)
app-misc/mc:slang - Use sys-libs/slang instead of sys-libs/ncurses.