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

Bug 335007

Summary: Please stabilize =net-misc/dnetstats-1.2.6
Product: Gentoo Linux Reporter: Markos Chandras (RETIRED) <hwoarang>
Component: New packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: enhancement CC: jeremy.william.murphy
Priority: High Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markos Chandras (RETIRED) gentoo-dev 2010-08-28 12:35:45 UTC
As per $Summary

Thanks
Comment 1 Jeremy Murphy 2010-08-29 02:40:37 UTC
Is this program meant to be run by root?  When I run it as a regular user, there are a bunch of "permission denied" errors, yet the program is installed in /usr/bin.  It also mistakenly claims that my Local IP is unassigned.  Maybe these are bugs that need to be looked into before going stable?  I'm not sure how this program is meant to work, so I don't feel confident about filing bug reports quite yet.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-08-29 07:49:52 UTC
pkg_setup() {
    if ! use kde && ! use gnome; then
        ewarn
        ewarn "You didn't enable nor kde neither gnome use flags."
        ewarn "This means that no sudo GUI frontend will be used hence"
        ewarn "the ${PN} menu entry won't work for normal users."
        ewarn "Use 'sudo ${PN}' to launch the application or emerge ${PN} with"
        ewarn "USE='kde' or USE='gnome' in order to make use of a graphical"
        ewarn "sudo frontend"
        ewarn
    fi
}

If you have the kde or gnome use flags enabled the desktop entry will use kdesu or gksu
Comment 3 Jeremy Murphy 2010-08-29 14:52:53 UTC
Ahh, I have USE="-gnome kde", but I am using Xfce, which explains why kdesu did not work.
Comment 4 David Abbott (RETIRED) gentoo-dev 2010-09-02 02:30:13 UTC
Installs fine on x86. When I start it from the menu from gnome the menu item is incorrect;
gksu -c dnetstats
gksu: invalid option -- 'c'

If I start it with;
gksu dnetstats
It works fine.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2010-09-02 09:20:02 UTC
Fixed. Please proceed
Comment 6 David Abbott (RETIRED) gentoo-dev 2010-09-02 12:27:06 UTC
(In reply to comment #4)
> Installs fine on x86. When I start it from the menu from gnome the menu item is
> incorrect;
> gksu -c dnetstats
> gksu: invalid option -- 'c'
> 
> If I start it with;
> gksu dnetstats
> It works fine.
> 
All good x86 :)
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-09-06 13:58:07 UTC
stable x86, thanks David
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-09-13 10:31:54 UTC
amd64 done