[frogr] meson: Handle help pages for Yelp
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] meson: Handle help pages for Yelp
- Date: Tue, 23 May 2017 21:07:05 +0000 (UTC)
commit 587baf0ec171459e89a99fd4c39abaddf03b4bb3
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Tue May 23 18:50:21 2017 +0100
meson: Handle help pages for Yelp
help/meson.build | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
meson.build | 4 ++++
2 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/help/meson.build b/help/meson.build
new file mode 100644
index 0000000..981ceac
--- /dev/null
+++ b/help/meson.build
@@ -0,0 +1,50 @@
+help_pages = [
+ 'add-pictures.page',
+ 'create-account.page',
+ 'display.page',
+ 'edit-pictures.page',
+ 'external-viewer.page',
+ 'group-pictures.page',
+ 'index.page',
+ 'introduction.page',
+ 'organize.page',
+ 'pictures.page',
+ 'preferences.page',
+ 'remove-pictures.page',
+ 'set-pictures.page',
+ 'tag.page',
+ 'upload-pictures.page'
+]
+
+help_media = [
+ 'figures/add-tags-dialog.png',
+ 'figures/add-to-groups.png',
+ 'figures/add-to-sets.png',
+ 'figures/auth-dialog-step1.png',
+ 'figures/auth-dialog-step2.png',
+ 'figures/create-new-set.png',
+ 'figures/edit-picture-details.png',
+ 'figures/frogr-remote-organizer.png',
+ 'figures/preferences-connection.png',
+ 'figures/preferences-general.png',
+ 'figures/preferences-misc.png'
+]
+
+help_languages = [
+ 'cs',
+ 'de',
+ 'el',
+ 'en_GB',
+ 'es',
+ 'fr',
+ 'gl',
+ 'pt_BR',
+ 'ru',
+ 'sl',
+ 'sv'
+]
+
+gnome.yelp('frogr',
+ sources: help_pages,
+ media: help_media,
+ languages: help_languages)
diff --git a/meson.build b/meson.build
index 83d8eff..6e31b31 100644
--- a/meson.build
+++ b/meson.build
@@ -78,6 +78,9 @@ frogr_conf.set10('HAVE_GSTREAMER', get_variable('has_video', false))
i18n = import('i18n')
frogr_conf.set_quoted('GETTEXT_PACKAGE', project_name)
+# GNOME Support (used for generating help pages for Yelp)
+gnome = import('gnome')
+
# Generate configuration
configure_file(output: 'config.h',
configuration: frogr_conf)
@@ -86,4 +89,5 @@ configure_file(output: 'config.h',
frogr_top_dir = include_directories ('.')
subdir ('src')
subdir ('data')
+subdir ('help')
subdir ('po')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]