This is my fault for not mentioning it in bug 68622. The fdo-mime eclass is a very simple eclass that provides functions to update the mime database based .desktop files. Using this eclass allows all ebuilds that add/alter a .desktop file to have their changes put into place once the merge is complete. The functions should probably be added in a pkg_postinst() and pkg_postrm() function, so the database is updated after install and removal. Short example of why to use this: User merges gVim, then clicks on text file via nautilus. File opens in gVim because mime database has been updated to include it as a handler for text files. User removes gvim, clicks on a text file file doesn't try and open with gvim because database has been updated to reflect its removal. Thanks
I added this to postinst and postrm: # Update fdo mime stuff, bug #78394 if [[ "${MY_PN}" == "gvim" ]] ; then fdo-mime_mime_database_update fi Please reopen if this isn't right...