<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>java7-openjdk</Name>
        <Homepage>http://icedtea.classpath.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Open Java Development Kit</Summary>
        <Description>OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description>
        <Archive sha1sum="088b6a1885b2d54484e96f7ef6c9e2c4804784fc" type="targz">http://icedtea.wildebeest.org/download/source/icedtea-2.6.8.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ant</Dependency>
            <Dependency>wget</Dependency>
            <Dependency>rhino</Dependency>
            <Dependency>fastjar</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>attr-devel</Dependency>
            <Dependency>xorg-proto</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>eclipse-ecj</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>chrpath</Dependency>
            <!--<Dependency>pulseaudio-libs-devel</Dependency>--><!-- for bootstrap -->
        </BuildDependencies>
        <AdditionalFiles>
            <AdditionalFile target="patches/giflib_5.1.diff">giflib_5.1.diff</AdditionalFile>
            <AdditionalFile target="patches/fontconfig-paths.diff">fontconfig-paths.diff</AdditionalFile>
            <AdditionalFile target="patches/openjdk7_nonreparenting-wm.diff">openjdk7_nonreparenting-wm.diff</AdditionalFile>
        </AdditionalFiles>
    </Source>

    <Package>
        <Name>jre7-openjdk-headless</Name>
        <Summary>Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs</Summary>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>  
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>   
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/orbd</Path>
            <Path fileType="executable">/usr/bin/rmid</Path>
            <Path fileType="executable">/usr/bin/java</Path>
            <Path fileType="data">/etc/env.d/20java_jre.csh</Path>
            <Path fileType="data">/etc/env.d/20java_jre</Path>
            <Path fileType="config">/etc/java-7-openjdk/</Path>
            <Path fileType="executable">/usr/bin/pack200</Path>
            <Path fileType="executable">/usr/bin/keytool</Path>
            <Path fileType="executable">/usr/bin/tnameserv</Path>
            <Path fileType="executable">/usr/bin/unpack200</Path>
            <Path fileType="man">/usr/share/man/man1/rmid.1</Path>
            <Path fileType="man">/usr/share/man/man1/orbd.1</Path>
            <Path fileType="man">/usr/share/man/man1/java.1</Path>
            <Path fileType="executable">/usr/bin/servertool</Path>
            <Path fileType="executable">/usr/bin/rmiregistry</Path>
            <Path fileType="doc">/usr/share/doc/java7-openjdk/</Path>
            <Path fileType="man">/usr/share/man/ja/man1/rmid.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/java.1</Path>
            <Path fileType="man">/usr/share/man/man1/pack200.1</Path>
            <Path fileType="man">/usr/share/man/man1/keytool.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/orbd.1</Path>
            <Path fileType="man">/usr/share/man/man1/tnameserv.1</Path>
            <Path fileType="man">/usr/share/man/man1/unpack200.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/pack200.1</Path>
            <Path fileType="man">/usr/share/man/man1/servertool.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/keytool.1</Path>
            <Path fileType="man">/usr/share/man/man1/rmiregistry.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/tnameserv.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/unpack200.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/servertool.1</Path>
            <Path fileType="doc">/usr/share/doc/jre7-openjdk-headless</Path>
            <Path fileType="man">/usr/share/man/ja/man1/rmiregistry.1</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/java</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/orbd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/rmid</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/keytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/pack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/orbd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/java</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/rmid</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/tnameserv</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/unpack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/servertool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/policytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/rmiregistry</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/keytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/pack200</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/*/jli/libjli.so</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/tnameserv</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/unpack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/servertool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/rmiregistry</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/xawt/libmawt.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/headless/libmawt.so</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/20java_jre">20java_jre</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/20java_jre.csh">20java_jre.csh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>jre7-openjdk</Name>
        <Summary>Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Full Java runtime environment - needed for executing Java GUI and Webstart programs</Summary>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libXext</Dependency>            
            <Dependency>alsa-lib</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>jre7-openjdk-headless</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/openjdk</Path>
            <Path fileType="executable">/usr/bin/policytool</Path>
            <Path fileType="data">/usr/share/icons/hicolor/</Path>
            <Path fileType="man">/usr/share/man/man1/policytool.1</Path>
            <Path fileType="man">/usr/share/man/ja/man1/policytool.1</Path>
            <Path fileType="data">/usr/share/applications/policytool.desktop</Path>
            <Path fileType="executable">/usr/lib/jvm/java-7-openjdk/jre/bin/policytool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/*/libjsoundalsa.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/*/libpulse-java.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/*/libsplashscreen.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/libjsoundalsa.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/libpulse-java.so</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/libsplashscreen.so</Path>
        </Files>
        <Replaces>
            <Package>sun-jre</Package>
        </Replaces>
        <Conflicts>
            <Package>sun-jre</Package>
        </Conflicts>
    </Package>
    <Package>
        <Name>jdk7-openjdk</Name>
        <Summary>Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK</Summary>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>jre7-openjdk-headless</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/env.d/21java_jdk.csh</Path>
            <Path fileType="data">/etc/env.d/21java_jdk</Path>
            <Path fileType="man">/usr/share/man/man1/</Path>
            <Path fileType="man">/usr/share/man/ja/man1/</Path>
            <Path fileType="executable">/usr/bin/jar</Path>
            <Path fileType="executable">/usr/bin/xjc</Path>
            <Path fileType="executable">/usr/bin/apt</Path>
            <Path fileType="executable">/usr/bin/jdb</Path>
            <Path fileType="executable">/usr/bin/jps</Path>
            <Path fileType="executable">/usr/bin/jmap</Path>
            <Path fileType="executable">/usr/bin/idlj</Path>
            <Path fileType="executable">/usr/bin/jcmd</Path>
            <Path fileType="executable">/usr/bin/jhat</Path>
            <Path fileType="executable">/usr/bin/rmic</Path>
            <Path fileType="executable">/usr/bin/javac</Path>
            <Path fileType="executable">/usr/bin/javah</Path>
            <Path fileType="executable">/usr/bin/javap</Path>
            <Path fileType="executable">/usr/bin/jinfo</Path>
            <Path fileType="executable">/usr/bin/wsgen</Path>
            <Path fileType="executable">/usr/bin/jstat</Path>
            <Path fileType="executable">/usr/bin/jstack</Path>
            <Path fileType="executable">/usr/bin/jstatd</Path>
            <Path fileType="executable">/usr/bin/javadoc</Path>
            <Path fileType="executable">/usr/bin/extcheck</Path>
            <Path fileType="executable">/usr/bin/jconsole</Path>
            <Path fileType="executable">/usr/bin/wsimport</Path>
            <Path fileType="executable">/usr/bin/jarsigner</Path>
            <Path fileType="executable">/usr/bin/jsadebugd</Path>
            <Path fileType="executable">/usr/bin/schemagen</Path>
            <Path fileType="executable">/usr/bin/serialver</Path>
            <Path fileType="executable">/usr/bin/jrunscript</Path>
            <Path fileType="executable">/usr/bin/appletviewer</Path>
            <Path fileType="executable">/usr/bin/native2ascii</Path>
            <Path fileType="data">/usr/share/applications/jconsole.desktop</Path>
            <Path fileType="header">/usr/lib/jvm/java-7-openjdk/include</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/apt</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jdb</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jps</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/xjc</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/rmic</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/rmid</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/idlj</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/orbd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/java</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jhat</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jmap</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jcmd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javac</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javah</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javap</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jinfo</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jstat</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/wsgen</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jstatd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jstack</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/pack200</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/javadoc</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/keytool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/wsimport</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/extcheck</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jconsole</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/tnameserv</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/unpack200</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/schemagen</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/serialver</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jarsigner</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jsadebugd</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/jrunscript</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/policytool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/servertool</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/rmiregistry</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/java-rmi.cgi</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/native2ascii</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/bin/appletviewer</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/jexec</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/ct.sym</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/dt.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/ir.idl</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/orb.idl</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/tools.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/sa-jdi.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-7-openjdk/lib/jconsole.jar</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/21java_jdk.csh">21java_jdk.csh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/21java_jdk">21java_jdk</AdditionalFile>
        </AdditionalFiles>
        <Replaces>
            <Package>sun-jdk</Package>
        </Replaces>
        <Conflicts>
            <Package>sun-jdk</Package>
        </Conflicts>
    </Package>

    <Package>
        <Name>openjdk7-src</Name>
        <Summary>Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources</Summary>
        <RuntimeDependencies>
            <Dependency>jdk7-openjdk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/jvm/java-7-openjdk/src.zip</Path>
        </Files>
    </Package>

    <Package>
        <Name>openjdk7-doc</Name>
        <Summary>Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - documentation</Summary>
        <RuntimeDependencies>
            <Dependency>jdk7-openjdk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/openjdk7-doc/</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>7u_121.2.6.8</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-08</Date>
            <Version>7u_121.2.6.8</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>7u_85.2.6.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-22</Date>
            <Version>7u_85.2.6.1</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
