Karsten Hopp 2c2725
To: vim_dev@googlegroups.com
Karsten Hopp 2c2725
Subject: Patch 7.4.322
Karsten Hopp 2c2725
Fcc: outbox
Karsten Hopp 2c2725
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2c2725
Mime-Version: 1.0
Karsten Hopp 2c2725
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2c2725
Content-Transfer-Encoding: 8bit
Karsten Hopp 2c2725
------------
Karsten Hopp 2c2725
Karsten Hopp 2c2725
Patch 7.4.322
Karsten Hopp 2c2725
Problem:    Using "msgfmt" is hard coded, cannot use "gmsgfmt".
Karsten Hopp 2c2725
Solution:   Use the msgfmt command found by configure. (Danek Duvall)
Karsten Hopp 2c2725
Files:	    src/config.mk.in, src/po/Makefile
Karsten Hopp 2c2725
Karsten Hopp 2c2725
Karsten Hopp 2c2725
*** ../vim-7.4.321/src/config.mk.in	2010-11-03 22:26:24.000000000 +0100
Karsten Hopp 2c2725
--- src/config.mk.in	2014-06-12 17:41:12.892268607 +0200
Karsten Hopp 2c2725
***************
Karsten Hopp 2c2725
*** 164,169 ****
Karsten Hopp 2c2725
--- 164,171 ----
Karsten Hopp 2c2725
  ### If the *.po files are to be translated to *.mo files.
Karsten Hopp 2c2725
  MAKEMO		= @MAKEMO@
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
+ MSGFMT		= @MSGFMT@
Karsten Hopp 2c2725
+ 
Karsten Hopp 2c2725
  # Make sure that "make first" will run "make all" once configure has done its
Karsten Hopp 2c2725
  # work.  This is needed when using the Makefile in the top directory.
Karsten Hopp 2c2725
  first: all
Karsten Hopp 2c2725
*** ../vim-7.4.321/src/po/Makefile	2013-06-23 13:26:12.000000000 +0200
Karsten Hopp 2c2725
--- src/po/Makefile	2014-06-12 17:45:19.116277922 +0200
Karsten Hopp 2c2725
***************
Karsten Hopp 2c2725
*** 1,5 ****
Karsten Hopp 2c2725
--- 1,8 ----
Karsten Hopp 2c2725
  # Makefile for the Vim message translations.
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
+ # Include stuff found by configure.
Karsten Hopp 2c2725
+ include ../auto/config.mk
Karsten Hopp 2c2725
+ 
Karsten Hopp 2c2725
  # TODO make this configurable
Karsten Hopp 2c2725
  # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
Karsten Hopp 2c2725
  # not installed on Unix
Karsten Hopp 2c2725
***************
Karsten Hopp 2c2725
*** 133,139 ****
Karsten Hopp 2c2725
  # tools 0.10.37, which use a slightly different .po file format that is not
Karsten Hopp 2c2725
  # compatible with Solaris (and old gettext implementations) unless these are
Karsten Hopp 2c2725
  # set.  gettext 0.10.36 will not work!
Karsten Hopp 2c2725
! MSGFMT = OLD_PO_FILE_INPUT=yes msgfmt -v
Karsten Hopp 2c2725
  XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes xgettext
Karsten Hopp 2c2725
  MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes msgmerge
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
--- 136,142 ----
Karsten Hopp 2c2725
  # tools 0.10.37, which use a slightly different .po file format that is not
Karsten Hopp 2c2725
  # compatible with Solaris (and old gettext implementations) unless these are
Karsten Hopp 2c2725
  # set.  gettext 0.10.36 will not work!
Karsten Hopp 2c2725
! MSGFMTCMD = OLD_PO_FILE_INPUT=yes $(MSGFMT) -v
Karsten Hopp 2c2725
  XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes xgettext
Karsten Hopp 2c2725
  MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes msgmerge
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
***************
Karsten Hopp 2c2725
*** 142,148 ****
Karsten Hopp 2c2725
  .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED)
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
  .po.mo:
Karsten Hopp 2c2725
! 	$(MSGFMT) -o $@ $<
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
  .po.ck:
Karsten Hopp 2c2725
  	$(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
Karsten Hopp 2c2725
--- 145,151 ----
Karsten Hopp 2c2725
  .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED)
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
  .po.mo:
Karsten Hopp 2c2725
! 	$(MSGFMTCMD) -o $@ $<
Karsten Hopp 2c2725
  
Karsten Hopp 2c2725
  .po.ck:
Karsten Hopp 2c2725
  	$(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
Karsten Hopp 2c2725
*** ../vim-7.4.321/src/version.c	2014-06-12 16:03:24.268046589 +0200
Karsten Hopp 2c2725
--- src/version.c	2014-06-12 17:42:27.584271433 +0200
Karsten Hopp 2c2725
***************
Karsten Hopp 2c2725
*** 736,737 ****
Karsten Hopp 2c2725
--- 736,739 ----
Karsten Hopp 2c2725
  {   /* Add new patch number below this line */
Karsten Hopp 2c2725
+ /**/
Karsten Hopp 2c2725
+     322,
Karsten Hopp 2c2725
  /**/
Karsten Hopp 2c2725
Karsten Hopp 2c2725
-- 
Karsten Hopp 2c2725
If I tell you "you have a beautiful body", would you hold it against me?
Karsten Hopp 2c2725
Karsten Hopp 2c2725
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2c2725
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2c2725
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2c2725
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///