2001-08-15 Mark McLoughlin <mark@skynet.ie>
authormmclouglin <mmclouglin@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Wed, 15 Aug 2001 16:54:59 +0000 (16:54 +0000)
committermmclouglin <mmclouglin@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Wed, 15 Aug 2001 16:54:59 +0000 (16:54 +0000)
        * test/app.c: use atgv[0] instead of
        g_type_prgname.

2001-08-15  Mark McLoughlin <mark@skynet.ie>

        * libspi/Makefile.am,
          registryd/Makefile.am,
          at-bridge/Makefile.am.
          test/Makefile.am, configure.in:
        cleanup, replace individual LIBS/CFLAGS with
        AT_COMMON_{LIBS|CFLAGS}.

        * README: format.

2001-08-15  Mark McLoughlin <mark@skynet.ie>

        * configure.in, libspi/Makefile.am:
        Change IDL path checking for bonobo-activation
        as opposed to oaf.

git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@24 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
README
at-bridge/Makefile.am
atk-bridge/Makefile.am
configure.in
libspi/Makefile.am
po/.cvsignore
po/ChangeLog
registryd/Makefile.am
test/Makefile.am
test/app.c

index 4e22b79..2325d4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2001-08-15  Mark McLoughlin <mark@skynet.ie>
+
+       * test/app.c: use atgv[0] instead of
+       g_type_prgname.
+
+2001-08-15  Mark McLoughlin <mark@skynet.ie>
+
+       * libspi/Makefile.am,
+         registryd/Makefile.am,
+         at-bridge/Makefile.am.
+         test/Makefile.am, configure.in:
+       cleanup, replace individual LIBS/CFLAGS with
+       AT_COMMON_{LIBS|CFLAGS}.
+
+       * README: format.
+
+2001-08-15  Mark McLoughlin <mark@skynet.ie>
+       
+       * configure.in, libspi/Makefile.am:
+       Change IDL path checking for bonobo-activation
+       as opposed to oaf.
+
 2001-08-15  Bill Haneman <bill.haneman@sun.com>
 
        * registryd/registry.c : separated event listeners to use
diff --git a/README b/README
index 7cec905..4d6be25 100644 (file)
--- a/README
+++ b/README
@@ -1,25 +1,46 @@
-This is the initial CVS checkin of the Gnome Accessibility Project's Assistive Technology Service Provider Interface.
+This is the initial CVS checkin of the Gnome Accessibility Project's
+Assistive Technology Service Provider Interface.
 
-At the moment it does not include IDL for all of the SPI, but it does provide a prototype implementation of the core of the out-of-process accessibility service, the 'registry'.
+At the moment it does not include IDL for all of the SPI, but it does
+provide a prototype implementation of the core of the out-of-process
+accessibility service, the 'registry'.
 
-Accessible applications will register with this registry service (via OAF) and adaptive/assistive technologies will register with the service as well, to indicate their interest in receiving UI events.  ATs can also use the registry's services programmatically to query accessible applications.
+Accessible applications will register with this registry service (via OAF)
+and adaptive/assistive technologies will register with the service as
+well, to indicate their interest in receiving UI events.  ATs can also use
+the registry's services programmatically to query accessible applications.
 
 
-Running the test programs:
-============================
+Running the test programs: ============================
 
-At the moment the only clients and 'apps' are the test at client and test app in the 'tests' subdirectory.
+At the moment the only clients and 'apps' are the test at client and
+test app in the 'tests' subdirectory.
 
-If you have a working ORBit2/OAF installation you can run the tests after adding the registryd directory to OAF's directory list with oaf-sysconf, or by installing Accessibility_Registry.oaf in your 'oafinfo' directory.
+If you have a working ORBit2/OAF installation you can run the tests after
+adding the registryd directory to OAF's directory list with oaf-sysconf,
+or by installing Accessibility_Registry.oaf in your 'oafinfo' directory.
 
-You can then run './at' and './app' from the 'test' directory, to see 'app' register as an application, and 'at' as a listening client.  OAF should take care of the job of bootstrapping the registry daemon ('registryd') for you.
+You can then run './at' and './app' from the 'test' directory, to see
+'app' register as an application, and 'at' as a listening client.
+OAF should take care of the job of bootstrapping the registry daemon
+('registryd') for you.
 
-At the moment app and at deregistration are broken, so you are advised to kill the registry daemon if you exit either 'at' or 'app' instances.  You may run as many instances of each as you like, concurrently - you may find it useful to do so in separate terminal windows.
+At the moment app and at deregistration are broken, so you are advised
+to kill the registry daemon if you exit either 'at' or 'app' instances.
+You may run as many instances of each as you like, concurrently - you
+may find it useful to do so in separate terminal windows.
 
 
-'at' connects to the registry as an event listener, then queries the service for the number of virtual desktops (currently always 0 or 1), and queries each desktop for the accessible applications it is running.  It then prints out the name of each such application (as reported by the application's accessibility interfaces), and then waits to receive events.
+'at' connects to the registry as an event listener, then queries the
+service for the number of virtual desktops (currently always 0 or 1),
+and queries each desktop for the accessible applications it is running.
+It then prints out the name of each such application (as reported by the
+application's accessibility interfaces), and then waits to receive events.
 
-'app' connects to the registry as an application, then dispatches an event which the registry should relay to all registered listeners.  Thus instances of 'app' run after 'at' should cause the 'at' instances to receive events.
+'app' connects to the registry as an application, then dispatches an
+event which the registry should relay to all registered listeners.
+Thus instances of 'app' run after 'at' should cause the 'at' instances
+to receive events.
 
 
 -Bill
index c5d984e..8badc27 100644 (file)
@@ -9,19 +9,6 @@ INCLUDES = -I $(top_srcdir) \
           -I $(top_srcdir)/libspi      \
           -I $(top_builddir)/libspi    \
            -I $(top_builddir)/at-bridge \
-           $(AT_BRIDGE_CFLAGS)
+           $(AT_COMMON_CFLAGS)
 
-DEPS =         \
-       $(libatk)       \
-       $(libbonobo-2)  \
-       $(liboaf-2)     \
-       $(libORBit-2)   \
-       $(libat-spi)
-
-
-LDFLAGS = -no-undefined        \
-       @DEP_LIBS@
-
-libat_bridge_la_LIBADD = $(AT_BRIDGE_LIBS) ../libspi/libspi.la
-
-CFLAGS += $(AT_BRIDGE_CFLAGS)
+LDADD = $(AT_COMMON_LIBS) ../libspi/libspi.la
index c5d984e..8badc27 100644 (file)
@@ -9,19 +9,6 @@ INCLUDES = -I $(top_srcdir) \
           -I $(top_srcdir)/libspi      \
           -I $(top_builddir)/libspi    \
            -I $(top_builddir)/at-bridge \
-           $(AT_BRIDGE_CFLAGS)
+           $(AT_COMMON_CFLAGS)
 
-DEPS =         \
-       $(libatk)       \
-       $(libbonobo-2)  \
-       $(liboaf-2)     \
-       $(libORBit-2)   \
-       $(libat-spi)
-
-
-LDFLAGS = -no-undefined        \
-       @DEP_LIBS@
-
-libat_bridge_la_LIBADD = $(AT_BRIDGE_LIBS) ../libspi/libspi.la
-
-CFLAGS += $(AT_BRIDGE_CFLAGS)
+LDADD = $(AT_COMMON_LIBS) ../libspi/libspi.la
index 9a7977c..383ff63 100644 (file)
@@ -55,26 +55,18 @@ PKG_CHECK_MODULES(LIBSPI, bonobo-activation-2.0 >= 0.7.0 libbonobo-2.0 >= 1.97.0
 AC_SUBST(LIBSPI_LIBS)
 AC_SUBST(LIBSPI_CFLAGS)
 
-PKG_CHECK_MODULES(REGISTRYD, bonobo-activation-2.0 >= 0.7.0 libbonobo-2.0 >= 1.97.0 atk >= 0.2)
-AC_SUBST(REGISTRYD_LIBS)
-AC_SUBST(REGISTRYD_CFLAGS)
-
-PKG_CHECK_MODULES(TESTS, bonobo-activation-2.0 >= 0.7.0 libbonobo-2.0 >= 1.97.0 ORBit-2.0 atk >= 0.2)
-AC_SUBST(TESTS_LIBS)
-AC_SUBST(TESTS_CFLAGS)
-
-PKG_CHECK_MODULES(AT_BRIDGE, bonobo-activation-2.0 >= 0.7.0 libbonobo-2.0 >= 1.97.0 ORBit-2.0 atk >= 0.2)
-AC_SUBST(AT_BRIDGE_LIBS)
-AC_SUBST(AT_BRIDGE_CFLAGS)
+PKG_CHECK_MODULES(AT_COMMON, bonobo-activation-2.0 >= 0.7.0 libbonobo-2.0 >= 1.97.0 atk >= 0.2)
+AC_SUBST(AT_COMMON_LIBS)
+AC_SUBST(AT_COMMON_CFLAGS)
 
 dnl orbit-idl.
 ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
 AC_SUBST(ORBIT_IDL)
 
-dnl Bonobo and OAF idl files
-OAF_IDL_DIR="`$PKG_CONFIG --variable=idldir oaf-2.0`"
+dnl Bonobo and Bonobo-Activation idl files
+BONOBO_ACTIVATION_IDL_DIR="`$PKG_CONFIG --variable=idldir bonobo-activation-2.0`"
 LIBBONOBO_IDL_DIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
-AC_SUBST(OAF_IDL_DIR)
+AC_SUBST(BONOBO_ACTIVATION_IDL_DIR)
 AC_SUBST(LIBBONOBO_IDL_DIR)
 
 AC_SUBST(CFLAGS)
index d8d7a6e..09c8c16 100644 (file)
@@ -1,16 +1,15 @@
 lib_LTLIBRARIES = libspi.la
 
+DEBUG_CFLAGS=-DSPI_DEBUG
+
 INCLUDES = -I $(top_srcdir)           \
            -I $(top_builddir)         \
            -I $(top_srcdir)/libspi    \
            -I $(top_builddir)/libspi  \
-           $(LIBSPI_CFLAGS)
-
-LDFLAGS = $(LIBSPI_LIBS) @LT_VERSION_INFO@
-
-DEBUG_CFLAGS=-DSPI_DEBUG
+           $(LIBSPI_CFLAGS)           \
+          $(DEBUG_CFLAGS)
 
-CFLAGS += $(DEBUG_CFLAGS)
+LDADD = $(LIBSPI_LIBS) @LT_VERSION_INFO@
 
 libspiincludedir = $(includedir)/libspi
 
@@ -49,7 +48,7 @@ libspi_la_SOURCES = accessible.c         \
                     registry.h           \
                     $(IDL_OUT)
 
-IDLFLAGS = -I$(OAF_IDL_DIR) -I$(LIBBONOBO_IDL_DIR) -I$(top_srcdir)/idl
+IDLFLAGS = -I$(BONOBO_ACTIVATION_IDL_DIR) -I$(LIBBONOBO_IDL_DIR) -I$(top_srcdir)/idl
 
 $(IDL_OUT) : $(IDL) $(ORBIT_IDL)
        $(ORBIT_IDL) -D__ACCESSIBILITY_COMPILATION__ $(IDLFLAGS) $(top_srcdir)/idl/Accessibility.idl
index 7721802..9523bef 100644 (file)
@@ -1,4 +1,5 @@
 *~
+Changelog
 Makefile
 Makefile.in
 Makefile.in.in
index e69de29..13d93b8 100644 (file)
@@ -0,0 +1,4 @@
+2001-08-15  gettextize  <bug-gnu-utils@gnu.org>
+
+       * Makefile.in.in: Upgrade to gettext-0.10.38.
+
index 19017a2..ccd864c 100644 (file)
@@ -4,11 +4,11 @@ INCLUDES = -I$(top_srcdir)          \
            -I$(top_builddir)        \
            -I$(top_builddir)/libspi \
            -I$(top_srcdir)/libspi   \
-           $(REGISTRYD_CFLAGS)
+           $(AT_COMMON_CFLAGS)
 
-registryd_SOURCES = registryd.c
+LDADD = ../libspi/libspi.la $(AT_COMMON_LIBS)
 
-LDADD = ../libspi/libspi.la $(REGISTRYD_LIBS)
+registryd_SOURCES = registryd.c
 
 oafinfodir = $(datadir)/oaf
 oafinfo_DATA = Accessibility_Registry.oaf
index c691761..c5b6c30 100644 (file)
@@ -6,14 +6,13 @@ at_SOURCES = at.c
 
 app_SOURCES = app.c
 
+DEBUG_CFLAGS=-DSPI_DEBUG
+
 INCLUDES = -I$(top_srcdir)           \
            -I$(top_builddir)         \
            -I$(top_srcdir)/libspi    \
            -I$(top_builddir)/libspi  \
-          $(TESTS_CFLAGS)
-
-DEBUG_CFLAGS=-DSPI_DEBUG
-
-CFLAGS += $(TESTS_CFLAGS)
+          $(AT_COMMON_CFLAGS)          \
+          $(DEBUG_CFLAGS)
 
-LDADD = ../libspi/libspi.la $(TESTS_LIBS)
+LDADD = ../libspi/libspi.la $(AT_COMMON_LIBS)
index ccc4be8..e79f5b9 100644 (file)
@@ -53,7 +53,7 @@ main(int argc, char **argv)
           }
 
         /* Create the accesssible application server object */
-        sprintf(sbuf, "application-%s", g_get_prgname());
+        snprintf(sbuf, APP_STATIC_BUFF_SZ, "application-%s", argv[0]);
 
         atko = g_object_new (atk_object_get_type(), NULL);
         atk_object_set_name (atko, sbuf);