add iced-tea-web7 and add npapi and update java

This commit is contained in:
alihanozturk
2017-01-08 18:16:55 +03:00
parent e307db8c13
commit 6044b77289
8 changed files with 191 additions and 2 deletions
@@ -0,0 +1,29 @@
#!/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
def setup():
shelltools.system("export LC_ALL=en_US.UTF-8")
pisitools.flags.add("-std=c++11")
autotools.configure("--prefix=/usr/lib/jvm/java-7-openjdk\
--datarootdir=/usr/share \
--with-jdk-home=/usr/lib/jvm/java-7-openjdk \
--with-browser-tests \
--disable-docs \
--with-firefox=/usr/bin/firefox")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dosym("/usr/lib/jvm/java-7-openjdk/lib/IcedTeaPlugin.so", "/usr/lib/browser-plugins/IcedTeaPlugin.so")
pisitools.dosym("/usr/lib/jvm/java-7-openjdk/lib/IcedTeaPlugin.so", "/usr/lib/mozilla/plugins/IcedTeaPlugin.so")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>icedtea-web-java7</Name>
<Homepage>http://www.x.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Java web browser plugin</Summary>
<Description>Free Software web browser plugin running applets written in the Java programming language and an implementation of Java Web Start, originally based on the NetX project.</Description>
<Archive sha1sum="54b730855b29533866c8deb78cfe522adb18ff5d" type="targz">http://icedtea.wildebeest.org/download/source/icedtea-web-1.6.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>firefox</Dependency>
<Dependency>jdk7-openjdk</Dependency>
<Dependency>rhino</Dependency>
<Dependency>libXtst-devel</Dependency>
<!-- Dependency>junit</Dependency --> <!-- for unittests -->
<Dependency>npapi-sdk-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>glib2-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>icedtea-web-java7</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>jre7-openjdk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/mozilla</Path>
<Path fileType="library">/usr/lib/browser-plugins</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/applications</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-01-08</Date>
<Version>1.6.2</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>icedtea-web-java7</Name>
<Summary xml:lang="tr">Web tarayıcıları için Java eklentisi</Summary>
<Description xml:lang="tr">Java uygulamacıklarını (applet) çalıştıran, Java Web Start'ın özgür yazılım sürümü.</Description>
</Source>
</PISI>