Hi,
2019/6/7 Fri 12:05:15 UTC+9 Ken Takata wrote:
> Hi,
>
> 2019/6/7 Fri 5:51:02 UTC+9 Bram Moolenaar wrote:
> > > I see someone else posted earlier about the same issue.
> > > But those suggestions and also latest git rev do not resolve issue for me.
> >
> > The problem appears to be a broken version of msgfmt.
> > We can't fix that in Vim. And it appears to be a real problem, thus
> > ignoring it also doesn't appear to be a good idea.
> >
> > Is this a build error or an error for "make install"?
>
> This is an error for "make".
>
> How about checking the version of broken msgfmt?
> It seems that v0.19.7 is broken.
>
> --- a/src/configure.ac
> +++ b/src/configure.ac
> @@ -4302,8 +4302,13 @@ if test "$enable_nls" = "yes"; then
> AC_MSG_CHECKING([if msgfmt supports --desktop])
> MSGFMT_DESKTOP=
> if "$MSGFMT" --help | grep -e '--desktop' >/dev/null; then
> - AC_MSG_RESULT([yes])
> - MSGFMT_DESKTOP="gvim.desktop vim.desktop"
> + if "$MSGFMT" --version | grep '0.19.7$' >/dev/null; then
> + dnl GNU gettext 0.19.7's --desktop is broken.
> + AC_MSG_RESULT([no])
> + else
> + AC_MSG_RESULT([yes])
> + MSGFMT_DESKTOP="gvim.desktop vim.desktop"
> + fi
> else
> AC_MSG_RESULT([no])
> fi
Or, should we also mark gettext v0.19 to v0.19.6 as broken?
If so:
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -4302,8 +4302,13 @@ if test "$enable_nls" = "yes"; then
AC_MSG_CHECKING([if msgfmt supports --desktop])
MSGFMT_DESKTOP=
if "$MSGFMT" --help | grep -e '--desktop' >/dev/null; then
- AC_MSG_RESULT([yes])
- MSGFMT_DESKTOP="gvim.desktop vim.desktop"
+ if "$MSGFMT" --version | grep '0.19$\|0.19.[[1-7]]$' >/dev/null; then
+ dnl GNU gettext 0.19.7's --desktop is broken.
+ AC_MSG_RESULT([broken])
+ else
+ AC_MSG_RESULT([yes])
+ MSGFMT_DESKTOP="gvim.desktop vim.desktop"
+ fi
else
AC_MSG_RESULT([no])
fi
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/2364c29e-58a9-4330-913f-1bd23e1a747f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.