Summary: | gnome-extra/nm-applet-0.6.6, net-misc/networkmanager-0.6.6, net-misc/networkmanager-vpnc-0.6.4_p20070621 and net-misc/networkmanager-openvpn-0.3.2_p20070621 do not support kde well | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert A. <r.a> |
Component: | New packages | Assignee: | Steev Klimaszewski (RETIRED) <steev> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | charles, m.duelli, rbu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
make nm-applet kde aware
nm-applet ebuild + kde patch + minor cleanup remove gnome-panel dependency ebuild without gnome-panel dependency remove gnome-panel dependency ebuild without gnome-panel dependency remove gnome-panel dependency ebuild without gnome-panel dependency adds cisco, gnome, kde and openvpn use flags nm-applet ebuild with cisco, gnome, kde and openvpn use flags added cisco and openvpn use flags added cisco and openvpn use flags |
Description
Robert A.
2008-04-25 23:05:07 UTC
it seems to be the same case for net-misc/networkmanager-openvpn-0.3.2_p20070621 and net-misc/networkmanager-vpnc-0.6.4_p20070621 and also net-misc/networkmanager-0.6.6 it would probably make sense to einfo that you need the gnome use flag for net-misc/networkmanager, net-misc/networkmanager-openvpn and net-misc/networkmanager-vpnc if you want to use vpnc or openvpn with nm-applet I am sorry - I don't quite understand what you are trying to report... NetworkManager only pulls in nm-applet (which is the GNOME desktop applet if you use the gnome useflag) If you use kde, then you don't need the gnome useflag turned on... knetworkmanager isn't handled by me, so I don't know what exactly you are asking for. nm-applet requires gnome-panel because that is what includes the notification-applet which nm-applet uses... I am going to resolve this as invalid, since I don't quite understand what you are asking for, but it seems that it is covered by the useflags, feel free to reopen if you can better explain. Sorry.. I try to make my point clearer.. (: i use kde but knetworkmanager is not working well for me, so i gave nm-applet a try. it works way better for me, but i stumbled accross three issues here: -) gnome-extra/nm-applet-0.6.6, net-misc/networkmanager-openvpn-0.3.2_p20070621 (only with gnome use flag set), net-misc/networkmanager-vpnc-0.6.4_p20070621 (only with gnome use flag set) and net-misc/networkmanager-0.6.6 (only with gnome use flag set) depend on gnome-panel, which is false if you use it in kde. -) if you want to make use of the vpn features of nm-applet you need to set gnome use flag for networkmanager, networkmanager-vpnc and networkmanager-openvpn (also if you use it in kde). imho it would make sense to einfo this. -) if you want to get rid of the nm-applet password prompt you need to compile sys-apps/pambase with the gnome-keyring use flag set and configure gdm/kdm accordingly. imho this should also be einfo-ed. reopened Created attachment 152177 [details, diff]
make nm-applet kde aware
introduces kde, gnome, openvpn and cisco use flags for nm-applet
Created attachment 152179 [details]
nm-applet ebuild + kde patch + minor cleanup
a few comments on nm-applet: -) is it possible to use nm-applet within other desktop systems (xfce?) - the ebuild is not aware of that. -) is gnome-extra really the right place for that ebuild? -) i think the nm-applet ebuild is the wrong place for telling the user how to configure his graphical login manager to not ask for the gnome-keyring password (but i dont know where it fits): if use gnome; then elog "For details for configuring gdm see bug #164375." fi if use kde; then elog "If you use kdm make sure your /etc/pam.d/kde contains" elog "pam_gnome_keyring.so like this:" elog "##%PAM-1.0" elog "#auth required pam_nologin.so" elog "#auth optional pam_gnome_keyring.so" elog "#auth include system-auth" elog "#account include system-auth" elog "#password include system-auth" elog "#session include system-auth" elog "#session optional pam_gnome_keyring.so auto_start" fi Created attachment 152181 [details, diff]
remove gnome-panel dependency
networkmanager-vpnc does not need gnome-base/gnome-panel
Created attachment 152183 [details]
ebuild without gnome-panel dependency
Created attachment 152185 [details, diff]
remove gnome-panel dependency
networkmanager-openvpn does not need gnome-base/gnome-panel
Created attachment 152187 [details]
ebuild without gnome-panel dependency
Created attachment 152189 [details, diff]
remove gnome-panel dependency
networkmanager does not need gnome-base/gnome-panel
Created attachment 152191 [details]
ebuild without gnome-panel dependency
Created attachment 152241 [details, diff]
adds cisco, gnome, kde and openvpn use flags
added networkmanager-vpnc and networkmanager-openvpn dependency1
Created attachment 152243 [details]
nm-applet ebuild with cisco, gnome, kde and openvpn use flags
As an XFCE/Window Maker user, I'd really love if these ebuilds were committed; they work wonderfully, and remove the unnecessary gnome-panel dependency. I think you can also use NetworkManager + NetworkManagerApplet with x11-misc/trayer , so IMHO its better to add gnome-panel / trayer use flag in the ebuild which allowing users to choose. I believe lightweight desktop users will appriciate the trayer rather than gnome panel. (In reply to comment #18) > I think you can also use NetworkManager + NetworkManagerApplet with > x11-misc/trayer , so IMHO its better to add gnome-panel / trayer use flag in the nm-applet-0.6.6.ebuild I added there is a gnome use flag which adds a dependency for gnome-base/gnome-panel and kde for kde-base/kicker. As I wrote in comment #8 the ebuild is not aware of any other desktop systems than kde and gnome (the ebuild currently in portage isnt aware of any). imho it would make sense to fix that. An easy way would be to add something like !use gnome && !use kde (x11-misc/trayer). Unfortunately I dont use any other desktop system and I never heard about trayer before, so I dont know if everyone using another desktop system does use trayer. Well, user that uses E17 will benefit from trayer because E17 doesnt support system tray. LXDE has another trayer also, lxpanel based from fbpanel, maybe lxde use flag is usefull also? (In reply to comment #20) > Well, user that uses E17 will benefit from trayer because E17 doesnt support > system tray. > > LXDE has another trayer also, lxpanel based from fbpanel, maybe lxde use flag > is usefull also? thanks for the input. I just wondered if it does really make sense to support every possible desktop system/window manager. wouldn't it be better to just drop the gnome-base/gnome-panel-2 dependency from the original ebuild? Look, the nm-applet was *designed* for the Gnome desktop - yes, I realize *how many* other desktops it works fine in. I am not going to introduce useflags for every desktop under the sun, that is what an overlay is for. The reason why the dependency on gnome-panel is there is because people would emerge nm-applet before their gnome-desktop and would wonder why they couldn't find the applet, and it generated a ton of bugs *not* having the dependency in there. I am prepared to drop it from the ebuild but I am not going to introduce all these different use flags - I understand all the hard work you did in adding them, however as stated in the beginning, it was designed for the Gnome desktop, thus the gnome-extra category, there are other apps you can use in other desktop environments - pynetworkmanager, and knetworkmanager come to mind off the top of my head. I am marking this as wontfix only because I will not introduce all the use flags, not because the work isn't good enough - it is great work, and I am sure there are people out there who are using these ebuilds and do appreciate it very much that you did it (I do as well actually!) Created attachment 164873 [details, diff]
added cisco and openvpn use flags
removed gnome and kde use flags
Created attachment 164875 [details]
added cisco and openvpn use flags
removed gnome and kde use flags
(In reply to comment #22) Thank you for the feedback and appreciating my work. I also think that it's no good idea to supporting every desktop system/window manager, so I removed the gnome and kde use flags from the nm-applet ebuild. Here is some new stuff on this topic http://en.gentoo-wiki.com/wiki/NetworkManager_without_gnome On the other hand, kde-misc/networkmanager-applet will be ready somewhen for kde4 users |