[oe] broken shared-mime-info and MIME typing
Stanislav Brabec
utx at penguin.cz
Thu Dec 4 13:09:48 UTC 2008
Koen Kooi wrote:
> * shared-mime-info does *NOT* include freedesktop.org.xml to save space
> * mime.bbclass *DOES* check for /usr/bin/update-mime-info
> * mime.bbclass *DOES* add rdepends to freedesktop.org.xml when needed
>
> This means that people not needing freedesktop.org.xml don't get it
> installed and people that do need it get it installed automagically when
> using mime.bbclass
NOTE: adding mime postinst and postrm scripts to libgeda
NOTE: adding shared-mime-info dependency to libgeda
This would not work. Without freedesktop.org.xml the command
"update-mime-database /usr/share/mime" will ruin the database.
I would like to propose following changes:
1. Move update-mime-database to freedesktop-mime-info.
2. RRECCOMMENDS="freedesktop-mime-info" in the class instead of RDEPENDS
In fact, MIME database is required by its consumers, not packages
provides XML files.
3. Implicit FILES_${PN} += "${datadir}/mime/packages"
4. Remove the warning and error in mime_.
5. shared-mime-info-locale-* should not depend on freedesktop-mime-info.
It should be probably named freedesktop-mime-info-locale-*, as
shared-mime-info itself does not need it.
--
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus
More information about the Openembedded-devel
mailing list