6533084 Xorg modularization: libXtst 1.0.1
authorAlan Coopersmith <Alan.Coopersmith@Sun.COM>
Mon, 12 Mar 2007 17:52:16 -0700
changeset 123 893987bffaa8
parent 122 bd9d6b3dd42b
child 124 530d939a418e
6533084 Xorg modularization: libXtst 1.0.1
open-src/lib/Makefile
open-src/lib/libXtst/Makefile
open-src/lib/libXtst/mapfile-vers
open-src/lib/libXtst/solaris-abi.patch
--- a/open-src/lib/Makefile	Mon Mar 12 17:44:36 2007 -0700
+++ b/open-src/lib/Makefile	Mon Mar 12 17:52:16 2007 -0700
@@ -28,7 +28,7 @@
 # or other dealings in this Software without prior written authorization
 # of the copyright holder.
 #
-# @(#)Makefile	1.1	07/01/31
+# @(#)Makefile	1.2	07/03/12
 #
 ###############################################################################
 
@@ -47,6 +47,7 @@
 	libxkbfile \
 	libxkbui \
 	libXrandr \
+	libXtst \
 	libXv \
 	libXvMC \
 	libXxf86misc \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/lib/libXtst/Makefile	Mon Mar 12 17:52:16 2007 -0700
@@ -0,0 +1,64 @@
+###############################################################################
+#
+# Xtst library Makefile
+#
+# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+# 
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# 
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# @(#)Makefile	1.1	07/03/09
+#
+
+# Package name used in tarballs
+LIB_MODULE=libXtst
+
+# Version number (used in path names)
+LIB_VERS=1.0.1
+
+# Patches to apply to source after unpacking, in order
+SOURCE_PATCHES = solaris-abi.patch
+
+# Library name
+LIBNAME=Xtst
+
+# Man pages to apply Sun footer to & attributes to list
+#SUNTOUCHED_MANPAGES=man/*.man
+#SUN_PACKAGE=SUNWxwplt
+#LIB_STABILITY=Committed
+#LIB_MAN_SUFFIX=3Xtst
+
+# Library built in tree
+LIB_BUILT=$(SOURCE_DIR)/src/.libs/libXtst.so.1
+
+# Link with version mapfile
+LIB_ADD_LD_OPTIONS = -M $(PWD)/mapfile-vers
+
+# pkg-config files that need to have -R added
+FIX_PC_FILES=xtst.pc.in
+
+include ../Makefile.inc
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/lib/libXtst/mapfile-vers	Mon Mar 12 17:52:16 2007 -0700
@@ -0,0 +1,70 @@
+###############################################################################
+#
+# Xtst library versioning mapfile
+#
+# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+# 
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# 
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# @(#)mapfile-vers	1.1	07/03/09
+#
+
+SUNW_1.1 {
+    global:
+	XTestFakeDeviceButtonEvent;
+	XTestFakeDeviceKeyEvent;
+	XTestFakeDeviceMotionEvent;
+	XTestFakeRelativeMotionEvent;
+	XTestFakeKeyEvent;
+	XTestFakeMotionEvent;
+	XTestFakeProximityEvent;
+	XTestDiscard;
+	XTestGrabControl;
+	XTestCompareCursorWithWindow;
+	XTestQueryExtension;
+	XTestSetVisualIDOfVisual;
+	XTestFakeButtonEvent;
+	XTestSetGContextOfGC;
+	XTestCompareCurrentCursorWithWindow;
+	XRecordAllocRange;
+	XRecordCreateContext;
+	XRecordQueryVersion;
+	XRecordDisableContext;
+	XRecordEnableContext;
+	XRecordEnableContextAsync;
+	XRecordFreeContext;
+	XRecordFreeData;
+	XRecordFreeState;	
+	XRecordGetContext;
+	XRecordIdBaseMask;
+	XRecordProcessReplies;
+	XRecordRegisterClients;
+	XRecordUnregisterClients;
+    local:
+	*;
+};
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/lib/libXtst/solaris-abi.patch	Mon Mar 12 17:52:16 2007 -0700
@@ -0,0 +1,57 @@
+###############################################################################
+#
+# Xtst library Makefile
+#
+# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+# 
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# 
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# @(#)solaris-abi.patch	1.1	07/03/09
+#
+
+Solaris has always shipped libXtst as libXtst.so.1
+
+--- src/Makefile.am	2005-08-02 20:28:02.000000000 -0700
++++ src/Makefile.am	2007-03-09 13:45:54.272107000 -0800
+@@ -7,4 +7,4 @@
+ libXtst_la_LIBADD = @XTST_LIBS@
+ AM_CFLAGS = @XTST_CFLAGS@
+ 
+-libXtst_la_LDFLAGS = -version-number 6:1:0 -no-undefined
++libXtst_la_LDFLAGS = -version-number 1 -no-undefined
+
+--- src/Makefile.in	2005-12-20 23:17:24.000000000 -0800
++++ src/Makefile.in	2007-03-09 13:48:47.288356000 -0800
+@@ -146,7 +146,7 @@
+ libXtst_la_LIBADD = @XTST_LIBS@
+ AM_CFLAGS = @XTST_CFLAGS@
+ 
+-libXtst_la_LDFLAGS = -version-number 6:1:0 -no-undefined
++libXtst_la_LDFLAGS = -version-number 1 -no-undefined
+ subdir = src
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs