On Do, 11 Apr 2019, Bram Moolenaar wrote:

> I have included this with patch 8.1.1147.  

Thanks.

> Unfortunately CI fails:
> 
>       msgfmt: unrecognized option '--desktop'
> 
> How do we work around that?  Can we force-install a newer msgfmt
> version?

Hm, Travis runs with trusty, e.g. LTS 14.04 and its msgfmt is of version 
0.18.3 and I think this needs 0.19.8

A quick google search found this ppa: 
https://launchpad.net/~ricotz/+archive/ubuntu/toolchain

So how about the following patch:

diff --git a/.travis.yml b/.travis.yml
index 095947aae..1594332ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -128,6 +128,13 @@ before_install:
     if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "${CC}" = "clang" ]]; then
       ln -sf "$(which llvm-cov)" /home/travis/bin/gcov
     fi
+  # needs msgfmt 0.19.8 to be able to generate .desktop files
+  - |
+    if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then
+      sudo add-apt-repository ppa:ricotz/toolchain -y &&
+      sudo apt-get update -q &&
+      sudo apt-get install gettext=0.19.8.1-1ubuntu2~14.04~ricotz1 -y
+    fi

 before_script:
   # Start virtual framebuffer to be able to test the GUI. Does not work on OS 
X.


Best,
Christian
-- 
Ich mache es allen recht, aber nicht billig.

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui