Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192626 - app-i18n/poedit: patch to register MIME types on install
Summary: app-i18n/poedit: patch to register MIME types on install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-15 21:30 UTC by Vaclav Slavik
Modified: 2007-09-15 23:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to use fdo-mime.eclass in pkg_postinst/pkg_postrm (poedit-1.3.7.ebuild.diff,755 bytes, patch)
2007-09-15 21:31 UTC, Vaclav Slavik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Slavik 2007-09-15 21:30:38 UTC
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 Vaclav Slavik 2007-09-15 21:31:47 UTC
Created attachment 131006 [details, diff]
patch to use fdo-mime.eclass in pkg_postinst/pkg_postrm

Patch to ebuild that fixes the bug.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2007-09-15 23:29:09 UTC
Applied.  Thanks. :)