<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gtk3</Name>
        <Homepage>http://www.gtk.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <Summary>The GIMP Toolkit version 3</Summary>
        <Description>GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.</Description>
        <Archive sha1sum="aa6730ac00ea2352c522c3971f63b708b971bc5f" type="tarxz">mirrors://gnome/gtk+/3.22/gtk+-3.22.26.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>atk-devel</Dependency>
<!--             <Dependency>cups-devel</Dependency> --><!--It was disabled to avoid circle-->
            <Dependency>at-spi2-atk-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>json-glib-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>at-spi2-core-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>python-six</Dependency>
            <Dependency>graphite2-devel</Dependency>
            <!--<Dependency>colord-devel</Dependency>-->
            <!--Dependency>librest-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">071_fix-installation-of-HTML-images.patch</Patch> -->
            <!--<Patch level="1">073_treeview_almost_fixed.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>gtk3</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libXi</Dependency>
            <!--<Dependency>json-glib</Dependency>-->
            <Dependency>cairo</Dependency>
            <!--<Dependency>gobject-introspection</Dependency>-->
            <Dependency>libXext</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>at-spi2-atk</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>dejavu-fonts</Dependency>
            <Dependency>graphite2</Dependency>
            <Dependency>icon-theme-adwaita</Dependency>

            <!--<Dependency>librest</Dependency>
            <Dependency>colord</Dependency>-->
            <!--<Dependency>gtk-theme-mediterranean</Dependency>-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/themes</Path>
            <Path fileType="data">/usr/share/gtk-3.0</Path>
            <Path fileType="data">/usr/share/</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <!-- Use Clearlooks as default theme for now until native Oxygen GTK style is ready -->
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/gtk-3.0/settings.ini">settings.ini</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="pakhandler.py">System.PackageHandler</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>gtk3-demo</Name>
        <IsA>app:gui</IsA>
        <Summary>GTK demo application</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gtk3-demo</Path>
            <Path fileType="executable">/usr/bin/gtk3-demo-application</Path>
        </Files>
    </Package>

    <Package>
        <Name>gtk3-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>GTK reference documents</Summary>
        <Files>
            <Path fileType="data">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>gtk3-devel</Name>
        <Summary>Development files for gtk3</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gtk3</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>at-spi2-atk-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
        </Files>
    </Package>

    <!--<Package>
        <Name>gtk3-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for gtk3</Summary>
        <BuildType>_emul32</BuildType>
        <BuildDependencies>
            <Dependency>atk-32bit</Dependency>
            <Dependency>cups-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>cairo-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>libXi-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXfixes-32bit</Dependency>
            <Dependency>gdk-pixbuf-32bit</Dependency>
            <Dependency>libXcursor-32bit</Dependency>
            <Dependency>libXdamage-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>at-spi2-atk-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libXcomposite-32bit</Dependency>
            <Dependency>libepoxy-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">gtk3</Dependency>
            <Dependency>atk-32bit</Dependency>
            <Dependency>cups-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>cairo-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>librest-32bit</Dependency>
            <Dependency>json-glib-32bit</Dependency>
            <Dependency>libXi-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXfixes-32bit</Dependency>
            <Dependency>gdk-pixbuf-32bit</Dependency>
            <Dependency>libXcursor-32bit</Dependency>
            <Dependency>libXdamage-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>at-spi2-atk-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libXcomposite-32bit</Dependency>
            <Dependency>libepoxy-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/*-32bit</Path>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>-->

    <History>
        <Update release="7">
            <Date>2018-01-30</Date>
            <Version>3.22.26</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2017-05-08</Date>
            <Version>3.22.8</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2017-02-16</Date>
            <Version>3.22.8</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-08-19</Date>
            <Version>3.20.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
         <Update release="3">
            <Date>2016-06-06</Date>
            <Version>3.20.4</Version>
            <Comment>Version bump</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-30</Date>
            <Version>3.18.6</Version>
            <Comment>Release bump</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-25</Date>
            <Version>3.18.6</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
