move to pisi-2.0 main

not builded.
This commit is contained in:
Ertuğrul Erata
2015-07-15 19:28:56 +03:00
parent 533ddafe6c
commit cbf6a0eb6c
178 changed files with 22104 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/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")
@@ -0,0 +1,67 @@
--- 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);
@@ -0,0 +1,53 @@
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
+109
View File
@@ -0,0 +1,109 @@
<?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>
</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="10">
<Date>2015-05-08</Date>
<Version>1.3.6</Version>
<Comment>Release bump.</Comment>
<Name>Burak Ertürk</Name>
<Email>burakerturk@pisilinux.org</Email>
</Update>
<Update release="9">
<Date>2014-01-23</Date>
<Version>1.3.6</Version>
<Comment>Rebuild for xorg-server-1.16.3</Comment>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2014-09-01</Date>
<Version>1.3.6</Version>
<Comment>Rebuild for xorg-server-1.16.0</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-05-16</Date>
<Version>1.3.6</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-03-09</Date>
<Version>1.3.6</Version>
<Comment>Rebuild for xserver 1.15.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-08-25</Date>
<Version>1.3.6</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-06-21</Date>
<Version>1.3.6</Version>
<Comment>Rebuild.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-05-29</Date>
<Version>1.3.6</Version>
<Comment>build for xorg 1.14</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-05-03</Date>
<Version>1.3.6</Version>
<Comment>Fix build with xorg-server-1.14.x</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-11</Date>
<Version>1.3.6</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-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>