x11.drivers part 1
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# -*- 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 \
|
||||
--disable-silent-rules \
|
||||
")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("COPYING", "ChangeLog", "README")
|
||||
@@ -0,0 +1,24 @@
|
||||
From ec2c4ead497133ef20d5ef5a9b481b38e1e0f7a2 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Mon, 27 Jun 2011 03:13:54 +0000
|
||||
Subject: Assign local->private after allocating.
|
||||
|
||||
It is detrimental to the user experience when the driver tries to derefernce
|
||||
null pointers.
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
diff --git a/src/acecad.c b/src/acecad.c
|
||||
index ad6d793..604fe91 100644
|
||||
--- a/src/acecad.c
|
||||
+++ b/src/acecad.c
|
||||
@@ -343,6 +343,7 @@ AceCadPreInit(InputDriverPtr drv, InputInfoPtr local, int flags)
|
||||
return BadAlloc;
|
||||
|
||||
memset(priv, 0, sizeof(AceCadPrivateRec));
|
||||
+ local->private = priv;
|
||||
|
||||
local->device_control = DeviceControl;
|
||||
|
||||
--
|
||||
cgit v0.8.3-6-g21f6
|
||||
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xorg-input-acecad</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 acecad tablet input driver</Summary>
|
||||
<Description>xorg-input-acecad contains the X.Org driver for Linux's generic event devices. It supports all input devices that the kernel knows about.</Description>
|
||||
<Archive sha1sum="410cee68e4435dc95774fb389fcefae1b2ffe3d1" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-acecad-1.5.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>xorg-server-devel</Dependency>
|
||||
<Dependency>libmtdev-devel</Dependency>
|
||||
<Dependency>sysfsutils-devel</Dependency>
|
||||
<Dependency>util-macros</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">assign-local-private-after-allocating.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-input-acecad</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>xorg-server</Dependency>
|
||||
<Dependency>libmtdev</Dependency>
|
||||
<Dependency>sysfsutils</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>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-input-acecad-devel</Name>
|
||||
<Summary>Development files for ececad driver</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">xorg-input-acecad</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-05-08</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Burak Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-01-22</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Rebuild for xorg-server-1.16.3</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>Poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-09-01</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Rebuild for xorg-server-1.16.0</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-05-16</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2014-03-08</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xorg-input-acecad</Name>
|
||||
<Summary xml:lang="tr">X.Org acecad tablet giriş aygıtı sürücüsü</Summary>
|
||||
<Description xml:lang="tr">xorg-input-acecad, Linux'un genel olay aygıtları için X.Org sürücüsünü içerir. Çekirdek tarafından bilinen tüm giriş aygıtlarını destekler.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-input-acecad-devel</Name>
|
||||
<Summary xml:lang="tr">acecad sürücüsü için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user