From f0dbd114518a7eebf6c7d2edfdff89e46835a669 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 30 Oct 2008 18:19:41 +0000 Subject: [PATCH] Set canDoBGNoneRoot on startup. Useful for plymouth crossfade testing for those of us with lousy hardware. --- BGNoneRoot.patch | 11 +++++++++++ xorg-x11-drv-fbdev.spec | 8 ++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 BGNoneRoot.patch diff --git a/BGNoneRoot.patch b/BGNoneRoot.patch new file mode 100644 index 0000000..48ba9d3 --- /dev/null +++ b/BGNoneRoot.patch @@ -0,0 +1,11 @@ +diff -up xf86-video-fbdev-0.4.0/src/fbdev.c.foo xf86-video-fbdev-0.4.0/src/fbdev.c +--- xf86-video-fbdev-0.4.0/src/fbdev.c.foo 2008-10-30 11:16:44.000000000 -0400 ++++ xf86-video-fbdev-0.4.0/src/fbdev.c 2008-10-30 11:18:19.000000000 -0400 +@@ -472,6 +472,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flag + return FALSE; + + pScrn->monitor = pScrn->confScreen->monitor; ++ pScrn->canDoBGNoneRoot = 1; + + FBDevGetRec(pScrn); + fPtr = FBDEVPTR(pScrn); diff --git a/xorg-x11-drv-fbdev.spec b/xorg-x11-drv-fbdev.spec index 239f6fb..2c61aa1 100644 --- a/xorg-x11-drv-fbdev.spec +++ b/xorg-x11-drv-fbdev.spec @@ -5,7 +5,7 @@ Summary: Xorg X11 fbdev video driver Name: xorg-x11-drv-fbdev Version: 0.4.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.x.org License: MIT Group: User Interface/X Hardware Support @@ -16,7 +16,7 @@ Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 ExcludeArch: s390 s390x Patch1: fbdev-0.3.0-32fbbpp.patch - +Patch2: BGNoneRoot.patch BuildRequires: xorg-x11-server-sdk >= 1.4.99.1 Requires: xorg-x11-server-Xorg >= 1.4.99.1 @@ -29,6 +29,7 @@ X.Org X11 fbdev video driver. # Not sure if this is still necessary, it doesn't apply anymore and the new # code looks like it'll have the same effect. XXX check with katzj. # %patch1 -p1 -b .fbbpp +%patch2 -p1 %build %configure --disable-static @@ -52,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man4/fbdev.4* %changelog +* Thu Oct 30 2008 Bill Nottingham 0.4.0-2 +- set canDoBGNoneRoot on driver startup + * Thu Mar 20 2008 Dave Airlie 0.4.0-1 - Update to latest upstream release