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

Bug 710160

Summary: sys-power/nut[gui] is Python 2-only and depends on dev-python/pygtk
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: luke-jr+gentoobugs, prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=720348
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694800, 706462    

Description Andreas Sturmlechner gentoo-dev 2020-02-19 13:16:16 UTC
Besides having quite a number of open bugs, how important is the gui option?
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-02-19 18:19:22 UTC
The GUI is not important at all.

In fact, up to today, I didn't even realize it HAD a GUI!

The GUI wasn't in the original ebuild I wrote in CVS many years ago, or in upstream at the time, somebody added it along the way.

I'll rip out the GUI stuff in a revbump.

Absolutely everything in the GUI is doable via the CLI.
Comment 2 Larry the Git Cow gentoo-dev 2020-02-19 18:24:43 UTC
The bug has been closed via the following commit(s):

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

commit f6b905dd92ecedf91f6fe02956124e05d7acbb0e
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2020-02-19 18:24:20 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2020-02-19 18:24:20 +0000

    sys-power/nut: drop USE=gui due to python2-only
    
    Fixes: https://bugs.gentoo.org/710160
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 sys-power/nut/nut-2.7.4-r5.ebuild | 271 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 271 insertions(+)
Comment 3 Luke-Jr 2020-06-20 08:48:16 UTC
(In reply to Andreas Sturmlechner from comment #0)
> Besides having quite a number of open bugs, how important is the gui option?

Pretty important since knutclient was removed too...

Is there an alternative??
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-06-22 18:15:53 UTC
(In reply to Luke-Jr from comment #3)
> (In reply to Andreas Sturmlechner from comment #0)
> > Besides having quite a number of open bugs, how important is the gui option?
> 
> Pretty important since knutclient was removed too...
> 
> Is there an alternative??
What functionality are you using in the GUI that isn't available via the CLI?
Comment 5 Luke-Jr 2020-06-23 02:27:01 UTC
(In reply to Robin Johnson from comment #4)
> What functionality are you using in the GUI that isn't available via the CLI?

Not needing to remember various command lines for a tool I almost never use; being able to see at a glance (perhaps even from next to my generator) what my input voltage is; at-a-glance time remaining counter; etc.
Comment 6 Luke-Jr 2022-02-21 03:39:59 UTC
Ported to Python3+Qt5: https://github.com/networkupstools/nut/pull/1310