From: David-John Willis Date: Tue, 18 May 2010 08:28:43 +0000 (+0100) Subject: xserver-xorg 1.7.4: HACK! - Add patch to remove X server crosshatch background on... X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed8534613960515124b56e55b50899ff640ee7c2;p=openembedded.git xserver-xorg 1.7.4: HACK! - Add patch to remove X server crosshatch background on the OpenPandora and replace it with a black screen. Looks much better on the device. --- 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 index 0000000000..11acec9fb8 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg-1.7.4/xorg-kill-ugly-pattern.patch @@ -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; + diff --git a/recipes/xorg-xserver/xserver-xorg_1.7.4.bb b/recipes/xorg-xserver/xserver-xorg_1.7.4.bb index 0bffcb566a..c45324d7ca 100644 --- a/recipes/xorg-xserver/xserver-xorg_1.7.4.bb +++ b/recipes/xorg-xserver/xserver-xorg_1.7.4.bb @@ -3,7 +3,7 @@ require xorg-xserver-common.inc DESCRIPTION = "the X.Org X server" DEPENDS += "pixman libpciaccess openssl dri2proto glproto" PE = "2" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" SRC_URI += "file://sysroot_fix.patch \ file://dolt-fix.patch \ @@ -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" # 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