xserver-xorg 1.7.4: HACK! - Add patch to remove X server crosshatch background on...
authorDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 18 May 2010 08:28:43 +0000 (09:28 +0100)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 18 May 2010 08:28:43 +0000 (09:28 +0100)
recipes/xorg-xserver/xserver-xorg-1.7.4/xorg-kill-ugly-pattern.patch [new file with mode: 0644]
recipes/xorg-xserver/xserver-xorg_1.7.4.bb

diff --git a/recipes/xorg-xserver/xserver-xorg-1.7.4/xorg-kill-ugly-pattern.patch b/recipes/xorg-xserver/xserver-xorg-1.7.4/xorg-kill-ugly-pattern.patch
new file mode 100644 (file)
index 0000000..11acec9
--- /dev/null
@@ -0,0 +1,16 @@
+Remove the default root window grey stipple pattern, replacing it with
+blackness.
+
+--- xc/dix/window.c.die-ugly-pattern-die-die-die       Tue Feb 12 16:33:04 2002
++++ xc/dix/window.c    Tue Feb 12 16:45:32 2002
+@@ -119,8 +119,8 @@
+  *
+  ******/
+-static unsigned char _back_lsb[4] = {0x88, 0x22, 0x44, 0x11};
+-static unsigned char _back_msb[4] = {0x11, 0x44, 0x22, 0x88};
++static unsigned char _back_lsb[4] = {0x00, 0x00, 0x00, 0x00};
++static unsigned char _back_msb[4] = {0x00, 0x00, 0x00, 0x00};
+ int screenIsSaved = SCREEN_SAVER_OFF;
index 140d411..b376952 100644 (file)
@@ -3,7 +3,7 @@ require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts"
 PE = "2"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI += "file://sysroot_fix.patch;patch=1 \
             file://dolt-fix-1.7.0.patch;patch=1 \
@@ -15,7 +15,9 @@ SRC_URI_append_angstrom = " file://hack-assume-pixman-supports-overlapped-blt.pa
 SRC_URI_append_shr = " file://hack-assume-pixman-supports-overlapped-blt.patch;patch=1"
 
 # OpenPandora HACK! - Temp! - Do NOT put into mainline.
-SRC_URI_append_omap3-pandora = " file://evil-no-XkbSendNewKeyboardNotify.patch;patch=1"
+SRC_URI_append_omap3-pandora = " file://evil-no-XkbSendNewKeyboardNotify.patch;patch=1 \
+                                 file://xorg-kill-ugly-pattern.patch;patch=1 \
+"
 
 do_install_prepend() {
         mkdir -p ${D}/${libdir}/X11/fonts