Bug 192626 - app-i18n/poedit: patch to register MIME types on install
Bug#: 192626 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: wxwidgets@gentoo.org Reported By: vslavik@fastmail.fm
Component: Applications
URL: 
Summary: app-i18n/poedit: patch to register MIME types on install
Keywords:  
Status Whiteboard: 
Opened: 2007-09-15 21:30 0000
Description:   Opened: 2007-09-15 21:30 0000
poedit-1.3.7.ebuild doesn't call update-desktop-database to register .desktop
file's MIME types. The effect is that poEdit doesn't show up as an application
capable of opening .po files in GNOME (and presumably KDE and other freedesktop
spec using environments) after installation. It only becomes visible after you
install some other GNOME app with correct ebuild. Similarly on uninstall:
poEdit will still be listed even though it isn't available anymore.

Attached patch fixes this by using fdo-mime.eclass.

Reproducible: Always

------- Comment #1 From Vaclav Slavik 2007-09-15 21:31:47 0000 -------
Created an attachment (id=131006) [details]
patch to use fdo-mime.eclass in pkg_postinst/pkg_postrm

Patch to ebuild that fixes the bug.

------- Comment #2 From Ryan Hill 2007-09-15 23:29:09 0000 -------
Applied.  Thanks. :)