summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-12-24 22:22:37 +0000
committerVlastimil Babka <caster@gentoo.org>2008-12-24 22:22:37 +0000
commitb2269ac23da1d0cb4bfff7a848ecda8c9fcaedcc (patch)
treeae78ee4d51262342f0826b91e465dca75c398bb4 /dev-java
parentVersion bump #252319 by Arfrever Frehtes Taifersar Arahesis. (diff)
downloadhistorical-b2269ac23da1d0cb4bfff7a848ecda8c9fcaedcc.tar.gz
historical-b2269ac23da1d0cb4bfff7a848ecda8c9fcaedcc.tar.bz2
historical-b2269ac23da1d0cb4bfff7a848ecda8c9fcaedcc.zip
New package, a Gentoo binary build of icedtea6. Based on icedtea6-r2 from java-overlay.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/icedtea6-bin/ChangeLog11
-rw-r--r--dev-java/icedtea6-bin/Manifest12
-rw-r--r--dev-java/icedtea6-bin/files/icedtea6-bin.env18
-rw-r--r--dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild101
-rw-r--r--dev-java/icedtea6-bin/metadata.xml5
5 files changed, 147 insertions, 0 deletions
diff --git a/dev-java/icedtea6-bin/ChangeLog b/dev-java/icedtea6-bin/ChangeLog
new file mode 100644
index 000000000000..27777b120a67
--- /dev/null
+++ b/dev-java/icedtea6-bin/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/icedtea6-bin
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.1 2008/12/24 22:22:37 caster Exp $
+
+*icedtea6-bin-1.3.1-r1 (24 Dec 2008)
+
+ 24 Dec 2008; Vlastimil Babka <caster@gentoo.org> +files/icedtea6-bin.env,
+ +metadata.xml, +icedtea6-bin-1.3.1-r1.ebuild:
+ New package, a Gentoo binary build of icedtea6. Based on icedtea6-r2 from
+ java-overlay.
+
diff --git a/dev-java/icedtea6-bin/Manifest b/dev-java/icedtea6-bin/Manifest
new file mode 100644
index 000000000000..c5ab41023070
--- /dev/null
+++ b/dev-java/icedtea6-bin/Manifest
@@ -0,0 +1,12 @@
+AUX icedtea6-bin.env 947 RMD160 8f72b884c823f408755a3b06daea5af7705da488 SHA1 7473e4d987d5b0e9f1dbf48fbf4978e37d2f64b9 SHA256 b0f675b427f42d7fd1bbf1314523144a2bfc9f5ad44f89568adce120929f74e3
+DIST icedtea6-bin-core-1.3.1-r1-amd64.tbz2 33615980 RMD160 24ca1a061534a100833605a5dc61fb7f59c23691 SHA1 c8bff653e301891507137f10072d494c5db40ba8 SHA256 78eec804ac6b12b8da1c1520ff6586deaaf07624535ce94886e8e278f277e999
+DIST icedtea6-bin-core-1.3.1-r1-x86.tbz2 34747787 RMD160 627e404103798cb812bc8c0fbaa05b3b48a4cf9f SHA1 181c8cc5942f3ab20b7a801d4f423851882e86b1 SHA256 c904c8ffafe49782d85c5b1ce5760edf10322712f482be5e00b8b54f73707b43
+DIST icedtea6-bin-doc-1.3.1-r1.tbz2 11653196 RMD160 f1799c66d75783d4a2d92771847582b697968651 SHA1 801bb7c49024438288ba5949d2e53f3e27e25844 SHA256 a23971d5dd542649a534e17eda52078242f9c5b747869ff7665572817a6d64d7
+DIST icedtea6-bin-examples-1.3.1-r1-amd64.tbz2 2173460 RMD160 29934f1389733a12c64bfbdd31f1a0a6927dbb64 SHA1 ec44c611811770a00f7f24f7732c9b8017be50f2 SHA256 a5d963ff8fef25830c36e1062900d830f1918ed9790b3926fd2a7e27f8b6821b
+DIST icedtea6-bin-examples-1.3.1-r1-x86.tbz2 2139168 RMD160 b305c278805d9bb758b2036669a966067004e0bf SHA1 01c28d0e2d17b7929c4035ac9800ed174a378edf SHA256 31c3366f514be3c478e53d7ec10d2e1a3539905ac1b114ddd7212a8da15b5274
+DIST icedtea6-bin-nsplugin-1.3.1-r1-amd64.tbz2 81478 RMD160 b63f67392021f745ee87a56d2474c1330f01d8ec SHA1 1d7fc507112916078a6d95e5bd1a678e5c8285a8 SHA256 df3cab2837c4f7f3ebc460dd1bb4e7544ea9c7d821fd60c3a54c71f9cd98e0f8
+DIST icedtea6-bin-nsplugin-1.3.1-r1-x86.tbz2 71863 RMD160 c4cf0265da803706aab43927dcae5b4c66d9da22 SHA1 de0d137eecf56da9c6045afb17d90c3eb3d36942 SHA256 01310d677009f4d1ca6f5311784e26eb323af68fd43e0003dd2384f98e4d42d0
+DIST icedtea6-bin-src-1.3.1-r1.tbz2 26571999 RMD160 072e1238fb549a2f965da01ff8b06b2e26a12ab8 SHA1 876347259f77f97514ba78dfbc17d0f877ff3d5b SHA256 6ceac841d9cd7f90f98481c98487ec269e2c65ba90fafe2ceb182865329517c1
+EBUILD icedtea6-bin-1.3.1-r1.ebuild 2618 RMD160 05684467691205a01f54f5976470e7b8ecc56d80 SHA1 d6918dd3faabc96c8b01ac081ad58de470c2b8a4 SHA256 714a672ebd672f514c5c90e9f0958a885f78dcba69ea9385b3a0b56873c87997
+MISC ChangeLog 470 RMD160 1aa9f18c9ec0d67b82d008c38f5d696f95466e4a SHA1 85225d03fecf27f2236f45ff91387a568b6ca79c SHA256 f7239420cc1076dc153b30771dfbd49009554dc03e68072cb3d6abc2dced35d3
+MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
diff --git a/dev-java/icedtea6-bin/files/icedtea6-bin.env b/dev-java/icedtea6-bin/files/icedtea6-bin.env
new file mode 100644
index 000000000000..c896da51d737
--- /dev/null
+++ b/dev-java/icedtea6-bin/files/icedtea6-bin.env
@@ -0,0 +1,18 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/files/icedtea6-bin.env,v 1.1 2008/12/24 22:22:37 caster Exp $
+
+VERSION="IcedTea6-bin @PV@"
+JAVA_HOME=/opt/@P@
+JDK_HOME=/opt/@P@
+JAVAC=${JAVA_HOME}/bin/javac
+PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
+MANPATH="/opt/@P@/man"
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.6"
+# Taken from sun.boot.class.path property
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild b/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..4ea66477fffb
--- /dev/null
+++ b/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild,v 1.1 2008/12/24 22:22:37 caster Exp $
+
+EAPI="1"
+
+inherit java-vm-2
+
+dist="mirror://gentoo/"
+DESCRIPTION="A Gentoo-made binary build of the icedtea6 JDK"
+SRC_URI="amd64? ( ${dist}/${PN}-core-${PVR}-amd64.tbz2 )
+ x86? ( ${dist}/${PN}-core-${PVR}-x86.tbz2 )
+ doc? ( ${dist}/${PN}-doc-${PVR}.tbz2 )
+ examples? (
+ amd64? ( ${dist}/${PN}-examples-${PVR}-amd64.tbz2 )
+ x86? ( ${dist}/${PN}-examples-${PVR}-x86.tbz2 )
+ )
+ nsplugin? (
+ amd64? ( ${dist}/${PN}-nsplugin-${PVR}-amd64.tbz2 )
+ x86? ( ${dist}/${PN}-nsplugin-${PVR}-x86.tbz2 )
+ )
+ source? ( ${dist}/${PN}-src-${PVR}.tbz2 )"
+HOMEPAGE="http://icedtea.classpath.org"
+
+IUSE="X alsa doc examples nsplugin source"
+# JTReg doesn't pass at present
+RESTRICT="strip test"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PF}"
+
+RDEPEND="
+ >=sys-libs/glibc-2.6.1
+ >=media-libs/giflib-4.1.6-r1
+ >=media-libs/jpeg-6b-r8
+ >=media-libs/libpng-1.2.33
+ >=sys-libs/zlib-1.2.3-r1
+ alsa? ( >=media-libs/alsa-lib-1.0.16 )
+ X? (
+ >=media-libs/freetype-2.3.7:2
+ >=x11-libs/libXext-1.0.3
+ >=x11-libs/libXi-1.1.3
+ >=x11-libs/libXtst-1.0.3
+ >=x11-libs/libX11-1.1.4
+ )
+ nsplugin? (
+ >=dev-libs/atk-1.22.0
+ >=dev-libs/glib-2.16.5:2
+ >=dev-libs/nspr-4.7.3
+ >=x11-libs/cairo-1.6.4-r1
+ >=x11-libs/gtk+-2.12.11:2
+ >=x11-libs/pango-1.20.5
+ )"
+DEPEND=""
+
+QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/server/libjvm.so"
+QA_EXECSTACK_x86="opt/${P}/jre/lib/i386/server/libjvm.so
+ opt/${P}/jre/lib/i386/client/libjvm.so"
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${D}/${dest}"
+ dodir "${dest}" || die
+
+ local arch=${ARCH}
+
+ # doins can't handle symlinks.
+ cp -pRP bin include jre lib man "${ddest}" || die "failed to copy"
+
+ dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die
+ if use doc ; then
+ dohtml -r ../doc/html/* || die "Failed to install documentation"
+ fi
+
+ if use examples; then
+ cp -pRP share/{demo,sample} "${ddest}" || die
+ fi
+
+ if use source ; then
+ cp src.zip "${ddest}" || die
+ fi
+
+ if use nsplugin ; then
+ use x86 && arch=i386;
+ install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
+ fi
+
+ set_java_env
+ java-vm_revdep-mask
+}
+
+pkg_postinst() {
+ if use nsplugin; then
+ elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin"
+ elog "Note that the plugin works only in browsers based on xulrunner-1.9"
+ elog "such as Firefox 3 or Epiphany 2.24 and not in older versions!"
+ fi
+}
diff --git a/dev-java/icedtea6-bin/metadata.xml b/dev-java/icedtea6-bin/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/icedtea6-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>