2009-06-08 Mark Doffman <mark.doffman@codethink.co.uk>
authorMark Doffman <mdoff@altair-voyager.(none)>
Wed, 22 Jul 2009 13:20:49 +0000 (14:20 +0100)
committerMark Doffman <mdoff@altair-voyager.(none)>
Wed, 22 Jul 2009 13:20:49 +0000 (14:20 +0100)
        Merge activation changes by Li Yuan.

1  2 
configure.ac
dbind/Makefile.am
registryd/Makefile.am
registryd/deviceeventcontroller.c
registryd/keymasks.h
registryd/registry-main.c

diff --cc configure.ac
@@@ -124,6 -161,22 +138,16 @@@ if test -z "$DEFAULT_ATSPI_INTROSPECTIO
          DEFAULT_ATSPI_INTROSPECTION_PATH=dbus
  fi
  
 -AC_ARG_VAR([GTK_MODULE_DIR],
 -         [Where to place the atk-adaptor gtk module])
 -if test -z "$GTK_MODULE_DIR"; then
 -        GTK_MODULE_DIR=gtk-2.0/modules
 -fi
 -
+ AC_ARG_WITH(dbus-services,
+            [AC_HELP_STRING([--with-dbus-services=<dir>],
+            [where D-BUS services directory is])])
+ if ! test -z "$with_dbus_services" ; then
+            DBUS_SERVICES_DIR="$with_dbus_services"
+ else
+            DBUS_SERVICES_DIR="$datadir/dbus-1/services"
+ fi
+ AC_SUBST(DBUS_SERVICES_DIR)
  dnl find sizes & alignments
  orig_CPPFLAGS=$CPPFLAGS
  CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
@@@ -140,16 -193,30 +164,17 @@@ CPPFLAGS=$orig_CPPFLAG
  AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
  
  AC_CONFIG_FILES([Makefile
 -               libloginhelper-1.0.pc
 -               cspi-1.0.pc
 -               cspi-1.0-uninstalled.pc
 +                 pkgconfig/dbind-0.1.pc
 +                 pkgconfig/dbind-0.1-uninstalled.pc
 +                 pkgconfig/droute-0.1.pc
 +                 pkgconfig/droute-0.1-uninstalled.pc
 +                 pkgconfig/Makefile
                 xml/Makefile
 -               tests/Makefile
                 tools/Makefile
                 droute/Makefile
 -               spi-common/Makefile
                 registryd/Makefile
 -               atk-adaptor/Makefile
 -               login-helper/Makefile
 -               tests/dummyatk/Makefile
 -               tests/data/Makefile
 -               tests/pyatspi/Makefile
 -               tests/pyatspi/pasytest/Makefile
 -               tests/apps/Makefile
 -               tests/cspi/Makefile
+                registryd/at-spi-registryd.desktop.in
                 dbind/Makefile
 -               cspi/Makefile
 -               pyatspi/Makefile
 -               dbind-config.h])
 +               dbind/dbind-config.h])
  
  AC_OUTPUT
Simple merge
Simple merge
  #include <gdk/gdk.h>
  #include <gdk/gdkx.h> /* TODO: hide dependency (wrap in single porting file) */
  #include <gdk/gdkkeysyms.h>
- #include <gdk/gdkwindow.h>
  
 -#include <spi-common/keymasks.h>
 -#include <spi-common/spi-dbus.h>
 -#include <spi-common/spi-types.h>
 -
  #include <droute/droute.h>
  
 +#include "paths.h"
 +#include "keymasks.h"
 +#include "de-types.h"
 +#include "de-marshaller.h"
 +
  #include "deviceeventcontroller.h"
  #include "reentrant-list.h"
  
   * Boston, MA 02111-1307, USA.
   */
  
 -#ifndef _SPI_KEYMASKS_H_
 -#define _SPI_KEYMASKS_H_
 +#ifndef SPI_KEYMASKS_H_
 +#define SPI_KEYMASKS_H_
  
  #include <X11/Xlib.h>
- #include <glib/gmacros.h>
+ #include <glib.h>
  
  G_BEGIN_DECLS
  
  #include <stdlib.h>
  #include <config.h>
  #include <string.h>
- #include <glib/gmain.h>
+ #include <glib.h>
  
 -#include <spi-common/spi-dbus.h>
  #include <droute/droute.h>
  
 +#include "paths.h"
  #include "registry.h"
  #include "deviceeventcontroller.h"