diff options
| author | Aleksey Samoilov <[email protected]> | 2026-08-02 01:27:47 +0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-01 21:27:47 +0000 |
| commit | 1b527834cdca36b3971b63720b8ffb38b4fd57ba (patch) | |
| tree | ec2f1a4e2f21e620d354c52bd26819d5d6c76346 /help | |
| parent | 09df5771a28035d781c22677bf2273d551f02a50 (diff) | |
| download | mate-panel-master.tar.bz2 mate-panel-master.tar.xz | |
* Add Meson support
* Fix libegg submodule configure
* generate schemas before install
Diffstat (limited to 'help')
| -rw-r--r-- | help/mate-clock/meson.build | 21 | ||||
| -rw-r--r-- | help/mate-fish/meson.build | 21 | ||||
| -rw-r--r-- | help/meson.build | 2 |
3 files changed, 44 insertions, 0 deletions
diff --git a/help/mate-clock/meson.build b/help/mate-clock/meson.build new file mode 100644 index 00000000..d82268e4 --- /dev/null +++ b/help/mate-clock/meson.build @@ -0,0 +1,21 @@ +fs = import('fs') + +help_id = 'mate-clock' +help_sources = ['index.docbook', 'legal.xml'] +help_media = ['figures/clock_applet.png'] + +# discover the locale directories holding a <locale>.po translation file +langs = [] +foreach entry : run_command('ls', '-1', meson.current_source_dir(), check: true).stdout().strip().split('\n') + entry_path = join_paths(meson.current_source_dir(), entry) + if entry != 'C' and fs.is_dir(entry_path) and fs.exists(join_paths(entry_path, entry + '.po')) + langs += entry + endif +endforeach + +gnome.yelp(help_id, + sources: help_sources, + media: help_media, + languages: langs, + symlink_media: true, +) diff --git a/help/mate-fish/meson.build b/help/mate-fish/meson.build new file mode 100644 index 00000000..2cf0f3c0 --- /dev/null +++ b/help/mate-fish/meson.build @@ -0,0 +1,21 @@ +fs = import('fs') + +help_id = 'mate-fish' +help_sources = ['index.docbook', 'legal.xml'] +help_media = ['figures/fish_applet.png'] + +# discover the locale directories holding a <locale>.po translation file +langs = [] +foreach entry : run_command('ls', '-1', meson.current_source_dir(), check: true).stdout().strip().split('\n') + entry_path = join_paths(meson.current_source_dir(), entry) + if entry != 'C' and fs.is_dir(entry_path) and fs.exists(join_paths(entry_path, entry + '.po')) + langs += entry + endif +endforeach + +gnome.yelp(help_id, + sources: help_sources, + media: help_media, + languages: langs, + symlink_media: true, +) diff --git a/help/meson.build b/help/meson.build new file mode 100644 index 00000000..a999b5f6 --- /dev/null +++ b/help/meson.build @@ -0,0 +1,2 @@ +subdir('mate-clock') +subdir('mate-fish') |
