]> granicus.if.org Git - vim/commitdiff
patch 8.1.1150: generating desktop files not tested on Travis v8.1.1150
authorBram Moolenaar <Bram@vim.org>
Thu, 11 Apr 2019 13:49:11 +0000 (15:49 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 11 Apr 2019 13:49:11 +0000 (15:49 +0200)
Problem:    Generating desktop files not tested on Travis.
Solution:   Install a newer msgfmt package. (Christian Brabandt)

.travis.yml
src/version.c

index 038a1d64216eac1c0428c1b013d3611a2e7b5948..1c8cc2ebf2d86271c58a89278f3ef8d776303bdf 100644 (file)
@@ -115,6 +115,13 @@ before_install:
     if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "${CC}" = "clang" ]]; then
       ln -sf "$(which llvm-cov)" /home/travis/bin/gcov
     fi
+  # Need 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.
index 433f6bf4e4c8edbb20dc54551a19d96c0576a541..efd117ea8b791f28dad4bca434abf31b38b4fec0 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1150,
 /**/
     1149,
 /**/