Commit 9695efd2 authored by Felix Riemann's avatar Felix Riemann
Browse files

Rename MetaInfo files to AppData and rename them back during build

gettext doesn't recognize the MetaInfo extension as AppData files yet.
To fix extracting the translatable strings rename to AppData and
rename them to the MetaInfo extension during build.
parent d50feee9
......@@ -45,8 +45,8 @@ $(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-exif-display.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-exif-display.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -3,7 +3,7 @@ plugindir = $(EOG_PLUGINS_LIBS_DIR)
appstreamdir = $(datadir)/appdata
uidir = $(EOG_PLUGINS_DATA_DIR)/export-to-folder
plugin_in_files = export-to-folder.plugin.desktop.in
appstream_in_files = eog-export-to-folder.metainfo.xml.in
appstream_in_files = eog-export-to-folder.appdata.xml.in
UI_FILES = preferences_dialog.ui
ui_DATA = $(UI_FILES)
......@@ -23,7 +23,7 @@ $(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -28,8 +28,8 @@ plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-fit-to-width.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-fit-to-width.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -2,7 +2,7 @@
plugindir = $(EOG_PLUGINS_LIBS_DIR)
appstreamdir = $(datadir)/appdata
plugin_in_files = fullscreenbg.plugin.desktop.in
appstream_in_files = eog-fullscreenbg.metainfo.xml.in
appstream_in_files = eog-fullscreenbg.appdata.xml.in
gsettings_SCHEMAS = org.gnome.eog.plugins.fullscreenbg.gschema.xml
gsettings_SCHEMAS_in_files = org.gnome.eog.plugins.fullscreenbg.gschema.xml.in
......@@ -21,7 +21,7 @@ $(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -26,8 +26,8 @@ plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-hide-titlebar.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-hide-titlebar.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -29,8 +29,8 @@ $(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-light-theme.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-light-theme.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -29,8 +29,8 @@ plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-map.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-map.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -2,7 +2,7 @@
plugindir = $(EOG_PLUGINS_LIBS_DIR)
appstreamdir = $(datadir)/appdata
plugin_in_files = maximize-windows.plugin.desktop.in
appstream_in_files = eog-maximize-windows.metainfo.xml.in
appstream_in_files = eog-maximize-windows.appdata.xml.in
plugin_PYTHON = \
maximize-windows.py
......@@ -13,7 +13,7 @@ plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -43,8 +43,8 @@ plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-postasa.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-postasa.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
......@@ -29,8 +29,8 @@ plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-postr.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
appstream_in_files = eog-postr.appdata.xml.in
appstream_DATA = $(appstream_in_files:.appdata.xml.in=.metainfo.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
......
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