Merge pull request #117 from ayhanyalcinsoy/master

some of gst deps
This commit is contained in:
Ertuğrul Erata
2015-07-22 16:24:24 +03:00
58 changed files with 2489 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/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 shelltools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
def setup():
shelltools.system("./autogen.sh")
autotools.configure("--prefix=/usr \
--sysconfdir=/etc/gpm \
--sbindir=/usr/bin")
#--libdir=/usr/lib \
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Remove this when we can break abi
pisitools.dosym("libgpm.so.2", "/usr/lib/libgpm.so")
#remove static link
pisitools.remove("/usr/lib/libgpm.a")
pisitools.insinto("/etc/gpm", "conf/gpm-*.conf")
pisitools.dodoc("COPYING", "README", "TODO", "doc/Announce", "doc/FAQ", "doc/README*")
+29
View File
@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
serviceType = "local"
serviceDesc = _({"en": "Console Mouse Daemon",
"tr": "Konsol Fare Servisi"})
from comar.service import *
@synchronized
def start():
args = []
args.append("-m %s" % config.get("MOUSEDEV", "/dev/input/mice"))
args.append("-t %s" % config.get("MOUSE", "imps2"))
if "RESPONSIVENESS" in config:
args.append("-r %s " % config.get("RESPONSIVENESS"))
if "REPEAT_TYPE" in config:
args.append("-R%s " % config.get("REPEAT_TYPE"))
args.append(config.get("APPEND", ""))
startService(command="/usr/sbin/gpm",
args=" ".join(args),
donotify=True)
@synchronized
def stop():
stopService(pidfile="/run/gpm.pid",
donotify=True)
def status():
return isServiceRunning("/run/gpm.pid")
+23
View File
@@ -0,0 +1,23 @@
# Config file for /etc/init.d/gpm
# Please uncomment the type of mouse you have and the appropriate MOUSEDEV entry
#MOUSE=ps2
MOUSE=imps2
#MOUSEDEV=/dev/psaux
MOUSEDEV=/dev/input/mice
# Extra settings
#RESPONSIVENESS=
#REPEAT_TYPE=raw
# Please uncomment this line if you want gpm to understand charsets used
# in URLs and names with ~ or : in them, etc. This is a good idea to turn on!
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""
# Various other options
#APPEND="-g 1 -A 60"
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A 60"
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gpm</Name>
<Homepage>http://linux.schottelius.org/gpm/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<Summary>Console mouse driver</Summary>
<Description>GPM (short for General Purpose Mouse) brings mouse support to TTYs.</Description>
<Archive sha1sum="08aaceddf7976b98ad3c43143012d3b89a296a40" type="tarbz2">http://www.nico.schottelius.org/software/gpm/archives/gpm-1.20.7.tar.bz2</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
<Dependency>texinfo</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gpm</Name>
<RuntimeDependencies>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<!--<Path fileType="executable">/usr/sbin</Path>-->
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/share/emacs</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/gpm">gpm.conf.d</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<History>
<Update release="3">
<Date>2014-05-20</Date>
<Version>1.20.7</Version>
<Comment>Rebuild, cleanup.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-25</Date>
<Version>1.20.7</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-16</Date>
<Version>1.20.7</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>namso-01qhotmail.it</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gpm</Name>
<Summary xml:lang="tr">Konsol tabanlı fare sürücüsü</Summary>
<Description xml:lang="tr">Genel amaçlı fare ve konsolda fare desteği içindir.</Description>
</Source>
</PISI>