From df7a7488950139e3884972e2363294051e33d45d Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 21:55:35 +0200 Subject: Rework gsettings schema building * Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files --- command/Makefile.am | 10 ++++----- .../org.mate.panel.applet.command.gschema.xml.in | 24 ++++++++++++++++++++++ ...org.mate.panel.applet.command.gschema.xml.in.in | 24 ---------------------- 3 files changed, 28 insertions(+), 30 deletions(-) create mode 100644 command/org.mate.panel.applet.command.gschema.xml.in delete mode 100644 command/org.mate.panel.applet.command.gschema.xml.in.in (limited to 'command') diff --git a/command/Makefile.am b/command/Makefile.am index e9df3c81..3159add3 100644 --- a/command/Makefile.am +++ b/command/Makefile.am @@ -32,15 +32,13 @@ org.mate.panel.applet.CommandAppletFactory.service: $(service_in_files) $< > $@ @INTLTOOL_XML_NOMERGE_RULE@ -gsettings_SCHEMAS = org.mate.panel.applet.command.gschema.xml +command_gschema_in_files = org.mate.panel.applet.command.gschema.xml.in +gsettings_SCHEMAS = $(command_gschema_in_files:.xml.in=.xml) @GSETTINGS_RULES@ -%.gschema.xml.in: %.gschema.xml.in.in Makefile - $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ - EXTRA_DIST = \ $(applets_in_files).in \ $(service_in_files) \ - $(gsettings_SCHEMAS).in.in + $(command_gschema_in_files) -CLEANFILES = $(applets_DATA) $(applets_DATA).in $(service_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS) *.gschema.valid +CLEANFILES = $(applets_DATA) $(applets_DATA).in $(service_DATA) $(gsettings_SCHEMAS) *.gschema.valid diff --git a/command/org.mate.panel.applet.command.gschema.xml.in b/command/org.mate.panel.applet.command.gschema.xml.in new file mode 100644 index 00000000..b352a21b --- /dev/null +++ b/command/org.mate.panel.applet.command.gschema.xml.in @@ -0,0 +1,24 @@ + + + + 'date +%T' + Command to execute + Command/script to execute to get the output + + + 1 + Interval for the command + Interval to execute the command (in seconds) + + + 60 + Width of output + Number of characters to display + + + false + Show icon + If applet icon is shown or not + + + diff --git a/command/org.mate.panel.applet.command.gschema.xml.in.in b/command/org.mate.panel.applet.command.gschema.xml.in.in deleted file mode 100644 index f5d61479..00000000 --- a/command/org.mate.panel.applet.command.gschema.xml.in.in +++ /dev/null @@ -1,24 +0,0 @@ - - - - 'date +%T' - <_summary>Command to execute - <_description>Command/script to execute to get the output - - - 1 - <_summary>Interval for the command - <_description>Interval to execute the command (in seconds) - - - 60 - <_summary>Width of output - <_description>Number of characters to display - - - false - <_summary>Show icon - <_description>If applet icon is shown or not - - - -- cgit v1.2.1