move to pisi-2.0 main
not builded.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#!/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")
|
||||
@@ -0,0 +1,11 @@
|
||||
--- xf86-video-openchrome-0.3.3/src/via_3d.h.orig 2014-10-26 03:26:12.280985695 +0000
|
||||
+++ xf86-video-openchrome-0.3.3/src/via_3d.h 2014-10-26 03:26:18.187511587 +0000
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef VIA_3D_H
|
||||
#define VIA_3D_H
|
||||
|
||||
+#include <xorg-server.h>
|
||||
#include "xf86.h"
|
||||
#include "via_dmabuffer.h"
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
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. */
|
||||
@@ -0,0 +1,119 @@
|
||||
<?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="1f7b23d4ed53417eda5c6730486b36812f469295" type="tarbz2">mirrors://xorg/individual/driver/xf86-video-openchrome-0.3.3.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>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="9">
|
||||
<Date>2015-05-08</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Burak Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2015-02-10</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Rebuild for xorg-server-1.16.3</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>Poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-09-01</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Rebuild for xorg-server-1.16.0</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-05-16</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Rebuild for xserver 1.15.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-02-02</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-08-25</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-06-21</Date>
|
||||
<Version>0.3.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-05-29</Date>
|
||||
<Version>0.3.1</Version>
|
||||
<Comment>build for xorg 1.14</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-11</Date>
|
||||
<Version>0.3.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user