[comp.windows.x] Building Input Synthesis Extensions?

djb@cbnews.att.com (David J. Bryant) (10/02/90)

I'd like to install the X11R4 input synthesis extensions in my Sun server.
After poking around in the extensions and server directories, I have
compiled what I believe is a recipe for doing this.  Before I launch into
it, however, I thought I'd sanity check my plan with the collective genius
of comp.windows.x and see where I might be off the mark:

        *) Install the fragments in mit/extensions/server/xtest1.frags
           in my server as instructed in that file
        *) Build libxinput.a by doing a make in mit/extensions/xinput
	*) Define XTESTEXT1 in my sun.cf file as one of the extensions
	   to be built:

#define ExtensionDefines -DSHAPE -DMITSHM -DMULTIBUFFER -DMITMISC -DXTESTEXT1

	*) In the Server Master Makefile (mit/server/Imakefile) define
	   OTHEREXTS to be $(EXTENSIONSRC)/server/xinput/libxinput.a
	   just as is currently done for XhpServer.
	*) In mit/server, do:

		$ make Makefile
		$ make Makefiles
		$ make depend
		$ make clean
		$ make 

	   This should rebuild my server, linking it against
	   mit/extensions/server/libxext.a (defined in $(EXTENSIONS)) and 
	   mit/extensions/server/xinput/libxinput.a (defined in $(OTHEREXTS)).

	*) Build my applications against libXext.a (which is in 
	   mit/extensions/lib) and libXinput.a  (which is in
	   mit/extensions/lib/xinput).

Is this close?  Anyone out there done this before? 

                                         UUCP: att!cbosgd!djb
        David Bryant                           att!cborion!djb
        AT&T Bell Laboratories       INTERNET: djb@cbosgd.att.com
        Room 1B-256                            cborion!djb@att.com
        6200 East Broad Street          PHONE: (614) 860-4516
        Columbus, Ohio  43213             FAX: (614) 868-4302