From ddf66032a7375c70befe4a0d72ba04d7bc6b0f15 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 8 Sep 2015 12:39:43 +0200 Subject: Rework gsettings schema building * Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files --- maximus/Makefile.am | 13 ++++--------- maximus/org.mate.maximus.gschema.xml.in | 24 ++++++++++++++++++++++++ maximus/org.mate.maximus.gschema.xml.in.in | 24 ------------------------ 3 files changed, 28 insertions(+), 33 deletions(-) create mode 100644 maximus/org.mate.maximus.gschema.xml.in delete mode 100644 maximus/org.mate.maximus.gschema.xml.in.in (limited to 'maximus') diff --git a/maximus/Makefile.am b/maximus/Makefile.am index b1994a4..3326b6b 100644 --- a/maximus/Makefile.am +++ b/maximus/Makefile.am @@ -31,14 +31,11 @@ mate_maximus_SOURCES = \ xutils.h @INTLTOOL_XML_NOMERGE_RULE@ -gsettings_SCHEMAS = org.mate.maximus.gschema.xml +gsettingsschema_in_files = org.mate.maximus.gschema.xml.in -gsettings_SCHEMAS_in_in = $(gsettings_SCHEMAS:.xml=.xml.in.in) +gsettings_SCHEMAS = $(gsettingsschema_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' < $< > $@ - convertdir = $(datadir)/MateConf/gsettings convert_DATA = mate-maximus.convert @@ -47,8 +44,6 @@ dist_desktop_DATA=mate-maximus-autostart.desktop man_MANS = mate-maximus.1 -CLEANFILES = $(gsettings_SCHEMAS) \ - $(gsettings_SCHEMAS_in) - +CLEANFILES = $(gsettings_SCHEMAS) *.gschema.valid -EXTRA_DIST = $(gsettings_SCHEMAS_in_in) $(convert_DATA) $(man_MANS) +EXTRA_DIST = $(gsettingsschema_in_files) $(convert_DATA) $(man_MANS) diff --git a/maximus/org.mate.maximus.gschema.xml.in b/maximus/org.mate.maximus.gschema.xml.in new file mode 100644 index 0000000..0fde1cc --- /dev/null +++ b/maximus/org.mate.maximus.gschema.xml.in @@ -0,0 +1,24 @@ + + + + [ 'Totem' ] + A list of exclusion strings which apply to the window class. + A list of exclusion strings which apply to the window class + + + 'disabled' + A binding + A binding + + + false + Undecorate windows when maximized + Undecorate windows when maximized + + + true + Do not automatically maximize newly opened windows + Do not automatically maximize newly opened windows. If undecorate is set, will still undecorate maximised windows. + + + diff --git a/maximus/org.mate.maximus.gschema.xml.in.in b/maximus/org.mate.maximus.gschema.xml.in.in deleted file mode 100644 index 8f0c635..0000000 --- a/maximus/org.mate.maximus.gschema.xml.in.in +++ /dev/null @@ -1,24 +0,0 @@ - - - - [ 'Totem' ] - <_summary>A list of exclusion strings which apply to the window class. - <_description>A list of exclusion strings which apply to the window class - - - 'disabled' - <_summary>A binding - <_description>A binding - - - false - <_summary>Undecorate windows when maximized - <_description>Undecorate windows when maximized - - - true - <_summary>Do not automatically maximize newly opened windows - <_description>Do not automatically maximize newly opened windows. If undecorate is set, will still undecorate maximised windows. - - - -- cgit v1.2.1