# Update to the sis driver provided by clevo. It's based on release 0.9.1 fd.o # release, but it does not have a version of itself. The tarball is the fd.o # 0.9.1 release itself. The following date macro is the date when the patch # from the provided driver and the release was generated. # # The last driver provided by SiS is from 14/05/09 # This tarball was generated with the commands: # (old: % unrar x sis_drv_src_140509_viaSIS.rar) # (old: % cd sis_drv_src_140509/2d-driver) # (source from 20091203) # % unrar x Linux-driver.rar # % cd 2d-driver # % make distclean # % rm -f src/*.bak # % rm -fr src/xvmc/.deps # % rm -fr src/xvmc/Makefile # % for f in `find . -name \*.c -o -name \*.h`; do dos2unix -U $f; done # % cd .. # % mkdir xf86-video-sis-0.9.1 # % mv 2d-driver/* xf86-video-sis-0.9.1 # % chmod +x configure # % tar jcvf xf86-video-sis-0.9.1.tar.bz2 xf86-video-sis-0.9.1 %define date 20091203 %define rel 15 Name: x11-driver-video-sisimedia Version: 0.9.1 Release: %mkrel 2.%{date}.%{rel} Summary: Video driver for SiS 670 / 671 cards Group: System/X11 URL: http://www.linuxconsulting.ro/xorg-drivers/ Source: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-sis-%{version}.tar.bz2 # SiS patch from 20102701 # 柯靖萍 (chris_ke) <chris_ke@sis.com> # ... I just upgrade SiS source based on ver. 090109 ... Patch1: xf86-video-sis-0.9.1-20102701.patch Patch2: 0002-Remove-XFree86-Misc-PassMessage-support.patch Patch3: 0003-Fix-build-with-Werror-format-security.patch Patch4: 0005-Fix-backlight-off-on-SiS30x.-video-bridges.patch Patch5: 0006-Add-IgnoreHotkeyFlag-driver-option.patch Patch6: xf86-video-sis-0.9.1-dump-regs-after-video-init.patch Patch7: 0007-Remove-useless-loader-symbol-lists.patch Patch8: 0008-update-to-xextproto-7-1-support.patch Patch9: 0009-update-for-rac-removal.patch Patch10: 0010-change-to-use-abi-version-check.patch Patch11: 0011-more-rac-removal.patch Patch12: 0012-remove-mibank-h-reference.patch Patch13: 0013-Update-to-new-CreateNewResourceType-API.patch Patch14: xf86-video-sis-0.9.1-automake-1.13.patch # Patches from Arch Patch15: 0001-Remove-xorgconfig-xorgcfg-from-See-Also-list-in-man-.patch Patch16: 0004-Make-sisRegs3D4-big-enough-to-hold-all-values-writte.patch Patch17: 0005-Correct-bounds-check-of-blitClip-array-access.patch Patch18: xserver112.patch Patch19: pciTag-removal-workaround.patch Patch20: Untangle-XF86DRI.patch Patch21: swap-func-rename.patch Patch22: xf86MapDomainMemory-pci_device_map_legacy.patch Patch23: sync-with-freedesktop.patch Patch24: fix-xv-crash.patch Patch25: sisimedia-no-xaa.patch Patch26: sisimedia-xorg-1.13.patch Patch27: deprecated-sym2.patch Patch28: disable-UploadToScreen-DownloadFromScreen.patch Patch29: remove_mibstore.h.patch License: MIT BuildRequires: libdrm-devel >= 2.0 BuildRequires: x11-proto-devel >= 1.0.0 BuildRequires: x11-server-devel >= 1.0.1 BuildRequires: x11-util-macros >= 1.0.1 BuildRequires: GL-devel Requires: x11-server-common %(xserver-sdk-abi-requires videodrv) Conflicts: xorg-x11-server < 7.0 Obsoletes: x11-driver-video-sis-imedia < %{version}-%{release} %description x11-driver-video-sisimedia is the video driver for SiS 670 / 671 cards. These are not supported by the X.org 'sis' driver. This code is very different, so the two cannot be easily merged. %prep %setup -q -n xf86-video-sis-%{version} %apply_patches %build # rename driver sisimedia so it can co-exist with x.org sis driver # - AdamW 2008/08 sed -i -e 's,sis_drv,sisimedia_drv,g' src/Makefile.am sed -i -e 's,\"sis\",\"sisimedia\",g' src/sis.h sed -i -e 's,sisModuleData,sisimediaModuleData,g' src/sis_driver.c autoreconf -ifs %configure2_5x --disable-static %make %install rm -rf %{buildroot} %makeinstall_std # it's just a copy of the x.org driver manpage and so not really any # use - AdamW 2008/08 rm -f %{buildroot}%{_mandir}/man4/sis.* %clean rm -rf %{buildroot} %files %{_libdir}/xorg/modules/drivers/sisimedia_drv.la %{_libdir}/xorg/modules/drivers/sisimedia_drv.so %changelog * Sun Apr 28 2013 anssi <anssi> 0.9.1-2.20091203.15.mga3 + Revision: 411520 - re-introduce package (fixes mga #9903) - add various patches from Archlinux fixing various bugs and adapting for X server 1.13 + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild + luigiwalser <luigiwalser> - fix for automake 1.13 + tv <tv> - rebuild for new x11-server - rebuild b/c of ia32 failure - rebuild for new X.org server * Tue Dec 06 2011 tmb <tmb> 0.9.1-1.20091203.11.mga2 + Revision: 177686 - submit to core/release * Sat Oct 08 2011 tv <tv> 0.9.1-1.20091203.10.mga2 + Revision: 153133 - rebuild for xserver-1.11 * Fri Mar 04 2011 tv <tv> 0.9.1-1.20091203.9.mga1 + Revision: 64415 - rebuild for new xserver-1.10 * Fri Feb 11 2011 tmb <tmb> 0.9.1-1.20091203.8.mga1 + Revision: 50304 - imported package x11-driver-video-sisimedia * Wed Feb 09 2011 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 0.9.1-1.20091203.8mdv2011.0 + Revision: 637005 - Update driver to new API + Thierry Vignaud <tv@mandriva.org> - require xorg server with proper ABI - bump release before rebuilding for xserver 1.9 * Tue Apr 27 2010 Christophe Fergeau <cfergeau@mandriva.com> 0.9.1-1.20091203.5mdv2010.1 + Revision: 539608 - rebuild so that shared libraries are properly stripped again * Thu Apr 22 2010 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 0.9.1-1.20091203.4mdv2010.1 + Revision: 537857 - Make it work with server 1.7: o update for rac removal o update for xextproto 7.1 o remove loader symbol lists + Oden Eriksson <oeriksson@mandriva.com> - rebuilt for 2010.1 + Paulo Andrade <pcpa@mandriva.com.br> - Update to latest patch from SiS - Add a patch to dump documented 2d register values - Update to latest source received from SiS Remove already applied patches - Correct video output problems in two Mandriva OEMs * Thu Jul 09 2009 Ander Conselvan de Oliveira <ander@mandriva.com> 0.9.1-1.20090622.2mdv2010.0 + Revision: 393975 - update to driver provided by clevo - fix backlight issues - add option IgnoreHotkeyFlag (workaround vga key switch problems) * Wed May 06 2009 Ander Conselvan de Oliveira <ander@mandriva.com> 0.9.1-1.20080808.6mdv2010.0 + Revision: 372685 - cherrypick patches from sis driver to port to libpciaccess - misc. build fixes + Antoine Ginies <aginies@mandriva.com> - rebuild * Tue Aug 26 2008 Adam Williamson <awilliamson@mandriva.org> 0.9.1-1.20080808.4mdv2009.0 + Revision: 276076 + rebuild (emptylog) * Mon Aug 25 2008 Adam Williamson <awilliamson@mandriva.org> 0.9.1-1.20080808.3mdv2009.0 + Revision: 276033 - obsolete old name - import x11-driver-video-sisimedia