Commit 2f289a5e authored by Jeremy Bicha's avatar Jeremy Bicha 🎹 Committed by Bastien Nocera

meson: Rename .plugin.in files to .plugin.desktop.in for gettext

Workaround gettext limitation in handling .plugin files

http://lists.gnu.org/archive/html/bug-gettext/2017-06/msg00001.html
parent 17f4ea53
......@@ -35,49 +35,49 @@ src/totem-subtitle-encoding.c
src/totem-time-label.c
src/totem-uri.c
src/totem-video-thumbnailer.c
src/plugins/apple-trailers/apple-trailers.plugin.in
src/plugins/autoload-subtitles/autoload-subtitles.plugin.in
src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.in
src/plugins/apple-trailers/apple-trailers.plugin.desktop.in
src/plugins/autoload-subtitles/autoload-subtitles.plugin.desktop.in
src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.desktop.in
src/plugins/brasero-disc-recorder/totem-disc-recorder.c
src/plugins/dbusservice/dbusservice.plugin.in
src/plugins/dbusservice/dbusservice.plugin.desktop.in
src/plugins/dbusservice/dbusservice.py
src/plugins/gromit/gromit.plugin.in
src/plugins/gromit/gromit.plugin.desktop.in
src/plugins/gromit/totem-gromit.c
src/plugins/im-status/totem-im-status.c
src/plugins/im-status/totem-im-status.plugin.in
src/plugins/lirc/lirc.plugin.in
src/plugins/im-status/totem-im-status.plugin.desktop.in
src/plugins/lirc/lirc.plugin.desktop.in
src/plugins/lirc/totem-lirc.c
src/plugins/media-player-keys/media-player-keys.plugin.in
src/plugins/ontop/ontop.plugin.in
src/plugins/opensubtitles/opensubtitles.plugin.in
src/plugins/media-player-keys/media-player-keys.plugin.desktop.in
src/plugins/ontop/ontop.plugin.desktop.in
src/plugins/opensubtitles/opensubtitles.plugin.desktop.in
src/plugins/opensubtitles/opensubtitles.py
src/plugins/opensubtitles/opensubtitles.ui
src/plugins/opensubtitles/org.gnome.totem.plugins.opensubtitles.gschema.xml.in
src/plugins/properties/movie-properties.plugin.in
src/plugins/properties/movie-properties.plugin.desktop.in
src/plugins/properties/totem-movie-properties.c
src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
src/plugins/pythonconsole/pythonconsole.plugin.in
src/plugins/pythonconsole/pythonconsole.plugin.desktop.in
src/plugins/pythonconsole/pythonconsole.py
src/plugins/recent/recent.plugin.in
src/plugins/rotation/rotation.plugin.in
src/plugins/recent/recent.plugin.desktop.in
src/plugins/rotation/rotation.plugin.desktop.in
src/plugins/rotation/totem-rotation-plugin.vala
src/plugins/save-file/save-file.plugin.in
src/plugins/save-file/save-file.plugin.desktop.in
src/plugins/save-file/totem-save-file.c
src/plugins/screensaver/screensaver.plugin.in
src/plugins/screensaver/screensaver.plugin.desktop.in
src/plugins/screensaver/totem-screensaver.c
src/plugins/screenshot/gallery.ui
src/plugins/screenshot/screenshot-filename-builder.c
src/plugins/screenshot/screenshot.plugin.in
src/plugins/screenshot/screenshot.plugin.desktop.in
src/plugins/screenshot/totem-gallery.c
src/plugins/screenshot/totem-gallery-progress.c
src/plugins/screenshot/totem-screenshot-plugin.c
src/plugins/skipto/skipto.plugin.in
src/plugins/skipto/skipto.plugin.desktop.in
src/plugins/skipto/skipto.ui
src/plugins/skipto/totem-skipto.c
src/plugins/skipto/totem-skipto-plugin.c
src/plugins/skipto/totem-time-entry.c
src/plugins/totem-plugins-engine.c
src/plugins/variable-rate/totem-variable-rate-plugin.c
src/plugins/variable-rate/variable-rate.plugin.in
src/plugins/vimeo/vimeo.plugin.in
src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.in
src/plugins/variable-rate/variable-rate.plugin.desktop.in
src/plugins/vimeo/vimeo.plugin.desktop.in
src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.desktop.in
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -19,7 +19,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -11,7 +11,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -18,7 +18,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -18,7 +18,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -149,6 +149,8 @@ endif
pylint_flags = ['-d', 'C0111', '-d', 'W0511', '-d', 'F0401', '-d', 'C0326' ]
# FIXME: Move custom_target to i18n.merge_file when gettext acquires plugin support.
# http://lists.gnu.org/archive/html/bug-gettext/2017-06/msg00001.html
msgfmt_plugin_cmd = [
find_program('msgfmt'),
'--desktop',
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -17,7 +17,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -18,7 +18,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -35,7 +35,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -24,7 +24,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: plugin_install,
......
......@@ -15,7 +15,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: plugin_install,
......
......@@ -19,7 +19,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -36,7 +36,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -22,7 +22,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -16,7 +16,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
......@@ -35,7 +35,7 @@ plugin_data = plugin_name + '.plugin'
custom_target(
plugin_data,
input: plugin_data + '.in',
input: plugin_data + '.desktop.in',
output: plugin_data,
command: msgfmt_plugin_cmd,
install: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment