code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-wacom</Name>
        <Homepage>http://linuxwacom.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>driver</IsA>
        Input driver for Wacom tablets and drawing devices
        <Description>xorg-input-wacom includes the drivers and tools for Wacom devices.</Description>
        <Archive sha1sum="5ad9c7578cf3dfff994d6caf8764d864cc26a152" type="tarbz2">mirrors://sourceforge/linuxwacom/xf86-input-wacom/xf86-input-wacom-0.34.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libgudev-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-wacom</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>xorg-server</Dependency>
            <Dependency>eudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/lib/udev</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="data">/usr/share/X11</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/70-wacom.rules">70-wacom.rules</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>xorg-input-wacom-devel</Name>
        Development files for xorg-input-wacom
        <RuntimeDependencies>
            <Dependency release="current">xorg-input-wacom</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/isdv4-serial-debugger</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-03-11</Date>
            <Version>0.34.0</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-16</Date>
            <Version>0.34.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-16</Date>
            <Version>0.33.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0.32.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>0.29.0</Version>
            <Comment>First release</Comment>
            <Name>Ergün Salman</Name>
            <Email>Poyraz76@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-input-wacom</Name>
        Wacom tabletleri ve çizim aygıtları için giriş sürücüsü
        <Description xml:lang="tr">xorg-input-wacom, Wacom aygıtlarını kullanmak için sürücü ve araçları içerir.</Description>
    </Source>

    <Package>
        <Name>xorg-input-wacom-devel</Name>
        xorg-input-wacom için geliştirme dosyaları
    </Package>
</PISI>

repo_name: ayhanyalcinsoy/main


code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.configure("--enable-glamor")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def check():
    autotools.make("check")

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-amdgpu</Name>
        <Homepage>https://www.x.org/wiki/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.org amdgpu video driver</Summary>
        <Description>X.org amdgpu video driver</Description>
        <Archive sha1sum="d9971cc6177095219a6687328aef25a72df3dd9d" type="tarbz2">https://www.x.org/archive/individual/driver/xf86-video-amdgpu-1.4.0.tar.bz2</Archive>

        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>xorg-server-devel</Dependency>
        </BuildDependencies>

        <!--
        <Patches>
            <Patch>xorg-video-amdgpu.patch</Patch>
            <Patch level="1">xorg-video-amdgpu.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>xorg-video-amdgpu</Name>

        <RuntimeDependencies>
            <Dependency>mesa</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libdrm-amd</Dependency>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>

        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/X11/xorg.conf.d</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <!--
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/xorg-video-amdgpu.desktop">xorg-video-amdgpu.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/xorg-video-amdgpu.png">xorg-video-amdgpu.png</AdditionalFile>
        </AdditionalFiles>
        -->
        <!--
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
        -->
    </Package>

    <History>
        <Update release="1">
            <Date>2017-09-09</Date>
            <Version>1.4.0</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-amdgpu</Name>
        <Summary xml:lang="tr">X.org amdgpu video driver</Summary>
        <Description xml:lang="tr">X.org amdgpu video driver</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.autoreconf("-fiv")
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
From 9f67408e4f078e907fbf4feb45cfdcfd0cdebcca Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Thu, 10 Jan 2013 03:03:29 +0000
Subject: Remove #include "mibstore.h"

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/apm.h b/src/apm.h
index a3c06f8..365e5e2 100644
--- a/src/apm.h
+++ b/src/apm.h
@@ -33,9 +33,6 @@
 /* All drivers initialising the SW cursor need this */
 #include "mipointer.h"

-/* All drivers implementing backing store need this */
-#include "mibstore.h"
-
 /* I2C support */
 #include "xf86i2c.h"

--
cgit v0.9.0.2-2-gbebe


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-apm</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org apm video driver</Summary>
        <Description>xorg-video-apm contains the X.Org driver for Alliance Promotion cards.</Description>
        <Archive sha1sum="a4cdb587f94c0fd28bea92b2469ea1e55d6d6589" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-apm-1.2.5.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>xorg-proto</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">git-fix.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-apm</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.2.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.2.5</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.2.5</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-apm</Name>
        <Summary xml:lang="tr">X.Org apm ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-apm, Alliance Promotion ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    #autotools.autoreconf("-fiv")
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-cirrus</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org cirrus video driver</Summary>
        <Description>xorg-video-cirrus contains the X.Org driver for Cirrus Logic cards.</Description>
        <Archive sha1sum="545cbedb42e5a5ce6bdf0b9bc30a826908f284e5" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-cirrus-1.5.3.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-cirrus</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.5.3</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.5.3</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.5.3</Version>
            <Comment>Release bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.5.3</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.5.3</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-cirrus</Name>
        <Summary xml:lang="tr">X.Org cirrus ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-cirrus, Cirrus Logic ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README*")


code:
From 44f04fd3046043ed31369025f34353c4e0e5c1cd Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 25 Sep 2012 12:54:36 +0000
Subject: Remove mibstore.h

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 62066d6..6062c39 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -14,9 +14,6 @@
 /* All drivers initialising the SW cursor need this */
 #include "mipointer.h"

-/* All drivers implementing backing store need this */
-#include "mibstore.h"
-
 /* All drivers using the mi colormap manipulation need this */
 #include "micmap.h"

@@ -617,7 +614,6 @@ DUMMYScreenInit(SCREEN_INIT_ARGS_DECL)
 		   , lines - pScrn->virtualY);
     }

-    miInitializeBackingStore(pScreen);
     xf86SetBackingStore(pScreen);
     xf86SetSilkenMouse(pScreen);

--
cgit v0.9.0.2-2-gbebe


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-dummy</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org dummy video driver</Summary>
        <Description>xorg-video-dummy is a dummy video driver for X.Org.</Description>
        <Archive sha1sum="6d24be1c693214935b298bf6f9457ee464d5c4fd" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-dummy-0.3.8.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">git-fixes.diff</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-dummy</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>0.3.8</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>0.3.8</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>0.3.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0.3.7</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>0.3.7</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-dummy</Name>
        <Summary xml:lang="tr">X.Org dummy ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-dummy, X.Org için sahte bir ekran kartı sürücüsü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
From ac293412a01d87f87eb61f4adb9db7486a75d3fc Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 25 Sep 2012 12:54:37 +0000
Subject: Remove mibstore.h

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/fbdev.c b/src/fbdev.c
index cd7ebc5..f5a7378 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -14,7 +14,6 @@
 #include "xf86_OSproc.h"

 #include "mipointer.h"
-#include "mibstore.h"
 #include "micmap.h"
 #include "colormapst.h"
 #include "xf86cmap.h"
@@ -845,7 +844,6 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
 	}

 	xf86SetBlackWhitePixels(pScreen);
-	miInitializeBackingStore(pScreen);
 	xf86SetBackingStore(pScreen);

 	/* software cursor */
--
cgit v0.9.0.2-2-gbebe


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-fbdev</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org fbdev video driver</Summary>
        <Description>xorg-video-fbdev contains the X.Org driver for Linux framebuffer device.</Description>
        <Archive sha1sum="237ea14a55ca4012d6ce18fbfdc697d48d5838a2" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-fbdev-0.4.4.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">git-fixes.diff</Patch> -->
            <!-- causes problem with version 0.4.3 -->
            <!--Patch level="1">BGNoneRoot.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-fbdev</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>0.4.4</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>0.4.4</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>0.4.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0.4.4</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>0.4.4</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-fbdev</Name>
        <Summary xml:lang="tr">X.Org fbdev ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-fbdev, Linux framebuffer aygıtı için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("\
                         --disable-static \
                         --disable-dri \
                        ")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README*")


code:
From 073d5b0b392781bf4a6aa7f9e2dbe2ae51caed2c Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 25 Sep 2012 12:54:38 +0000
Subject: Remove mibstore.h

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/glint_driver.c b/src/glint_driver.c
index b6d20a9..aa78516 100644
--- a/src/glint_driver.c
+++ b/src/glint_driver.c
@@ -52,8 +52,6 @@
 #include "compiler.h"
 #include "mipointer.h"

-#include "mibstore.h"
-
 #include "pm3_regs.h"
 #include "glint_regs.h"
 #include "IBM.h"
@@ -2904,7 +2902,6 @@ GLINTScreenInit(SCREEN_INIT_ARGS_DECL)
         }
     }

-    miInitializeBackingStore(pScreen);
     xf86SetBackingStore(pScreen);
     xf86SetSilkenMouse(pScreen);

--
cgit v0.9.0.2-2-gbebe


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-glint</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org glint video driver</Summary>
        <Description>xorg-video-glint contains the X.Org driver for 3DLabs Permedia cards.</Description>
        <Archive sha1sum="93b56f77d5d57f7b8746f58a5098a05ca9825b1d" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-glint-1.2.9.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>xorg-server-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">git-fix.diff</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-glint</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.2.9</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.2.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.2.8</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.2.8</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-glint</Name>
        <Summary xml:lang="tr">X.Org glint ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-glint, 3DLabs Permedia ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
--- xf86-video-i128-1.2.0/src/i128_driver.c.1600sw-hack	2006-04-07 15:10:18.000000000 -0400
+++ xf86-video-i128-1.2.0/src/i128_driver.c	2006-08-28 14:15:22.000000000 -0400
@@ -508,6 +508,45 @@ I128AvailableOptions(int chipid, int bus
     return I128Options;
 }

+#define MODEPREFIX(name) NULL, NULL, name, 0, M_T_DRIVER
+#define MODESUFFIX 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,FALSE,FALSE,0,NULL,0,0.0,0.0
+
+static DisplayModeRec sgi1600sw_modes[] = {
+    { MODEPREFIX("1600x1024"), 103125, 1600, 1600, 1656, 1664, 0,
+                                      1024, 1024, 1029, 1030, 0,
+      V_PHSYNC | V_PVSYNC, MODESUFFIX },
+    { MODEPREFIX("800x512"),    54375,  800,  800,  840,  848, 0,
+                                       512,  512,  514,  515, 0,
+      V_PHSYNC | V_PVSYNC | V_DBLSCAN, MODESUFFIX }
+};
+
+static void
+add1600SWModes(ScrnInfoPtr pScrn)
+{
+    DisplayModePtr modes;
+    int hskew = 0;
+
+    modes = xnfcalloc(2, sizeof(*modes));
+
+    memcpy(modes, sgi1600sw_modes, 2 * sizeof(*modes));
+
+    switch (pScrn->bitsPerPixel) {
+       case 8:
+           hskew = 1; break;
+       case 16:
+           hskew = 5; break;
+       case 24: case 32:
+           hskew = 7; break;
+       default: break;
+    }
+
+    modes[0].HSkew = modes[1].HSkew = hskew;
+
+    modes[0].next = &modes[1];
+    modes[1].next = pScrn->monitor->Modes;
+
+    pScrn->monitor->Modes = modes;
+}

 /* Mandatory
  *
@@ -1081,6 +1120,18 @@ I128PreInit(ScrnInfoPtr pScrn, int flags
     	     xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
 			"Digital flat panel forced\n");

+         if (pI128->FlatPanel && !mon) {
+             /* Since DDC can be unreliable, jam in known 1600SW data */
+             pScrn->monitor->nHsync = 1;
+             pScrn->monitor->hsync[0].lo = 30.0;
+             pScrn->monitor->hsync[0].hi = 72.0;
+             pScrn->monitor->nVrefresh = 1;
+             pScrn->monitor->vrefresh[0].lo = 58;
+             pScrn->monitor->vrefresh[0].hi = 62;
+             pScrn->monitor->maxPixClock = 104 * 1000;
+             add1600SWModes(pScrn);
+         }
+
     	  xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
 			"Using SilverHammer programmable clock (MCLK %1.3f MHz)\n",
 			mclk / 1000.0);


code:
From 3226d66c951f3621fb940cc5844098d892089eb1 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Wed, 15 Aug 2012 17:03:11 +0000
Subject: Don't bother to include vbe.h

Just copied from xf86 boilerplate afaict.

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/i128_driver.c b/src/i128_driver.c
index 66fdee0..a0f08c0 100644
--- a/src/i128_driver.c
+++ b/src/i128_driver.c
@@ -55,7 +55,6 @@
 #include "micmap.h"

 #include "xf86DDC.h"
-#include "vbe.h"

 #include "xf86cmap.h"
 #include "fb.h"
--
cgit v0.9.0.2-2-gbebe
From c87753733a6e1f85d1d037dced0b47ce0cf41658 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 25 Sep 2012 12:54:40 +0000
Subject: Remove mibstore.h

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/i128_driver.c b/src/i128_driver.c
index a0f08c0..51a4135 100644
--- a/src/i128_driver.c
+++ b/src/i128_driver.c
@@ -50,8 +50,6 @@
 /* All drivers initialising the SW cursor need this */
 #include "mipointer.h"

-/* All drivers implementing backing store need this */
-#include "mibstore.h"
 #include "micmap.h"

 #include "xf86DDC.h"
@@ -1556,7 +1554,6 @@ I128ScreenInit(SCREEN_INIT_ARGS_DECL)
         return FALSE;
     }

-    miInitializeBackingStore(pScreen);
     xf86SetBackingStore(pScreen);
     xf86SetSilkenMouse(pScreen);

--
cgit v0.9.0.2-2-gbebe


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-i128</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org i128 video driver</Summary>
        <Description>xorg-video-i128 contains the X.Org driver for Number Nine chipsets.</Description>
        <Archive sha1sum="4e66922f46169bf893cea00b33f80cf450070270" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-i128-1.3.6.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">git-fixes.diff</Patch>
            <Patch level="1">1600sw-range-hack.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-i128</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.3.6</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.3.6</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.3.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.3.6</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.3.6</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-i128</Name>
        <Summary xml:lang="tr">X.Org i128 ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-i128, Number Nine ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
From 084aa23643bf4245c917e3d672576bc9e5717017 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Thu, 10 Jan 2013 03:21:52 +0000
Subject: Remove mibstore.h

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/i740_driver.c b/src/i740_driver.c
index 1c82198..7c1051d 100644
--- a/src/i740_driver.c
+++ b/src/i740_driver.c
@@ -63,10 +63,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 #include "compiler.h"

-/* Drivers using the mi implementation of backing store need: */
-
-#include "mibstore.h"
-
 /* All drivers using the vgahw module need this */
 /* This driver needs to be modified to not use vgaHW for multihead operation */
 #include "vgaHW.h"
@@ -1558,7 +1554,6 @@ I740ScreenInit(SCREEN_INIT_ARGS_DECL) {
     }
   }

-  miInitializeBackingStore(pScreen);
   xf86SetBackingStore(pScreen);
   xf86SetSilkenMouse(pScreen);

--
cgit v0.9.0.2-2-gbebe


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-i740</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org i740 video driver</Summary>
        <Description>xorg-video-i740 contains the X.Org driver for Intel i740 cards.</Description>
        <Archive sha1sum="932e68f51776925dcbb3c6c89aa93e5876c1e171" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-i740-1.3.6.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">git-fix.diff</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-i740</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.3.6</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.3.6</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.3.6</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.3.5</Version>
            <Comment>Version bump</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.3.4</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-i740</Name>
        <Summary xml:lang="tr">X.Org i740 ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-i740, Intel i740 ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def setup():
    # DRI3 has been known to be buggy with the current stack, so is disabled

    #shelltools.system("NOCONFIGURE=1 ./autogen.sh")
    autotools.autoreconf("-fi")
    autotools.configure()

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

  #  pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-intel</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org intel video driver</Summary>
        <Description>xorg-video-intel contains the X.Org driver for Intel video chipsets.</Description>
        <Archive sha1sum="a8731b3fbbc2e5f450f6024ab79deaca978fc5c7" type="tarxz">http://anduin.linuxfromscratch.org/BLFS/xf86-video-intel/xf86-video-intel-20170826.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libXvMC-devel</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libdrm-intel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>libxshmfence-devel</Dependency>
            <Dependency>libXfont-devel</Dependency>
            <Dependency>libXfont2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-intel</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>libXvMC</Dependency>
            <Dependency>xcb-util</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libdrm-intel</Dependency>
            <Dependency>libpciaccess</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libxshmfence</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-09-10</Date>
            <Version>20170826</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-11</Date>
            <Version>20160902</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2017-02-16</Date>
            <Version>20160902</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0340718</Version>
            <Comment>Version bump</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-10</Date>
            <Version>2.99.917</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-intel</Name>
        <Summary xml:lang="tr">X.Org intel ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-intel, Intel ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("\
                         --disable-static \
                         --disable-dri \
                         --disable-exa \
                        ")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-mach64</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org mach64 video driver</Summary>
        <Description>xorg-video-mach64 contains the X.Org driver for ATI Mach64 (Rage) video cards.</Description>
        <Archive sha1sum="0ba2d51752a62808286937cf3c6a95794fa5cb29" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-mach64-6.9.5.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-mach64</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>6.9.5</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>6.9.5</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>6.9.5</Version>
            <Comment>Rebuild..</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>6.9.5</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-10</Date>
            <Version>6.9.5</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-mach64</Name>
        <Summary xml:lang="tr">X.Org mach64 ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-mach64, ATI Mach64 (Rage) ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("\
                         --disable-static \
                         --disable-dri \
                        ")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README*")


code:
This is pretty lame, sticking INREG into the blit path is probably going
to hurt performance.  Which, whatever, G-series are old cards, but still.
Redo me to put the needed bits in the pMga at init time instead. - ajax

diff -up xf86-video-mga-1.4.12/src/mga_dri.c.jx xf86-video-mga-1.4.12/src/mga_dri.c
--- xf86-video-mga-1.4.12/src/mga_dri.c.jx	2008-08-15 13:55:06.000000000 -0400
+++ xf86-video-mga-1.4.12/src/mga_dri.c	2011-06-20 12:04:43.047560274 -0400
@@ -374,7 +374,8 @@ void MGAGetQuiescence( ScrnInfoPtr pScrn

       pMga->SrcOrg = 0;
       OUTREG( MGAREG_DSTORG, pMga->DstOrg );
-      OUTREG( MGAREG_OPMODE, MGAOPM_DMA_BLIT );
+      OUTREG( MGAREG_OPMODE,
+	      (INREG(MGAREG_OPMODE) & ~MGAOPM_DMA_MASK) | MGAOPM_DMA_BLIT );
       OUTREG( MGAREG_CXBNDRY, 0xFFFF0000 ); /* (maxX << 16) | minX */
       OUTREG( MGAREG_YTOP, 0x00000000 );    /* minPixelPointer */
       OUTREG( MGAREG_YBOT, 0x007FFFFF );    /* maxPixelPointer */
diff -up xf86-video-mga-1.4.12/src/mga_exa.c.jx xf86-video-mga-1.4.12/src/mga_exa.c
--- xf86-video-mga-1.4.12/src/mga_exa.c.jx	2009-04-27 11:47:42.000000000 -0400
+++ xf86-video-mga-1.4.12/src/mga_exa.c	2011-06-20 12:08:14.368304719 -0400
@@ -701,7 +701,8 @@ mgaUploadToScreen(PixmapPtr pDst, int x,

     mgaSetup(pMga, pDst, NULL, 10);

-    OUTREG(MGAREG_OPMODE, MGAOPM_DMA_BLIT);
+    OUTREG(MGAREG_OPMODE,
+	   (INREG(MGAREG_OPMODE) & ~MGAOPM_DMA_MASK) | MGAOPM_DMA_BLIT);
     OUTREG(MGAREG_DSTORG, exaGetPixmapOffset(pDst));
     OUTREG(MGAREG_PITCH, mgaGetPixmapPitch(pDst));
     OUTREG(MGAREG_PLNWT, 0xffffffff);
diff -up xf86-video-mga-1.4.12/src/mga_reg.h.jx xf86-video-mga-1.4.12/src/mga_reg.h
--- xf86-video-mga-1.4.12/src/mga_reg.h.jx	2011-06-20 11:57:31.000000000 -0400
+++ xf86-video-mga-1.4.12/src/mga_reg.h	2011-06-20 12:01:22.891854925 -0400
@@ -124,6 +124,7 @@
 #define MGAOPM_DMA_GENERAL	(0x00 << 2)
 #define MGAOPM_DMA_BLIT		(0x01 << 2)
 #define MGAOPM_DMA_VECTOR	(0x10 << 2)
+#define MGAOPM_DMA_MASK		(0x11 << 2)

 /* MACCESS register additives */
 #define MGAMAC_PW8               0x00
diff -up xf86-video-mga-1.4.12/src/mga_storm.c.jx xf86-video-mga-1.4.12/src/mga_storm.c
--- xf86-video-mga-1.4.12/src/mga_storm.c.jx	2011-06-20 11:57:31.000000000 -0400
+++ xf86-video-mga-1.4.12/src/mga_storm.c	2011-06-20 12:11:51.721070061 -0400
@@ -2192,6 +2192,7 @@ MGAFillSolidRectsDMA(
     MGAPtr pMga = MGAPTR(pScrn);
     XAAInfoRecPtr infoRec = pMga->AccelInfoRec;
     CARD32 *base = (CARD32*)pMga->ILOADBase;
+    CARD32 opmode;

     CHECK_DMA_QUIESCENT(pMga, pScrn);

@@ -2207,7 +2208,8 @@ MGAFillSolidRectsDMA(

     if(!nBox) return;

-    OUTREG(MGAREG_OPMODE, MGAOPM_DMA_GENERAL);
+    opmode = INREG(MGAREG_OPMODE) & ~MGAOPM_DMA_MASK;
+    OUTREG(MGAREG_OPMODE, opmode | MGAOPM_DMA_GENERAL);
     while(nBox) {
 	base[0] = DMAINDICES(MGAREG_FXBNDRY, MGAREG_YDSTLEN + MGAREG_EXEC,
                 MGAREG_FXBNDRY, MGAREG_YDSTLEN + MGAREG_EXEC);
@@ -2219,7 +2221,7 @@ MGAFillSolidRectsDMA(
 	pBox++;
 	base += 5; nBox -= 2;
     }
-    OUTREG(MGAREG_OPMODE, MGAOPM_DMA_BLIT);
+    OUTREG(MGAREG_OPMODE, opmode | MGAOPM_DMA_BLIT);
 }

 static void
@@ -2256,9 +2258,11 @@ MGAFillSolidSpansDMA(
     }

     if(n) {
+	CARD32 opmode;
 	if(n > 838860) n = 838860;  /* maximum number we have room for */

-	OUTREG(MGAREG_OPMODE, MGAOPM_DMA_GENERAL);
+	opmode = INREG(MGAREG_OPMODE) | MGAOPM_DMA_MASK;
+	OUTREG(MGAREG_OPMODE, opmode | MGAOPM_DMA_GENERAL);
 	while(n) {
 	    base[0] = DMAINDICES(MGAREG_FXBNDRY, MGAREG_YDSTLEN + MGAREG_EXEC,
                 MGAREG_FXBNDRY, MGAREG_YDSTLEN + MGAREG_EXEC);
@@ -2270,7 +2274,7 @@ MGAFillSolidSpansDMA(
 	    ppt++;
 	    base += 5; n -= 2;
 	}
-	OUTREG(MGAREG_OPMODE, MGAOPM_DMA_BLIT);
+	OUTREG(MGAREG_OPMODE, opmode | MGAOPM_DMA_BLIT);
     }

     if(infoRec->ClipBox) {


code:
--- xf86-video-mga-1.4.5/src/mga_driver.c.jx	2006-11-08 12:16:44.000000000 -0500
+++ xf86-video-mga-1.4.5/src/mga_driver.c	2006-12-04 16:27:38.000000000 -0500
@@ -1329,8 +1329,7 @@
 	    pMga->DualHeadEnabled = TRUE;
 	} else if (xf86IsPrimInitDone(pScrn->entityList[0])) {
 	    xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-	 "This card requires the \"mga_hal\" module for dual-head operation\n"
-	 "\tIt can be found at the Matrox web site <http://www.matrox.com>\n");
+	    "No open-source support for dualhead on this card, sorry\n");
 	}
     }


code:
diff -up xf86-video-mga-1.6.2/src/mga_driver.c.jx xf86-video-mga-1.6.2/src/mga_driver.c
--- xf86-video-mga-1.6.2/src/mga_driver.c.jx	2013-05-20 16:14:10.000000000 -0400
+++ xf86-video-mga-1.6.2/src/mga_driver.c	2013-05-20 16:14:48.381607479 -0400
@@ -2004,7 +2004,12 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
     xf86DrvMsg(pScrn->scrnIndex, from, "Using %s cursor\n",
         pMga->HWCursor ? "HW" : "SW");

-    if (xf86ReturnOptValBool(pMga->Options, OPTION_NOACCEL, FALSE)) {
+    if (xf86ReturnOptValBool(pMga->Options, OPTION_SHADOW_FB, TRUE)) {
+	pMga->ShadowFB = TRUE;
+	pMga->NoAccel = TRUE;
+	xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
+		"Using \"Shadow Framebuffer\" - acceleration disabled\n");
+    } else if (xf86ReturnOptValBool(pMga->Options, OPTION_NOACCEL, FALSE)) {
 	pMga->NoAccel = TRUE;
 	xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Acceleration disabled\n");
     } else {
@@ -2051,12 +2056,6 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
 			  (1 << pScrn->offset.green) |
         (((pScrn->mask.blue >> pScrn->offset.blue) - 1) << pScrn->offset.blue);
     }
-    if (xf86ReturnOptValBool(pMga->Options, OPTION_SHADOW_FB, FALSE)) {
-	pMga->ShadowFB = TRUE;
-	pMga->NoAccel = TRUE;
-	xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
-		"Using \"Shadow Framebuffer\" - acceleration disabled\n");
-    }
     if (xf86ReturnOptValBool(pMga->Options, OPTION_OVERCLOCK_MEM, FALSE)) {
 	pMga->OverclockMem = TRUE;
 	xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Overclocking memory\n");


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-mga</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org mga video driver</Summary>
        <Description>xorg-video-mga contains the X.Org driver for Matrox cards.</Description>
        <Archive sha1sum="a21605f79694ac2b57fe1abaf049732ac60ac90b" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-mga-1.6.5.tar.bz2</Archive>
        <Patches>
<!--             <Patch level="1">mga-1.4.5-no-hal-advertising.patch</Patch> -->
<!--             <Patch level="1">mga-1.4.12-bigendian.patch</Patch> -->
<!--             <Patch level="1">mga-1.6.2-shadowfb.patch</Patch> -->
        </Patches>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-mga</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.6.5</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.6.5</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.6.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.6.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-mga</Name>
        <Summary xml:lang="tr">X.Org mga ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-mga, Matrox ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-neomagic</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org neomagic video driver</Summary>
        <Description>xorg-video-neomagic contains the X.Org driver for NeoMagic cards.</Description>
        <Archive sha1sum="63762e9144926c0071f86a5a3c2bc88c02db5a4b" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-neomagic-1.2.9.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-neomagic</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.2.9</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.2.9</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.2.9</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.2.9</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-10</Date>
            <Version>1.2.9</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-neomagic</Name>
        <Summary xml:lang="tr">X.Org neomagic ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-neomagic, NeoMagic ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-nouveau</Name>
        <Homepage>http://nouveau.freedesktop.org/wiki/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org nouveau video driver</Summary>
        <Description>xorg-video-nouveau contains the X.Org driver for NVIDIA cards.</Description>
        <Archive sha1sum="ed699a59ea509550f60019eef1e092ed0ccdea08" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-nouveau-1.0.15.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-nouveau</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-nouveau</Name>
        <RuntimeDependencies>
            <Dependency>libdrm</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libdrm-nouveau</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2017-09-09</Date>
            <Version>1.0.15</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-03-11</Date>
            <Version>1.0.13</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-16</Date>
            <Version>1.0.13</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-02</Date>
            <Version>1.0.13</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.0.12</Version>
            <Comment>Rebuild</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.0.12</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-nouveau</Name>
        <Summary xml:lang="tr">X.Org nouveau ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-nouveau, NVIDIA ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.autoreconf("-if")
    autotools.configure("\
                         --disable-static \
                         --enable-dri \
                         --enable-viaregtool \
                         --enable-debug \
                         --enable-xv-debug \
                        ")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "NEWS", "README")


code:
Index: src/via_vt162x.c
===================================================================
--- src/via_vt162x.c    (revision 787)
+++ src/via_vt162x.c    (revision 786)
@@ -684,30 +650,11 @@ VT1622ModeI2C(ScrnInfoPtr pScrn, DisplayModePtr mo
             xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x2B, Table.RGB[4]);
         if (Table.RGB[5])
             xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x2C, Table.RGB[5]);
-        if (pBIOSInfo->TVEncoder == VIA_VT1625) {
-            if (pBIOSInfo->TVType < TVTYPE_480P) {
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x02, 0x12);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x23, 0x7E);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x4A, 0x85);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x4B, 0x0A);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x4E, 0x00);
-            } else {
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x02, 0x12);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x4A, 0x85);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x4B, 0x0A);
-            }
-        }
     } else if (pBIOSInfo->TVOutput == TVOUTPUT_YCBCR) {
         xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x02, 0x03);
         xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x65, Table.YCbCr[0]);
         xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x66, Table.YCbCr[1]);
         xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x67, Table.YCbCr[2]);
-        if (pBIOSInfo->TVEncoder == VIA_VT1625) {
-            if (pBIOSInfo->TVType < TVTYPE_480P) {
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x23, 0x7E);
-                xf86I2CWriteByte(pBIOSInfo->TVI2CDev, 0x4E, 0x00);
-            }
-        }
     }

     /* Configure flicker filter. */


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-openchrome</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org openchrome video driver</Summary>
        <Description>xorg-video-openchrome contains the X.Org driver for VIA video chipsets.</Description>
        <Archive sha1sum="9c7ad349de6dd350252ccda8da56fa1e2a6afa32" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-openchrome-0.5.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libXvMC-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="0">openchrome-0.2.904-fix_tvout_flickering.patch</Patch> -->
<!--             <Patch level="1">fixed.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-openchrome</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libXvMC</Dependency>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>0.5.0</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>0.5.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0.4.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>0.3.3</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-openchrome</Name>
        <Summary xml:lang="tr">X.Org openchrome ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-openchrome, VIA ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-r128</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org r128 video driver</Summary>
        <Description>xorg-video-r128 contains the X.Org driver for ATI Rage128 video cards.</Description>
        <Archive sha1sum="ea3c739efda6ce785b057ac9c39f9247ae9ede8e" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-r128-6.10.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-r128</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>6.10.2</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>6.10.2</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>6.10.2</Version>
            <Comment>Verson bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>6.10.1</Version>
            <Comment>Verson bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>6.10.0</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-r128</Name>
        <Summary xml:lang="tr">X.Org r128 ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-r128, ATI Rage128 ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--enable-glamor")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-radeon</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org radeon video driver</Summary>
        <Description>xorg-video-radeon contains the X.Org driver for ATI video chipsets.</Description>
        <Archive sha1sum="38e535ecc8445c1b9464ac34db959337929887f7" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-ati-7.10.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>xorg-server-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-radeon</Name>
        <RuntimeDependencies>
            <Dependency>eudev</Dependency>
            <Dependency>libdrm-radeon</Dependency>
            <Dependency>libpciaccess</Dependency>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/etc/X11</Path>
            <Path fileType="data">/usr/share/X11/xorg.conf.d</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2017-10-19</Date>
            <Version>7.10.0</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>7.9.0</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>7.8.0</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>7.8.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>7.7.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-08</Date>
            <Version>7.7.0</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-radeon</Name>
        <Summary xml:lang="tr">X.Org radeon ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-radeon, ATI ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
From 3a3ee1c45e54a808947cc26ca11f0a5299571053 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 25 Sep 2012 12:54:50 +0000
Subject: Remove mibstore.h

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
diff --git a/src/rendition.c b/src/rendition.c
index 7c74f76..888bb4a 100644
--- a/src/rendition.c
+++ b/src/rendition.c
@@ -1173,7 +1173,6 @@ renditionScreenInit(SCREEN_INIT_ARGS_DECL)
     fbPictureInit (pScreen, 0, 0);

     xf86SetBlackWhitePixels(pScreen);
-    miInitializeBackingStore(pScreen);

     /*********************************************************/
     /* The actual setup of the driver-specific code          */
diff --git a/src/rendition.h b/src/rendition.h
index f7f13d4..297117e 100644
--- a/src/rendition.h
+++ b/src/rendition.h
@@ -28,9 +28,6 @@
 /* All drivers initialising the SW cursor need this */
 #include "mipointer.h"

-/* All drivers implementing backing store need this */
-#include "mibstore.h"
-
 /* All drivers using the mi colormap manipulation need this */
 #include "micmap.h"

--
cgit v0.9.0.2-2-gbebe
From 30a4b73644ee22904824d4847e44ca69369fad02 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 30 Sep 2014 10:21:58 -0400
Subject: Fix build against xserver 1.17

Also port from pci_device_map_region to pci_device_map_range.  Somewhat
alarming that the previous code was using map_region but unmap_range...

Signed-off-by: Adam Jackson <ajax@redhat.com>

diff --git a/src/rendition.c b/src/rendition.c
index 888bb4a..9677850 100644
--- a/src/rendition.c
+++ b/src/rendition.c
@@ -1371,6 +1371,18 @@ renditionMapMem(ScrnInfoPtr pScreenInfo)
        /* Override on users request */
     WriteCombine
 	= xf86ReturnOptValBool(pRendition->Options, OPTION_FBWC, WriteCombine);
+#ifdef XSERVER_LIBPCIACCESS
+    mapOption = PCI_DEV_MAP_FLAG_WRITABLE;
+    if (WriteCombine)
+	mapOption |= PCI_DEV_MAP_FLAG_WRITE_COMBINE;
+
+    err = pci_device_map_range(pRendition->PciInfo,
+			       pRendition->PciInfo->regions[0].base_addr,
+			       pRendition->PciInfo->regions[0].size,
+			       mapOption, (void *)&pRendition->board.vmem_base);
+
+    return (err == 0);
+#else
     if (WriteCombine) {
 	xf86DrvMsg(pScreenInfo->scrnIndex, X_CONFIG,
 		   ("Requesting Write-Combined memory access\n"));
@@ -1381,12 +1393,6 @@ renditionMapMem(ScrnInfoPtr pScreenInfo)
 	mapOption = VIDMEM_MMIO;
     }

-#ifdef XSERVER_LIBPCIACCESS
-    err = pci_device_map_region(pRendition->PciInfo, 0, TRUE);
-    pRendition->board.vmem_base = pRendition->PciInfo->regions[0].memory;
-
-    return (err == 0);
-#else
     pRendition->board.vmem_base=
         xf86MapPciMem(pScreenInfo->scrnIndex, mapOption,
 		      pRendition->pcitag,
@@ -1415,7 +1421,7 @@ renditionUnmapMem(ScrnInfoPtr pScreenInfo)
 #else
     pci_device_unmap_range(pRendition->PciInfo,
 			   pRendition->board.vmem_base,
-			   pScreenInfo->videoRam * 1024);
+			   pRendition->PciInfo->regions[0].size);
 #endif
     return TRUE;
 #ifdef DEBUG0
--
cgit v0.10.2
From df5646745bf563bb36a0db1796c318fe64bf8efe Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 30 Sep 2014 10:24:18 -0400
Subject: Remove dependency on xf86PciInfo.h

Signed-off-by: Adam Jackson <ajax@redhat.com>

diff --git a/src/rendition.h b/src/rendition.h
index 297117e..4ef03a7 100644
--- a/src/rendition.h
+++ b/src/rendition.h
@@ -14,9 +14,6 @@
 /* Everything using inb/outb, etc needs "compiler.h" */
 #include "compiler.h"

-/* Drivers for PCI hardware need this */
-#include "xf86PciInfo.h"
-
 /* Drivers that need to access the PCI config space directly need this */
 #include "xf86Pci.h"

@@ -66,4 +63,8 @@

 #include "compat-api.h"
 /* end of __RENDITION_H__ */
+
+#define PCI_CHIP_V1000 0x0001
+#define PCI_CHIP_V2x00 0x2000
+
 #endif
--
cgit v0.10.2


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-rendition</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org rendition video driver</Summary>
        <Description>xorg-video-rendition contains the X.Org driver for Rendition (Micron) cards.</Description>
        <Archive sha1sum="b0c097890320be53ca678bd6f18de4c39e2409e8" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-rendition-4.2.6.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">git-fixes.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-rendition</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg/modules/drivers</Path>
            <Path fileType="data">/usr/lib/xorg/modules/*.uc</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>4.2.6</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>4.2.6</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>4.2.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>4.2.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>4.2.5</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-rendition</Name>
        <Summary xml:lang="tr">X.Org rendition ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-rendition, Rendition (Micron) ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
From d74238ca2faddb2e1c0b48333664688a5079a856 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Wed, 21 May 2014 14:10:11 -0400
Subject: Use own thunk function instead of vgaHW*Weak

I plan to remove the Weak functions from a future server.

Signed-off-by: Adam Jackson <ajax@redhat.com>

diff --git a/src/s3v_driver.c b/src/s3v_driver.c
index 654884c..937717e 100644
--- a/src/s3v_driver.c
+++ b/src/s3v_driver.c
@@ -3760,6 +3760,12 @@ S3Vddc1Read(ScrnInfoPtr pScrn)
     return ((unsigned int) (tmp & 0x08));
 }

+static void
+S3Vddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeed speed)
+{
+    vgaHWddc1SetSpeed(pScrn, speed);
+}
+
 static Bool
 S3Vddc1(ScrnInfoPtr pScrn)
 {
@@ -3773,7 +3779,7 @@ S3Vddc1(ScrnInfoPtr pScrn)
     OUTREG(DDC_REG,(tmp | 0x12));

     if ((pMon = xf86PrintEDID(
-		xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn),vgaHWddc1SetSpeedWeak(),
+		xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn), S3Vddc1SetSpeed,
 	                S3Vddc1Read))) != NULL)
 	success = TRUE;
     xf86SetDDCproperties(pScrn,pMon);
--
cgit v0.10.2
From 69b9adea709922e53ba422dd7f00aa4ac90d232e Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 30 Sep 2014 10:26:17 -0400
Subject: Fix build against xserver 1.17

Signed-off-by: Adam Jackson <ajax@redhat.com>

diff --git a/src/s3v_driver.c b/src/s3v_driver.c
index 937717e..e81ab72 100644
--- a/src/s3v_driver.c
+++ b/src/s3v_driver.c
@@ -3515,7 +3515,7 @@ S3VEnableMmio(ScrnInfoPtr pScrn)
 {
   vgaHWPtr hwp;
   S3VPtr ps3v;
-  IOADDRESS vgaCRIndex, vgaCRReg;
+  unsigned int vgaCRIndex, vgaCRReg;
   unsigned char val;
   unsigned int PIOOffset = 0;

@@ -3584,7 +3584,7 @@ S3VDisableMmio(ScrnInfoPtr pScrn)
 {
   vgaHWPtr hwp;
   S3VPtr ps3v;
-  IOADDRESS vgaCRIndex, vgaCRReg;
+  unsigned int vgaCRIndex, vgaCRReg;

   PVERB5("	S3VDisableMmio\n");

--
cgit v0.10.2
From 211e2831dcf13c6e5847f6caf894f559d9104c3d Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 30 Sep 2014 10:27:13 -0400
Subject: Remove call to miInitializeBackingStore

Signed-off-by: Adam Jackson <ajax@redhat.com>

diff --git a/src/s3v_driver.c b/src/s3v_driver.c
index e81ab72..d519dc8 100644
--- a/src/s3v_driver.c
+++ b/src/s3v_driver.c
@@ -2420,7 +2420,6 @@ S3VScreenInit(SCREEN_INIT_ARGS_DECL)
         return FALSE;
   }

-  miInitializeBackingStore(pScreen);
   xf86SetBackingStore(pScreen);
   xf86SetSilkenMouse(pScreen);
   						/* hardware cursor needs to wrap this layer */
--
cgit v0.10.2


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-s3virge</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org s3virge video driver</Summary>
        <Description>xorg-video-s3virge contains the X.Org driver for S3 Virge cards.</Description>
        <Archive sha1sum="d670f02ec4372e4a4ed299d7f29b5bd6e2fa9e83" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-s3virge-1.10.7.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">git-fixes.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xorg-video-s3virge</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.10.7</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.10.7</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.10.7</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.10.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>1.10.6</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-s3virge</Name>
        <Summary xml:lang="tr">X.Org s3virge ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-s3virge, S3 Virge ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("\
                         --disable-static \
                         --disable-dri \
                        ")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-savage</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org savage video driver</Summary>
        <Description>xorg-video-savage contains the X.Org driver for S3 Savage cards.</Description>
        <Archive sha1sum="5896fc5560c4b7242a5d3df2e6840f09f4995a4c" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-savage-2.3.9.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-savage</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>2.3.9</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>2.3.9</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>2.3.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>2.3.8</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-10</Date>
            <Version>2.3.8</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-savage</Name>
        <Summary xml:lang="tr">X.Org savage ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-savage, S3 Savage ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-video-siliconmotion</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>X.Org siliconmotion video driver</Summary>
        <Description>xorg-video-siliconmotion contains the X.Org driver for Silicon Motion cards.</Description>
        <Archive sha1sum="8b694bf2b64a1c6808708ed8cb4b013493ea5ffa" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-siliconmotion-1.7.9.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-video-siliconmotion</Name>
        <RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.7.9</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.7.9</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.7.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.7.8</Version>
            <Comment>Release bump.</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-10</Date>
            <Version>1.7.8</Version>
            <Comment>First release</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xorg-video-siliconmotion</Name>
        <Summary xml:lang="tr">X.Org siliconmotion ekran kartı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-video-siliconmotion, Silicon Motion ekran kartları için X.Org sürücüsünü içerir.</Description>
    </Source>
</PISI>


code:
From c0ff117d3e19e14829a21d89673e03f9d6389043 Mon Sep 17 00:00:00 2001
From: Jan de Groot <jgc@archlinux.org>
Date: Thu, 22 Nov 2012 15:04:42 +0100
Subject: [PATCH] Disable UploadToScreen and DownloadFromScreen. These
 functions use invalid pointers, causing crashes. As the
 driver is technically unmaintained, it's better to rely on
 software fallback than trying to fix the driver
 implementation.

---
 src/sis300_accel.c | 2 ++
 src/sis310_accel.c | 2 ++
 src/sis_accel.c    | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/src/sis300_accel.c b/src/sis300_accel.c
index af0527d..2162d76 100644
--- a/src/sis300_accel.c
+++ b/src/sis300_accel.c
@@ -1273,9 +1273,11 @@ SiS300AccelInit(ScreenPtr pScreen)

 		 /* Composite not supported */

+#if 0
 		 /* Upload, download to/from Screen */
 		 pSiS->EXADriverPtr->UploadToScreen = SiSUploadToScreen;
 		 pSiS->EXADriverPtr->DownloadFromScreen = SiSDownloadFromScreen;
+#endif

 	      } else {

diff --git a/src/sis310_accel.c b/src/sis310_accel.c
index 1a6f639..20106ce 100644
--- a/src/sis310_accel.c
+++ b/src/sis310_accel.c
@@ -2303,9 +2303,11 @@ SiS315AccelInit(ScreenPtr pScreen)
 	      }
 #endif

+#if 0
 	      /* Upload, download to/from Screen */
 	      pSiS->EXADriverPtr->UploadToScreen = SiSUploadToScreen;
 	      pSiS->EXADriverPtr->DownloadFromScreen = SiSDownloadFromScreen;
+#endif

 	   }
 #endif
diff --git a/src/sis_accel.c b/src/sis_accel.c
index c2c24c7..bb08296 100644
--- a/src/sis_accel.c
+++ b/src/sis_accel.c
@@ -801,9 +801,11 @@ SiSAccelInit(ScreenPtr pScreen)

 	  /* Composite not supported */

+#if 0
 	  /* Upload, download to/from Screen */
 	  pSiS->EXADriverPtr->UploadToScreen = SiSUploadToScreen;
 	  pSiS->EXADriverPtr->DownloadFromScreen = SiSDownloadFromScreen;
+#endif

        }
 #endif /* EXA */
--
1.8.0


code:
--- xf86-video-sis-0.10.7/src/sis_driver.c	2013-03-10 13:57:50.000000000 +0100
+++ xf86-video-sis-0.10.7/src/sis_driver.c.new	2013-03-10 13:54:48.645203559 +0100
@@ -9378,7 +9378,15 @@
      }
      if(doit) {
 	sigstate = xf86BlockSIGIO();
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18
+        {
+            double dx = x, dy = y;
+            miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy,
+                NULL, NULL);
+            x = (int)dx;
+            y = (int)dy;
+        }
+#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
         {
             double dx = x, dy = y;
             miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);