From: Kaj-Michael Lang Date: Wed, 16 Jan 2008 09:08:39 +0000 (+0200) Subject: Start to add a proper GConf schema X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e6130d4d57c8baf1d7f95e16dc58b3538354755;p=mapper Start to add a proper GConf schema --- diff --git a/configure.ac b/configure.ac index 2a840ef..d0f159e 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,9 @@ PKG_CHECK_MODULES(GLIBGTK, glib-2.0 gconf-2.0 dbus-glib-1 gtk+-2.0) AC_SUBST(GLIBGTK_LIBS) AC_SUBST(GLIBGTK_CFLAGS) +AC_PATH_PROG(GCONFTOOL, gconftool-2) +AM_GCONF_SOURCE_2 + dnl Maemo has 3.8, but prefer new version in case it's available PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.14, HAVE_GTKHTML=yes, HAVE_GTKHTML=no) if test "x$HAVE_GTKHTML" = "xno"; then @@ -369,7 +372,26 @@ AC_OUTPUT( po/Makefile ) -echo "Hildon: ${enable_hildon}" -echo "IT specials (770/N800): ${enable_770}" -echo "IT D-Bus Bluetooth: ${enable_itbtdbus}" -echo "Bluez D-Bus: ${enable_btdbus}" +if test x$enable_hildon = xyes; then +AC_MSG_NOTICE([** Hildon support enabled]) +fi + +if test x$enable_770 = xyes; then +AC_MSG_NOTICE([** Tablet support enabled]) +fi + +if test x$enable_itbtdbus = xyes; then +AC_MSG_NOTICE([** Tablet bluetooth D-Bus support enabled]) +fi + +if test x$enable_btdbus = xyes; then +AC_MSG_NOTICE([** Bluez D-Bus support enabled]) +fi + +if test x$enable_gpsd = xyes; then +AC_MSG_NOTICE([** GPSD support enabled]) +fi + +if test x$enable_gypsy = xyes; then +AC_MSG_NOTICE([** Gypsy D-Bus GPS support enabled]) +fi diff --git a/data/mapper.schemas.in b/data/mapper.schemas.in new file mode 100644 index 0000000..fe2f1aa --- /dev/null +++ b/data/mapper.schemas.in @@ -0,0 +1,61 @@ + + + + + + /schemas/apps/maemo/mapper/enable_gps + /apps/maemo/mapper/enable_gps + maemo/mapper + bool + true + + GPS connection enabled + + + + + /schemas/apps/maemo/mapper/gps_info + /apps/maemo/mapper/gps_info + maemo/mapper + bool + true + + Display GPS information panel + + + + + /schemas/apps/maemo/mapper/receiver_mac + /apps/maemo/mapper/receiver_mac + maemo/mapper + string + + + Bluetooth MAC or device path for GPS device + + + + + /schemas/apps/maemo/mapper/gps_filter + /apps/maemo/mapper/gps_filter + maemo/mapper + bool + false + + GPS Track point filter + + + + + /schemas/apps/maemo/mapper/gps_filter_maxdrop + /apps/maemo/mapper/gps_filter_maxdrop + maemo/mapper + int + 1 + + Max number of GPS points to drop by the filter + + + + +