[gnome-documents/wip/inigomartinez/meson: 7/7] build: Use LINGUAS file for help generation
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/inigomartinez/meson: 7/7] build: Use LINGUAS file for help generation
- Date: Fri, 17 Nov 2017 17:03:12 +0000 (UTC)
commit 20d6636ee2d5eb08a1ba71f3a180d720c08fc5eb
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Fri Nov 17 17:58:25 2017 +0100
build: Use LINGUAS file for help generation
The linguas parameter is deprecated in gnome's yelp function for
the future meson's versions.
The patch uses the LINGUAS file instead of the linguas
parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=787013
help/LINGUAS | 32 ++++++++++++++++++++++++++++++++
help/meson.build | 38 +-------------------------------------
2 files changed, 33 insertions(+), 37 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..71ffce3
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,32 @@
+as
+ca
+cs
+de
+el
+fi
+fr
+es
+gl
+gu
+hi
+hu
+id
+it
+ja
+kn
+ko
+lv
+mr
+nl
+pa
+pl
+pt_BR
+ru
+sl
+sr
+sr@latin
+sv
+te
+vi
+ta
+zh_CN
diff --git a/help/meson.build b/help/meson.build
index f508ed9..1690176 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -19,45 +19,9 @@ media = [
'media/icon_gnome-documents.png'
]
-linguas = [
- 'as',
- 'ca',
- 'cs',
- 'de',
- 'el',
- 'fi',
- 'fr',
- 'es',
- 'gl',
- 'gu',
- 'hi',
- 'hu',
- 'id',
- 'it',
- 'ja',
- 'kn',
- 'ko',
- 'lv',
- 'mr',
- 'nl',
- 'pa',
- 'pl',
- 'pt_BR',
- 'ru',
- 'sl',
- 'sr',
- 'sr@latin',
- 'sv',
- 'te',
- 'vi',
- 'ta',
- 'zh_CN'
-]
-
gnome.yelp(
meson.project_name(),
sources: sources,
media: media,
- symlink_media: true,
- languages: linguas
+ symlink_media: true
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]