version bump, ebuild follow Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 47001 [details] ebuild ebuild
This is a duplicate of bug #74916 (http://bugs.gentoo.org/show_bug.cgi?id=74916), but the ebuild here is a bit better. The version of GLIB should be 2.4 and not 2.2 according to the INSTALL (accoring to the ChangeLog because tests with 2.2 was unavailable and therefore it might work with 2.2, but since it's the official requirement and version 2.2 of glib isn't in Portage anymore, it should be 2.4 IMO). Bug #64578 (http://bugs.gentoo.org/show_bug.cgi?id=64578) asks for inclusion of mime-type-association, and I've included the change the bug suggest in gxine.desktop verbatim (the bug also have a correction for Makefile.in which isn't needed anymore, as it has been fixed upstream). Also the extra lines in the ebuild that the bug suggests has been added to my version of the ebuild for 0.4.1. Bug #50296 (http://bugs.gentoo.org/show_bug.cgi?id=50296) asks for a menu icon, either by moving, copying or symlinking the icon to /usr/share/pixmaps/, or changing the value for Icon in gnome.desktop to use an absolute path name. There's some *.desktop that takes the last approach, so I've made that change as well in gnome.desktop. Actually I think moving the icon is a better solution, but the gnome team must be the ones to ask here, and eventually make an upstream request if this is gnome-apps policy. Bug #70391 (http://bugs.gentoo.org/show_bug.cgi?id=70391) will also be resolved according to the ChangeLog, which says "0.4.0-rc1: ... + fix loading of GNOME VFS library (Debian 221509) ...". Finally I added "Categories=Application;AudioVideo;" to gxine.desktop, with grip.desktop as inspiration, to make gxine actually show up in the menu under Multimedia. Again, the gnome team should have a look at this since I'm not 100% confident this is the right way. Bottom line is I've attached a menu patch and a new ebuild. Happy new year to everyone ;)
Created attachment 47253 [details] Ebuild for gxine-0.4.1, requires gxine-menu-fix.patch Patches gxine with gxine-menu-fix.patch and does mime-update.
Created attachment 47254 [details, diff] Patching gxine.desktop for proper menu. Uses absolute path to Icon and adds proper menu categorie and mime-type.
Should i resolve this bug as dup ? Benoit
I guess that would be the most correct thing to do, but you should move the attachments to the other bug. And maybe you could try my extension of your ebuild while we wait for a dev ;0)
In reply to http://bugs.gentoo.org/show_bug.cgi?id=75857#c4 : Please don't add absolute path names to icons in .desktop files. That removes all possibility of theming that icon.
I've attached an ebuild incorporating comment 7 to bug 74916 so this can now be marked duplicate. btw, it works fine - thanks.
*** This bug has been marked as a duplicate of 74916 ***