From 97e1fe87f7cb362e0731b4aceec5b8f21e5632d1 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Jan 2021 13:08:32 +0100 Subject: build: Use PACKAGE_URL variable --- plugins/pythonconsole/Makefile.am | 11 ++++++----- plugins/pythonconsole/pythonconsole.plugin.desktop.in | 11 ----------- plugins/pythonconsole/pythonconsole.plugin.desktop.in.in | 11 +++++++++++ 3 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 plugins/pythonconsole/pythonconsole.plugin.desktop.in create mode 100644 plugins/pythonconsole/pythonconsole.plugin.desktop.in.in (limited to 'plugins/pythonconsole') diff --git a/plugins/pythonconsole/Makefile.am b/plugins/pythonconsole/Makefile.am index 7c6a02e4..006589ea 100644 --- a/plugins/pythonconsole/Makefile.am +++ b/plugins/pythonconsole/Makefile.am @@ -2,8 +2,9 @@ SUBDIRS = pythonconsole plugindir = $(PLUMA_PLUGINS_LIBS_DIR) -plugin_in_files = pythonconsole.plugin.desktop.in -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) +plugin_DATA = pythonconsole.plugin +plugin_in_files = $(plugin_DATA:.plugin=.plugin.desktop.in) +plugin_in_in_files = $(plugin_in_files:.plugin.desktop.in=.plugin.desktop.in.in) $(plugin_DATA): $(plugin_in_files) $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@ @@ -13,16 +14,16 @@ gsettings_SCHEMAS = $(pythonconsole_gschema_in:.xml.in=.xml) @GSETTINGS_RULES@ EXTRA_DIST = \ - $(plugin_in_files) \ + $(plugin_in_in_files) \ $(pythonconsole_gschema_in) CLEANFILES = \ - $(plugin_DATA) \ + $(plugin_DATA) \ $(gsettings_SCHEMAS_in) \ $(gsettings_SCHEMAS) DISTCLEANFILES = \ - $(plugin_DATA) \ + $(plugin_in_files) \ $(gsettings_SCHEMAS_in) \ $(gsettings_SCHEMAS) diff --git a/plugins/pythonconsole/pythonconsole.plugin.desktop.in b/plugins/pythonconsole/pythonconsole.plugin.desktop.in deleted file mode 100644 index 624b0cfd..00000000 --- a/plugins/pythonconsole/pythonconsole.plugin.desktop.in +++ /dev/null @@ -1,11 +0,0 @@ -[Plugin] -Loader=python3 -Module=pythonconsole -IAge=2 -Name=Python Console -Description=Interactive Python console standing in the bottom panel -# Translators: Do NOT translate or transliterate this text (this is an icon file name)! -Icon=text-x-python -Authors=Steve Frécinaux -Copyright=Copyright © 2006 Steve Frécinaux -Website=https://mate-desktop.org diff --git a/plugins/pythonconsole/pythonconsole.plugin.desktop.in.in b/plugins/pythonconsole/pythonconsole.plugin.desktop.in.in new file mode 100644 index 00000000..41a5a79e --- /dev/null +++ b/plugins/pythonconsole/pythonconsole.plugin.desktop.in.in @@ -0,0 +1,11 @@ +[Plugin] +Loader=python3 +Module=pythonconsole +IAge=2 +Name=Python Console +Description=Interactive Python console standing in the bottom panel +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=text-x-python +Authors=Steve Frécinaux +Copyright=Copyright © 2006 Steve Frécinaux +Website=@PACKAGE_URL@ -- cgit v1.2.1