Summary: | app-cdr/isomaster-1.3.9-r1 doesn't honor LINGUAS for locale files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Szymaniak <bugzie> |
Component: | Current packages | Assignee: | Sebastian Pipping <sping> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | media-optical |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 405485 |
Description
Piotr Szymaniak
2012-02-08 13:24:01 UTC
I could add this to src_install: # Apply LINGUAS (bug #402679) mv "${D}"/usr/share/locale{,_ALL} || die dodir /usr/share/locale || die for lingua in ${LINGUAS}; do [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die done rm -R "${D}"/usr/share/locale_ALL || die Any better ideas? Um, this is taking it a bit too far. If you made it your project to go through the entire tree to look for packages that do not honour LINGUAS, you're going about it the wrong way. Stop filing these bugs now or only file them for packages you show a clear personal interest for. Changing status as this _is_ a bug [1] [2]. [1] http://archives.gentoo.org/gentoo-dev/msg_69c10fa4b1af60615e49f09e79c63dd1.xml [2] http://archives.gentoo.org/gentoo-dev/msg_67742e6e10cc2b3dda6fb9f98164bce6.xml + 17 Feb 2012; Sebastian Pipping <sping@gentoo.org> -isomaster-1.3.9.ebuild, + isomaster-1.3.9-r1.ebuild: + Respect ${LINGUAS} (bug #402679), remove old revision + (In reply to comment #1) > I could add this to src_install: > > # Apply LINGUAS (bug #402679) > mv "${D}"/usr/share/locale{,_ALL} || die > dodir /usr/share/locale || die > for lingua in ${LINGUAS}; do > [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break > mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die > done > rm -R "${D}"/usr/share/locale_ALL || die > > Any better ideas? This breaks builds without nls and should thus be surrounded by "if use nls ..." (In reply to comment #5) > This breaks builds without nls and should thus be surrounded by "if use nls > ..." Sorry false alarm, the error is introduced elsewhere. |