home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.764 < prev    next >
Encoding:
Internet Message Format  |  2013-01-16  |  4.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.764
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.764
  11. Problem:    Not all message translation files are installed.
  12. Solution:   Also install the converted files.
  13. Files:        src/po/Makefile
  14.  
  15.  
  16. *** ../vim-7.3.763/src/po/Makefile    2010-08-15 21:57:26.000000000 +0200
  17. --- src/po/Makefile    2013-01-17 13:30:30.000000000 +0100
  18. ***************
  19. *** 20,25 ****
  20. --- 20,26 ----
  21.           ko \
  22.           ko.UTF-8 \
  23.           nb \
  24. +         nl \
  25.           no \
  26.           pl \
  27.           pt_BR \
  28. ***************
  29. *** 33,38 ****
  30. --- 34,49 ----
  31.           zh_TW \
  32.           zh_TW.UTF-8
  33.   
  34. + CONVERTED = \
  35. +         cs.cp1250 \
  36. +         ja.sjis \
  37. +         pl.cp1250 \
  38. +         pl.UTF-8 \
  39. +         ru.cp1251 \
  40. +         sk.cp1250 \
  41. +         uk.cp1251 \
  42. +         zh_CN.cp936
  43.   MOFILES = \
  44.           af.mo \
  45.           ca.mo \
  46. ***************
  47. *** 49,54 ****
  48. --- 60,66 ----
  49.           ko.mo \
  50.           ko.UTF-8.mo \
  51.           nb.mo \
  52. +         nl.mo \
  53.           no.mo \
  54.           pl.mo \
  55.           pt_BR.mo \
  56. ***************
  57. *** 62,68 ****
  58.           zh_TW.UTF-8.mo \
  59.           zh_TW.mo
  60.   
  61. ! CONVERTED = \
  62.           cs.cp1250.mo \
  63.           ja.sjis.mo \
  64.           pl.cp1250.mo \
  65. --- 74,80 ----
  66.           zh_TW.UTF-8.mo \
  67.           zh_TW.mo
  68.   
  69. ! MOCONVERTED = \
  70.           cs.cp1250.mo \
  71.           ja.sjis.mo \
  72.           pl.cp1250.mo \
  73. ***************
  74. *** 88,93 ****
  75. --- 100,106 ----
  76.           ko.ck \
  77.           ko.UTF-8.ck \
  78.           nb.ck \
  79. +         nl.ck \
  80.           no.ck \
  81.           pl.ck \
  82.           pt_BR.ck \
  83. ***************
  84. *** 123,129 ****
  85.   
  86.   .SUFFIXES:
  87.   .SUFFIXES: .po .mo .pot .ck
  88. ! .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES)
  89.   
  90.   .po.mo:
  91.       $(MSGFMT) -o $@ $<
  92. --- 136,142 ----
  93.   
  94.   .SUFFIXES:
  95.   .SUFFIXES: .po .mo .pot .ck
  96. ! .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED)
  97.   
  98.   .po.mo:
  99.       $(MSGFMT) -o $@ $<
  100. ***************
  101. *** 132,144 ****
  102.       $(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
  103.       touch $@
  104.   
  105. ! all: $(MOFILES)
  106.   
  107.   check: $(CHECKFILES)
  108.   
  109. ! install: $(MOFILES)
  110.       @$(MAKE) prefixcheck
  111. !     for lang in $(LANGUAGES); do \
  112.         dir=$(LOCALEDIR)/$$lang/; \
  113.         if test ! -x "$$dir"; then \
  114.           mkdir $$dir; chmod 755 $$dir; \
  115. --- 145,157 ----
  116.       $(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
  117.       touch $@
  118.   
  119. ! all: $(MOFILES) $(MOCONVERTED)
  120.   
  121.   check: $(CHECKFILES)
  122.   
  123. ! install: $(MOFILES) $(MOCONVERTED)
  124.       @$(MAKE) prefixcheck
  125. !     for lang in $(LANGUAGES) $(CONVERTED); do \
  126.         dir=$(LOCALEDIR)/$$lang/; \
  127.         if test ! -x "$$dir"; then \
  128.           mkdir $$dir; chmod 755 $$dir; \
  129. ***************
  130. *** 155,167 ****
  131.   
  132.   uninstall:
  133.       @$(MAKE) prefixcheck
  134. !     for cat in $(MOFILES); do \
  135.         cat=`basename $$cat`; \
  136.         lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
  137.         rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
  138.       done
  139.   
  140. ! converted: $(CONVERTED)
  141.   
  142.   # Norwegian/Bokmal: "nb" is an alias for "no".
  143.   # Copying the file is not efficient, but I don't know of another way to make
  144. --- 168,180 ----
  145.   
  146.   uninstall:
  147.       @$(MAKE) prefixcheck
  148. !     for cat in $(MOFILES) $(MOCONVERTED); do \
  149.         cat=`basename $$cat`; \
  150.         lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
  151.         rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
  152.       done
  153.   
  154. ! converted: $(MOCONVERTED)
  155.   
  156.   # Norwegian/Bokmal: "nb" is an alias for "no".
  157.   # Copying the file is not efficient, but I don't know of another way to make
  158. *** ../vim-7.3.763/src/version.c    2013-01-17 13:24:00.000000000 +0100
  159. --- src/version.c    2013-01-17 13:25:41.000000000 +0100
  160. ***************
  161. *** 727,728 ****
  162. --- 727,730 ----
  163.   {   /* Add new patch number below this line */
  164. + /**/
  165. +     764,
  166.   /**/
  167.  
  168. -- 
  169. The software said it requires Windows 95 or better, so I installed Linux.
  170.  
  171.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  172. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  173. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  174.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  175.