<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openmotif</Name>
        <Homepage>http://www.motifzone.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MOTIF</License>
        <IsA>library</IsA>
        <IsA>app</IsA>
        <Summary>Open Motif implementation</Summary>
        <Description>Freely available version of the well known Motif user interface toolkit for Open Source operating systems.</Description>
        <Archive sha1sum="ca9d8d67544434c5883d8d0fb684a48f8b0108bd" type="targz">mirrors://sourceforge/motif/motif-2.3.8.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>xbitmaps</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--<Patch level="1">openmotif-2.3.2-darwin.patch</Patch>-->
            <Patch>openmotif-2.3.2-sanitise-paths.patch</Patch>
            <Patch level="0">0003_fix_ftbfs_binutils-gold.patch</Patch>
            <!--<Patch>openmotif-2.3.2-libpng14.patch</Patch>-->
            <Patch level="1">openmotif-uil.patch</Patch>
            <Patch level="1">openmotif-unaligned.patch</Patch>
            <!--<Patch level="1">openmotif-xpm.patch</Patch>-->
<!--             <Patch level="1">sentinel.patch</Patch> -->
<!--             <Patch level="1">strcmp.patch</Patch> -->
<!--             <Patch level="1">warn.patch</Patch> -->
            <Patch level="1">openMotif-2.3.0-no_X11R6.patch</Patch>
            <Patch level="1">motif-2.3.4-bindings.patch</Patch>
            <Patch level="1">motif-2.3.4-mwmrc_dir.patch</Patch>
            <Patch level="1">wmluiltok_fake_lex_main.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>openmotif</Name>
        <RuntimeDependencies>
            <Dependency>libXmu</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>libXp</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>freetype</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/X11/app-defaults</Path>
            <Path fileType="data">/usr/share/X11/bindings</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/app-defaults/Mwm">Mwm.defaults</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>openmotif-devel</Name>
        <Summary>Development files for openmotif</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openmotif</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <Package>
        <Name>openmotif-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for openmotif</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libSM-32bit</Dependency>
            <Dependency>libXt-32bit</Dependency>
            <Dependency>libXp-32bit</Dependency>
            <Dependency>libXmu-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libICE-32bit</Dependency>
            <Dependency>libXft-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">openmotif</Dependency>
            <Dependency>libSM-32bit</Dependency>
            <Dependency>libXt-32bit</Dependency>
            <Dependency>libXp-32bit</Dependency>
            <Dependency>libXmu-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libICE-32bit</Dependency>
            <Dependency>libXft-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-08-31</Date>
            <Version>2.3.8</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-01-31</Date>
            <Version>2.3.8</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-11</Date>
            <Version>2.3.7</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.3.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2013-08-17</Date>
            <Version>2.3.4</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
