[ekiga/ds-gsettings2: 2/33] GSettings: Added compilation and installation of schema file.



commit 2baed296eeb2f150182098df4ab1532a0ff41920
Author: Damien Sandras <dsandras beip be>
Date:   Sun Mar 17 17:46:46 2013 +0100

    GSettings: Added compilation and installation of schema file.

 Makefile.am  |   10 ++++++++--
 configure.ac |    7 +++++++
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d85bea7..e28dd76 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = man sounds pixmaps lib src plugins po 
+SUBDIRS = man sounds pixmaps lib src plugins po
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
@@ -18,6 +18,11 @@ DESKTOP_FILE= PACKAGE_NAME@.desktop
 SCHEMAS_IN_IN_FILE = @PACKAGE_NAME  schemas in in
 SCHEMAS_FILE = @PACKAGE_NAME  schemas
 
+gsettings_SCHEMAS = org.gnome.ekiga.gschema.xml
+ INTLTOOL_XML_NOMERGE_RULE@
+
+ GSETTINGS_RULES@
+
 
 ### Win32 files
 WIN32_DIST = \
@@ -58,6 +63,7 @@ EXTRA_DIST = \
        README                                                  \
         LICENSE                                                 \
         MAINTAINERS                                             \
+       $(gsettings_SCHEMAS)                                    \
        $(SCHEMAS_FILE)                                         \
        $(WIN32_DIST)
 
@@ -66,7 +72,7 @@ Applications_DATA = $(DESKTOP_FILE)
 
 
 ### Dist Clear
-DISTCLEANFILES=gnome-doc-utils.make ekiga.desktop ekiga.schemas
+DISTCLEANFILES=gnome-doc-utils.make ekiga.desktop ekiga.schemas org.gnome.ekiga.gschema
 
 MAINTAINERCLEANFILES= \
        Makefile.in aclocal.m4 compile config.guess config.sub \
diff --git a/configure.ac b/configure.ac
index 1c9b7df..45ba66e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,6 +194,12 @@ AC_SUBST(XML_LIBS)
 
 
 dnl ###############################
+dnl   GSettings support
+dnl ###############################
+
+GLIB_GSETTINGS
+
+dnl ###############################
 dnl   GConf support
 dnl ###############################
 GCONF="disabled"
@@ -876,6 +882,7 @@ dnl ###########################################################################
 AC_CONFIG_FILES([Makefile
 Doxyfile
 src/ekiga-config-tool
+org.gnome.ekiga.gschema.xml.in
 ekiga.schemas.in
 ekiga.desktop.in
 lib/Makefile


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]