tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[summary] Re: Capability mismatch between gettext-lib and gettext-tools
There are two issues:
* MSGFMT_STRIP_MSGCTXT and MSGFMT_STRIP_MSGID_PLURAL are defined
based on capabilities of builtin gettext-tools even if using
gettext-tools from pkgsrc (much capabilities)
* if MSGFMT_STRIP_MSGCTXT==yes, msgctxt is just dropped
Then either using builtin or pkgsrc gettext-lib (libintl),
if builtin gettext-tools is old, context specifier translation
messages are disappeared.
Change as followings:
* bump required version of gettext-tools from 0.15,
so if using gettext-tools from pkgsrc,
MSGFMT_STRIP_MSGCTXT and MSGFMT_STRIP_MSGID_PLURAL are
always to be "no".
* if pkgsrc gettext-tools is selected, prevent to check
capabilities of builtin gettext-tools.
* even if MSGFMT_STRIP_MSGCTXT==yes, treat msgctxt almost
same as newer gettext-tools.
Result:
Whether using buitin gettext-{tools,lib} or not (pkgsrc one),
context specifier translation messages are appeared.
No additional dependencies, just rebuild intended packages.
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index