open-src/xserver/xorg/sun-paths.patch
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Tue, 31 Mar 2009 14:07:16 -0700
changeset 677 ee6c21760fea
parent 606 068c11b419c9
child 705 24ca414edbff
permissions -rw-r--r--
6824137 No keyboard focus on desktop from live CD with b109
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
677
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     1
--- hw/xfree86/common/xf86Config.c	2009-03-31 11:15:39.134549000 -0700
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     2
+++ hw/xfree86/common/xf86Config.c	2009-03-31 11:14:16.834280000 -0700
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     3
@@ -908,7 +908,7 @@ configServerFlags(XF86ConfFlagsPtr flags
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     4
     MessageType from;
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     5
     const char *s;
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     6
 #ifdef XKB
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     7
-    char *rules = "base";
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     8
+    char *rules = XKB_DFLT_RULES;
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
     9
 #endif
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
    10
 
ee6c21760fea 6824137 No keyboard focus on desktop from live CD with b109
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
    11
     /*
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    12
diff -urp -x '*~' -x '*.orig' hw/xfree86/common/xf86Configure.c hw/xfree86/common/xf86Configure.c
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    13
--- hw/xfree86/common/xf86Configure.c	2008-09-23 11:24:58.000000000 -0700
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    14
+++ hw/xfree86/common/xf86Configure.c	2008-09-24 20:18:22.067988000 -0700
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    15
@@ -555,7 +555,8 @@ configureModuleSection (void)
144
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    16
             /* 'strstr(dFP,"/dir")' is meant as 'dFP =~ m(/dir\W)' */
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    17
     	    if (defaultFontPath && (
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    18
 		(strcmp(*el, "freetype")  == 0 &&
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    19
-		 strstr(defaultFontPath, "/TTF")) ||
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    20
+ 		 (strstr(defaultFontPath, "/TrueType") ||
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    21
+ 		  strstr(defaultFontPath, "/TTF"))) ||
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    22
     	        (strcmp(*el, "type1")  == 0 &&
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    23
 		 strstr(defaultFontPath, "/Type1")))) 
be9658af83e1 6546692 Xorg -configure should create xorg.file to include bitstream by default
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 98
diff changeset
    24
 	    	ptr->mod_load_lst = (XF86LoadPtr)xf86addListItem(
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    25
diff -urp -x '*~' -x '*.orig' xkb/xkbInit.c xkb/xkbInit.c
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    26
--- xkb/xkbInit.c	2008-09-23 11:25:01.000000000 -0700
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    27
+++ xkb/xkbInit.c	2008-09-24 20:18:22.068856000 -0700
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    28
@@ -123,7 +123,7 @@ typedef struct	_SrvXkmInfo {
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    29
 #endif
198
7cb95e4f130b 6582847 XErrorDB path is incorrect
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 144
diff changeset
    30
 
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    31
 char	*		XkbBaseDirectory=	XKB_BASE_DIRECTORY;
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    32
-char	*		XkbBinDirectory=	XKB_BIN_DIRECTORY;
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    33
+char	*		XkbBinDirectory=	XKB_BASE_DIRECTORY;
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    34
 static int	 	XkbWantAccessX=		0;	
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    35
 
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 198
diff changeset
    36
 static Bool		rulesDefined=		False;