summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 15:46:15 +0200
committerinfirit <[email protected]>2015-09-08 15:46:15 +0200
commit276f7b995a8b9633c0feede436bbf1889ca7123e (patch)
treed73438d6a91d2c94968827fda4f27753762e68e6
parent80c5e88588752d4a856a43fe292569afa6c1c31d (diff)
downloadmate-terminal-276f7b995a8b9633c0feede436bbf1889ca7123e.tar.bz2
mate-terminal-276f7b995a8b9633c0feede436bbf1889ca7123e.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
-rw-r--r--configure.ac3
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/org.mate.terminal.gschema.xml.in2
3 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 93b1e9f..72ae3da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@ PKG_PROG_PKG_CONFIG
AC_PROG_CC
AC_HEADER_STDC
AM_PROG_LIBTOOL
-IT_PROG_INTLTOOL([0.40.0])
+IT_PROG_INTLTOOL([0.50.1])
MATE_COMMON_INIT
MATE_DEBUG_CHECK
@@ -129,6 +129,7 @@ AC_CONFIG_FILES([
Makefile
mate-terminal.desktop.in
src/Makefile
+src/org.mate.terminal.gschema.xml
src/terminal-version.h
src/skey/Makefile
help/Makefile
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e295d79..05f3ec3 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,7 +4,7 @@
mate-terminal.appdata.xml.in
mate-terminal.desktop.in.in
src/eggsmclient.c
-src/org.mate.terminal.gschema.xml.in
+[type: gettext/gsettings]src/org.mate.terminal.gschema.xml.in
src/profile-editor.c
[type: gettext/glade]src/encodings-dialog.ui
[type: gettext/glade]src/find-dialog.ui
diff --git a/src/org.mate.terminal.gschema.xml.in b/src/org.mate.terminal.gschema.xml.in
index 22ef2f3..609cb13 100644
--- a/src/org.mate.terminal.gschema.xml.in
+++ b/src/org.mate.terminal.gschema.xml.in
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<schemalist gettext-domain="mate-terminal">
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<enum id="org.mate.terminal.erasebinding">
<value nick="auto" value="0"/>
<value nick="control-h" value="1"/>