Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219305 - 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
Summary: gnome-extra/nm-applet-0.6.6, net-misc/networkmanager-0.6.6, net-misc/networkm...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-25 23:05 UTC by Robert A.
Modified: 2009-04-18 18:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
make nm-applet kde aware (nm-applet-0.6.6-kde.ebuild.patch,2.63 KB, patch)
2008-05-07 01:48 UTC, Robert A.
Details | Diff
nm-applet ebuild + kde patch + minor cleanup (nm-applet-0.6.6.ebuild,2.76 KB, text/plain)
2008-05-07 01:50 UTC, Robert A.
Details
remove gnome-panel dependency (networkmanager-vpnc-gnome-panel.ebuild.patch,399 bytes, patch)
2008-05-07 02:04 UTC, Robert A.
Details | Diff
ebuild without gnome-panel dependency (networkmanager-vpnc-0.6.4_p20070621.ebuild,1.79 KB, text/plain)
2008-05-07 02:04 UTC, Robert A.
Details
remove gnome-panel dependency (networkmanager-openvpn-gnome-panel.ebuild.patch,408 bytes, patch)
2008-05-07 02:08 UTC, Robert A.
Details | Diff
ebuild without gnome-panel dependency (networkmanager-openvpn-0.3.2_p20070621.ebuild,1.53 KB, text/plain)
2008-05-07 02:08 UTC, Robert A.
Details
remove gnome-panel dependency (networkmanager-gnome-panel.ebuild.patch,373 bytes, patch)
2008-05-07 02:36 UTC, Robert A.
Details | Diff
ebuild without gnome-panel dependency (networkmanager-0.6.6.ebuild,2.57 KB, text/plain)
2008-05-07 02:37 UTC, Robert A.
Details
adds cisco, gnome, kde and openvpn use flags (nm-applet.ebuild.patch,2.72 KB, patch)
2008-05-07 10:46 UTC, Robert A.
Details | Diff
nm-applet ebuild with cisco, gnome, kde and openvpn use flags (nm-applet-0.6.6.ebuild,3.15 KB, text/plain)
2008-05-07 10:50 UTC, Robert A.
Details
added cisco and openvpn use flags (nm-applet-0.6.6.ebuild.patch,2.42 KB, patch)
2008-09-08 06:04 UTC, Robert A.
Details | Diff
added cisco and openvpn use flags (nm-applet-0.6.6.ebuild,2.77 KB, text/plain)
2008-09-08 06:06 UTC, Robert A.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert A. 2008-04-25 23:05:07 UTC
if you use the networkmanager-applet within kde (and also probably other desktop systems) its not necessary to install gnome-panel (including all its dependencies).
Comment 1 Robert A. 2008-04-25 23:19:24 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
Comment 2 Robert A. 2008-04-26 00:02:25 UTC
and also net-misc/networkmanager-0.6.6
Comment 3 Robert A. 2008-04-26 11:48:09 UTC
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
Comment 4 Steev Klimaszewski (RETIRED) gentoo-dev 2008-04-27 09:33:26 UTC
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.
Comment 5 Robert A. 2008-04-28 08:07:32 UTC
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
Comment 6 Robert A. 2008-05-07 01:48:36 UTC
Created attachment 152177 [details, diff]
make nm-applet kde aware


introduces kde, gnome, openvpn and cisco use flags for nm-applet
Comment 7 Robert A. 2008-05-07 01:50:09 UTC
Created attachment 152179 [details]
nm-applet ebuild + kde patch + minor cleanup
Comment 8 Robert A. 2008-05-07 01:57:48 UTC
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
Comment 9 Robert A. 2008-05-07 02:04:16 UTC
Created attachment 152181 [details, diff]
remove gnome-panel dependency


networkmanager-vpnc does not need gnome-base/gnome-panel
Comment 10 Robert A. 2008-05-07 02:04:50 UTC
Created attachment 152183 [details]
ebuild without gnome-panel dependency
Comment 11 Robert A. 2008-05-07 02:08:32 UTC
Created attachment 152185 [details, diff]
remove gnome-panel dependency

networkmanager-openvpn does not need gnome-base/gnome-panel
Comment 12 Robert A. 2008-05-07 02:08:58 UTC
Created attachment 152187 [details]
ebuild without gnome-panel dependency
Comment 13 Robert A. 2008-05-07 02:36:20 UTC
Created attachment 152189 [details, diff]
remove gnome-panel dependency

networkmanager does not need gnome-base/gnome-panel
Comment 14 Robert A. 2008-05-07 02:37:44 UTC
Created attachment 152191 [details]
ebuild without gnome-panel dependency
Comment 15 Robert A. 2008-05-07 10:46:03 UTC
Created attachment 152241 [details, diff]
adds cisco, gnome, kde and openvpn use flags


added networkmanager-vpnc and networkmanager-openvpn dependency1
Comment 16 Robert A. 2008-05-07 10:50:06 UTC
Created attachment 152243 [details]
nm-applet ebuild with cisco, gnome, kde and openvpn use flags
Comment 17 Charles Pence 2008-06-19 22:20:26 UTC
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.
Comment 18 duckz 2008-07-09 19:43:04 UTC
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.

Comment 19 Robert A. 2008-07-09 22:03:03 UTC
(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.
Comment 20 duckz 2008-09-04 17:45:08 UTC
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?
Comment 21 Robert A. 2008-09-05 17:25:52 UTC
(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?
Comment 22 Steev Klimaszewski (RETIRED) gentoo-dev 2008-09-06 22:33:55 UTC
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!)
Comment 23 Robert A. 2008-09-08 06:04:28 UTC
Created attachment 164873 [details, diff]
added cisco and openvpn use flags

removed gnome and kde use flags
Comment 24 Robert A. 2008-09-08 06:06:08 UTC
Created attachment 164875 [details]
added cisco and openvpn use flags

removed gnome and kde use flags
Comment 25 Robert A. 2008-09-08 06:13:37 UTC
(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.
Comment 26 Michael Duelli 2009-04-18 18:21:50 UTC
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