Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798483 - net-misc/networkmanager-1.30.4: better USE flag for nmtui
Summary: net-misc/networkmanager-1.30.4: better USE flag for nmtui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-25 03:23 UTC by Anton Bolshakov
Modified: 2021-08-22 19:35 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 Anton Bolshakov 2021-06-25 03:23:19 UTC
Hello,

I have a global "ncurses" flag and trying to get rid of slang in my system.
Currently, I'm facing a problem.

networkmanager[ncurses] pulls dev-libs/newt which pulls slang (and fails to build without it).

ncurses is not required in the configure script:
NetworkManager-1.30.4/configure.ac
AC_ARG_WITH(nmtui,
            AS_HELP_STRING([--with-nmtui=yes|no], [Build nmtui]))
if test "$with_nmtui" != no; then
        PKG_CHECK_MODULES(NEWT, [libnewt >= 0.52.15], [build_nmtui=yes], [build_nmtui=no])
else
        build_nmtui=no
fi

However, ncurses is mentioned in /m4/ax_lib_readline.m4:
      # prefer ncurses since we use it for nmtui too
      for termcap_lib in "" ncurses termcap curses; do
        if test -z "$termcap_lib"; then
          TRY_LIB="-l$readline_lib"
        else
          TRY_LIB="-l$readline_lib -l$termcap_lib"
        fi

Could you investigate? "prefer" does not sound explicitly required.

Perhaps, you can change it to nmtui or similar?

Thank you.
Comment 1 Larry the Git Cow gentoo-dev 2021-08-22 19:35:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c70e9b2513b1c3fd530350ad0b91fc9421b21de

commit 5c70e9b2513b1c3fd530350ad0b91fc9421b21de
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-08-22 05:35:28 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-08-22 19:22:33 +0000

    net-misc/networkmanager: Version bump to 1.32.10
    
    * switch to Meson
    * Add IUSE="conncheck debug psl lto syslog tools"
    * Remove IUSE="ncurses" (replaced by USE="tools"), bug #798483
    
    Closes: https://bugs.gentoo.org/784494
    Closes: https://bugs.gentoo.org/796467
    Closes: https://bugs.gentoo.org/798483
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 net-misc/networkmanager/Manifest                   |   1 +
 net-misc/networkmanager/metadata.xml               |   8 +
 .../networkmanager/networkmanager-1.32.10.ebuild   | 382 +++++++++++++++++++++
 3 files changed, 391 insertions(+)