Merge pull request #242 from namso-01/master

java: depoya eklendi.
This commit is contained in:
Ertuğrul Erata
2015-08-15 18:05:55 +03:00
36 changed files with 1466 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
import os
import glob
shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")
WorkDir = "apache-ant-%s" % get.srcVERSION()
anthome = "/usr/share/ant"
javadir = "/usr/share/java"
def build():
shelltools.export("ANT_OPTS", "-Duser.home=%s" % WorkDir)
shelltools.system("./bootstrap.sh")
def install():
for d in (anthome, os.path.join(anthome, "lib"), os.path.join(anthome, "etc"), os.path.join(anthome, "bin"), javadir, os.path.join(javadir, "ant")):
pisitools.dodir(d)
shelltools.cd("build/lib")
for f in ("ant.jar", "ant-launcher.jar", "ant-bootstrap.jar"):
pisitools.insinto(javadir, f, f.replace(".jar", "-%s.jar" % get.srcVERSION()))
pisitools.dosym(os.path.join(javadir, f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(anthome, "lib", f))
pisitools.dosym(os.path.join(javadir, f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(javadir, f))
#Install optional JAR files to /usr/share/java/ant
for f in ("ant-jmf.jar", "ant-junit.jar", "ant-swing.jar"):
pisitools.insinto(os.path.join(javadir, "ant"), f, f.replace(".jar", "-%s.jar" % get.srcVERSION()))
pisitools.dosym(os.path.join(javadir, "ant", f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(anthome, "lib", f))
pisitools.dosym(os.path.join(javadir, "ant", f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(javadir, "ant", f))
shelltools.cd("../../src/script")
for f in glob.glob("*.bat"):
shelltools.unlink(f)
for f in glob.glob("*.cmd"):
shelltools.unlink(f)
pisitools.dobin("*")
pisitools.domove("/usr/bin/antRun*", os.path.join(anthome, "bin"))
shelltools.cd("../../")
#Install XSLs
pisitools.insinto(os.path.join(anthome, "etc"), "src/etc/*.xsl")
pisitools.dodoc("KEYS", "NOTICE", "README", "WHATSNEW", "LICENSE")
#pisitools.dohtml("docs/*")
+4
View File
@@ -0,0 +1,4 @@
# Apache Ant start script configuration file
# Optional jars and their dependencies
OPT_JAR_LIST=/usr/share/java/junit.jar
+1
View File
@@ -0,0 +1 @@
setenv ANT_HOME /usr/share/ant
+1
View File
@@ -0,0 +1 @@
export ANT_HOME=/usr/share/ant
@@ -0,0 +1,11 @@
--- apache-ant-1.8.0.orig/build.xml 2010-04-13 14:09:27.501531982 +0200
+++ apache-ant-1.8.0/build.xml 2010-04-13 14:57:08.321408006 +0200
@@ -832,7 +832,7 @@
===================================================================
-->
<target name="dist-lite"
- depends="jars,test-jar"
+ depends="jars"
description="--> creates a minimum distribution to run Apache Ant">
<mkdir dir="${dist.dir}"/>
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
. /etc/apache-ant/ant.conf
export LOCALCLASSPATH=${OPT_JAR_LIST}
/usr/share/apache-ant/bin/ant "$@"
+85
View File
@@ -0,0 +1,85 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ant</Name>
<Homepage>http://ant.apache.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Apache-2.0</License>
<IsA>app:console</IsA>
<Summary>Java-based build tool</Summary>
<Description>Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles.</Description>
<Archive sha1sum="8eee8f30fecbf16c5bc430969d119d8081521b4d" type="tarbz2">http://archive.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2</Archive>
<BuildDependencies>
<!--<Dependency>jdk7-openjdk</Dependency>-->
</BuildDependencies>
<Patches>
<Patch level="1">apache-ant-no-test-jar.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ant</Name>
<RuntimeDependencies>
<!--<Dependency>jdk7-openjdk</Dependency>-->
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/share/</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/env.d/20ant">20ant</AdditionalFile>
<AdditionalFile target="/etc/ant.conf" permission="0644" owner="root">ant.conf</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>ant-docs</Name>
<Summary>Documentation package for ant build system</Summary>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-08-22</Date>
<Version>1.9.6</Version>
<Comment>Version bump.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-25</Date>
<Version>1.9.4</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-03-03</Date>
<Version>1.8.4</Version>
<Comment>Rebuild for openjdk.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-04-20</Date>
<Version>1.8.4</Version>
<Comment>Fixed</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-06</Date>
<Version>1.8.4</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ant</Name>
<Summary xml:lang="tr">Java tabanlı inşa aracı</Summary>
<Description xml:lang="tr">Apache ant Java tabanlı bir inşa aracıdır. Teorik olarak make'e benzemektedir ancak make'in kırışıksız halidir</Description>
<Description xml:lang="es">Apache Ant es una herramienta de compilación (build) basado en Java. Teróricamente se puede comparar con Make, pero sin las vueltas que tiene aquel.</Description>
</Source>
</PISI>
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "."
shelltools.export("LC_ALL", "C")
shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")
def setup():
shelltools.export("LANG", "en_US.UTF-8")
shelltools.system("sed -i -e 's|debuglevel=\"lines,source\"|debug=\"yes\"|g' build.xml")
shelltools.system('sed -i -e "s/Xlint:none/Xlint:none -encoding cp1252/g" build.xml')
shelltools.system("ant build")
def install():
pisitools.insinto("/usr/share/man/man1/","ecj.1")
pisitools.insinto("/usr/share/java/", "ecj.jar", "eclipse-ecj-4.4.jar")
shelltools.cd("%s/usr/share/java/" % get.installDIR())
pisitools.dosym("eclipse-ecj-4.4.jar", "/usr/share/java/ecj.jar")
pisitools.dosym("eclipse-ecj-4.4.jar", "/usr/share/java/eclipse-ecj.jar")
@@ -0,0 +1,15 @@
--- build.xml 2012-09-14 18:22:48.000000000 +0000
+++ build.xml.patched 2013-01-09 10:19:28.414079935 +0000
@@ -46,9 +46,10 @@
<include name="**/*.rsc"/>
<include name="META-INF/**"/>
<include name="**/*.properties"/>
+ <include name="**/*.props"/>
<exclude name="META-INF/eclipse.inf"/>
</fileset>
</zip>
<delete dir="${output}" />
</target>
-</project>
\ No newline at end of file
+</project>
@@ -0,0 +1,11 @@
--- build.xml.orig 2013-10-03 13:55:28.579003290 +0000
+++ build.xml 2013-10-03 13:57:52.971400439 +0000
@@ -39,8 +39,6 @@
<compilerarg line="-Xlint:none"/>
</javac>
- <delete file="${basedir}/META-INF/MANIFEST.MF" failonerror="false"/>
- <copy tofile="${basedir}/META-INF/MANIFEST.MF" file="${basedir}/scripts/binary/META-INF/MANIFEST.MF"/>
<zip destfile="${basedir}/${jar_file}">
<fileset dir="${output}" />
<fileset dir="${basedir}">
@@ -0,0 +1,4 @@
#!/bin/sh
CLASSPATH=/usr/share/java/ecj.jar${CLASSPATH:+:}$CLASSPATH \
java org.eclipse.jdt.internal.compiler.batch.Main "$@"
@@ -0,0 +1,66 @@
<PISI>
<Source>
<Name>eclipse-ecj</Name>
<Homepage>http://www.eclipse.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>EPL</License>
<IsA>app:web</IsA>
<Summary>Eclipse java bytecode compiler</Summary>
<Description>Eclipse java bytecode compiler</Description>
<Archive sha1sum="903e8c2cb521cc91636eccae66b8594435516ff5" type="zip">http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.2-201502041700/ecjsrc-4.4.2.jar</Archive>
<BuildDependencies>
<Dependency>ant</Dependency>
<Dependency>jre7-openjdk-headless</Dependency>
</BuildDependencies>
<Patches>
<Patch level="0">01-ecj-include-props.patch</Patch>
<Patch level="0">02-buildxml-fix-manifest.patch</Patch>
</Patches>
</Source>
<Package>
<Name>eclipse-ecj</Name>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/java</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/bin/ecj" permission="0755" owner="root">ecj</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="4">
<Date>2015-05-19</Date>
<Version>4.4.2_201502041700</Version>
<Comment>Version Bump.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-06-04</Date>
<Version>4.4.1_201409250400</Version>
<Comment>Version Bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-06-04</Date>
<Version>4.3.1_201309111000</Version>
<Comment>Rebuild for new gcc.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-02-27</Date>
<Version>4.3.1_201309111000</Version>
<Comment>First Release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>eclipse-ecj</Name>
<Summary xml:lang="en">Eclipse java bytecode compiler</Summary>
<Description xml:lang="en">Eclipse java bytecode compiler</Description>
</Source>
</PISI>
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "CHANGES", "ChangeLog", "COPYING", "README", "NEWS")
@@ -0,0 +1,48 @@
<PISI>
<Source>
<Name>fastjar</Name>
<Homepage>http://savannah.nongnu.org/projects/fastjar</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:web</IsA>
<Summary>Sun java jar compatible archiver</Summary>
<Description>Sun java jar compatible archiver</Description>
<Archive sha1sum="c240a9e2115aad486329360d9166514261149af2" type="targz">http://download.savannah.gnu.org/releases/fastjar/fastjar-0.98.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>fastjar</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/info</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-06-05</Date>
<Version>0.98</Version>
<Comment>Rebuild for gcc</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-02-27</Date>
<Version>0.98</Version>
<Comment>First Release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>fastjar</Name>
<Summary xml:lang="En">Sun java jar compatible archiver</Summary>
<Description xml:lang="En">Sun java jar compatible archiver.</Description>
</Source>
</PISI>
@@ -0,0 +1,126 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
shelltools.export("ALT_PARALLEL_COMPILE_JOBS", get.makeJOBS())
shelltools.export("HOTSPOT_BUILD_JOBS", get.makeJOBS())
shelltools.export("LC_ALL", "C")
def setup():
shelltools.system('export DISTRIBUTION_PATCHES="patches/fontconfig-paths.diff \
patches/openjdk7_nonreparenting-wm.diff\
patches/giflib_5.1.diff"')
autotools.rawConfigure("\
--disable-tests \
--disable-Werror \
--with-parallel-jobs=%s \
--enable-nss \
--with-rhino \
--disable-system-kerberos \
--disable-system-pcsc \
--disable-system-sctp \
--enable-bootstrap \
--with-ecj-jar=/usr/share/java/ecj.jar \
--with-jdk-home=/usr/lib/jvm/java-7-openjdk \
--with-pkgversion='PisiLinux build 7.u79_2.5.5' \
" % get.makeJOBS().replace("-j", ""))
def build():
autotools.make()
def check():
autotools.make("check -k")
def install():
jvmdir="/usr/lib/jvm/java-7-openjdk"
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "HACKING", "README", "NEWS")
#cd main output directory
shelltools.cd("openjdk.build")
#---- install openjdk7-doc
pisitools.insinto("/usr/share/doc/openjdk7-doc", "docs/*")
#install openjdk7-src
pisitools.insinto(jvmdir, "j2sdk-image/src.zip")
#---- instal jdk7-openjdk
for d in ["include","lib","bin"]:
pisitools.insinto(jvmdir, "j2sdk-image/%s" % d)
for f in shelltools.ls("%s/usr/lib/jvm/java-7-openjdk/bin/" % get.installDIR()):
if not f in ["java", "java-rmi.cgi", "keytool", "orbd",
"pack200", "policytool", "rmid", "rmiregistry",
"servertool", "tnameserv", "unpack200"]:
pisitools.dosym("/usr/lib/jvm/java-7-openjdk/bin/%s" % f, "/usr/bin/%s" % f)
#install man pages
pisitools.doman("j2sdk-image/man/man1/*")
pisitools.insinto("/usr/share/man/ja/man1", "j2sdk-image/man/ja_JP.UTF-8/man1/*.1")
pisitools.insinto("/usr/share/applications", "../jconsole.desktop")
shelltools.system("chmod go+r %s%s/lib/sa-jdi.jar" %(get.installDIR(), jvmdir))
#---- instal jre7-openjdk
pisitools.insinto("%s/jre/bin" % jvmdir , "j2sdk-image/jre/bin/*")
#pisitools.insinto("%s/jre/lib/amd64" % jvmdir , "j2sdk-image/jre/lib/amd64/xawt")
for binfile in shelltools.ls("j2sdk-image/jre/bin"):
pisitools.dosym("%s/jre/bin/%s" % (jvmdir, binfile), "/usr/bin/%s" % binfile)
pisitools.insinto("/usr/share/applications", "../policytool.desktop")
for size in [16, 24, 32, 48]:
fullsize = "%dx%d" % ((size, ) * 2)
pisitools.insinto("/usr/share/icons/hicolor/%s/apps/" % fullsize, "../openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon%d.png" % size, "java.png")
#---- install jre7-openjdk-headless
pisitools.insinto("%s/jre/" % jvmdir , "j2sdk-image/jre/lib")
pisitools.insinto("%s/jre/bin" % jvmdir, "j2sdk-image/jre/bin/*")
pisitools.rename("%s/jre/lib/fontconfig.Ubuntu.properties.src" % jvmdir , "fontconfig.properties")
pisitools.rename("%s/jre/lib/fontconfig.Ubuntu.bfc" % jvmdir , "fontconfig.bfc")
pisitools.remove("%s/jre/lib/fontconfig.*.bfc" % jvmdir)
pisitools.remove("%s/jre/lib/fontconfig.*.properties.src" % jvmdir)
pisitools.domove("%s/jre/lib/*.properties*" % jvmdir,"/etc/java-7-openjdk/")
for propfile in shelltools.ls("%s/etc/java-7-openjdk/" % get.installDIR()):
pisitools.dosym("/etc/java-7-openjdk/%s" % propfile, "%s/jre/lib/%s" % (jvmdir, propfile))
pisitools.domove("%s/jre/lib/images/cursors/cursors.properties" % jvmdir,"/etc/java-7-openjdk/cursors/")
pisitools.dosym("/etc/java-7-openjdk/cursors/cursors.properties", "%s/jre/lib/images/cursors/cursors.properties" % jvmdir)
pisitools.rename("%s/jre/lib/management/jmxremote.password.template" % jvmdir , "jmxremote.password")
pisitools.rename("%s/jre/lib/management/snmp.acl.template" % jvmdir , "snmp.acl")
for f in ["management.properties", "jmxremote.access", "jmxremote.password", "snmp.acl"]:
pisitools.domove("%s/jre/lib/management/%s" % (jvmdir, f),"/etc/java-7-openjdk/management/")
pisitools.dosym("/etc/java-7-openjdk/management/%s" % f, "%s/jre/lib/management/%s" % (jvmdir, f))
for f in ["java.policy","java.security","nss.cfg"]:
pisitools.domove("%s/jre/lib/security/%s" % (jvmdir, f),"/etc/java-7-openjdk/security/")
pisitools.dosym("/etc/java-7-openjdk/security/%s" % f, "%s/jre/lib/security/%s" % (jvmdir, f))
#confs=os.listdir("%s/etc/java-7-openjdk/" % get.installDIR())
#for i in confs:
#shelltools.system("chmod 0644 %s/etc/java-7-openjdk/%s" % (get.installDIR, i))
pisitools.domove("%s/jre/lib/fontconfig.bfc" % jvmdir,"/etc/java-7-openjdk/")
pisitools.domove("%s/jre/lib/amd64/jvm.cfg" % jvmdir,"/etc/java-7-openjdk/")
pisitools.dosym("/etc/java-7-openjdk/jvm.cfg" , "%s/jre/lib/amd64/jvm.cfg" % jvmdir)
for license in ["LICENSE", "THIRD_PARTY_README", "ASSEMBLY_EXCEPTION"]:
pisitools.insinto("/usr/share/doc/jre7-openjdk-headless", "j2re-image/%s" % license)
pisitools.remove("%s/jre/lib/security/cacerts" % jvmdir)
#seems we need to add this symlink into ca-certificates-java package ?
pisitools.dosym("/etc/ssl/certs/java/cacerts", "%s/jre/lib/security/cacerts" % jvmdir)
@@ -0,0 +1 @@
JAVA_HOME=/usr/lib/jvm/java-7-openjdk/jre
@@ -0,0 +1 @@
setenv JAVA_HOME "/usr/lib/jvm/java-7-openjdk/jre"
@@ -0,0 +1 @@
JAVA_HOME=/usr/lib/jvm/java-7-openjdk
@@ -0,0 +1 @@
setenv J2SDKDIR "/usr/lib/jvm/java-7-openjdk"
@@ -0,0 +1,134 @@
--- openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties 2009-05-29 22:45:23.024341869 +0000
+++ openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties.new 2009-05-29 22:55:13.681366890 +0000
@@ -275,73 +275,61 @@
# Font File Names
-filename.DejaVu_Sans=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
-filename.DejaVu_Sans_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
-filename.DejaVu_Sans_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
-filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
-
-filename.DejaVu_Sans_Mono=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
-filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
-filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
-filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
-
-filename.DejaVu_Serif=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
-filename.DejaVu_Serif_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
-filename.DejaVu_Serif_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Oblique.ttf
-filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldOblique.ttf
-
-filename.AR_PL_UMing_CN=/usr/share/fonts/truetype/arphic/uming.ttc
-filename.AR_PL_UMing_HK=/usr/share/fonts/truetype/arphic/uming.ttc
-filename.AR_PL_UMing_TW=/usr/share/fonts/truetype/arphic/uming.ttc
-filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/truetype/arphic/uming.ttf
-
-filename.WenQuanYi_Zen_Hei=/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf
-filename.Baekmuk_Batang=/usr/share/fonts/truetype/baekmuk/batang.ttf
-filename.UnBatang=/usr/share/fonts/truetype/unfonts/UnBatang.ttf
-filename.UnBatang_Bold=/usr/share/fonts/truetype/unfonts/UnBatangBold.ttf
-filename.Baekmuk_Gulim=/usr/share/fonts/truetype/baekmuk/gulim.ttf
-filename.UnDotum=/usr/share/fonts/truetype/unfonts/UnDotum.ttf
-filename.UnDotum_Bold=/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf
-filename.Kochi_Gothic=/usr/share/fonts/truetype/kochi/kochi-gothic.ttf
-filename.Sazanami_Gothic=/usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf
-filename.Kochi_Mincho=/usr/share/fonts/truetype/kochi/kochi-mincho.ttf
-filename.Sazanami_Mincho=/usr/share/fonts/truetype/sazanami/sazanami-mincho.ttf
-filename.VL_Gothic=/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf
-filename.VL_PGothic=/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf
-
-filename.Lohit_Bengali=/usr/share/fonts/truetype/ttf-bengali-fonts/lohit_bn.ttf
-filename.Lohit_Gujarati=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_gu.ttf
-filename.Lohit_Hindi=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_hi.ttf
-filename.Lohit_Kannda=/usr/share/fonts/truetype/ttf-kannada-fonts/lohit_kn.ttf
-#filename.Lohit_Malayalam=/usr/share/fonts/lohit-malayalam/lohit_ml.ttf
-filename.Lohit_Oriya=/usr/share/fonts/truetype/ttf-oriya-fonts/lohit_or.ttf
-filename.Lohit_Punjabi=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_pa.ttf
-filename.Lohit_Tamil=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_ta.ttf
-filename.Lohit_Telugu=/usr/share/fonts/truetype/ttf-telugu-fonts/lohit_te.ttf
-filename.LKLUG=/usr/share/fonts/truetype/ttf-sinhala-lklug/lklug.ttf
-
-filename.LuxiSans-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisr.ttf
-filename.LuxiSans-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisb.ttf
-filename.LuxiSans-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisri.ttf
-filename.LuxiSans-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisbi.ttf
-filename.LuxiMono-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximr.ttf
-filename.LuxiMono-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximb.ttf
-filename.LuxiMono-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximri.ttf
-filename.LuxiMono-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximbi.ttf
-filename.LuxiSerif-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirr.ttf
-filename.LuxiSerif-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirb.ttf
-filename.LuxiSerif-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirri.ttf
-filename.LuxiSerif-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirbi.ttf
-
-# AWT X11 font paths
-awtfontpath.latin-1=/usr/share/fonts/X11/Type1
-awtfontpath.umingcn=/usr/share/fonts/truetype/arphic
-awtfontpath.uminghk=/usr/share/fonts/truetype/arphic
-awtfontpath.umingtw=/usr/share/fonts/truetype/arphic
-awtfontpath.shanheisun=/usr/share/fonts/truetype/arphic
-awtfontpath.wqy-zenhei=/usr/share/fonts/truetype/wqy
-awtfontpath.japanese-kochi=/usr/share/fonts/truetype/kochi
-awtfontpath.japanese-sazanami=/usr/share/fonts/truetype/sazanami
-awtfontpath.japanese-vlgothic=/usr/share/fonts/truetype/vlgothic
-awtfontpath.korean-baekmuk=/usr/share/fonts/truetype/baekmuk
-awtfontpath.korean-un=/usr/share/fonts/truetype/unfonts
+filename.DejaVu_Sans=/usr/share/fonts/dejavu/DejaVuSans.ttf
+filename.DejaVu_Sans_Bold=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf
+filename.DejaVu_Sans_Oblique=/usr/share/fonts/dejavu/DejaVuSans-Oblique.ttf
+filename.DejaVu_Sans_Bold_Oblique=/usr/share/dejavu/TTF/DejaVuSans-BoldOblique.ttf
+
+filename.DejaVu_Sans_Mono=/usr/share/fonts/dejavu/DejaVuSansMono.ttf
+filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf
+filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf
+filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf
+
+filename.DejaVu_Serif=/usr/share/fonts/dejavu/DejaVuSerif.ttf
+filename.DejaVu_Serif_Bold=/usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf
+filename.DejaVu_Serif_Oblique=/usr/share/fonts/dejavu/DejaVuSerif-Oblique.ttf
+filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/dejavu/DejaVuSerif-BoldOblique.ttf
+
+filename.AR_PL_UMing_CN=/usr/share/fonts/arphic-uming/uming.ttc
+filename.AR_PL_UMing_HK=/usr/share/fonts/arphic-uming/uming.ttc
+filename.AR_PL_UMing_TW=/usr/share/fonts/arphic-uming/uming.ttc
+filename.AR_PL_ShanHeiSun_Uni=/usr/share/TTF/uming.ttf
+
+filename.WenQuanYi_Zen_Hei=/usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc
+filename.Baekmuk_Batang=/usr/share/fonts/beakmuk/batang.ttf
+filename.UnBatang=/usr/share/fonts/TTF/UnBatang.ttf
+filename.UnBatang_Bold=/usr/share/fonts/TTF/UnBatangBold.ttf
+filename.Baekmuk_Gulim=/usr/share/fonts/beakmuk/gulim.ttf
+filename.UnDotum=/usr/share/fonts/TTF/UnDotum.ttf
+filename.UnDotum_Bold=/usr/share/fonts/TTF/UnDotumBold.ttf
+filename.Kochi_Gothic=/usr/share/fonts/TTF/kochi-gothic.ttf
+filename.Sazanami_Gothic=/usr/share/fonts/sazanami/sazanami-gothic.ttf
+filename.Kochi_Mincho=/usr/share/fonts/TTF/kochi-mincho.ttf
+filename.Sazanami_Mincho=/usr/share/fonts/sazanami/sazanami-mincho.ttf
+filename.VL_Gothic=/usr/share/fonts/vlgothic/VL-Gothic-Regular.ttf
+filename.VL_PGothic=/usr/share/fonts/vlgothic/VL-PGothic-Regular.ttf
+
+filename.Lohit_Bengali=/usr/share/fonts/lohit-assamese/Lohit-Bengali.ttf
+filename.Lohit_Gujarati=/usr/share/fonts/lohit-assamese/Lohit-Gujarati.ttf
+filename.Lohit_Hindi=/usr/share/fonts/lohit-assamese/Lohit-Hindi.ttf
+filename.Lohit_Kannda=/usr/share/fonts/lohit-assamese/Lohit-Kannada.ttf
+#filename.Lohit_Malayalam=/usr/share/fonts/lohit-assamese/Lohit-Malayalam.ttf
+filename.Lohit_Oriya=/usr/share/fonts/lohit-assamese/Lohit-Oriya.ttf
+filename.Lohit_Punjabi=/usr/share/fonts/lohit-assamese/Lohit-Punjabi.ttf
+filename.Lohit_Tamil=/usr/share/fonts/lohit-assamese/Lohit-Tamil.ttf
+filename.Lohit_Telugu=/usr/share/fonts/lohit-assamese/Lohit-Telugu.ttf
+filename.LKLUG=/usr/share/fonts/lklug/lklug.ttf
+
+filename.LuxiSans-Regular=/usr/share/fonts/TTF/luxisr.ttf
+filename.LuxiSans-Bold=/usr/share/fonts/TTF/luxisb.ttf
+filename.LuxiSans-Oblique=/usr/share/fonts/TTF/luxisri.ttf
+filename.LuxiSans-BoldOblique=/usr/share/fonts/TTF/luxisbi.ttf
+filename.LuxiMono-Regular=/usr/share/fonts/TTF/luximr.ttf
+filename.LuxiMono-Bold=/usr/share/fonts/TTF/luximb.ttf
+filename.LuxiMono-Oblique=/usr/share/fonts/TTF/luximri.ttf
+filename.LuxiMono-BoldOblique=/usr/share/fonts/TTF/luximbi.ttf
+filename.LuxiSerif-Regular=/usr/share/fonts/TTF/luxirr.ttf
+filename.LuxiSerif-Bold=/usr/share/fonts/TTF/luxirb.ttf
+filename.LuxiSerif-Oblique=/usr/share/fonts/TTF/luxirri.ttf
+filename.LuxiSerif-BoldOblique=/usr/share/fonts/TTF/luxirbi.ttf
+
@@ -0,0 +1,14 @@
--- openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c.orig 2014-05-27 22:17:19.766866065 +0200
+++ openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2014-05-27 22:16:35.452894426 +0200
@@ -310,7 +310,11 @@
free(pBitmapBits);
free(pOldBitmapBits);
+#if GIFLIB_MAJOR >= 5
+ DGifCloseFile(gif, NULL);
+#else
DGifCloseFile(gif);
+#endif
return 1;
}
@@ -0,0 +1,58 @@
--- openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig 2013-10-16 16:17:14.000000000 +0200
+++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java 2013-10-21 20:57:34.768580842 +0200
@@ -105,7 +105,8 @@
LG3D_WM = 13,
CWM_WM = 14,
MUTTER_WM = 15,
- MARCO_WM = 16;
+ MARCO_WM = 16,
+ OTHER_NONREPARENTING_WM = 17;
public String toString() {
switch (WMID) {
case NO_WM:
@@ -591,7 +592,7 @@
// TODO: according to wikipedia, compiz is now reparenting. This should
// probably be updated.
static boolean isNonReparentingWM() {
- return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM);
+ return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM || XWM.getWMID() == XWM.OTHER_NONREPARENTING_WM);
}
/*
@@ -781,9 +782,17 @@
* supports WIN or _NET wm spec.
*/
else if (l_net_protocol.active()) {
- awt_wmgr = XWM.OTHER_WM;
+ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
+ } else {
+ awt_wmgr = XWM.OTHER_WM;
+ }
} else if (win.active()) {
- awt_wmgr = XWM.OTHER_WM;
+ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
+ } else {
+ awt_wmgr = XWM.OTHER_WM;
+ }
}
/*
* Check for legacy WMs.
@@ -794,6 +803,8 @@
awt_wmgr = XWM.MOTIF_WM;
} else if (isOpenLook()) {
awt_wmgr = XWM.OPENLOOK_WM;
+ } else if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
} else {
awt_wmgr = XWM.OTHER_WM;
}
@@ -1309,6 +1320,7 @@
res = new Insets(28, 6, 6, 6);
break;
case NO_WM:
+ case OTHER_NONREPARENTING_WM:
case LG3D_WM:
res = zeroInsets;
break;
@@ -0,0 +1,371 @@
<?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="d84ebfe87bd8868d6240636a25dffbb2e3940483" type="targz">http://icedtea.wildebeest.org/download/source/icedtea-2.6.1.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>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>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="9">
<Date>2015-08-22</Date>
<Version>7u_85.2.6.1</Version>
<Comment>Version bump</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="9">
<Date>2015-06-16</Date>
<Version>7u_79.2.5.5</Version>
<Comment>Version bump</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2015-02-02</Date>
<Version>7u_75.2.5.4</Version>
<Comment>Version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-09-30</Date>
<Version>7u_65.2.5.2</Version>
<Comment>Version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-07-18</Date>
<Version>7u_65.2.5.1</Version>
<Comment>Version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-06-20</Date>
<Version>7u_60.2.5.0</Version>
<Comment>Rebuilf for new gcc</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-06-04</Date>
<Version>7u_55.2.4.7</Version>
<Comment>Rebuilf for new gcc</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-04-16</Date>
<Version>7u_55.2.4.7</Version>
<Comment>Version bump to 2.4.7, use system ca-certs-java instead of builtin one.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-04-01</Date>
<Version>7u_51.2.4.6</Version>
<Comment>Version bump to 2.4.6, use system ca-certs-java instead of builtin one.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-02-27</Date>
<Version>7u_51.2.4.5</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,33 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>java7-openjdk</Name>
<Summary xml:lang="en">Open Java Development Kit</Summary>
<Description xml:lang="en">OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description>
</Source>
<Package>
<Name>jre7-openjdk</Name>
<Summary xml:lang="en">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>
</Package>
<Package>
<Name>jre7-openjdk-headless</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs</Summary>
</Package>
<Package>
<Name>openjdk7-src</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources</Summary>
</Package>
<Package>
<Name>jdk7-openjdk</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK</Summary>
</Package>
<Package>
<Name>openjdk7-doc</Name>
<Summary xml:lang="en">Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - documentation</Summary>
</Package>
</PISI>
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")
def build():
shelltools.system("ant -Dxbean.jar=xmlbeans-2.6.0/lib/xbean.jar -Djsr173.jar=xmlbeans-2.6.0/lib/jsr173_1.0_api.jar jar javadoc")
def install():
pisitools.dobin("rhino")
pisitools.dobin("rhino-jsc")
pisitools.dobin("rhino-debugger")
pisitools.doman("rhino.1")
pisitools.doman("rhino-jsc.1")
pisitools.doman("rhino-debugger.1")
pisitools.insinto("/usr/share/java", "build/rhino1.7.7/js.jar")
pisitools.insinto("/usr/share/java", "build/rhino1.7.7/js.jar", "js-1.7.6.jar")
@@ -0,0 +1,8 @@
#!/bin/sh
JAVA_CMD="/usr/bin/java"
JAVA_OPTS=""
JAVA_CLASSPATH="/usr/share/java/js.jar:/usr/share/java/jline.jar"
JAVA_MAIN="org.mozilla.javascript.tools.shell.Main"
$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"
@@ -0,0 +1,8 @@
#!/bin/sh
JAVA_CMD="/usr/bin/java"
JAVA_OPTS=""
JAVA_CLASSPATH="/usr/share/java/js.jar"
JAVA_MAIN="org.mozilla.javascript.tools.debugger.Main"
$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"
@@ -0,0 +1,60 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RHINO-DEBUGGER 1 "Friday 17, 2009"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
rhino-debugger \- invokes the rhino JavaScript debugger GUI
.SH SYNOPSIS
.B rhino-debugger
.I [options]
.I script_filename_or_url
.I [script_arguments]
.SH DESCRIPTION
This manual page documents briefly the
.B rhino-debugger
command.
This manual page was written for the Debian distribution because the original
program does not have a manual page. It is written according to the html documentation.
.PP
\fBrhino-debugger\fP is a start script for the rhino JavaScript debugger. The Rhino JavaScript debugger is a GUI that allows debugging of interpreted JavaScript scripts run in Rhino. Note that this debugger will not work with JavaScript scripts run in the mozilla browser since Rhino is not the engine used in such environments.
.SH OPTIONS
.IP -e\ \fIscript_source\fP
Executes script_source as a JavaScript script.
.IP -f\ \fIscript_filename_or_url\fP
Reads script_filename_or_url content and execute it as a JavaScript script.
.IP -opt,\ -O\ \fIoptLevel\fP
Optimizes at level optLevel, which must be an integer between 0 and 9.
.IP -version\ \fIversionNumber\fP
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions.
.IP -strict
Enable strict mode.
.SH EXAMPLE
Example debugging the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.
$ rhino-debugger NervousText.js
.SH SEE ALSO
The online documentation under http://www.mozilla.org/rhino/debugger.html
.SH AUTHOR
This manual page was written by Damien Raude-Morvan <drazzib@debian.org>,
for the Debian project (but may be used by others).
@@ -0,0 +1,8 @@
#!/bin/sh
JAVA_CMD="/usr/bin/java"
JAVA_OPTS=""
JAVA_CLASSPATH="/usr/share/java/js.jar"
JAVA_MAIN="org.mozilla.javascript.tools.jsc.Main"
$JAVA_CMD $JAVA_OPTS -classpath $JAVA_CLASSPATH $JAVA_MAIN "$@"
@@ -0,0 +1,67 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RHINO-JSC 1 "February 12, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
rhino-jsc \- invokes the rhino JavaScript compiler
.SH SYNOPSIS
.B rhino-jsc
.I [options]
.I file1.js
.I [file2.js\&.\&.\&.]
.SH DESCRIPTION
This manual page documents briefly the
.B rhino-jsc
command.
This manual page was written for the Debian distribution because the original
program does not have a manual page. It is written according to the html documentation.
.PP
\fBrhino-jsc\fP is a start script for the rhino JavaScript compiler. The JavaScript compiler translates JavaScript source into Java class files. The resulting Java class files can then be loaded and executed at another time, providing a convenient method for transferring JavaScript, and for avoiding translation cost.
Note that the top-level functions available to the shell (such as print) are not available to compiled scripts when they are run outside the shell.
.SH OPTIONS
.IP -extends\ \fIjava_class_name\fP
Specifies that a java class extending the Java class java_class_name should be generated from the incoming JavaScript source file. Each global function in the source file is made a method of the generated class, overriding any methods in the base class by the same name.
.IP -implements\ \fIjava_intf_name\fP
Specifies that a java class implementing the Java interface java_intf_name should be generated from the incoming JavaScript source file. Each global function in the source file is made a method of the generated class, implementing any methods in the interface by the same name.
.IP -debug,\ -g
Specifies that debug information should be generated. May not be combined with optimization at an optLevel greater than zero.
.IP -nosource
Does not save the source in the class file. Functions and scripts compiled this way cannot be decompiled. This option can be used to avoid distributing source or simply to save space in the resulting class file.
.IP -o\ \fIoutputFile\fP
Writes the class file to the given file (which should end in .class). The string outputFile must be a writable filename.
.IP -opt,\ -O\ \fIoptLevel\fP
Optimizes at level optLevel, which must be an integer between 0 and 9.
.IP -package\ \fIpackageName\fP
Specifies the package to generate the class into. The string packageName must be composed of valid identifier characters optionally separated by periods.
.IP -version\ \fIversionNumber\fP
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions.
.SH EXAMPLE
Example compiling the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.
$ rhino-jsc \-extends java.applet.Applet \-implements java.lang.Runnable NervousText.js
.SH SEE ALSO
The online documentation under http://www.mozilla.org/rhino/jsc.html
.SH AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>,
for the Debian project (but may be used by others).
@@ -0,0 +1,93 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RHINO 1 "February 12, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
rhino \- invokes the JavaScript shell for running scripts in batch mode or interactive
.SH SYNOPSIS
.B rhino
.I [options]
.I script_filename_or_url
.I [script_arguments]
.SH DESCRIPTION
This manual page documents briefly the
.B rhino
command.
This manual page was written for the Debian distribution because the original
program does not have a manual page. It is written according to the html documentation.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBrhino\fP is a start script for the rhino JavaScript shell which provides a simple way
to run scripts in batch mode or an interactive environment for exploratory programming.
.SH OPTIONS
.IP -e\ \fIscript_source\fP
Executes script_source as a JavaScript script.
.IP -f\ \fIscript_filename_or_url\fP
Reads script_filename_or_url content and execute it as a JavaScript script.
.IP -opt,\ -O\ \fIoptLevel\fP
Optimizes at level optLevel, which must be an integer between -1 and 9. -1 means Interpretive mode is always used. 0 means no optimizations whereas 9 means all optimizations are performed.
.IP -version\ \fIversionNumber\fP
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions.
.IP -strict
Enable strict mode.
.SH PREDEFINED PROPERTIES
Scripts executing in the shell have access to some additional properties of the top-level object.
.IP arguments
The arguments object is an array containing the strings of all the arguments given at the command line when the shell was invoked.
.IP help()
Executing the help function will print usage and help messages.
.IP defineClass(\fIclassName\fP)
Define an extension using the Java class named with the string argument className. Uses ScriptableObject.defineClass() to define the extension.
.IP deserialize(\fIfilename\fP)
Restore from the specified file an object previously written by a call to serialize.
.IP load(\fI[filename,\&.\&.\&.]\fP)
Load JavaScript source files named by string arguments. If multiple arguments are given, each file is read in and executed in turn.
.IP loadClass(\fIclassName\fP)
Load and execute the class named by the string argument className. The class must be a class that implements the Script interface, as will any script compiled by jsc.
.IP print(\fI[expr\&.\&.\&.]\fP)
Evaluate and print expressions. Evaluates each expression, converts the result to a string, and prints it.
.IP readFile(\fIpath[,characterCoding]\fP)
Read given file and convert its bytes to a string using the specified character coding or default character coding if explicit coding argument is not given.
.IP readUrl(\fIurl[,characterCoding]\fP)
Open an input connection to the given string url, read all its bytes and convert them to a string using the specified character coding or default character coding if explicit coding argument is not given.
.IP runCommand(\fIcommandName,[arg,\&.\&.\&.][options]\fP)
Execute the specified command with the given argument and options as a separate process and return the exit status of the process. For details, see JavaDoc for org.mozilla.javascript.tools.shell.Global#runCommand.
.IP serialize(\fIobject,filename\fP)
Serialize the given object to the specified file.
.IP spawn(\fIfunctionOrScript\fP)
Run the given function or script in a different thread.
.IP sync(\fIfunction\fP)
creates a synchronized function (in the sense of a Java synchronized method) from an existing function. The new function synchronizes on the this object of its invocation.
.IP quit()
Quit shell. The shell will also quit in interactive mode if an end-of-file character is typed at the prompt.
.IP version(\fI[number]\fP)
Get or set JavaScript version number. If no argument is supplied, the current version number is returned. If an argument is supplied, it is expected to be one of 100, 110, 120, 130, or 140 to indicate JavaScript version 1.0, 1.1, 1.2, 1.3, or 1.4 respectively.
.SH SEE ALSO
The online documentation under http://www.mozilla.org/rhino/shell.html
.SH AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>,
for the Debian project (but may be used by others).
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>rhino</Name>
<Homepage>http://www.mozilla.org/rhino/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPL2</License>
<Summary>Open-source implementation of JavaScript written entirely in Java</Summary>
<Description>Open-source implementation of JavaScript written entirely in Java</Description>
<Archive sha1sum="fb969e5232f5960fd22c835d19a5cdcf7ce717ae" type="targz">https://github.com/mozilla/rhino/archive/Rhino1_7_7_RELEASE.tar.gz</Archive>
<Archive sha1sum="57ba5952c98f32e20f0408e7c42debd296fc0b45" type="targz" target="rhino-Rhino1_7_7_RELEASE">http://archive.apache.org/dist/xmlbeans/binaries/xmlbeans-2.6.0.tgz</Archive>
<AdditionalFiles>
<AdditionalFile target="rhino">rhino</AdditionalFile>
<AdditionalFile target="rhino.1">rhino.1</AdditionalFile>
<AdditionalFile target="rhino-jsc">rhino-jsc</AdditionalFile>
<AdditionalFile target="rhino-jsc.1">rhino-jsc.1</AdditionalFile>
<AdditionalFile target="rhino-debugger">rhino-debugger</AdditionalFile>
<AdditionalFile target="rhino-debugger.1">rhino-debugger.1</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>ant</Dependency>
<Dependency>re7-openjdk-headless</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>rhino</Name>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/java/</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-08-15</Date>
<Version>1.7.7</Version>
<Comment>Version Bump.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-03-03</Date>
<Version>1.7R_4</Version>
<Comment>Rebuild for openjdk.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-04</Date>
<Version>1.7R_4</Version>
<Comment>Version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-07-23</Date>
<Version>1.7</Version>
<Comment>First release</Comment>
<Name>Ramazan Utku</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>rhino</Name>
<Summary xml:lang="en">Open-source implementation of JavaScript written entirely in Java</Summary>
<Description xml:lang="en">Open-source implementation of JavaScript written entirely in Java</Description>
</Source>
</PISI>