This is bacause of this: (from tuxpaint ebuild) if use kde; then myopts="${myopts} \ KDE_PREFIX=/usr/share/applnk \ KDE_ICON_PREFIX=/usr/share/icons" fi But this is no longer needed in kde 3.5, kde 3.5 can use menu entry placed in /usr/share/applications, then, the attatched ebuild fix the problem and the menu entry is properly shown in kde and gnome menus. Thanks a lot for fix it in portage tree :-)
Created attachment 103692 [details] tuxpaint-0.9.16-r1.ebuild
But now, there is inly one menu entry but, without icon :-( May be this line should be preserved?: KDE_ICON_PREFIX=/usr/share/icons Now, with the "official" ebuild, is tuxpaint is merged with USE -kde, icon is not installed :-/
Unfortunately I can't test it under KDE, only under GNOME where it works correctly, so I don't have much advice. However if you find a way this could work as expected under KDE, please re-open and I'll consider it for inclusion. Thanks.
(In reply to comment #3) > Unfortunately I can't test it under KDE, only under GNOME where it works > correctly, so I don't have much advice. > > However if you find a way this could work as expected under KDE, please re-open > and I'll consider it for inclusion. Thanks. > The problem is that, currently (with the "official" ebuild) there is other bug: if tuxpaint is emerged with USE=-kde, no icon is installed. I think that this can be easily fixed if KDE_ICON_PREFIX=/usr/share/icons is always defined (with and without USE kde) for force it to place the icon in correct directory. I think that kde USE flag is not needed, beacuse KDE, now, is able to use the same menu entry than gnome. I attacth a new ebuild with this changes, it has no kde USE flag, but it works fine under KDE and Gnome and fixes all problems. Thanks a lot :-)
Created attachment 103722 [details] tuxpaint-0.9.16-r1.ebuild
I committed 0.9.16-r1 which drops both the 'gnome' and 'kde' flags, and it always install the .desktop file and the icons in the standard places, which according to your input should work in KDE as well :). Thanks for the report.