x11-misc/shared-mime-info versions do not allow declaring USE=-nls to avoid the gettext dependency. It would be nice if it would compile the translations with xgettext only with USE=nls as many other packages do - that way we can have the shared-mime-info xml database on embedded systems that do not support gettext at this moment. An alternative could be to ship *.gmo files (by upstream) alongside the .po in tarball and not rebuilding them by default, just like glib and gtk+ do. Then I could just INSTALL_MASK them as my embedded system doesn't have libintl at the moment.
unfortunately, adding USE=nls and appropriate changes to the ebuild didn't change anything to what got installed in 0.60.
So here is quick instructions howto build and install shared-mime-info without gettext and intltool installed. Do we want to support USE="-nls" in the ebuild with this hack? sed -i -e '/INTLTOOL/d' configure.ac Makefile.am eautoreconf [ .. ] econf emake update-mime-database || die [ .. ] dobin update-mime-database || die insinto /usr/share/mime/packages doins freedesktop.org.xml || die
I stopped caring about USE=-nls 1+ years ago, so not sure if it's important to any other people or not.