[geary: 1/2] remove deprecated 'languages' parameter of gnome.yelp()



commit 7094de03cfa249faada8d16a35f3972662f381e8
Author: Federico Bruni <fede inventati org>
Date:   Fri Sep 28 17:40:34 2018 +0200

    remove deprecated 'languages' parameter of gnome.yelp()
    
    Since version 0.43 Meson automatically reads the LINGUAS file.

 help/meson.build | 14 --------------
 meson.build      |  2 +-
 2 files changed, 1 insertion(+), 15 deletions(-)
---
diff --git a/help/meson.build b/help/meson.build
index ff36035e..2ad3bd1e 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -18,21 +18,7 @@ geary_help_media = [
   'figures/geary.svg'
 ]
 
-# Meson 0.44 added support for automatically reading LINGUAS, until we
-# can depend on that, read it in outselves. Note this means if you
-# change LINGUAS, you will need remove your build directory and re-run
-# meson for it to be picked up.
-linguas = run_command(['cat', 'LINGUAS']).stdout().strip()
-langs = []
-foreach line : linguas.split('\n')
-  line = line.strip()
-  if not line.startswith('#')
-    langs += line
-  endif
-endforeach
-
 gnome.yelp(meson.project_name(),
-  languages: langs,
   sources: geary_help_pages,
   media: geary_help_media
 )
diff --git a/meson.build b/meson.build
index f1166c83..e86cac33 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
 project('geary', [ 'vala', 'c' ],
   version: '0.13-dev',
   license: 'LGPL2.1+',
-  meson_version: '>= 0.41',
+  meson_version: '>= 0.43',
 )
 
 gnome = import('gnome')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]