Cross Reference: /solaris-x11-s11/open-src/xserver/xorg/IA.patch
IA.patch revision 235
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
98N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
98N/A# Use subject to license terms.
98N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
98N/A# copy of this software and associated documentation files (the
98N/A# "Software"), to deal in the Software without restriction, including
98N/A# without limitation the rights to use, copy, modify, merge, publish,
98N/A# distribute, and/or sell copies of the Software, and to permit persons
98N/A# to whom the Software is furnished to do so, provided that the above
98N/A# copyright notice(s) and this permission notice appear in all copies of
98N/A# the Software and that both the above copyright notice(s) and this
98N/A# permission notice appear in supporting documentation.
98N/A#
98N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
98N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
98N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
98N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
98N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
98N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
98N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
98N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
98N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
98N/A#
98N/A# Except as contained in this notice, the name of a copyright holder
98N/A# shall not be used in advertising or otherwise to promote the sale, use
98N/A# or other dealings in this Software without prior written authorization
98N/A# of the copyright holder.
98N/A
98N/Adiff -urp -x '*~' -x '*.orig' Makefile.am Makefile.am
194N/A--- Makefile.am 2006-11-16 10:01:22.000000000 -0800
235N/A+++ Makefile.am 2007-09-20 14:21:57.003122000 -0700
98N/A@@ -58,6 +58,7 @@ SUBDIRS = \
98N/A $(XTRAP_DIR) \
98N/A $(COMPOSITE_DIR) \
98N/A $(GLX_DIR) \
98N/A+ IA \
98N/A exa \
98N/A hw
98N/A
98N/Adiff -urp -x '*~' -x '*.orig' configure.ac configure.ac
235N/A--- configure.ac 2007-09-20 14:21:36.871770000 -0700
235N/A+++ configure.ac 2007-09-20 14:21:57.684612000 -0700
235N/A@@ -783,6 +783,9 @@
235N/A XI_INC='-I$(top_srcdir)/Xi'
235N/A fi
235N/A
235N/A+# SolarisIA extension
235N/A+IA_LIB='$(top_builddir)/IA/libIA.la'
235N/A+
235N/A AM_CONDITIONAL(XF86UTILS, test "x$XF86UTILS" = xyes)
235N/A
235N/A AC_DEFINE(SHAPE, 1, [Support SHAPE extension])
235N/A@@ -1023,7 +1026,7 @@
235N/A AM_CONDITIONAL(XVFB, [test "x$XVFB" = xyes])
235N/A
235N/A if test "x$XVFB" = xyes; then
235N/A- XVFB_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS"
235N/A+ XVFB_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $IA_LIB $CWRAP_LIB $OS_LIB $LIBS"
235N/A AC_SUBST([XVFB_LIBS])
235N/A fi
235N/A
235N/A@@ -1039,7 +1042,7 @@
235N/A AM_CONDITIONAL(XNEST, [test "x$XNEST" = xyes])
235N/A
235N/A if test "x$XNEST" = xyes; then
235N/A- XNEST_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS"
235N/A+ XNEST_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $IA_LIB $CWRAP_LIB $OS_LIB $LIBS"
235N/A AC_SUBST([XNEST_LIBS])
235N/A fi
235N/A
235N/A@@ -1559,7 +1562,7 @@
235N/A # dix os fb mi extension glx (NOTYET) damage shadow xpstubs
235N/A #KDRIVE_PURE_LIBS="$DIX_LIB $OS_LIB $FB_LIB $XEXT_LIB $MIEXT_DAMAGE_LIB \
235N/A # $MIEXT_SHADOW_LIB $XPSTUBS_LIB"
235N/A- KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $OS_LIB"
235N/A+ KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $IA_LIB $OS_LIB"
235N/A KDRIVE_LIB='$(top_builddir)/hw/kdrive/src/libkdrive.a'
235N/A case $host_os in
235N/A *linux*)
235N/A@@ -1866,3 +1866,6 @@ hw/xprint/config/en_US/print/Makefile
98N/A hw/xprint/config/en_US/Makefile
98N/A xorg-server.pc
98N/A ])
98N/A+
98N/A+# Add Sun IA extension
98N/A+AC_OUTPUT([IA/Makefile])
98N/Adiff -urp -x '*~' -x '*.orig' hw/xfree86/common/xf86AutoConfig.c hw/xfree86/common/xf86AutoConfig.c
194N/A--- hw/xfree86/common/xf86AutoConfig.c 2006-11-16 10:01:24.000000000 -0800
235N/A+++ hw/xfree86/common/xf86AutoConfig.c 2007-09-20 14:21:57.861184000 -0700
98N/A@@ -51,6 +51,7 @@
98N/A "\tLoad\t\"type1\"\n" \
98N/A "\tLoad\t\"record\"\n" \
98N/A "\tLoad\t\"dri\"\n" \
98N/A+ "\tLoad\t\"IA\"\n" \
98N/A "EndSection\n\n"
98N/A
98N/A #define BUILTIN_DEVICE_NAME \
98N/Adiff -urp -x '*~' -x '*.orig' hw/xfree86/common/xf86Config.c hw/xfree86/common/xf86Config.c
194N/A--- hw/xfree86/common/xf86Config.c 2006-11-30 17:40:10.000000000 -0800
235N/A+++ hw/xfree86/common/xf86Config.c 2007-09-20 14:21:57.862784000 -0700
98N/A@@ -294,6 +294,10 @@ xf86ModulelistFromConfig(pointer **optli
98N/A ptr = xf86addNewLoadDirective(ptr, "record", XF86_LOAD_MODULE, NULL);
98N/A ptr = xf86addNewLoadDirective(ptr, "dri", XF86_LOAD_MODULE, NULL);
98N/A count = 7;
98N/A+
98N/A+ /* Sun addition - IA extension */
98N/A+ ptr = xf86addNewLoadDirective(ptr, "IA", XF86_LOAD_MODULE, NULL);
98N/A+ count++;
98N/A }
98N/A
98N/A /*
98N/Adiff -urp -x '*~' -x '*.orig' hw/xfree86/dixmods/Makefile.am hw/xfree86/dixmods/Makefile.am
194N/A--- hw/xfree86/dixmods/Makefile.am 2006-11-16 10:01:24.000000000 -0800
235N/A+++ hw/xfree86/dixmods/Makefile.am 2007-09-20 14:21:57.863164000 -0700
98N/A@@ -102,3 +102,10 @@ libxorgxkb_la_LIBADD = $(top_builddir)/d
98N/A libxtrap_la_LDFLAGS = -avoid-version
98N/A libxtrap_la_LIBADD = $(top_builddir)/XTrap/libxtrap.la
98N/A libxtrap_la_SOURCES = xf86XTrapModule.c
98N/A+
98N/A+
98N/A+# Sun IA extension module additions
98N/A+extsmodule_LTLIBRARIES += libIA.la
98N/A+libIA_la_LDFLAGS = -avoid-version
98N/A+libIA_la_LIBADD = $(top_builddir)/IA/libIA.la
98N/A+libIA_la_SOURCES = iamodule.c
235N/Adiff -urp -x '*~' -x '*.orig' mi/miinitext.c mi/miinitext.c
235N/A--- mi/miinitext.c 2006-11-16 10:01:26.000000000 -0800
235N/A+++ mi/miinitext.c 2007-09-20 14:21:57.965252000 -0700
235N/A@@ -84,6 +84,8 @@ SOFTWARE.
235N/A #include "micmap.h"
235N/A #include "globals.h"
235N/A
235N/A+#define SolarisIAExtension
235N/A+
235N/A #if defined(QNX4) /* sleaze for Watcom on QNX4 ... */
235N/A #undef GLXEXT
235N/A #endif
235N/A@@ -109,6 +111,7 @@ SOFTWARE.
235N/A #undef DAMAGE
235N/A #undef XFIXES
235N/A #undef XEVIE
235N/A+#undef SolarisIAExtension
235N/A #else
235N/A #ifndef LOADABLEPRINTDDX
235N/A #undef XPRINT
235N/A@@ -215,6 +218,9 @@ extern Bool noXIdleExtension;
235N/A #ifdef XV
235N/A extern Bool noXvExtension;
235N/A #endif
235N/A+#ifdef SolarisIAExtension
235N/A+Bool noIAExtension;
235N/A+#endif
235N/A
235N/A #ifndef XFree86LOADER
235N/A #define INITARGS void
235N/A@@ -257,6 +263,9 @@ typedef void (*InitExtension)(INITARGS);
235N/A #ifdef RES
235N/A #include <X11/extensions/XResproto.h>
235N/A #endif
235N/A+#ifdef SolarisIAExtension
235N/A+#include <X11/extensions/interactive.h>
235N/A+#endif
235N/A
235N/A /* FIXME: this whole block of externs should be from the appropriate headers */
235N/A #ifdef EVI
235N/A@@ -384,6 +393,9 @@ extern void DamageExtensionInit(INITARGS
235N/A #ifdef COMPOSITE
235N/A extern void CompositeExtensionInit(INITARGS);
235N/A #endif
235N/A+#ifdef SolarisIAExtension
235N/A+extern void IAExtensionInit(void);
235N/A+#endif
235N/A
235N/A /* The following is only a small first step towards run-time
235N/A * configurable extensions.
235N/A@@ -447,6 +459,9 @@ static ExtensionToggle ExtensionToggleLi
235N/A #ifdef XSYNC
235N/A { "SYNC", &noSyncExtension },
235N/A #endif
235N/A+#ifdef SolarisIAExtension
235N/A+ { IANAME /* "SolarisIA" */, &noIAExtension },
235N/A+#endif
235N/A #ifdef TOGCUP
235N/A { "TOG-CUP", &noXcupExtension },
235N/A #endif
235N/A@@ -663,6 +678,9 @@ InitExtensions(argc, argv)
235N/A #ifdef DAMAGE
235N/A if (!noDamageExtension) DamageExtensionInit();
235N/A #endif
235N/A+#ifdef SolarisIAExtension
235N/A+ if (!noIAExtension) IAExtensionInit();
235N/A+#endif
235N/A }
235N/A
235N/A void