<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xinit</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>app:console</IsA>
        <Summary>X Window System session initializer</Summary>
        <Description>xinit initializes X Window System server and runs the first client application.</Description>
        <Archive sha1sum="de3469080d73ced1f7d7a1803e813bc6ea352072" type="tarbz2">mirrors://xorg/individual/app/xinit-1.3.4.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>util-macros</Dependency>
            <Dependency>xorg-proto</Dependency>
            <Dependency>libX11-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">xinit-1.0.2-client-session.patch</Patch-->
            <Patch level="1">unset-session-cookie.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xinit</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>xorg-app</Dependency>
	    <Dependency>ConsoleKit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/X11/Xresources</Path>
            <Path fileType="config">/etc/X11/xinit/xinitrc</Path>
            <Path fileType="data">/etc/X11/Xsession.d</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/lib/X11/xinit</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/lib/X11/xinit/Xsession">Xsession</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/X11/xinit/xinitrc">xinitrc</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xresources" >Xresources</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/10-localuser.sh">Xsession.d/localuser.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/10-xdg-runtime-dir.sh">Xsession.d/xdg-runtime-dir.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/10-Xresources.sh">Xsession.d/Xresources.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/10-xkb.sh">Xsession.d/xkb.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/20-startup.sh">Xsession.d/startup.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/25-environment.sh">Xsession.d/environment.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/50-dbus.sh">Xsession.d/dbus.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/90-ssh-agent.sh">Xsession.d/ssh-agent.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/X11/Xsession.d/90-consolekit.sh">Xsession.d/consolekit.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="7">
            <Date>2015-05-10</Date>
            <Version>1.3.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2014-07-28</Date>
            <Version>1.3.3</Version>
            <Comment>add xdg runtime dir fix localuser dir</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2014-05-16</Date>
            <Version>1.3.3</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-09-12</Date>
            <Version>1.3.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-08-25</Date>
            <Version>1.3.2</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-08-25</Date>
            <Version>1.3.2</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-09-26</Date>
            <Version>1.3.2</Version>
            <Comment>First release</Comment>
            <Name>Erdem Artan</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
