Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225711 - x11-misc/shared-mime-info does not allow disabling nls (gettext dependency)
Summary: x11-misc/shared-mime-info does not allow disabling nls (gettext dependency)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 08:18 UTC by Mart Raudsepp
Modified: 2014-12-28 19:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2008-06-10 08:18:54 UTC
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.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-07 13:48:55 UTC
unfortunately, adding USE=nls and appropriate changes to the ebuild didn't change anything to what got installed in 0.60.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-09-30 21:04:28 UTC
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
Comment 3 Mart Raudsepp gentoo-dev 2010-10-02 02:31:30 UTC
I stopped caring about USE=-nls 1+ years ago, so not sure if it's important to any other people or not.