
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>scim</Name>
        <Homepage>http://www.scim-im.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Smart Common Input Method - framework for Input Methods</Summary>
        <Description>Smart Common Input Method (SCIM) is a framework for Input Methods. It is a modular and flexible approach for authoring and using Input Methods for X11 platform.</Description>
        <Archive sha1sum="fd5a1078cb6c8d67f8bbf79969b8c5db033a0cda" type="targz">mirrors://sourceforge/scim/scim-1.4.17.tar.gz</Archive>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="configs/config">scim-system-config</AdditionalFile>
            <AdditionalFile permission="0644" target="configs/global">scim-system-global</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <!--Dependency>gtk3-devel</Dependency-->
            <Dependency>libXt-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>intltool</Dependency>
            <!--Dependency>qt5-base-devel</Dependency-->
        </BuildDependencies>
        <Patches>
            <Patch level="1">scim-1.4.14-compile.patch</Patch>
            <Patch level="0">scim-1.4.7-support-more-utf8-locales.patch</Patch>
            <Patch level="1">scim-initial-locale-hotkey-20070922.patch</Patch>

            <!-- Fedora patches -->
            <Patch level="1">scim_panel_gtk-emacs-cc-style.patch</Patch>
            <Patch level="1">scim-add-restart.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>scim-core</Name>
        <Summary>Core of SCIM for users</Summary>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>scim-libs</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>            
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/etc/X11/Xsession.d/91-scim.sh" permission="0644" owner="root">scim.session</AdditionalFile>
            <AdditionalFile target="/etc/env.d/03scim" permission="0644" owner="root">scim.env</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>scim-libs</Name>
        <Summary>Libraries of SCIM</Summary>
        <RuntimeDependencies>            
            <Dependency>cairo</Dependency>            
            <Dependency>libtool-ltdl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libscim-*</Path>
            <Path fileType="library">/usr/lib/scim-1.0/*/Config</Path>
            <Path fileType="library">/usr/lib/scim-1.0/*/IMEngine</Path>
        </Files>
    </Package>

    <Package>
        <Name>scim-devel</Name>
        <Summary>Includes and pkgconfig for scim development</Summary>
        <RuntimeDependencies>
            <Dependency release="current">scim-core</Dependency>
            <!--Dependency>gtk3-devel</Dependency-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <!--Package>
        <Name>scim-immodule-gtk3</Name>
        <Summary>IM Module for GTK3 applications</Summary>
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gtk-3.0</Path>
        </Files>
    </Package>

    <Package>
        <Name>scim-immodule-gtk2</Name>
        <Summary>IM Module for GTK2 applications</Summary>
        <RuntimeDependencies>
            <Dependency>gtk2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gtk-2.0</Path>
        </Files>
    </Package-->

    <History>
        <Update release="4">
            <Date>2017-02-16</Date>
            <Version>1.4.17</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-03</Date>
            <Version>1.4.17</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.4.16</Version>
            <Comment>Version bump</Comment>
            <Name>Burak Erturk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-16</Date>
            <Version>1.4.14</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
