summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2023-11-21 03:55:42 -1000
committerSteve Sakoman <steve@sakoman.com>2023-12-02 16:36:56 -1000
commit51a2c26e292d7ef6469484c168dc43ea1218a468 (patch)
treee2dcdd6213b4bcd86990b47a7191d8d3c205916e
parentf46bb8ad10b667a2b7db644c70c468246f7ee71a (diff)
downloadpoky-51a2c26e292d7ef6469484c168dc43ea1218a468.tar.gz
vim: use upstream generated .po files
A previous commit attempted to fix reproducibility errors by forcing regeneration of .po files. Unfortunately this triggered a different type of reproducibility issue. Work around this by adjusting the timestamps of the troublesome .po files so they are not regenerated and we use the shipped upstream versions of the files. The shipped version of ru.cp1251.po doesn't seem to have been created with the vim tooling and specifies CP1251 instead of cp1251, fix that. (From OE-Core rev: 3c1e35562c31b8fa94ea10d18ddfdb4267566bf3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 13d9551ba626f001c71bf908df16caf1d739cf13) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-support/vim/vim.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 38212a1fa6..888f8f0e5a 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -40,8 +40,10 @@ do_configure () {
40 cd src 40 cd src
41 rm -f auto/* 41 rm -f auto/*
42 touch auto/config.mk 42 touch auto/config.mk
43 # git timestamps aren't reliable and we want to consistently regenerate these generated files 43 # git timestamps aren't reliable, so touch the shipped .po files so they aren't regenerated
44 rm -f po/cs.cp1250.po po/ja.euc-jp.po po/ja.sjis.po po/ko.po po/pl.UTF-8.po po/pl.cp1250.po po/ru.cp1251.po po/sk.cp1250.po po/uk.cp1251.po po/zh_CN.po po/zh_CN.cp936.po po/zh_TW.po 44 touch -c po/cs.cp1250.po po/ja.euc-jp.po po/ja.sjis.po po/ko.po po/pl.UTF-8.po po/pl.cp1250.po po/ru.cp1251.po po/sk.cp1250.po po/uk.cp1251.po po/zh_CN.po po/zh_CN.cp936.po po/zh_TW.po
45 # ru.cp1251.po uses CP1251 rather than cp1251, fix that
46 sed -i -e s/CP1251/cp1251/ po/ru.cp1251.po
45 aclocal 47 aclocal
46 autoconf 48 autoconf
47 cd .. 49 cd ..