code:
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# /etc/screenrc
#
# This is the system wide screenrc.
#
# You can use this file to change the default behavior of screen system wide
# or copy it to ~/.screenrc and use it as a starting point for your own
# settings.
#
# Commands in this file are used to set options, bind screen functions to
# keys, redefine terminal capabilities, and to automatically establish one or
# more windows at the beginning of your screen session.
#
# This is not a comprehensive list of options, look at the screen manual for
# details on everything that you can put in this file.
#
#

# ==============================================================================
# SCREEN SETTINGS
# ==============================================================================

# ESCAPE - the COMMAND CHARACTER
# ===============================================================
# escape ^aa  # default
# escape ^pp  # suggested binding for emacs users

# PASSWORD
# ===============================================================
# This commands sets the *internal* password for the screen session.
# WARNING!! If this is set then a "lock" command will only let you in to the
# session after you enter the user's account password and then *also*
# the internal password for that session. This gives additional safety but,
# if you forget the internal password then you cannot resume your session.
# Use :password to generate a password
# password ODSJQf.4IJN7E    # "1234"

# VARIABLES
# ===============================================================
# No annoying audible bell, using "visual bell"
 vbell on				# default: off
 vbell_msg "   -- Bell,Bell!! --   "	# default: "Wuff,Wuff!!"

# Automatically detach on hangup.
  autodetach on				# default: on

# Don't display the copyright page
  startup_message off			# default: on

# Uses nethack-style messages
# nethack on				# default: off

# Affects the copying of text regions
  crlf off				# default: off

# Enable/disable multiuser mode. Standard screen operation is singleuser.
# In multiuser mode the commands acladd, aclchg, aclgrp and acldel can be used
# to enable (and disable) other user accessing this screen session.
# Requires suid-root.
  multiuser off

# Change default scrollback value for new windows
  defscrollback 1000			# default: 100

# Define the time that all windows monitored for silence should
# wait before displaying a message. Default 30 seconds.
  silencewait 15			# default: 30

# bufferfile:   The file to use for commands
#               "readbuf" ('<') and  "writebuf" ('>'):
  bufferfile            $HOME/.screen_exchange
#
# hardcopydir:  The directory which contains all hardcopies.
# hardcopydir           ~/.hardcopy
# hardcopydir           ~/.screen
#
# shell:  Default process started in screen's windows.
# Makes it possible to use a different shell inside screen
# than is set as the default login shell.
# If begins with a '-' character, the shell will be started as a login shell.
# shell                 zsh
# shell                 bash
# shell                 ksh
  shell -$SHELL

# shellaka '> |tcsh'
# shelltitle '$ |bash'

# emulate .logout message
  pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."

# caption always " %w --- %c:%s"
# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"

# advertise hardstatus support to $TERMCAP
# termcapinfo  * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'

# set every new windows hardstatus line to somenthing descriptive
# defhstatus "screen: ^En (^Et)"

# don't kill window after the process died
# zombie "^["

# ignore displays that block on output
defnonblock on

# XTERM TWEAKS
# ===============================================================

# xterm understands both im/ic and doesn't have a status line.
# Note: Do not specify im and ic in the real termcap/info file as
# some programs (e.g. vi) will not work anymore.
  termcap  xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
  terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l

# 80/132 column switching must be enabled for ^AW to work
# change init sequence to not switch width
  termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l

# Make the output buffer large for (fast) xterms.
# termcapinfo xterm* OL=10000
  termcapinfo xterm* OL=100

# tell screen that xterm can switch to dark background and has function
# keys.
  termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
  termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
  termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'

# special xterm hardstatus: use the window title.
  termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'

#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
  termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'

# emulate part of the 'K' charset
  termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'

# xterm-52 tweaks:
# - uses background color for delete operations
  termcapinfo xterm* be

# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195)
  termcapinfo xterm|xterms|xs ti@:te=\E[2J

# WYSE TERMINALS
# ===============================================================

#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
#essential to have it here, as this is a slow terminal.
  termcapinfo wy75-42 xo:hs@

# New termcap sequences for cursor application mode.
  termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J

# OTHER TERMINALS
# ===============================================================

# make hp700 termcap/info better
  termcapinfo  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'

# Extend the vt100 desciption by some sequences.
  termcap  vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
  terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
  termcapinfo linux C8
# old rxvt versions also need this
# termcapinfo rxvt C8

# KEYBINDINGS
# ==============================================================
# The "bind" command assign keys to (internal) commands
# SCREEN checks all the keys you type; you type the key
# which is known as the "command character" then SCREEN
# eats this key, too, and checks whether this key is
# "bound" to a command.  If so then SCREEN will execute it.
#
# The command "bind" allows you to chose which keys
# will be assigned to the commands.
#
# Some commands are bound to several keys -
# usually to both some letter and its corresponding
# control key combination, eg the command
# "(create) screen" is bound to both 'c' and '^C'.
#
# The following list shows the default bindings:
#
# break       ^B b
# clear       C
# colon       :
# copy        ^[ [
# detach      ^D d
# digraph     ^V
# displays    *
# dumptermcap .
# fit         F
# flow        ^F f
# focus       ^I
# hardcopy    h
# help        ?
# history     { }
# info        i
# kill        K k
# lastmsg     ^M m
# license     ,
# log         H
# login       L
# meta        x
# monitor     M
# next        ^@ ^N sp n
# number      N
# only        Q
# other       ^X
# pow_break   B
# pow_detach  D
# prev        ^H ^P p ^?
# quit        \
# readbuf     <
# redisplay   ^L l
# remove      X
# removebuf   =
# reset       Z
# screen      ^C c
# select      " '
# silence     _
# split       S
# suspend     ^Z z
# time        ^T t
# title       A
# vbell       ^G
# version     v
# width       W
# windows     ^W w
# wrap        ^R r
# writebuf    >
# xoff        ^S s
# xon         ^Q q
# ^]  paste .
# -   select -
# 0   select 0
# 1   select 1
# 2   select 2
# 3   select 3
# 4   select 4
# 5   select 5
# 6   select 6
# 7   select 7
# 8   select 8
# 9   select 9
# I   login on
# O   login off
# ]   paste .
#

# And here are the default bind commands if you need them:
#
# bind A title
# bind C clear
# bind D pow_detach
# bind F fit
# bind H log
# bind I login on
# bind K kill
# bind L login
# bind M monitor
# bind N number
# bind O login off
# bind Q only
# bind S split
# bind W width
# bind X remove
# bind Z reset

# Let's remove some dangerous key bindings ...
  bind k
  bind ^k
# bind .  dumptermcap # default
  bind .
# bind ^\ quit        # default
  bind ^\
# bind \\ quit        # default
  bind \\
# bind ^h ???         # default
  bind ^h
# bind h  hardcopy    # default
  bind h

# ... and make them better.
  bind 'K' kill
  bind 'I' login on
  bind 'O' login off
  bind '}' history

# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
  register [ "\033:se noai\015a"
  register ] "\033:se ai\015a"
  bind ^] paste [.]

# hardstatus alwaysignore
# hardstatus alwayslastline "%Lw"

# Resize the current region. The space will be removed from or added to
# the region below or if there's not enough space from the region above.
  bind = resize =
  bind + resize +3
  bind - resize -3
# bind _ resize max
#
# attrcolor u "-u b"
# attrcolor b "R"

# STARTUP SCREENS
# ===============================================================
# Defines the time screen delays a new message when one message
# is currently displayed. The default is 1 second.
#  msgminwait 2

# Time a message is displayed if screen is not disturbed by
# other activity. The dafault is 5 seconds:
#  msgwait 2

# Briefly show the version number of this starting
# screen session - but only for *one* second:
#  msgwait 1
#  version

# Welcome the user:
# echo "welcome :-)"
# echo "I love you today."

# Uncomment one/some following lines to automatically let
# SCREEN start some programs in the given window numbers:
# screen -t MAIL        0 mutt
# screen -t EDIT        1 vim
# screen -t GOOGLE      2 links http://www.google.com
# screen -t NEWS        3 slrn
# screen -t WWW         4 links http://www.math.fu-berlin.de/~guckes/
# screen 5
# screen 6

# Set the environment variable var to value string. If only var is specified,
# you'll be prompted to enter a value. If no parameters are specified,
# you'll be prompted for both variable and value. The environment is
# inherited by all subsequently forked shells.
# setenv PROMPT_COMMAND 'echo -n -e "\033k\033\134"'

# Don't you want to start programs which need a DISPLAY ?
# setenv DISPLAY ''

path: util/misc/screen/files/screenrc


code: d /run/screen 0755 root utmp

repo_name: ayhanyalcinsoy/main


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>screen</Name>
        <Homepage>http://www.gnu.org/software/screen/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Terminal multiplexer (to have multiple sessions in a single terminal window)</Summary>
        <Description>GNU Screen is a free terminal multiplexer developed by the GNU Project. It allows a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session.</Description>
        <Archive sha1sum="0434d4c45d0b5bb339551511e10a9b2c4ec6a789" type="targz">http://ftp.gnu.org/gnu/screen/screen-4.6.2.tar.gz</Archive>
    </Source>

    <Package>
        <Name>screen</Name>
        <RuntimeDependencies>
            <Dependency>ncurses</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/run</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="data">/usr/share/screen</Path>
            <Path fileType="data">/usr/share/terminfo</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/screen.conf</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/screenrc">screenrc</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/screen">screen.pam.system-auth</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/screen.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-14</Date>
            <Version>4.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>4.5.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>4.3.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-07</Date>
            <Version>4.3.1</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>screen</Name>
        <Summary xml:lang="tr">Screen bir terminal(komut penceresi) çoğaltıcıdır.</Summary>
        <Description xml:lang="tr">screen tek bir terminal penceresini birden çok parçaya bölerek çalışmanızı sağlayan bir uygulamadır.</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/licenses/gpl.txt

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

def setup():
    #autotools.autoreconf("-vif")
    autotools.configure()

def build():
    autotools.make()

def check():
    autotools.make()

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

    pisitools.dodoc("ChangeLog", "CREDITS", "NEWS", "README", "README-linux-ptrace",)


code:
--- strace-4.8/process.c.orig	2013-12-06 16:18:27.682402291 +0000
+++ strace-4.8/process.c	2013-12-06 16:19:14.602165296 +0000
@@ -63,7 +63,7 @@
 # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
 #  define pt_all_user_regs XXX_pt_all_user_regs
 # endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
 # undef ia64_fpreg
 # undef pt_all_user_regs
 #endif
--- strace-4.8/signal.c.orig	2013-12-06 16:28:54.800551324 +0000
+++ strace-4.8/signal.c	2013-12-06 16:30:26.033019415 +0000
@@ -51,7 +51,7 @@
 # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
 #  define pt_all_user_regs XXX_pt_all_user_regs
 # endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
 # undef ia64_fpreg
 # undef pt_all_user_regs
 #endif
--- strace-4.8/syscall.c.orig	2013-12-06 16:29:37.912245321 +0000
+++ strace-4.8/syscall.c	2013-12-06 16:30:55.933500132 +0000
@@ -48,7 +48,7 @@
 # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
 #  define pt_all_user_regs XXX_pt_all_user_regs
 # endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
 # undef ia64_fpreg
 # undef pt_all_user_regs
 #endif
--- strace-4.8/util.c.orig	2013-12-06 16:29:44.382349431 +0000
+++ strace-4.8/util.c	2013-12-06 16:31:04.267634082 +0000
@@ -55,7 +55,7 @@
 # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
 #  define pt_all_user_regs XXX_pt_all_user_regs
 # endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
 # undef ia64_fpreg
 # undef pt_all_user_regs
 #endif


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>strace</Name>
        <Homepage>http://sourceforge.net/projects/strace/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>app:console</IsA>
        <Summary>Tracks and displays system calls associated with a running process</Summary>
        <Description>strace intercepts and records the system calls called and received by a running process. strace can print a record of each system call, its arguments and its return value.</Description>
        <Archive sha1sum="9cebc754af3434e4027a07745770892f685c0316" type="tarxz">https://sourceforge.net/projects/strace/files/strace/4.20/strace-4.20.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libaio-devel</Dependency>
	    <Dependency>libunwind-devel</Dependency>
        </BuildDependencies>
        <Patches>
	  <!--<Patch level="1">strace-fix-ftbfs.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>strace</Name>
	<RuntimeDependencies>
            <Dependency>libunwind</Dependency>
	</RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
	<Update release="4">
            <Date>2018-01-14</Date>
            <Version>4.20</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>4.15</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>4.9</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-25</Date>
            <Version>4.9</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>strace</Name>
        Çalışan bir süreç ile ilişkili sistem çağrılarını gösteren bir araç
        <Description xml:lang="tr">strace, çalışan bir UNIX süreci tarafından çağırılan ve alınan sistem çağrılarını, bu çağrılara verilen parametreleri ve dönüş değerlerini gösteren bir hata ayıklama aracıdır.</Description>
        Herramienta útil para diagnostico, aprendizaje y depuración
    </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/licenses/gpl.txt

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

#WorkDir = "tidy-%s" % get.srcVERSION().split("_", 1)[1]

def setup():
    #shelltools.system("sh build/gnuauto/setup.sh")
    autotools.configure("--disable-static")
                         #--includedir=%s/usr/include/" % get.installDIR())

def build():
    autotools.make()

def install():
    autotools.install()

    #pisitools.dodoc("readme.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>tidy</Name>
        <Homepage>http://tidy.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        HTML and XML error checking
        <Description>tidy, as the name suggests, tidies the layout of and corrects errors in HTML and XML documents.</Description>
        <Archive sha1sum="3688e2cc254e7ee49756def8cd5b1c91721edc00" type="tarbz2">http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/tidy-cvs_20101110.tar.bz2</Archive>
    </Source>

    <Package>
        <Name>tidy</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>tidy-devel</Name>
        Development files for tidy
        <RuntimeDependencies>
            <Dependency release="current">tidy</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-01</Date>
            <Version>20101110</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>20101110</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-10-04</Date>
            <Version>20101110</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>tidy</Name>
        HTML ve XML hata denetleme aracı
        <Description xml:lang="tr">tidy, HTML ve XML belgelerinin düzenini denetleyen ve hatalarını düzelten bir araçtır.</Description>
    </Source>

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


code:
#!/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 get

def build():
    autotools.make('CC="%s" \
                    CFLAGS="%s -fomit-frame-pointer -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
                    LDFLAGS="%s"' % (get.CC(), get.CFLAGS(), get.LDFLAGS()))

def install():
    pisitools.dobin("tree")

    pisitools.doman("doc/tree.1")
    pisitools.dodoc("CHANGES", "README*")


code:
# Copyright © 2005  TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
#
# Original work belongs Gentoo Linux

_tree() {
    local cur prev opts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"
    opts="-a -d -l -f -i -q -N -p -u -g -s -h -D -F -v -r -t -x -L -A
    -S -n -C -P -I -H -T -R -o --inodes --device --noreport --nolinks
    --dirsfirst --charset --filelimit --help"

    if [[ ${cur} == -* ]] ; then
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
        return 0
    fi

    case "${prev}" in
        -L|-P|-I|-H|-T|--charset|--help)
            ;;
        -o)
            COMPREPLY=( $(compgen -f -- ${cur}) )
            ;;
        *)
            COMPREPLY=( $(compgen -d -- ${cur}) )
            ;;
    esac
}
complete -o filenames -F _tree tree

# vim: set ft=sh tw=80 sw=4 et :


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>tree</Name>
        <Homepage>http://mama.indstate.edu/users/ice/tree/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Recursive directory listing tool</Summary>
        <Description>Tree lists directories recursively, and produces an indented listing of files.</Description>
        <Archive sha1sum="35bd212606e6c5d60f4d5062f4a59bb7b7b25949" type="targz">ftp://mama.indstate.edu/linux/tree/tree-1.7.0.tgz</Archive>
    </Source>

    <Package>
        <Name>tree</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/bash-completion</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/bash-completion/tree">tree.bashcomp</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-20</Date>
            <Version>1.7.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>1.7.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-25</Date>
            <Version>1.7.0</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>tree</Name>
        <Summary xml:lang="tr">Dizin listeleme aracı</Summary>
        <Description xml:lang="tr">Dizinleri özyineli olarak listeler ve dosya listesini girintili olarak gösterir.</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/licenses/gpl.txt

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

import os

def setup():
    autotools.configure()

def build():
    autotools.make("bash_completion.sh")

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

    # provided by util-linux , networkmanager , remove Slackware's makepkg completion
    blacklist = ["mount", "umount", "hd", "ncal", "makepkg"]
    for comp in blacklist:
       pisitools.remove("/usr/share/bash-completion/completions/%s" % comp)

    pisitools.dodoc("AUTHORS", "CHANGES", "COPYING", "README.md")


code:
#!/usr/bin/python

import os

def preRemove():
    os.system("complete -r")


code:
_pisi()
{
  local cur command commands options packages files

  COMPREPLY=()
  cur=${COMP_WORDS[COMP_CWORD]}

  commands="add-repo build check clean configure-pending delete-cache delta \
            emerge graph help history index info install list-available \
            list-components list-installed list-newest list-pending list-repo \
            list-sources list-upgrades rebuild-db remove remove-repo search \
            search-file update-repo upgrade"

  options="--destdir --yes-all --username --password --bandwidth-limit --verbose \
           --debug --no-color"
  packages=""
  files=""

  if [[ $COMP_CWORD -eq 1 ]] ; then
    if [[ "$cur" == -* ]]; then
      COMPREPLY=($(compgen -W "--version --help" -- $cur))
    else
      COMPREPLY=($(compgen -W "$commands --version --help" -- $cur))
    fi
    return 0;
  else
    command=${COMP_WORDS[1]}

    if [[ "$cur" == -* ]]; then
      case $command in
        @(add-repo|ar))
          options="${options} --at --ignore-check"
          ;;
        @(blame|bl))
          options="${options} --release --all"
          ;;
        @(build|bi))
          options="${options} --fetch --unpack --setup --build \
                   --check --install --package --ignore-build-no \
                   --quiet --ignore-dependency --output-dir \
                   --ignore-action-errors --ignore-safety \
                   --ignore-check --create-static --package-format \
                   --use-quilt --ignore-sandbox"
          ;;
        @(check))
          options="${options} --component --config"
          ;;
        @(clean))
          options="${options}"
          ;;
        @(configure-pending|cp))
          options="${options} --ignore-dependency --ignore-comar \
                   --ignore-safety --dry-run"
          ;;
        @(delete-cache|dc))
          options="${options}"
          ;;
        @(delta|dt))
          options="${options} --output-dir"
          ;;
        @(disable-repo|dr))
          options="${options}"
          ;;
        @(emerge|em))
          options="${options} --ignore-build-no --quiet --ignore-dependency \
                   --output-dir --ignore-action-errors --ignore safety \
                   --ignore-check --create-static --package-format \
                   --use-quilt --ignore-sandbox --component \
                   --ignore-file-conflicts --ignore-package-conflicts --ignore-comar"
          ;;
        @(enable-repo|er))
          options="${options}"
          ;;
        @(fetch|fc))
          options="${options} --output-dir"
          ;;
        @(graph))
          options="${options} --reporsitory --installed \
                   --ignore-installed --output"
          ;;
        @(help|--help))
          options="${commands}"
          ;;
        @(history|hs))
          options="${options} --last --snapshot --takeback"
          ;;
        @(index|ix))
          options="${options} --absolute-urls --output --skip-sources \
                   --skip-signing"
          ;;
        @(info))
          options="${options} --files --component --files-path --short --xml"
          ;;
        @(install|it))
          options="${options} --ignore-dependency --ignore-comar \
                   --ignore-safety --dry-run --ignore-build-no \
                   --reinstall --ignore-check --ignore-file-conflicts \
                   --ignore-package-conflicts --component --repository \
                   --fetch-only --exclude --exclude-from"
          ;;
        @(list-available|la))
          options="${options} --long --component --uninstalled"
          ;;
        @(list-components|lc))
          options="${options} --long --repository"
          ;;
        @(list-installed|li))
          options="${options} --without-buildno --long --component --install-info"
          ;;
        @(list-newest|ln))
          options="${options} --since --last"
          ;;
        @(list-pending|lp))
          options="${options}"
          ;;
        @(list-repo|lr))
          options="${options}"
          ;;
        @(list-sources|ls))
          options="${options} --long"
          ;;
        @(list-upgrades|lu))
          options="${options} --ignore-build-no --long --component \
                   --install-info"
          ;;
        @(rebuild-db|rdb))
          options="${options} --files"
          ;;
        @(remove|rm))
          options="${options} --ignore-dependency --ignore-comar \
                   --ignore-safety --dry-run --purge --component"
          ;;
        @(remove-repo|rr))
          options="${options}"
          ;;
        @(search|sr))
          options="${options} --language --repository --installdb \
                   --sourcedb --name --summary --description"
          ;;
        @(search-file|sf))
          options="${options} --long --quiet"
          ;;
        @(update-repo|ur))
          options="${options} --force"
          ;;
        @(upgrade|up))
          options="${options} --ignore-dependency --ignore-comar \
                   --ignore-safety --dry-run --ignore-build-no \
                   --security-only --bypass-update-repo \
                   --ignore-file-conflicts --ignore-package-conflicts \
                   --component --repository --fetch-only --exclude --exclude-from"
          ;;
      esac
      COMPREPLY=($(compgen -W "$options" -- $cur))
      return 0;
    else
      case $command in
        @(install|it))
          if [ `ls *.pisi 2> /dev/null | wc -l` -gt 0 ]; then
            packages=""
          else
            if `ls /var/lib/pisi/index/* &>/dev/null`; then
              packages=`grep -P "<Name>[^\s]*</Name>" /var/lib/pisi/index/*/pisi-index.xml | gawk -F '>' '{print $2}' | gawk -F '<' '{print $1}' | sort | uniq | tr "\n" " "`
            fi
          fi
          ;;
        @(info))
          if `ls /var/lib/pisi/index/* &>/dev/null`; then
            packages=`grep -P "<Name>[^\s]*</Name>" /var/lib/pisi/index/*/pisi-index.xml | gawk -F '>' '{print $2}' | gawk -F '<' '{print $1}' | sort | uniq | tr "\n" " "`
          fi
          ;;
        @(upgrade|up|remove|rm))
          if `ls /var/lib/pisi/index/* &>/dev/null`; then
            packages=`grep -P "<Name>[^\s]*</Name>" /var/lib/pisi/package/*/metadata.xml | gawk -F '>' '{print $2}' | gawk -F '<' '{print $1}' | sort | uniq | tr "\n" " "`
          fi
          ;;
      esac
      COMPREPLY=($(compgen -f -W "$packages" -- $cur))
      return 0;
    fi
  fi
  _filedir '@(pisi)'
}
complete -F _pisi -o filenames pisi

_service()
{
  local list

  COMPREPLY=()
  cur="${COMP_WORDS[COMP_CWORD]}"
  cur_num=${#COMP_WORDS[*]}

  if [[ ${cur_num} == 2 ]]; then
    list=`/usr/bin/hav list-apps System.Service`
    COMPREPLY=($(compgen -W "${list} dbus" -- ${cur}))
  elif [[ ${cur_num} -ge 3 ]]; then
    COMPREPLY=($(compgen -W "on off start stop restart reload" -- ${cur}))
  fi
}
complete -F _service service

_hav()
{
  local list command app model

  list=""

  COMPREPLY=()
  cur="${COMP_WORDS[COMP_CWORD]}"
  cur_num=${#COMP_WORDS[*]}

  if [[ ${cur_num} == 2 ]]; then
    COMPREPLY=($(compgen -W "call list-apps list-models list-methods register remove" -- ${cur}))
  elif [[ ${cur_num} == 3 ]]; then
    command=${COMP_WORDS[1]}
    case $command in
      @(call))
        list=`/usr/bin/hav list-apps`
        ;;
      @(list-models|list-methods|register|remove))
        list=`/usr/bin/hav list-apps`
        ;;
    esac
    COMPREPLY=($(compgen -W "${list}" -- ${cur}))
  elif [[ ${cur_num} == 4 ]]; then
    command=${COMP_WORDS[1]}
    app=${COMP_WORDS[2]}
    case $command in
      @(call))
        list=`/usr/bin/hav list-models ${app}`
        ;;
    esac
    COMPREPLY=($(compgen -W "${list}" -- ${cur}))
  elif [[ ${cur_num} == 5 ]]; then
    command=${COMP_WORDS[1]}
    app=${COMP_WORDS[2]}
    model=${COMP_WORDS[3]}
    case $command in
      @(call))
        list=`/usr/bin/hav list-methods ${app} ${model}`
        ;;
    esac
    COMPREPLY=($(compgen -W "${list}" -- ${cur}))
  fi
}
complete -F _hav hav


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>bash-completion</Name>
        <Homepage>http://bash-completion.alioth.debian.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Programmable completion for bash</Summary>
        <Description>A relatively new feature in bash is programmable completion. Since now, users have been able to complete commands, variables and filenames; now it is also possible to complete parameters.</Description>
        <Archive sha1sum="2260342127086cfedd4801f796fdaaa051411a14" type="tarxz">https://github.com/scop/bash-completion/releases/download/2.7/bash-completion-2.7.tar.xz</Archive>
        <Patches>
<!--             <Patch>pisilinux.patch</Patch> -->
<!--             <Patch level="1">libreoffice_completion.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>bash-completion</Name>
        <Files>
            <Path fileType="data">/etc</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="data">/var</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/bash_completion.d/pisilinux">pisilinux</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-14</Date>
            <Version>2.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-02-23</Date>
            <Version>2.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>bash-completion</Name>
        <Summary xml:lang="tr">Bash kabuğu için otomatik tamamlama</Summary>
        <Description xml:lang="tr">Kabukta çeşitli uygulamalar için otomatik tamamlama özelliği eklenebilmesine olanak sağlayan bir programdır.</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/licenses/gpl.txt

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

def setup():
    autotools.configure()

def build():
    autotools.make()

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

    pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING", "NEWS", "README", "THANKS", "TODO")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>bashdb</Name>
        <Homepage>http://bashdb.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>A Debugger for Bash</Summary>
        <Description>bashdb is a comprehensive source-code debugger for bash.</Description>
        <Archive sha1sum="f2ca68f3a646839c982bde277e688e471b9c57dd" type="targz">mirrors://sourceforge/bashdb/bashdb/4.4-0.94/bashdb-4.4-0.94.tar.gz</Archive>
    </Source>

    <Package>
        <Name>bashdb</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/bashdb</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-14</Date>
            <Version>0.94</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
         <Update release="3">
            <Date>2017-02-17</Date>
            <Version>0.92</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>0.91</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-22</Date>
            <Version>0.91</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>bashdb</Name>
        <Summary xml:lang="tr">Bash Kabuğu için bir hata ayıklayıcısı</Summary>
        <Description xml:lang="tr">bashdb, bash için kapsamlı bir kaynak kodu hata ayıklayıcısıdır.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>util.shell</Name>
</PISI>


code:
#!/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 get

def setup():
    autotools.configure("--prefix=/")

def build():
    autotools.make()

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

    pisitools.dodoc("COPYING")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dash</Name>
        <Homepage>http://gondor.apana.org.au/~herbert/dash/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <Summary>Small and fast POSIX-compliant shell</Summary>
        <Description>DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as possible.</Description>
        <Archive sha1sum="7b9cb47fc2a007c26fedc99d22a7fc1dc2f5f914" type="targz">http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.9.1.tar.gz</Archive>
    </Source>

    <Package>
        <Name>dash</Name>
        <Files>
            <Path fileType="executable">/bin/dash</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-14</Date>
            <Version>0.5.9.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>0.5.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>0.5.8</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-21</Date>
            <Version>0.5.8</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>dash</Name>
        <Summary xml:lang="tr">Ufak ve hızlı POSIX uyumlu kabuk</Summary>
        <Description xml:lang="tr">DASH, POSIX uyumlu bir /bin/sh gerçeklemesi olup, olabildiğince ufak olmayı hedefleyen bir kabuktur.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>x11</Name>
</PISI>


code:
<PISI>
    <Name>x11.driver</Name>
</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():
    pisitools.dosed("configure.ac", "gen4asm=yes", "gen4asm=no")
    autotools.autoreconf("-vif")
    autotools.configure("\
                         --disable-silent-rules \
                         --disable-wayland \
                        ")

def build():
    autotools.make()

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

    pisitools.dodoc("COPYING")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libva-intel-driver</Name>
        <Homepage>http://freedesktop.org/wiki/Software/vaapi</Homepage>
        <Packager>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        <Summary>VA-API implementation for Intel G45 and HD Graphics family</Summary>
        <Description>libva-intel-driver, VA-API implementation for Intel G45 and HD Graphics family.</Description>
        <Archive sha1sum="19e83c084a404817263c04371c42345b617900ff" type="tarbz2">https://github.com/01org/intel-vaapi-driver/releases/download/2.1.0/intel-vaapi-driver-2.0.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency versionFrom="1.7.3">libva-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libva-intel-driver</Name>
        <RuntimeDependencies>
            <Dependency>libdrm</Dependency>
            <Dependency>libdrm-intel</Dependency>
            <Dependency versionFrom="1.7.3">libva</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-02-16</Date>
            <Version>2.1.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-01-13</Date>
            <Version>2.0.0</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.7.3</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.7.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-03</Date>
            <Version>1.7.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.7.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>1.5.1</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>libva-intel-driver</Name>
        <Summary xml:lang="en">VA-API implementation for Intel G45 and HD Graphics family</Summary>
        <Description xml:lang="en">libva-intel-driver, VA-API implementation for Intel G45 and HD Graphics family.</Description>
    </Source>
</PISI>


code:
# -*- 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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    pisitools.dosed("configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")
    autotools.autoreconf("-fiv")

    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", "NEWS", "README")


code:
diff -Naur libva-vdpau-driver-0.7.4.old/src/vdpau_dump.c libva-vdpau-driver-0.7.4/src/vdpau_dump.c
--- libva-vdpau-driver-0.7.4.old/src/vdpau_dump.c       2013-07-31 10:27:40.413324916 +0200
+++ libva-vdpau-driver-0.7.4/src/vdpau_dump.c   2013-07-31 10:28:12.386040595 +0200
@@ -59,8 +59,6 @@
         _(VAEncSequenceParameterBufferType);
         _(VAEncPictureParameterBufferType);
         _(VAEncSliceParameterBufferType);
-        _(VAEncH264VUIBufferType);
-        _(VAEncH264SEIBufferType);
 #endif
 #if VA_CHECK_VERSION(0,31,1)
         _(VAQMatrixBufferType);


code:
From dd3e1e53a0c083c4dc16f3db4083ad5e4b7a866e Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart@gmail.com>
Date: Fri, 11 Jan 2013 21:04:40 +0100
Subject: [PATCH] Fix libva-vdpau-driver with GL_GLEXT_VERSION >= 85

---
 src/utils_glx.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/utils_glx.h b/src/utils_glx.h
index 19d03e4..42ae06f 100644
--- a/src/utils_glx.h
+++ b/src/utils_glx.h
@@ -67,6 +67,13 @@ typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
 #define GL_PROGRAM_UNDER_NATIVE_LIMITS GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
 #endif

+#if GL_GLEXT_VERSION >= 85
+/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
+ *     block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
+ *             Redefine the type here as an interim solution */
+typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
+#endif
+
 const char *
 gl_get_error_string(GLenum error)
     attribute_hidden;
--
1.7.11.7


code:
http://bugs.gentoo.org/517778

--- src/vdpau_decode.c
+++ src/vdpau_decode.c
@@ -1289,7 +1289,7 @@
             driver_data,
             obj_context->vdp_decoder,
             obj_surface->vdp_surface,
-            (VdpPictureInfo)&obj_context->vdp_picture_info,
+            (VdpPictureInfo *)&obj_context->vdp_picture_info,
             obj_context->vdp_bitstream_buffers_count,
             obj_context->vdp_bitstream_buffers
         );


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>vdpau-video</Name>
        <Homepage>http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>driver</IsA>
        <Summary>VDPAU backend for VA API</Summary>
        <Description>vdpau-video is a backend for the VA API in order to use VDPAU video acceleration drivers available for some NVIDIA and S3 cards.</Description>
        <Archive sha1sum="224318f4ea8bafca6a0fec770e388b7d1a1a66b3" type="tarbz2">http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-0.7.4.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency versionFrom="1.1.1">libvdpau-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>libva-vdpau-driver-0.7.4-libvdpau-0.8.patch</Patch>
            <Patch level="1">libva-vdpau-driver-0.7.4-glext-85.patch</Patch>
            <Patch level="1">libva-vdpau-driver-0.7.4-drop-h264-api.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>vdpau-video</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency versionFrom="1.1.1">libvdpau</Dependency>
            <Dependency>mesa</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-01-13</Date>
            <Version>0.7.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.7.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.7.4</Version>
            <Comment>Rebuild for new libvdpau.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0.7.4</Version>
            <Comment>Rebuild</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-05-08</Date>
            <Version>0.7.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>vdpau-video</Name>
        <Summary xml:lang="tr">VA API için VDPAU arka ucu</Summary>
        <Description xml:lang="tr">vdpau-video, bazı NVIDIA ve S3 kartlar için mevcut olan VDPAU video hızlandırma sürücülerini kullanmak için bir VA API arka ucudur.</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.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")


code:
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


code:
<?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>xorg-proto</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>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>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.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>1.5.0</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.5.0</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.5.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-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>
</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.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")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-elographics</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 Elographics TouchScreen input driver</Summary>
        <Description>xorg-input-elographics contains the X.Org driver for Linux's generic event devices. It supports all input devices that the kernel knows about.</Description>
        <Archive sha1sum="78455583a34ccd209edc1aba5538926df4faf47f" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-elographics-1.4.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>libmtdev-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-elographics</Name>
        <!--RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
            <Dependency>libmtdev</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.4.1</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.4.1</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.4.1</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.4.1</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-input-elographics</Name>
        <Summary xml:lang="tr">X.Org Elographics dokunmatik ekran sürücüsü</Summary>
        <Description xml:lang="tr">xorg-input-elographics, Linux için Elographics dokunamtik ekran 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-input-evdev</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        X.Org evdev input driver
        <Description>xorg-input-evdev contains the X.Org driver for Linux's generic event devices. It supports all input devices that the kernel knows about.</Description>
        <Archive sha1sum="1f599c8f95f7d39af83aa2a59039432f35ab8c55" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-evdev-2.10.5.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>libmtdev-devel</Dependency>
            <Dependency>libevdev</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>eudev-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-evdev</Name>
        <RuntimeDependencies>
            <Dependency>libmtdev</Dependency>
            <Dependency>libevdev</Dependency>
            <Dependency>eudev</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">/usr/share/X11/xorg.conf.d/10-evdev.conf</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-input-evdev-devel</Name>
        Development files for evdev driver
        <RuntimeDependencies>
            <Dependency release="current">xorg-input-evdev</Dependency>
        </RuntimeDependencies>
        <Files>
            <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>2.10.5</Version>
            <Comment>rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-16</Date>
            <Version>2.10.5</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-03</Date>
            <Version>2.10.4</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>2.10.2</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>2.9.2</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-input-evdev</Name>
        X.Org evdev giriş aygıtı sürücüsü
        <Description xml:lang="tr">xorg-input-evdev, 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-evdev-devel</Name>
        evdev sürücüsü için geliştirme dosyaları
    </Package>
</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 get

def setup():
    autotools.configure()

def build():
    autotools.make()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-joystick</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        X.Org joystick input driver
        <Description>xorg-input-joystick contains the X.Org driver for joysticks.</Description>

        <Archive sha1sum="b8664249d50ed266556877e15e3782c40614459c" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-joystick-1.6.3.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-joystick</Name>

        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-input-joystick-devel</Name>
        Development files for xorg-input-joystick
        <RuntimeDependencies>
            <Dependency release="current">xorg-input-joystick</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.6.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.6.3</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.2</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.6.2</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-input-joystick</Name>
        X.Org joystick giriş aygıtı sürücüsü
        <Description xml:lang="tr">xorg-input-joystick, oyun çubukları için X.Org sürücüsünü içerir.</Description>
    </Source>

    <Package>
        <Name>xorg-input-joystick-devel</Name>
        xorg-input-joystick için geliştirme dosyaları
    </Package>
</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()

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    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-input-kbd</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 kbd input driver</Summary>
        <Description>xorg-input-kbd contains the X.Org driver for keyboards.</Description>
        <Archive sha1sum="24b5d84d221a75650f390ff63315912bf9a94992" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-keyboard-1.9.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-kbd</Name>
        <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.9.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>1.9.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>1.8.1</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.8.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-input-kbd</Name>
        <Summary xml:lang="tr">X.Org kbd giriş aygıtı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-input-kbd, klavyeler 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()

def build():
    autotools.make()

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-input-libinput</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        Generic input driver for the X.Org server based on libinput
        <Description>Generic input driver for the X.Org server based on libinput</Description>
        <Archive sha1sum="3f55b8a5d4ff51d4f0cfe3fe9ace66227193abd4" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-libinput-0.26.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency versionFrom="1.6.1">libinput-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-libinput</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="1.6.1">libinput</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">/usr/share/X11/xorg.conf.d</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-input-libinput-devel</Name>
        Development files for xorg-input-libinput
        <RuntimeDependencies>
            <Dependency version="current">xorg-input-libinput</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2017-12-24</Date>
            <Version>0.26.0</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-03-11</Date>
            <Version>0.24.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.24.0</Version>
            <Comment>Version bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-03</Date>
            <Version>0.22.0</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>0.19.0</Version>
            <Comment>Version bump</Comment>
            <Name>Burak Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-08</Date>
            <Version>0.18.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-input-libinput</Name>
        <Summary xml:lang="tr">Xorg sunucusu için genel giriş sürücüsü.</Summary>
        <Description xml:lang="tr">xorg-input-libinput, libinputa dayalı Xorg sunucusu için genel giriş sürücüsüdür.</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 \
                         --disable-silent-rules \
                        ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
--- a/src/mouse.c	2012-07-30 09:51:42.000000000 +0400
+++ b/src/mouse.c	2012-08-10 15:56:04.868170012 +0400
@@ -2044,7 +2044,7 @@
 {
     MouseDevPtr pMse = pInfo->private;

-    if (!pMse->emulate3ButtonsSoft)
+    if (pMse->emulate3Buttons || !pMse->emulate3ButtonsSoft)
         return TRUE;

     xf86Msg(X_INFO,"3rd Button detected: disabling emulate3Button\n");


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-mouse</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        X.Org mouse input driver
        <Description>xorg-input-mouse contains the X.Org driver for mice.</Description>
        <Archive sha1sum="d3a0839ad5a33665bb261a4fba33e3a6271817dc" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-mouse-1.9.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-Don-t-disable-3-button-emulation-if-third-mouse-butt.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xorg-input-mouse</Name>

        <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-mouse-devel</Name>
        Development files for xorg-input-mouse
        <RuntimeDependencies>
            <Dependency version="current">xorg-input-mouse</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/xorg/xf86-mouse-properties.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/xorg-mouse.pc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.9.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>1.9.2</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.9.1</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.9.1</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-input-mouse</Name>
        <Summary xml:lang="tr">X.Org mouse giriş aygıtı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-input-mouse, fareler 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.autoreconf("-vif")
    autotools.configure("\
                         --disable-static \
                         --disable-silent-rules \
                        ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#       To disable the bottom edge area so the buttons only work as buttons,
#       not for movement, set the AreaBottomEdge
#       Option "AreaBottomEdge" "82%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection


code:
ACTION!="add|change", GOTO="touchpad_quirks_end"
KERNEL!="event*", GOTO="touchpad_quirks_end"

ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="touchpad_quirks_end"

# model specific quirks

# Dell Minis have a touchpad where the buttons and the touchpad area
# overlap. Clicking a button thus moves the pointer, this requires special
# Xorg configuration.

ATTR{[dmi/id]product_name}=="Inspiron 1011|Inspiron 1012", \
  ENV{ID_INPUT.tags}="touchpad_button_overlap"

LABEL="touchpad_quirks_end"


code:
--- a/conf/50-synaptics.conf	2012-05-11 01:01:10.000000000 +0200
+++ b/conf/50-synaptics.conf.new	2013-01-05 14:20:21.959670353 +0100
@@ -11,10 +11,13 @@
         Identifier "touchpad catchall"
         Driver "synaptics"
         MatchIsTouchpad "on"
+        Option "TapButton1" "1"
+        Option "TapButton2" "2"
+        Option "TapButton3" "3"
 # This option is recommend on all Linux systems using evdev, but cannot be
 # enabled by default. See the following link for details:
 # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
-#       MatchDevicePath "/dev/input/event*"
+        MatchDevicePath "/dev/input/event*"
 EndSection

 Section "InputClass"


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-synaptics</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>driver</IsA>
        X.Org synaptics input driver
        <Description>xorg-input-synaptics contains the X.Org driver for Synaptics touchpad devices.</Description>
        <Archive sha1sum="1276abc68b7f47f9adf2e4f40439c95f1254a9fa" type="tarbz2">http://ftp.x.org/pub/individual/driver/xf86-input-synaptics-1.9.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libmtdev-devel</Dependency>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>libevdev</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
        <Patches>

        </Patches>
    </Source>

    <Package>
        <Name>xorg-input-synaptics</Name>
        <RuntimeDependencies>
            <Dependency>libXi</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libevdev</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="/usr/share/X11/xorg.conf.d/50-synaptics.conf">50-synaptics.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/70-touchpad-quirks.rules">70-touchpad-quirks.rules</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>xorg-input-synaptics-devel</Name>
        Development files for xorg-input-synaptics
        <RuntimeDependencies>
            <Dependency release="current">xorg-input-synaptics</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.9.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>1.9.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>1.8.3</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.8.2</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-input-synaptics</Name>
        X.Org synaptics giriş aygıtı sürücüsü
        <Description xml:lang="tr">xorg-input-synaptics, Synaptics dokunmatik aygıtlar için X.Org sürücüsünü içerir.</Description>
    </Source>

    <Package>
        <Name>xorg-input-synaptics-devel</Name>
        xorg-input-synaptics için geliştirme dosyaları
    </Package>
</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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.configure("\
                         --without-hal-fdi-dir      \
                         --without-hal-callouts-dir \
                         --with-udev-rules-dir=/lib/udev/rules.d \
                        ")

def build():
    autotools.make()

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


code:
Submitted By:            Armin K. <krejzi at email dot com>
Date:                    2014-08-23
Initial Package Version: 13.0.0
Upstream Status:         Fixed
Origin:                  Upstream
Description:             Fixes building with Glibc 2.20

--- a/shared/vmmouse_client.c	2013-01-15 19:36:50.000000000 +0100
+++ b/shared/vmmouse_client.c	2014-08-23 15:13:54.336165103 +0200
@@ -35,6 +35,10 @@
  *
  */

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "vmmouse_client.h"
 #include "vmmouse_proto.h"

--- a/shared/vmmouse_proto.c	2013-01-15 19:36:50.000000000 +0100
+++ b/shared/vmmouse_proto.c	2014-08-23 15:13:54.336165103 +0200
@@ -33,6 +33,10 @@
  */

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "vmmouse_proto.h"

--- a/shared/vmmouse_proto.h	2013-01-15 19:36:50.000000000 +0100
+++ b/shared/vmmouse_proto.h	2014-08-23 15:13:54.336165103 +0200
@@ -36,11 +36,6 @@
 #ifndef _VMMOUSE_PROTO_H_
 #define _VMMOUSE_PROTO_H_

-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include <stdint.h>

 #ifdef HAVE_XORG_SERVER_1_1_0
--- a/tools/vmmouse_detect.c	2013-01-15 19:36:50.000000000 +0100
+++ b/tools/vmmouse_detect.c	2014-08-23 15:13:54.336165103 +0200
@@ -26,14 +26,14 @@
  */

-#include <stdlib.h>
-#include <signal.h>
-#include "vmmouse_client.h"
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif

+#include <stdlib.h>
+#include <signal.h>
+#include "vmmouse_client.h"
+
 void
 segvCB(int sig)
 {


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-vmmouse</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 vmmouse input driver</Summary>
        <Description>xorg-input-vmmouse contains the X.Org driver for mice in VMware virtual machines.</Description>
        <Archive sha1sum="c00fbf985b22a86901fa905a8037005bca96d805" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-vmmouse-13.1.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-vmmouse</Name>
        <Files>
            <Path fileType="data">/lib/udev</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="data">/usr/share/X11</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-10</Date>
            <Version>13.1.0</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>13.1.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>13.1.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2015-05-08</Date>
            <Version>13.1.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>13.0.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-input-vmmouse</Name>
        <Summary xml:lang="tr">X.Org vmmouse giriş aygıtı sürücüsü</Summary>
        <Description xml:lang="tr">xorg-input-vmmouse, VMware sanal makinelerinde fare uyumu 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 get

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

def build():
    autotools.make()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xorg-input-void</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 void input driver</Summary>
        <Description>xorg-input-void is a null input driver which allows the X server to operate without a core pointer and/or core keyboard.</Description>
        <Archive sha1sum="40c4e9aa7997ee24626aa0b8ecd9e7ac82a5fd63" type="tarbz2">mirrors://xorg/individual/driver/xf86-input-void-1.4.1.tar.bz2</Archive>
        <!--1.4.0 no longer supports Xorg server releases older than 1.10-->
        <BuildDependencies>
            <Dependency>xorg-server-devel</Dependency>
            <Dependency>util-macros</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>xorg-input-void</Name>
        <!--RuntimeDependencies>
            <Dependency>xorg-server</Dependency>
        </RuntimeDependencies-->
        <Files>
            <Path fileType="library">/usr/lib/xorg</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-09</Date>
            <Version>1.4.1</Version>
            <Comment>rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-11</Date>
            <Version>1.4.1</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.4.1</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.4.1</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.4.1</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-input-void</Name>
        X.Org void giriş aygıtı sürücüsü
        <Description xml:lang="tr">xorg-input-void, X sunucusunun herhangi bir ana işaretçi ve/veya ana klavye olmadan çalışabilmesini sağlayan işlevsiz bir giriş aygıtı sürücüsüdür.</Description>
    </Source>

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


code:
# -*- 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("\
                         --disable-static \
                         --disable-silent-rules \
                         --with-systemd-unit-dir=no \
                         --with-udev-rules-dir=/lib/udev/rules.d \
                         --enable-debug \
                        ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("AUTHORS", "ChangeLog", "GPL", "README")


code:
ACTION!="add|change", GOTO="wacom_end"

# Match all serial wacom tablets with a serial ID starting with WACf
# Notes: We assign NAME though we shouldn't, but currently the server requires it
#        We assign the lot to subsystem pnp too because server reads NAME from
#        the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
#        will do and the ENV{NAME} can be removed.
SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"

# comment out the next line if your distribution does not provide systemd
# If a /dev/ttySx device with the WACf name is detected, start the
# wacom-inputattach service with the kernel name as parameter
#SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-inputattach@%k.service"

LABEL="wacom_end"