Rework gsettings schema building

* Bump intltool required version for gsettings support
* Extract strings with intltool directly
* Let autoconf generate the xml files
master-1.22
infirit 2015-09-08 15:46:15 +02:00
parent 80c5e88588
commit 276f7b995a
3 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ PKG_PROG_PKG_CONFIG
AC_PROG_CC AC_PROG_CC
AC_HEADER_STDC AC_HEADER_STDC
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
IT_PROG_INTLTOOL([0.40.0]) IT_PROG_INTLTOOL([0.50.1])
MATE_COMMON_INIT MATE_COMMON_INIT
MATE_DEBUG_CHECK MATE_DEBUG_CHECK
@ -129,6 +129,7 @@ AC_CONFIG_FILES([
Makefile Makefile
mate-terminal.desktop.in mate-terminal.desktop.in
src/Makefile src/Makefile
src/org.mate.terminal.gschema.xml
src/terminal-version.h src/terminal-version.h
src/skey/Makefile src/skey/Makefile
help/Makefile help/Makefile

View File

@ -4,7 +4,7 @@
mate-terminal.appdata.xml.in mate-terminal.appdata.xml.in
mate-terminal.desktop.in.in mate-terminal.desktop.in.in
src/eggsmclient.c src/eggsmclient.c
src/org.mate.terminal.gschema.xml.in [type: gettext/gsettings]src/org.mate.terminal.gschema.xml.in
src/profile-editor.c src/profile-editor.c
[type: gettext/glade]src/encodings-dialog.ui [type: gettext/glade]src/encodings-dialog.ui
[type: gettext/glade]src/find-dialog.ui [type: gettext/glade]src/find-dialog.ui

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<schemalist gettext-domain="mate-terminal"> <schemalist gettext-domain="@GETTEXT_PACKAGE@">
<enum id="org.mate.terminal.erasebinding"> <enum id="org.mate.terminal.erasebinding">
<value nick="auto" value="0"/> <value nick="auto" value="0"/>
<value nick="control-h" value="1"/> <value nick="control-h" value="1"/>