From feb98c4c3e21e34b1aeffc287531ff97a9d0616c Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 13:01:50 +0200 Subject: Retrieve strings directly from gschema intltool 0.5.1 has support for gsettings schemas. --- configure.ac | 2 +- data/Makefile.am | 7 ++--- data/org.mate.Atril.gschema.xml | 54 ++++++++++++++++++++++++++++++++++++++ data/org.mate.Atril.gschema.xml.in | 54 -------------------------------------- 4 files changed, 57 insertions(+), 60 deletions(-) create mode 100644 data/org.mate.Atril.gschema.xml delete mode 100644 data/org.mate.Atril.gschema.xml.in diff --git a/configure.ac b/configure.ac index e1650afe..340384ac 100644 --- a/configure.ac +++ b/configure.ac @@ -70,7 +70,7 @@ dnl FIXME: remove this when required gtk+ >= 2.19.7 DISABLE_DEPRECATED= AC_SUBST([DISABLE_DEPRECATED]) -IT_PROG_INTLTOOL([0.35.0]) +IT_PROG_INTLTOOL([0.50.1]) GETTEXT_PACKAGE=atril AC_SUBST(GETTEXT_PACKAGE) diff --git a/data/Makefile.am b/data/Makefile.am index fedca7dd..e829efe0 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -58,9 +58,7 @@ appdata_DATA = $(appdata_in_files:.xml.in=.xml) # # GSettings schema # -gsettingsschema_in_files = org.mate.Atril.gschema.xml.in -# gsettings_SCHEMAS is a list of all the schemas you want to install -gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) +gsettings_SCHEMAS = org.mate.Atril.gschema.xml .PRECIOUS: $(gsettings_SCHEMAS) @@ -99,7 +97,7 @@ EXTRA_DIST = \ $(ui_DATA) \ $(DESKTOP_IN_FILES) \ $(appdata_in_files) \ - $(gsettingsschema_in_files) \ + $(gsettings_SCHEMAS) \ org.mate.atril.Daemon.service.in \ $(man_MANS) \ atril.ico \ @@ -115,7 +113,6 @@ CLEANFILES = \ DISTCLEANFILES = \ $(DESKTOP_FILES) \ - $(gsettings_SCHEMAS) \ $(service_DATA) -include $(top_srcdir)/git.mk diff --git a/data/org.mate.Atril.gschema.xml b/data/org.mate.Atril.gschema.xml new file mode 100644 index 00000000..cd7de5c1 --- /dev/null +++ b/data/org.mate.Atril.gschema.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + true + Override document restrictions + Override document restrictions, like restriction to copy or to print. + + + + + + + true + + + true + + + (0., 0.) + + + 'fit-width' + + + 1. + + + false + + + true + + + false + + + false + + + 'links' + + + 132 + + + + diff --git a/data/org.mate.Atril.gschema.xml.in b/data/org.mate.Atril.gschema.xml.in deleted file mode 100644 index fe7893ea..00000000 --- a/data/org.mate.Atril.gschema.xml.in +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - true - <_summary>Override document restrictions - <_description>Override document restrictions, like restriction to copy or to print. - - - - - - - true - - - true - - - (0., 0.) - - - 'fit-width' - - - 1. - - - false - - - true - - - false - - - false - - - 'links' - - - 132 - - - - -- cgit v1.2.1