[Xfce4-commits] [apps/xfce4-screensaver] 199/425: Rework gsettings schema building

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:50:46 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 9beb2876641d84bdbfd5860dae998d3ac50d386c
Author: infirit <infirit at gmail.com>
Date:   Tue Sep 8 14:23:02 2015 +0200

    Rework gsettings schema building
    
    * Bump intltool required version for gsettings support
    * Extract strings with intltool directly
---
 configure.ac                             | 2 +-
 data/Makefile.am                         | 5 +++--
 data/org.mate.screensaver.gschema.xml.in | 4 ++--
 po/POTFILES.in                           | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8e6862e..0b28f38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ AC_CONFIG_HEADERS(config.h)
 
 AM_MAINTAINER_MODE
 
-IT_PROG_INTLTOOL([0.35.0])
+IT_PROG_INTLTOOL([0.50.1])
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_STDC_HEADERS
diff --git a/data/Makefile.am b/data/Makefile.am
index 70ac481..72f2e91 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -43,14 +43,15 @@ dbussessionservice_DATA = org.mate.ScreenSaver.service
 @GSETTINGS_RULES@
 @INTLTOOL_XML_NOMERGE_RULE@
 
-gsettings_SCHEMAS = org.mate.screensaver.gschema.xml
+gsettingsschema_in_files = org.mate.screensaver.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
 
 migrationdir = $(datadir)/MateConf/gsettings
 dist_migration_DATA = org.mate.screensaver.gschema.migrate
 
 
 EXTRA_DIST = 				\
-	$(gsettings_SCHEMAS).in		\
+	$(gsettingsschema_in_files)	\
 	$(desktop_in_files)		\
 	$(directory_in_files)		\
 	$(gtkbuilder_DATA)		\
diff --git a/data/org.mate.screensaver.gschema.xml.in b/data/org.mate.screensaver.gschema.xml.in
index 5cdb071..7671144 100644
--- a/data/org.mate.screensaver.gschema.xml.in
+++ b/data/org.mate.screensaver.gschema.xml.in
@@ -1,10 +1,10 @@
-<schemalist>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
   <enum id="org.mate.screensaver.Mode">
     <value nick="blank-only" value="0"/>
     <value nick="random" value="1"/>
     <value nick="single" value="2"/>
   </enum>
-  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.mate.screensaver" path="/org/mate/screensaver/">
+  <schema id="org.mate.screensaver" path="/org/mate/screensaver/">
     <key name="idle-activation-enabled" type="b">
       <default>true</default>
       <summary>Activate when idle</summary>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1bfdc2d..ed32f78 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,7 +5,7 @@ data/mate-screensaver-preferences.desktop.in
 data/mate-screensaver.directory.in
 data/images/cosmos/cosmos.xml.in.in
 [type: gettext/glade]data/lock-dialog-default.ui
-data/org.mate.screensaver.gschema.xml.in
+[type: gettext/gsettings]data/org.mate.screensaver.gschema.xml.in
 savers/cosmos-slideshow.desktop.in.in
 savers/footlogo-floaters.desktop.in.in
 savers/gnomelogo-floaters.desktop.in.in

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list