From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- test cases/frameworks/13 yelp/help/C/index.page | 8 ++++++++ test cases/frameworks/13 yelp/help/C/index2.page | 8 ++++++++ test cases/frameworks/13 yelp/help/C/index3.page | 8 ++++++++ .../frameworks/13 yelp/help/C/media/test.txt | 1 + test cases/frameworks/13 yelp/help/LINGUAS | 2 ++ test cases/frameworks/13 yelp/help/de/de.po | 13 ++++++++++++ test cases/frameworks/13 yelp/help/es/es.po | 13 ++++++++++++ .../frameworks/13 yelp/help/es/media/test.txt | 1 + test cases/frameworks/13 yelp/help/meson.build | 21 ++++++++++++++++++++ test cases/frameworks/13 yelp/meson.build | 8 ++++++++ test cases/frameworks/13 yelp/test.json | 23 ++++++++++++++++++++++ 11 files changed, 106 insertions(+) create mode 100644 test cases/frameworks/13 yelp/help/C/index.page create mode 100644 test cases/frameworks/13 yelp/help/C/index2.page create mode 100644 test cases/frameworks/13 yelp/help/C/index3.page create mode 100644 test cases/frameworks/13 yelp/help/C/media/test.txt create mode 100644 test cases/frameworks/13 yelp/help/LINGUAS create mode 100644 test cases/frameworks/13 yelp/help/de/de.po create mode 100644 test cases/frameworks/13 yelp/help/es/es.po create mode 100644 test cases/frameworks/13 yelp/help/es/media/test.txt create mode 100644 test cases/frameworks/13 yelp/help/meson.build create mode 100644 test cases/frameworks/13 yelp/meson.build create mode 100644 test cases/frameworks/13 yelp/test.json (limited to 'test cases/frameworks/13 yelp') diff --git a/test cases/frameworks/13 yelp/help/C/index.page b/test cases/frameworks/13 yelp/help/C/index.page new file mode 100644 index 0000000..1b367e6 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/C/index.page @@ -0,0 +1,8 @@ + + + Hello! + + diff --git a/test cases/frameworks/13 yelp/help/C/index2.page b/test cases/frameworks/13 yelp/help/C/index2.page new file mode 100644 index 0000000..14b6b51 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/C/index2.page @@ -0,0 +1,8 @@ + + + Hello! + + diff --git a/test cases/frameworks/13 yelp/help/C/index3.page b/test cases/frameworks/13 yelp/help/C/index3.page new file mode 100644 index 0000000..c0c21c1 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/C/index3.page @@ -0,0 +1,8 @@ + + + Hello! + + diff --git a/test cases/frameworks/13 yelp/help/C/media/test.txt b/test cases/frameworks/13 yelp/help/C/media/test.txt new file mode 100644 index 0000000..ce01362 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/C/media/test.txt @@ -0,0 +1 @@ +hello diff --git a/test cases/frameworks/13 yelp/help/LINGUAS b/test cases/frameworks/13 yelp/help/LINGUAS new file mode 100644 index 0000000..173f978 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/LINGUAS @@ -0,0 +1,2 @@ +de +es diff --git a/test cases/frameworks/13 yelp/help/de/de.po b/test cases/frameworks/13 yelp/help/de/de.po new file mode 100644 index 0000000..a54ce7f --- /dev/null +++ b/test cases/frameworks/13 yelp/help/de/de.po @@ -0,0 +1,13 @@ +msgid "" +msgstr "" +"Project-Id-Version: meson master\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. (itstool) path: page/title +#: C/index.page:5 +msgid "Hello!" +msgstr "Hallo!" diff --git a/test cases/frameworks/13 yelp/help/es/es.po b/test cases/frameworks/13 yelp/help/es/es.po new file mode 100644 index 0000000..b69ce7f --- /dev/null +++ b/test cases/frameworks/13 yelp/help/es/es.po @@ -0,0 +1,13 @@ +msgid "" +msgstr "" +"Project-Id-Version: meson master\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. (itstool) path: page/title +#: C/index.page:5 +msgid "Hello!" +msgstr "¡Hola!" diff --git a/test cases/frameworks/13 yelp/help/es/media/test.txt b/test cases/frameworks/13 yelp/help/es/media/test.txt new file mode 100644 index 0000000..3453b00 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/es/media/test.txt @@ -0,0 +1 @@ +Hola. diff --git a/test cases/frameworks/13 yelp/help/meson.build b/test cases/frameworks/13 yelp/help/meson.build new file mode 100644 index 0000000..d6dbe10 --- /dev/null +++ b/test cases/frameworks/13 yelp/help/meson.build @@ -0,0 +1,21 @@ +gnome = import('gnome') + +gnome.yelp('meson', + sources: 'index.page', + media: 'media/test.txt', + symlink_media: false, + languages: ['de', 'es'], +) + +gnome.yelp('meson-symlink', + sources: 'index2.page', + media: 'media/test.txt', + symlink_media: true, + languages: ['de', 'es'], +) + +gnome.yelp('meson-linguas', + sources: 'index3.page', + media: 'media/test.txt', + symlink_media: false, +) diff --git a/test cases/frameworks/13 yelp/meson.build b/test cases/frameworks/13 yelp/meson.build new file mode 100644 index 0000000..9fdde25 --- /dev/null +++ b/test cases/frameworks/13 yelp/meson.build @@ -0,0 +1,8 @@ +project('yelp', 'c') + +itstool = find_program('itstool', required: false) +if not itstool.found() + error('MESON_SKIP_TEST itstool not found.') +endif + +subdir('help') diff --git a/test cases/frameworks/13 yelp/test.json b/test cases/frameworks/13 yelp/test.json new file mode 100644 index 0000000..22e34d2 --- /dev/null +++ b/test cases/frameworks/13 yelp/test.json @@ -0,0 +1,23 @@ +{ + "installed": [ + {"type": "file", "file": "usr/share/help/C/meson/index.page"}, + {"type": "file", "file": "usr/share/help/C/meson/media/test.txt"}, + {"type": "file", "file": "usr/share/help/es/meson/index.page"}, + {"type": "file", "file": "usr/share/help/es/meson/media/test.txt"}, + {"type": "file", "file": "usr/share/help/de/meson/index.page"}, + {"type": "file", "file": "usr/share/help/de/meson/media/test.txt"}, + {"type": "file", "file": "usr/share/help/C/meson-symlink/index2.page"}, + {"type": "file", "file": "usr/share/help/C/meson-symlink/media/test.txt"}, + {"type": "file", "file": "usr/share/help/es/meson-symlink/index2.page"}, + {"type": "file", "file": "usr/share/help/es/meson-symlink/media/test.txt"}, + {"type": "file", "file": "usr/share/help/de/meson-symlink/index2.page"}, + {"type": "file", "file": "usr/share/help/de/meson-symlink/media/test.txt"}, + {"type": "file", "file": "usr/share/help/C/meson-linguas/index3.page"}, + {"type": "file", "file": "usr/share/help/C/meson-linguas/media/test.txt"}, + {"type": "file", "file": "usr/share/help/es/meson-linguas/index3.page"}, + {"type": "file", "file": "usr/share/help/es/meson-linguas/media/test.txt"}, + {"type": "file", "file": "usr/share/help/de/meson-linguas/index3.page"}, + {"type": "file", "file": "usr/share/help/de/meson-linguas/media/test.txt"} + ], + "skip_on_jobname": ["azure", "cygwin", "macos", "msys2"] +} -- cgit v1.2.3