commit 5b7beef6c83e207be73476392fbec1f0bbdbcd31 Author: zhuchunyi Date: Wed Nov 6 19:56:47 2019 +0800 update code diff --git a/BGNoneRoot.patch b/BGNoneRoot.patch new file mode 100644 index 0000000..4f884bc --- /dev/null +++ b/BGNoneRoot.patch @@ -0,0 +1,12 @@ +diff -up xf86-video-fbdev-0.4.3/src/fbdev.c.dma xf86-video-fbdev-0.4.3/src/fbdev.c +--- xf86-video-fbdev-0.4.3/src/fbdev.c.dma 2012-07-02 12:46:46.000000000 +0100 ++++ xf86-video-fbdev-0.4.3/src/fbdev.c 2012-07-02 13:02:40.545956779 +0100 +@@ -673,6 +673,8 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL) + pScrn->offset.red,pScrn->offset.green,pScrn->offset.blue); + #endif + ++ pScreen->canDoBGNoneRoot = 1; ++ + if (NULL == (fPtr->fbmem = fbdevHWMapVidmem(pScrn))) { + xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"mapping of video memory" + " failed\n"); diff --git a/xf86-video-fbdev-0.5.0.tar.bz2 b/xf86-video-fbdev-0.5.0.tar.bz2 new file mode 100644 index 0000000..8d9de13 Binary files /dev/null and b/xf86-video-fbdev-0.5.0.tar.bz2 differ diff --git a/xorg-x11-drv-fbdev.spec b/xorg-x11-drv-fbdev.spec new file mode 100644 index 0000000..0dffff6 --- /dev/null +++ b/xorg-x11-drv-fbdev.spec @@ -0,0 +1,51 @@ +%global moduledir %(pkg-config xorg-server --variable=moduledir ) +%global driverdir %{moduledir}/drivers +%undefine _hardened_build + +Name: xorg-x11-drv-fbdev +Version: 0.5.0 +Release: 3 +Summary: Xorg X11 fbdev video driver +License: MIT +URL: https://www.x.org +Source0: https://www.x.org/pub/individual/driver/xf86-video-fbdev-%{version}.tar.bz2 + +Patch2: BGNoneRoot.patch + +BuildRequires: xorg-x11-server-devel autoconf automake libtool + +Requires: Xorg %(xserver-sdk-abi-requires ansic) +Requires: Xorg %(xserver-sdk-abi-requires videodrv) + +%description +X.Org X11 fbdev video driver. + +%package_help + +%prep +%autosetup -n xf86-video-fbdev-%{version} -p1 + +%build +autoreconf -vif +%configure +make + +%install +%make_install + +%delete_la + +%files +%defattr(-,root,root) +%doc COPYING ChangeLog +%{driverdir}/fbdev_drv.so + +%files help +%defattr(-,root,root) +%doc README +%{_mandir}/man4/fbdev.4* + +%changelog +* Fri Oct 11 2019 openEuler Buildteam - 0.5.0-3 +- Package init +