plugins: Make them actually recognized and loaded by Xed

Adapted from:
e1fbe56adf
This commit is contained in:
JosephMcc 2016-12-26 16:12:05 -08:00
parent 9b3313efa7
commit 89758101cc
19 changed files with 51 additions and 51 deletions

View File

@ -19,11 +19,11 @@ libchangecase_la_LIBADD = $(XED_LIBS)
uidir = $(XED_PLUGINS_DATA_DIR)/changecase
ui_DATA =
plugin_in_files = changecase.xed-plugin.desktop.in
plugin_in_files = changecase.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=changecase
IAge=2
_Name=Change Case

View File

@ -19,11 +19,11 @@ libdocinfo_la_LIBADD = $(XED_LIBS)
uidir = $(XED_PLUGINS_DATA_DIR)/docinfo
ui_DATA = docinfo.ui
plugin_in_files = docinfo.xed-plugin.desktop.in
plugin_in_files = docinfo.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=docinfo
IAge=2
_Name=Document Statistics

View File

@ -44,9 +44,9 @@ libfilebrowser_la_LIBADD = $(XED_LIBS)
uidir = $(XED_PLUGINS_DATA_DIR)/filebrowser
ui_DATA = xed-file-browser-widget-ui.xml
plugin_in_files = filebrowser.xed-plugin.desktop.in
plugin_in_files = filebrowser.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
xed-file-browser-enum-types.h: xed-file-browser-enum-types.h.template $(NOINST_H_FILES) $(GLIB_MKENUMS)
(cd $(srcdir) && $(GLIB_MKENUMS) --template xed-file-browser-enum-types.h.template $(NOINST_H_FILES)) > $@
@ -63,7 +63,7 @@ xed-file-browser-marshal.c: xed-file-browser-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) echo "#include \"xed-file-browser-marshal.h\"" > $@ && \
$(GLIB_GENMARSHAL) $< --body --prefix=xed_file_browser_marshal >> $@
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
@INTLTOOL_XML_NOMERGE_RULE@
filebrowser_gschema_in = org.x.editor.plugins.filebrowser.gschema.xml.in

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Loader=C
Module=filebrowser
IAge=2

View File

@ -22,10 +22,10 @@ libmodelines_la_SOURCES = \
libmodelines_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libmodelines_la_LIBADD = $(XED_LIBS)
plugin_in_files = modelines.xed-plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_in_files = modelines.plugin.desktop.in
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
EXTRA_DIST = \
$(plugin_in_files) \

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=modelines
IAge=2
_Name=Modelines

View File

@ -19,11 +19,11 @@ libsort_la_LIBADD = $(XED_LIBS)
uidir = $(XED_PLUGINS_DATA_DIR)/sort
ui_DATA = sort.ui
plugin_in_files = sort.xed-plugin.desktop.in
plugin_in_files = sort.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=sort
IAge=2
_Name=Sort

View File

@ -44,11 +44,11 @@ xed-spell-marshal.c: xed-spell-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) echo "#include \"xed-spell-marshal.h\"" > $@ && \
$(GLIB_GENMARSHAL) $< --body --prefix=xed_marshal >> $@
plugin_in_files = spell.xed-plugin.desktop.in
plugin_in_files = spell.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
@INTLTOOL_XML_NOMERGE_RULE@
spell_gschema_in = org.x.editor.plugins.spell.gschema.xml.in

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=spell
IAge=2
_Name=Spell Checker

View File

@ -30,9 +30,9 @@ libtaglist_la_SOURCES = \
libtaglist_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libtaglist_la_LIBADD = $(XED_LIBS)
plugin_in_files = taglist.xed-plugin.desktop.in
plugin_in_files = taglist.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po)
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po)
$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
GZIP_ENV = -9
@ -41,7 +41,7 @@ GZIP_ENV = -9
LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache
GZIP=$(GZIP_ENV) gzip -n -f $(@:.gz=)
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
EXTRA_DIST = \
$(taglist_in_files) $(taglist_DATA) \

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=taglist
IAge=2
_Name=Tag list

View File

@ -21,11 +21,11 @@ ui_DATA = \
xed-time-dialog.ui \
xed-time-setup-dialog.ui
plugin_in_files = time.xed-plugin.desktop.in
plugin_in_files = time.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
@INTLTOOL_XML_NOMERGE_RULE@
time_gschema_in = org.x.editor.plugins.time.gschema.xml.in

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=time
IAge=2
_Name=Insert Date/Time

View File

@ -16,11 +16,11 @@ libtrailsave_la_SOURCES = \
libtrailsave_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libtrailsave_la_LIBADD = $(XED_LIBS)
plugin_in_files = trailsave.xed-plugin.desktop.in
plugin_in_files = trailsave.plugin.desktop.in
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
EXTRA_DIST = $(plugin_in_files)

View File

@ -1,4 +1,4 @@
[Xed Plugin]
[Plugin]
Module=trailsave
IAge=2
_Name=Save Without Trailing Spaces

View File

@ -45,21 +45,21 @@ xed/xed-ui.xml
xed/xed-utils.c
xed/xed-view.c
xed/xed-window.c
plugins/changecase/changecase.xed-plugin.desktop.in
plugins/changecase/changecase.plugin.desktop.in
plugins/changecase/xed-changecase-plugin.c
plugins/docinfo/docinfo.xed-plugin.desktop.in
plugins/docinfo/docinfo.plugin.desktop.in
[type: gettext/glade]plugins/docinfo/docinfo.ui
plugins/docinfo/xed-docinfo-plugin.c
plugins/filebrowser/filebrowser.xed-plugin.desktop.in
plugins/filebrowser/filebrowser.plugin.desktop.in
[type: gettext/gsettings]plugins/filebrowser/org.x.editor.plugins.filebrowser.gschema.xml.in
plugins/filebrowser/xed-file-bookmarks-store.c
plugins/filebrowser/xed-file-browser-plugin.c
plugins/filebrowser/xed-file-browser-store.c
plugins/filebrowser/xed-file-browser-view.c
plugins/filebrowser/xed-file-browser-widget.c
plugins/modelines/modelines.xed-plugin.desktop.in
plugins/modelines/modelines.plugin.desktop.in
plugins/sort/xed-sort-plugin.c
plugins/sort/sort.xed-plugin.desktop.in
plugins/sort/sort.plugin.desktop.in
[type: gettext/glade]plugins/sort/sort.ui
[type: gettext/gsettings]plugins/spell/org.x.editor.plugins.spell.gschema.xml.in
plugins/spell/xed-automatic-spell-checker.c
@ -71,18 +71,18 @@ plugins/spell/xed-spell-plugin.c
[type: gettext/glade]plugins/spell/languages-dialog.ui
[type: gettext/glade]plugins/spell/spell-checker.ui
[type: gettext/glade]plugins/spell/xed-spell-setup-dialog.ui
plugins/spell/spell.xed-plugin.desktop.in
plugins/spell/spell.plugin.desktop.in
plugins/taglist/xed-taglist-plugin.c
plugins/taglist/xed-taglist-plugin-panel.c
plugins/taglist/xed-taglist-plugin-parser.c
plugins/taglist/HTML.tags.xml.in
plugins/taglist/Latex.tags.xml.in
plugins/taglist/taglist.xed-plugin.desktop.in
plugins/taglist/taglist.plugin.desktop.in
plugins/taglist/XSLT.tags.xml.in
plugins/taglist/XUL.tags.xml.in
[type: gettext/gsettings]plugins/time/org.x.editor.plugins.time.gschema.xml.in
plugins/time/xed-time-plugin.c
plugins/time/time.xed-plugin.desktop.in
plugins/trailsave/trailsave.xed-plugin.desktop.in
plugins/time/time.plugin.desktop.in
plugins/trailsave/trailsave.plugin.desktop.in
[type: gettext/glade]plugins/time/xed-time-dialog.ui
[type: gettext/glade]plugins/time/xed-time-setup-dialog.ui