I emerge firefox, and it doesn't appears in my IceWM menu, however xterm, xchat was automatically added. Reproducible: Always
Bug 205133 sounds like a lot better solution... ;)
I don't have any gnome packages, anyways if xterm and xchat can create its entry automatically, firefox can also do it.
If i remember correctly, icewm has a preconfigured menu file. Program entries are only shown if the program is in either $PATH or given with its full path. So to correct you, xterm and xchat are not automatically added, but automatically shown - i hope you see the difference. As i can't check right now, i only can suppose that that entry doesn't fit the name or path to firefox(-bin) in gentoo.
I supposed there are some sort of auto-inclusion or something, the truth is that executables named xterm and xchat (and others, like mozilla, not firefox) are enumerated into the menu file /usr/share/icewm/menu no matter if they are actually installed. By the way any entry will be visible only if they finally get installed. Well, I'll search for a solution not requiring gnome (nor KDE) packages this day later.
Yes, as long as you don't use your own ~/.icewm/menu, /usr/share/icewm/menu is used, which lacks an entry for firefox. To fix this for firefox, an entry like prog Firefox firefox firefox should do it. Perhaps someone can put together a more complete default menu that gets installed in /usr/share/icewm/?
(In reply to comment #5) Perhaps someone can put together, but it wouldn't be an ultimate solution, it would be better to generate the menufile, or auto-insert new entries upon successful emerge. UHU-Linux ships menuentries in a common menufile format, very similar to files used by KDE/Gnome, and translates to actual menufile(s) by uhu-menu, gpl source: ftp://ftp.uhulinux.hu/pub/sources/uhu-menu/ as output it can create files for many desktop environments: KDE, Gnome, IceWM, and more: full list can be found in output directory. Has some coding docs in doc directory in English, and has some general info in README.html in Hungarian... will translate it to English if you are interested in it. no libs required, I like it ;)
(In reply to comment #5) > Perhaps someone can put together a more complete default > menu that gets installed in /usr/share/icewm/? I think that would be a nice touch to go ahead and improvise and add some commonly-used apps. Any other suggestions for menu entries?
I actually oppose such a solution. Due to the way IceWM seems to handle menu entries, I'm afraid creating a large file would create unnecessary overhead, as it would require a file check for each individual entry. (or so I would believe. :p) I have nothing against automatic menu generation, but I don't think this is something for us to do. It should be done by either a separate package or upstream (although it seems icewm does have a gnome-dependent option). I see no need to deviate from the sample menu supplied by upstream. If it were up to me, I would close this as UPSTREAM. If a more complete menu file is created, I would suggest at least keeping the option of using the original, via a USE flag or something. Thanks you! :)
Yah, we can have a 'branding' use flag similar to KDE and the likes, where we add in our custom changes to make it uber-sexy. :)
Created attachment 164832 [details] uhu-menu ebuild I just created an ebuild for uhu-menu. I tried to generate an icewm menu from my KDE menu with but all I got was an empty file. It does not like locales.gen as it reports lots of "locale ${locale} not supported". It does even like the C locale!
uhu-menu uses files similar but not the same as KDE. uhu-menu is capable of generating kde, gnome, IceWM (and so on?) menu entries (even if they are separate files, or not), from uhu-menu files.
+*icewm-1.3.7-r1 (06 Sep 2013) + + 06 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/icewm, + +files/icewm-1.3.7-configurenotify.patch, +files/icewm-1.3.7-deprecated.patch, + +files/icewm-1.3.7-dso.patch, +files/icewm-1.3.7-menuiconsize.patch, + +files/icewm-1.3.7-thermal.patch, +files/icewm-defaults.patch, + +files/icewm-fribidi.patch, +files/icewm-keys.patch, +files/icewm-menu.patch, + +files/icewm-startup, +files/icewm-toolbar.patch, +files/icewm-wmclient.patch, + +files/icewm-xdg-menu, +icewm-1.3.7-r1.ebuild: + Use Fedora patches to fix a lot if bugs, also menu handling. Fix thermal + information handling (#452730 by Dag Bakke). + I finally have menu entries in icewm :)