Sync with portage [Fri Apr 15 15:17:41 MSK 2016].
This commit is contained in:
parent
3934fbe309
commit
f0288239ab
320 changed files with 2101 additions and 9063 deletions
|
@ -1 +1 @@
|
|||
DIST cli53-0.7.2.tar.gz 3268419 SHA256 ca038ffef15c31faab524c7fa8eb2136932e9380fa63e7f3e0710a902085769e SHA512 93db6cc237724492d4ad04f35b1485cc286ec5353809315a9db0c4df475d3a647934d92ba23a0d9bb0146ccac20b17c7fc60b8fe4e253b1051cb7ea5f243167b WHIRLPOOL d6e6ba9defc2f4c047b99413ab57d497fcb51537fdf84299ff60ae585e1c1e4f2ed90522de682d1dd7f128bf6edf1e6fb4698f5da0bd2e9637dfc4a7588c3f40
|
||||
DIST cli53-0.7.3.tar.gz 3268731 SHA256 0f14e8a17ed00ed7ac7b6d7ecc8bbba1a0fdbbd415e8c93f74b59d3f7988d067 SHA512 7472c5165b18dba611c46adcf5cc328d077ffcecaca6cb569abece47e3cc367a135072c180807a3cbc8e087a1725eac20f884e061ccfc46db59eb6bc6e13bcf6 WHIRLPOOL 5b43703d2301e8b3d5b9f34f1efb6fe7a72f78be48cc0836134a8a92ed24f643f19dd36d0b1b9a08d5d863fce8acfe1e73f1b012e211644c00df5a10801591d9
|
||||
|
|
|
@ -21,6 +21,10 @@ src_compile() {
|
|||
GOPATH="${WORKDIR}/${P}" emake version=${PV} build
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${WORKDIR}/${P}" go test -v || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin cli53
|
||||
dodoc {CHANGELOG,README}.md
|
|
@ -1,2 +1,3 @@
|
|||
DIST 134003-kencfs-1.5.0.tar.gz 156217 SHA256 b53314fe022b6fb20d427a6c9a1d08be5df87823754a7d22724a9f3960fe24f0 SHA512 0168a0241c9e2e614b5d796c02cc9103596040e4cdd1349c250f0d25d20bfe7f8c3ad6f192f57e5b519d83ffdaec8eabf389d3d0286da282cfe42e78e5c966f3 WHIRLPOOL 42964b27d48ef3a816f657d417a044f2d60bd7d895bdaa2701d96e9c666f60d0e967ddf9536033f1d3207181973f9524cd1b29897b3ab2527a58edef329704e4
|
||||
DIST 134003-kencfs-1.6.0.tar.gz 228330 SHA256 b02f6485920bbd9e13d0730f2f5dd5d99c9b169696bf24d0c83f51c845d135ef SHA512 74029fbea134b34106d6b18865bea9e6061769626d9d04cea84166e7be97cdd3ccea80c480f3aedc005727526fdea3bb4a9499e65f584946ef68aa016ba9b611 WHIRLPOOL dffb413b79ef2c91fe68bc92762c69f5f51cf30673e71c6728156785e2595d2e587f3e69abec225f4b7af1c808d2f0af329b2ddece9f8d69e86a0b74e815cdc9
|
||||
DIST 134003-kencfs-1.6.2.tar.gz 229438 SHA256 0bb719a55d8c19ccd03b3a945c5aa747072309673e3c7570c2f453926e05fd8b SHA512 7a7c66e9e492e10239663b41a55161fcce32b25bbb2d4abe9bc5d853c71df41dd28af4ba695274ff0138708a5c50faeb45bccbe103ec571fbea8808b20807802 WHIRLPOOL b58a82cd26beebf089bb6bdfa895be769489f3b7086dc02780b738b0a46ae2e3914655711c046e7106f043501da2304b47a2f08fb430dea76920087c38553e6e
|
||||
|
|
11
app-crypt/kencfs/files/kencfs-1.6.2-desktop.patch
Normal file
11
app-crypt/kencfs/files/kencfs-1.6.2-desktop.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/kencfs.desktop
|
||||
+++ b/kencfs.desktop
|
||||
@@ -2,7 +2,7 @@
|
||||
Name=KEncFS
|
||||
Exec=kencfs
|
||||
Icon=kencfs/kencfs-icon
|
||||
-Categories=System;Security
|
||||
+Categories=Qt;KDE;System;Security;
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=false
|
46
app-crypt/kencfs/kencfs-1.6.2.ebuild
Normal file
46
app-crypt/kencfs/kencfs-1.6.2.ebuild
Normal file
|
@ -0,0 +1,46 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="GUI frontend for encfs"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php?content=134003"
|
||||
SRC_URI="http://kde-apps.org/CONTENT/content-files/134003-${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
kde-base/kdelibs:4
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
kde-apps/kwalletd:4
|
||||
sys-fs/encfs
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.4.0-encfs5.patch"
|
||||
"${FILESDIR}/${PN}-1.6.2-desktop.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i ${PN}.pro -e "/^doc.path =/s/${PN}/${PF}/" \
|
||||
|| die "sed docdir failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
}
|
|
@ -5,7 +5,12 @@
|
|||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">cernekee/stoken</remote-id>
|
||||
<bugs-to>https://github.com/cernekee/stoken/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
stoken is an open source tokencode generator compatible with RSA SecurID 128-bit (AES) tokens. It is a hobbyist project, not affiliated with or endorsed by RSA Security.
|
||||
stoken is an open source tokencode generator compatible with RSA SecurID 128-bit (AES) tokens.
|
||||
It is a hobbyist project, not affiliated with or endorsed by RSA Security.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -6,16 +6,18 @@ EAPI="6"
|
|||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="stoken - Software Token for Linux/UNIX"
|
||||
HOMEPAGE="http://stoken.sourceforge.net/"
|
||||
SRC_URI="http://github.com/cernekee/stoken/archive/v${PV}.tar.gz"
|
||||
DESCRIPTION="Software Token for Linux/UNIX"
|
||||
HOMEPAGE="https://github.com/cernekee/stoken"
|
||||
SRC_URI="https://github.com/cernekee/${PN}/archive/v${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="gtk"
|
||||
|
||||
RDEPEND="gtk? ( x11-libs/gtk+:2 )"
|
||||
RDEPEND="
|
||||
|| ( dev-libs/nettle dev-libs/libtomcrypt )
|
||||
gtk? ( >=x11-libs/gtk+-3.12:3 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
|
@ -26,12 +28,3 @@ src_prepare() {
|
|||
src_configure() {
|
||||
econf $(use_with gtk)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc CHANGES COPYING.LIB README.md TODO
|
||||
doman stoken.1
|
||||
if use gtk ; then
|
||||
doman stoken-gui.1
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
|
|||
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
S="${WORKDIR}/${ROOT_PN}"
|
||||
fi
|
||||
|
@ -23,11 +23,11 @@ fi
|
|||
inherit eutils multilib virtualx
|
||||
|
||||
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
|
||||
HOMEPAGE="http://root.cern.ch/drupal"
|
||||
HOMEPAGE="https://root.cern.ch"
|
||||
SRC_URI="${SRC_URI}
|
||||
math? (
|
||||
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
|
||||
http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
|
||||
api? (
|
||||
${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
|
|||
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
S="${WORKDIR}/${ROOT_PN}"
|
||||
fi
|
||||
|
@ -23,11 +23,11 @@ fi
|
|||
inherit eutils multilib virtualx
|
||||
|
||||
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
|
||||
HOMEPAGE="http://root.cern.ch/drupal"
|
||||
HOMEPAGE="https://root.cern.ch"
|
||||
SRC_URI="${SRC_URI}
|
||||
math? (
|
||||
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
|
||||
http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
|
||||
api? (
|
||||
${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]] ; then
|
|||
EVCS_OFFLINE=yes # we need exactly the same checkout as root itself
|
||||
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
|
||||
else
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
S="${WORKDIR}/${ROOT_PN}-${PV}"
|
||||
fi
|
||||
|
@ -22,11 +22,11 @@ fi
|
|||
inherit eutils multilib virtualx
|
||||
|
||||
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
|
||||
HOMEPAGE="http://root.cern.ch/drupal"
|
||||
HOMEPAGE="https://root.cern.ch"
|
||||
SRC_URI="${SRC_URI}
|
||||
math? (
|
||||
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
|
||||
http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
|
||||
api? (
|
||||
${HOMEPAGE}/sites/default/files/images/root6-banner.jpg
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
|
@ -14,11 +14,11 @@ PYTHON_COMPAT=( python2_7 )
|
|||
inherit eutils multilib virtualx python-any-r1
|
||||
|
||||
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
|
||||
HOMEPAGE="http://root.cern.ch/drupal"
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz
|
||||
HOMEPAGE="https://root.cern.ch"
|
||||
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz
|
||||
math? (
|
||||
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
|
||||
http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
|
||||
api? (
|
||||
${HOMEPAGE}/sites/default/files/images/root6-banner.jpg
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
DIST docker-compose-1.5.2.tar.gz 106583 SHA256 79aa7e2e6ef9ab1936f8777476ffd4bb329875ec3d3664d239896d2f2a3c4f4f SHA512 be671503bbb91fdb5fdf9ff593f28d290d1c65738d055629d8252cf4c4eea7f5931a1e1d6d7a0b27640166671ecb095b413cb694b768437be3ec207e059f4ccc WHIRLPOOL bb12df93739329b9577db41a317a22976dc97ca1d1d3dd72e2ff4b8c245caf106f1aab466d42ffa7b9e6a7bf6f628f8977d2700460591051dade074535f0175e
|
||||
DIST docker-compose-1.6.2.tar.gz 128730 SHA256 264e2cbdd3fa314ba75f2681d10b0cff8d989a62979c1ba42d15a6d4c4002482 SHA512 7254a7e88b9030eeac87c1c6abfeea12e978519cc4e0236e37537c3143198d448e504107b1599b355a3c75e03e0acbd6fe552d0ff482cd3e91772d759a85544a WHIRLPOOL 3755ef9c189bd08f5bb810bf527041393ab788dcd302e6f1553989de73375ba34e062d2b21c10b144132ce9eb3997310b683b1b5b46aaf992fedfaa652deb6b2
|
||||
DIST docker-compose-1.7.0.tar.gz 141480 SHA256 6fbf82d2df4bf1f9a614ea0100ac34e5b6e8cf95fab5a7e60a09d44a09da8576 SHA512 cd2f326b453c597e92a9869f014f7365adff4717163c30454c516ded84622d300e3a2ebabc5645ea3011e5aadc9fc34828db8da4bc122d07c9ccad5aae162c12 WHIRLPOOL 88e0fd717216a14ce7f85a6087e58659efe150851bcbdea26d0c9ca3073127dc32096228ef77451fc94c86254bb505fe1ef3e5baf0b266097a09f3496db87aa9
|
||||
DIST docker-compose-1.7.0_rc1.tar.gz 140008 SHA256 ae4777e14fa64d2016f2dcbca34b39e2976150ca324241b68b5a82f753ee08ef SHA512 3405f59fae198633f7bb8ac8d9c94294d221751a551a91a96ac131f520cabec068a5aa4ba502c5e8eb9a3907e6f8527de2e39a12a66980ad978cb5b7d96cac06 WHIRLPOOL 82e2226a0fdf06b25da3da27ddf53739c0e583e290ce94747298c75aee5f8f37b353d1bcf1fe7e57e20daa53637ac36d9fb1787e8243176c7108f38e5a697b42
|
||||
|
|
66
app-emulation/docker-compose/docker-compose-1.7.0.ebuild
Normal file
66
app-emulation/docker-compose/docker-compose-1.7.0.ebuild
Normal file
|
@ -0,0 +1,66 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
||||
|
||||
MY_PV=${PV//_/}
|
||||
|
||||
DESCRIPTION="Multi-container orchestration for Docker"
|
||||
HOMEPAGE="https://www.docker.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/cached-property-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
||||
<dev-python/dockerpty-0.5[${PYTHON_USEDEP}]
|
||||
>dev-python/docker-py-1.7.2[${PYTHON_USEDEP}]
|
||||
<dev-python/docker-py-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
||||
<dev-python/docopt-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/six-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/texttable-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
|
||||
<dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
$(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -13,6 +13,10 @@
|
|||
<email>printing@gentoo.org</email>
|
||||
<name>Gentoo Printing Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>office@gentoo.org</email>
|
||||
<description>Please CC on stabilisation bugs</description>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="nss">Enable signatures handling with <pkg>dev-libs/nss</pkg></flag>
|
||||
<flag name="utils">Install command-line PDF converters and various utilities.</flag>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
DIST ikvmsrc-0.46.0.1.zip 1870376 SHA256 901e8b990cf6d0fc9f8a18179e040cdba8a2fa00ac5658eded5c9ea4665f6423 SHA512 83c0dbaf0ea229fb8046d0f6016bfe1990c88639fd5d162afea3330441ec627edcb93de903e5fa3d73062c917574441bac832c2d61144626e70b3324dfdbf9f4 WHIRLPOOL ee837a2d9c038ec2fdfec93ed2cd0ec162bf4e081b8a0f0fe8b9bab62eada13f72cf8a8c5a8c83600b415d89dd5b0a539056e169ea79d8eb885298ddf91e3533
|
||||
DIST ikvmsrc-0.46.0.2.zip 1873662 SHA256 25afda0b29a2562ffb8f0a457204bde1008c8d255abaf45c3a09b13f7eba5f06 SHA512 79976ef9f90a691a607740d4efd338ed8ee86061298ebf3a5b3c660bed779e54bb7fe80548fc1eed78ce35fbdcccb460b656960a2c464377fcfcb98c2c6ed12b WHIRLPOOL 5c7f6c800c5b4670fb9e9a45161059233edf06b0440e7428217b03f400f29a46a0b0fd253bbc5d608ab5be7d0edac78b98efe6dbf219b72e960d5d51731b6a26
|
||||
DIST ikvmsrc-7.1.4532.2.zip 2102200 SHA256 3f22b9171b56a7600f28c42828898772bcd37c996d15b219c1b9ba08aa4c12e0 SHA512 889e23ce9cdc9abff98c54e5e02b9798ab908c37ecb6b8b0733d7b6e8e813c939ab91daa6ae57a0abd4fa90365c395231de5c9596fd77bdf1b15505c6b46abb1 WHIRLPOOL 5cf5e210b21b2697a489b0d6d40321d9f4cf89e92b2d280fa6686583836821d3bb613ce9af1bbde772fda5a0373dac20f7a09f4852d5c59ecef2bd65bce82235
|
||||
DIST openjdk-7u4-stripped.zip 55617337 SHA256 d85b89b452ecdb46309ec39b28e283813660bb8b8399d4c222d3ff1a83b971f9 SHA512 3f4d32994c9a078b68ae6da13770c249561240a01840f88094e139b0297b25e37a2acd3ef74fa14a830be5aa43c693b3ecf1c745dbc7051c4b2e1816c397e9a1 WHIRLPOOL b7690de8c31acb4b3a62fdd132bcf33b2264559e64a116d75fed3a3edeb570345ade582377d2d824d2ab5831a0865b5b1c51f7a514285935696be3cef5079b1b
|
||||
DIST openjdk6-b22-stripped.zip 51279392 SHA256 32af924f320118b242c1bce4828abbe4c11120dd144c012ce2f5d88b75d2f568 SHA512 e0cd896c80e3b10aaa1b1128ea63b062c7de0539188d66f2ae081d420c6f467b1aa8fdbc5fe4cb366c89ed2880560b287e9af5e8312d36903a46f23d1bbbe791 WHIRLPOOL 7d86ea0693e371273ea160ba20daafe7b8d9453687a3e21f81ef239f4186cafcc367950a1117a14da21b212831baebfab9a03f87166f7cd6a598811cc73e3a10
|
|
@ -1,61 +0,0 @@
|
|||
Author: Jo Shields
|
||||
Description: This patch ensures that rather than trying to use the Mono Crypto
|
||||
Description: Service Provider to retrieve a signing key (CSP is not safe to
|
||||
Description: run with fakeroot), we simply hard-code the path to a bundled key
|
||||
Description: file
|
||||
Index: ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:24:45.000000000 +0100
|
||||
+++ ikvm/ikvm-0.46.0.1/CommonAssemblyInfo.cs.in 2011-07-05 01:28:22.000000000 +0100
|
||||
@@ -33,5 +33,6 @@
|
||||
|
||||
#if SIGNCODE
|
||||
#pragma warning disable 1699
|
||||
- [assembly: AssemblyKeyName("ikvm-key")]
|
||||
+ [assembly: AssemblyDelaySign(false)]
|
||||
+ [assembly: AssemblyKeyFile("../mono.snk")]
|
||||
#endif
|
||||
Index: ikvm/ikvm-0.46.0.1/ikvm.build
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:24:45.000000000 +0100
|
||||
+++ ikvm/ikvm-0.46.0.1/ikvm.build 2011-07-05 01:33:07.000000000 +0100
|
||||
@@ -6,8 +6,8 @@
|
||||
</target>
|
||||
<target name="signed">
|
||||
<property name="signed" value="SIGNCODE" />
|
||||
- <property name="signoption" value="-key:ikvm-key" />
|
||||
- <property name="ilasm_signoption" value="/key:@ikvm-key" />
|
||||
+ <property name="signoption" value="-keyfile:../mono.snk" />
|
||||
+ <property name="ilasm_signoption" value="/key:../mono.snk" />
|
||||
<call target="managed" />
|
||||
</target>
|
||||
<target name="managed" depends="clean-managed CommonAssemblyInfo">
|
||||
Index: ikvm/ikvm-0.46.0.1/runtime/runtime.build
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:24:45.000000000 +0100
|
||||
+++ ikvm/ikvm-0.46.0.1/runtime/runtime.build 2011-07-05 01:32:53.000000000 +0100
|
||||
@@ -7,8 +7,8 @@
|
||||
</target>
|
||||
<target name="signed">
|
||||
<property name="signed" value="SIGNCODE" />
|
||||
- <property name="signoption" value="-key:ikvm-key" />
|
||||
- <property name="ilasm_signoption" value="/key:@ikvm-key" />
|
||||
+ <property name="signoption" value="-keyfile:../../mono.snk" />
|
||||
+ <property name="ilasm_signoption" value="/key:../../mono.snk" />
|
||||
<call target="IKVM.Runtime" />
|
||||
</target>
|
||||
|
||||
Index: ikvm/ikvm-0.46.0.1/tools/pubkey.cs
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:24:45.000000000 +0100
|
||||
+++ ikvm/ikvm-0.46.0.1/tools/pubkey.cs 2011-07-05 01:28:22.000000000 +0100
|
||||
@@ -29,7 +29,8 @@
|
||||
|
||||
#if SIGNCODE
|
||||
#pragma warning disable 1699
|
||||
- [assembly: AssemblyKeyName("ikvm-key")]
|
||||
+ [assembly: AssemblyDelaySign(false)]
|
||||
+ [assembly: AssemblyKeyFile("../mono.snk")]
|
||||
#endif
|
||||
|
||||
class PublicKey
|
|
@ -1,11 +0,0 @@
|
|||
--- openjdk/sun/print/Win32PrintService.java.orig 2012-02-26 17:56:16.751000012 +0100
|
||||
+++ openjdk/sun/print/Win32PrintService.java 2012-02-26 17:56:37.182000012 +0100
|
||||
@@ -119,7 +119,7 @@
|
||||
Chromaticity.class
|
||||
};
|
||||
|
||||
- // conversion from 1/100 Inch (.NET) to µm (Java)
|
||||
+ // conversion from 1/100 Inch (.NET) to m (Java)
|
||||
private static final int INCH100_TO_MYM = 254;
|
||||
private static final int MATCH_DIFF = 500; // 0.5 mm
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
Author: Jo Shields
|
||||
Description: This patch ensures that rather than trying to use the Mono Crypto
|
||||
Description: Service Provider to retrieve a signing key (CSP is not safe to
|
||||
Description: run with fakeroot), we simply hard-code the path to a bundled key
|
||||
Description: file
|
||||
Index: ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:29:25.080047165 +0000
|
||||
+++ ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:30:58.092593303 +0000
|
||||
@@ -33,5 +33,6 @@
|
||||
|
||||
#if SIGNCODE
|
||||
#pragma warning disable 1699
|
||||
- [assembly: AssemblyKeyName("ikvm-key")]
|
||||
+ [assembly: AssemblyDelaySign(false)]
|
||||
+ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
|
||||
#endif
|
||||
Index: ikvm/ikvm-7.0.4335.0/ikvm.build
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:29:57.152235493 +0000
|
||||
+++ ikvm/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:30:48.348536094 +0000
|
||||
@@ -6,8 +6,8 @@
|
||||
</target>
|
||||
<target name="signed">
|
||||
<property name="signed" value="SIGNCODE" />
|
||||
- <property name="signoption" value="-key:ikvm-key" />
|
||||
- <property name="ilasm_signoption" value="/key:@ikvm-key" />
|
||||
+ <property name="signoption" value="-keyfile:../../debian/mono.snk" />
|
||||
+ <property name="ilasm_signoption" value="/key:../../debian/mono.snk" />
|
||||
<call target="managed" />
|
||||
</target>
|
||||
<target name="managed" depends="clean-managed CommonAssemblyInfo">
|
||||
Index: ikvm/ikvm-7.0.4335.0/runtime/runtime.build
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:20.084722420 +0000
|
||||
+++ ikvm/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:47.120881144 +0000
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
<target name="signed">
|
||||
<property name="signed" value="SIGNCODE" />
|
||||
- <property name="signoption" value="-key:ikvm-key" />
|
||||
- <property name="ilasm_signoption" value="/key:@ikvm-key" />
|
||||
+ <property name="signoption" value="-keyfile:../../../debian/mono.snk" />
|
||||
+ <property name="ilasm_signoption" value="/key:../../../debian/mono.snk" />
|
||||
<call target="full" />
|
||||
</target>
|
||||
|
||||
Index: ikvm/ikvm-7.0.4335.0/tools/pubkey.cs
|
||||
===================================================================
|
||||
--- ikvm.orig/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:30.479726527 +0000
|
||||
+++ ikvm/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:58.927893592 +0000
|
||||
@@ -29,7 +29,8 @@
|
||||
|
||||
#if SIGNCODE
|
||||
#pragma warning disable 1699
|
||||
- [assembly: AssemblyKeyName("ikvm-key")]
|
||||
+ [assembly: AssemblyDelaySign(false)]
|
||||
+ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
|
||||
#endif
|
||||
|
||||
class PublicKey
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
++ ikvm-0.40.0.1+dfsg/debian/mono.snk.uu
|
||||
|
||||
begin 644 mono.snk
|
||||
M!P(````D``!24T$R``0```$``0!Y%9EWTM`ZCFOJ>BYTZ-&OS)/HA1ETE2NT
|
||||
M@*$LD31'300&)$?#?@YHP(!3;\\\/[XO^<EYSIF$=>4&Z,Z"W5L/-0W!#I._
|
||||
M+N[/ATLD=PQ0@=OJ=$?]VOHG>R+>1];_ZD26=*3Y_,^$T5!I").`*$V]TU]&
|
||||
MS?\2H;UXY.\`9=`6WTW&V[S-/V")DAN)G[17F@RI:B)C5#D%RJ56:#^3AH,C
|
||||
M]@&$<!=,R%8*<F"H`S/!I(,;/V3OE6!0!Z`&H,SN[/;=^?:,:CB8!<'N2$.%
|
||||
M7H%/2X3=?@$W-)2"1)`'WV\2@53=A6JBUHW;N?U!-S]<EJ/Y6HW9F4=Z::0K
|
||||
MC=$/H4GG7;O3OP\,QS/*+(.1##JVL!^\0:S9KUORVJ*OY?23U1C</20JL+MN
|
||||
MY*-:I&QG!TAKRN5Z7%,_D!Y@^\S6+41[9`GU8FWBY@M+$ZS&#K(\<<GX`1GJ
|
||||
MQT-7=!]>W>!$Z8GJN;LFRG+&@,&'^&J!2YL4]D*X*;XW'`$9-D,ZEH"`T-L\
|
||||
MPU"47K=X!%N$=E*!_.5#/%'9DL*<%>?&(60?[(CZ_.8[1Y0B%U'\GL:UQF`P
|
||||
M\@6'"3BB@G]:IBH-9]TTGER_$0GG'@?>3)<Z'^>B^*J&Y5W-W,A=.\\4*>\+
|
||||
M*L(^3D9>^G_9U9<N]IZ?;39PJI<OLPD/L8E-C/%(BQS6L2^W1E])]Z#[M2YD
|
||||
MR\0O7F0E1BOXBHJE$K'XC#U1H="B6>7:7^IZ$+.NG,][`/4*::QS_SFM!W[`
|
||||
+"5R_0#E/%?%_J<\`
|
||||
`
|
||||
end
|
|
@ -1,99 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils mono multilib java-pkg-2
|
||||
|
||||
DESCRIPTION="Java VM for .NET"
|
||||
HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/"
|
||||
SRC_URI="http://www.frijters.net/openjdk6-b22-stripped.zip
|
||||
http://www.frijters.net/${PN}src-${PV}.zip"
|
||||
LICENSE="ZLIB GPL-2-with-linking-exception"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/mono-2
|
||||
dev-libs/glib"
|
||||
DEPEND="${RDEPEND}
|
||||
!dev-dotnet/ikvm-bin
|
||||
>=dev-dotnet/nant-0.85
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
app-arch/sharutils"
|
||||
|
||||
src_prepare() {
|
||||
# We cannot rely on Mono Crypto Service Provider as it doesn't work inside
|
||||
# sandbox, we simply hard-code the path to a bundled key like Debian does.
|
||||
epatch "${FILESDIR}"/${PN}-0.46.0.1-key.patch
|
||||
uudecode < "${FILESDIR}"/mono.snk.uu || die
|
||||
|
||||
# Ensures that we use Mono's bundled copy of SharpZipLib instead of relying
|
||||
# on ikvm-bin one
|
||||
sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
|
||||
ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
|
||||
|
||||
sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
|
||||
native/native.build || die
|
||||
|
||||
mkdir -p "${T}"/home/test
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed"
|
||||
}
|
||||
|
||||
generate_pkgconfig() {
|
||||
ebegin "Generating .pc file"
|
||||
local dll LSTRING="Libs:"
|
||||
dodir "/usr/$(get_libdir)/pkgconfig"
|
||||
cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
|
||||
prefix=/usr
|
||||
exec_prefix=\${prefix}
|
||||
libdir=\${prefix}/$(get_libdir)
|
||||
Name: IKVM.NET
|
||||
Description: An implementation of Java for Mono and the Microsoft .NET Framework.
|
||||
Version: ${PV}
|
||||
EOF
|
||||
for dll in "${S}"/bin/IKVM.*.dll
|
||||
do
|
||||
LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}"
|
||||
done
|
||||
printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
|
||||
PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dll dllbase exe
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins bin/*.exe
|
||||
|
||||
dodir /bin
|
||||
for exe in bin/*.exe
|
||||
do
|
||||
exebase=${exe##*/}
|
||||
ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}"
|
||||
make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}"
|
||||
eend $? || die "Failed generating wrapper for ${exebase}"
|
||||
done
|
||||
|
||||
generate_pkgconfig || die "generating .pc failed"
|
||||
|
||||
for dll in bin/IKVM.*.dll
|
||||
do
|
||||
dllbase=${dll##*/}
|
||||
ebegin "Installing and registering ${dllbase}"
|
||||
gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \
|
||||
-gacdir /usr/$(get_libdir) -package IKVM &>/dev/null
|
||||
eend $? || die "Failed installing ${dllbase}"
|
||||
done
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils mono multilib java-pkg-2
|
||||
|
||||
DESCRIPTION="Java VM for .NET"
|
||||
HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/"
|
||||
SRC_URI="http://www.frijters.net/openjdk6-b22-stripped.zip
|
||||
http://www.frijters.net/${PN}src-${PV}.zip"
|
||||
LICENSE="ZLIB GPL-2-with-linking-exception"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/mono-2
|
||||
dev-libs/glib"
|
||||
DEPEND="${RDEPEND}
|
||||
!dev-dotnet/ikvm-bin
|
||||
>=dev-dotnet/nant-0.85
|
||||
virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
app-arch/sharutils"
|
||||
|
||||
src_prepare() {
|
||||
# Fix unmappable character for encoding ASCII, bug #399729
|
||||
epatch "${FILESDIR}"/${PN}-0.46.0.2-unmappable-character.patch
|
||||
|
||||
# We cannot rely on Mono Crypto Service Provider as it doesn't work inside
|
||||
# sandbox, we simply hard-code the path to a bundled key like Debian does.
|
||||
epatch "${FILESDIR}"/${PN}-0.46.0.1-key.patch
|
||||
uudecode < "${FILESDIR}"/mono.snk.uu || die
|
||||
|
||||
# Ensures that we use Mono's bundled copy of SharpZipLib instead of relying
|
||||
# on ikvm-bin one
|
||||
sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
|
||||
ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
|
||||
|
||||
sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
|
||||
native/native.build || die
|
||||
|
||||
mkdir -p "${T}"/home/test
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed"
|
||||
}
|
||||
|
||||
generate_pkgconfig() {
|
||||
ebegin "Generating .pc file"
|
||||
local dll LSTRING="Libs:"
|
||||
dodir "/usr/$(get_libdir)/pkgconfig"
|
||||
cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
|
||||
prefix=/usr
|
||||
exec_prefix=\${prefix}
|
||||
libdir=\${prefix}/$(get_libdir)
|
||||
Name: IKVM.NET
|
||||
Description: An implementation of Java for Mono and the Microsoft .NET Framework.
|
||||
Version: ${PV}
|
||||
EOF
|
||||
for dll in "${S}"/bin/IKVM.*.dll
|
||||
do
|
||||
LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}"
|
||||
done
|
||||
printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
|
||||
PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dll dllbase exe
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins bin/*.exe
|
||||
|
||||
dodir /bin
|
||||
for exe in bin/*.exe
|
||||
do
|
||||
exebase=${exe##*/}
|
||||
ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}"
|
||||
make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}"
|
||||
eend $? || die "Failed generating wrapper for ${exebase}"
|
||||
done
|
||||
|
||||
generate_pkgconfig || die "generating .pc failed"
|
||||
|
||||
for dll in bin/IKVM.*.dll
|
||||
do
|
||||
dllbase=${dll##*/}
|
||||
ebegin "Installing and registering ${dllbase}"
|
||||
gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \
|
||||
-gacdir /usr/$(get_libdir) -package IKVM &>/dev/null
|
||||
eend $? || die "Failed installing ${dllbase}"
|
||||
done
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils mono multilib java-pkg-2
|
||||
|
||||
DESCRIPTION="Java VM for .NET"
|
||||
HOMEPAGE="http://www.ikvm.net/ http://weblog.ikvm.net/"
|
||||
SRC_URI="http://www.frijters.net/openjdk-7u4-stripped.zip
|
||||
http://www.frijters.net/${PN}src-${PV}.zip"
|
||||
LICENSE="ZLIB GPL-2-with-linking-exception"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/mono-2
|
||||
dev-libs/glib"
|
||||
DEPEND="${RDEPEND}
|
||||
!dev-dotnet/ikvm-bin
|
||||
>=dev-dotnet/nant-0.85
|
||||
virtual/jdk:1.7
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
app-arch/sharutils"
|
||||
|
||||
src_prepare() {
|
||||
# We cannot rely on Mono Crypto Service Provider as it doesn't work inside
|
||||
# sandbox, we simply hard-code the path to a bundled key like Debian does.
|
||||
epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch
|
||||
mkdir -p ../debian/ || die
|
||||
uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die
|
||||
|
||||
# Ensures that we use Mono's bundled copy of SharpZipLib instead of relying
|
||||
# on ikvm-bin one
|
||||
sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
|
||||
ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
|
||||
|
||||
sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
|
||||
native/native.build || die
|
||||
|
||||
mkdir -p "${T}"/home/test
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed"
|
||||
}
|
||||
|
||||
generate_pkgconfig() {
|
||||
ebegin "Generating .pc file"
|
||||
local dll LSTRING="Libs:"
|
||||
dodir "/usr/$(get_libdir)/pkgconfig"
|
||||
cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
|
||||
prefix=/usr
|
||||
exec_prefix=\${prefix}
|
||||
libdir=\${prefix}/$(get_libdir)
|
||||
Name: IKVM.NET
|
||||
Description: An implementation of Java for Mono and the Microsoft .NET Framework.
|
||||
Version: ${PV}
|
||||
EOF
|
||||
for dll in "${S}"/bin/IKVM.*.dll
|
||||
do
|
||||
LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}"
|
||||
done
|
||||
printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
|
||||
PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dll dllbase exe
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins bin/*.exe
|
||||
|
||||
dodir /bin
|
||||
for exe in bin/*.exe
|
||||
do
|
||||
exebase=${exe##*/}
|
||||
ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}"
|
||||
make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}"
|
||||
eend $? || die "Failed generating wrapper for ${exebase}"
|
||||
done
|
||||
|
||||
generate_pkgconfig || die "generating .pc failed"
|
||||
|
||||
for dll in bin/IKVM.*.dll
|
||||
do
|
||||
dllbase=${dll##*/}
|
||||
ebegin "Installing and registering ${dllbase}"
|
||||
gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \
|
||||
-gacdir /usr/$(get_libdir) -package IKVM &>/dev/null
|
||||
eend $? || die "Failed installing ${dllbase}"
|
||||
done
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>dotnet@gentoo.org</email>
|
||||
<name>Gentoo Dotnet Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_SUPPORTS_GENERATION_1="true"
|
||||
inherit java-vm-2 eutils
|
||||
|
||||
DESCRIPTION="Links to Apple's version of Sun's J2SE Development Kit"
|
||||
HOMEPAGE="http://java.sun.com/j2se/1.6.0/"
|
||||
SLOT="1.6"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="-* ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
JAVA_PROVIDE="jdbc-stdext"
|
||||
|
||||
APPLE_JAVA_DIR="/System/Library/Frameworks/JavaVM.framework/Versions/${PV}/Home"
|
||||
|
||||
pkg_preinst() {
|
||||
[[ ! -d ${APPLE_JAVA_DIR} ]] && die "Java 6 not installed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dirs="bin include lib man"
|
||||
dodir /opt/${P}
|
||||
|
||||
for d in ${dirs}; do
|
||||
ln -s "${APPLE_JAVA_DIR}"/${d} "${ED}"/opt/${P}/${d}
|
||||
done
|
||||
# Apple just puts al JRE stuff in the Home dir next to the JDK stuff,
|
||||
# "emulate" it to make the wrappers happy
|
||||
ln -s "${APPLE_JAVA_DIR}" "${ED}"/opt/${P}/jre
|
||||
|
||||
# create dir for system preferences
|
||||
dodir /opt/${P}/.systemPrefs
|
||||
# Create files used as storage for system preferences.
|
||||
touch "${ED}/opt/${P}/.systemPrefs/.system.lock"
|
||||
chmod 644 "${ED}/opt/${P}/.systemPrefs/.system.lock"
|
||||
touch "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
|
||||
chmod 644 "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
|
||||
|
||||
set_java_env
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Set as default VM if none exists
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
elog "Note: you're using your OSX (pre-)installed Java installation"
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Apple's Sun JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JAVAC=${JAVA_HOME}/bin/javac
|
||||
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${JAVA_HOME}/jre/javaws"
|
||||
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${JAVA_HOME}/jre/javaws"
|
||||
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/classic/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
|
||||
MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.4"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.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"
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Apple's Sun JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.5"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.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"
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Apple's Sun JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.6"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.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"
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>prefix@gentoo.org</email>
|
||||
<name>Gentoo Prefix</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -4,3 +4,4 @@ DIST asm-3.3.1.tar.gz 854626 SHA256 69a523d41c82d7979c9b47271e31187e23c064e1d2a9
|
|||
DIST asm-4.0.tar.gz 752187 SHA256 feb2b078f10d420b6ab04cca136db1b57935170d53d12c64d381e118185c7b0e SHA512 642bc32fc0310b8e4291386866e53ba62802f2ae888163cd6e879232bbe3c3728c3a135aa667f91aec5bbb743621c2ee2d2a1a1d1ccb36c5249874a5ba9b08db WHIRLPOOL 8ac20fd836a97572c0b449637491e31a01d29f65eac71cf5412ae0948d1264ed098fd9fbe6ee51af386b78c25bef38c6878693144875e3f29692ad6daf320bd0
|
||||
DIST asm-5.0.3.tar.gz 781742 SHA256 36e8b760d40898cce83e913e78cf6e631a6a3dc3b448895bb35c02d298c21c4b SHA512 fb2fbddbd01ec6d355d5f218db801512a160b505e91c4ad81cc1a0f1265c358cf8df6140c216e2d5acc109dc2286c29de6bf5b60b29a094e70c96070a54b20af WHIRLPOOL e93cbf659b224d50b8a0971ceaacbcb72acfbf23347baf4a9875e647c5f43b70587a5e24ea01f3ecb57eee31e0550144b59d55e97daafba9d76158427518f667
|
||||
DIST asm-5.0.4.tar.gz 781781 SHA256 3e6e25f1013ec016bd11c90ee41faa6226b5bd50385d0cd51df8a81d2db3525d SHA512 997b77ff45a3b1538d75e64700556f1e405f84aac5d99536b77338714c5dc2e7f973b2a6507f75d56e50a146a4744698e8e35cd4714a9127e2b09bfb5f9a346e WHIRLPOOL df6c5d60dbbe5343cb6e216bd22c0ec5c2c24f350b0106c4938cc558fdfa99700717a8ec06505fddf2633d236a2774ffad0ddff81ee694ed0cc7b34476d32b61
|
||||
DIST asm-5.1.tar.gz 791417 SHA256 661b4824191ac40c6c670dcf43f6a9975d9d127af49c448d55e32ed7a5896e66 SHA512 de702516f9e16686c027c9a200a1750e6dcaee96bb1ed8bc0591673404d015b8817e37f210be645681dff7a2c31f7ddce8b406ccc8c6e11f1424e19c04c38f1e WHIRLPOOL 35913e6bb7e6d555444958baeee9d4276d8a2c9aaadad9920fc955cfdf0227ac82deadacc3586361d23435bd8956f7e248728b33cda5843976133a65f34b2a51
|
||||
|
|
45
dev-java/asm/asm-5.1.ebuild
Normal file
45
dev-java/asm/asm-5.1.ebuild
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
OLD_P="${PN}-4.0"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Bytecode manipulation framework for Java"
|
||||
HOMEPAGE="http://asm.ow2.org"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz
|
||||
http://download.forge.objectweb.org/${PN}/${OLD_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="4"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x64-macos"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
# Needs dependencies we don't have yet.
|
||||
RESTRICT="test"
|
||||
|
||||
EANT_DOC_TARGET="jdoc"
|
||||
|
||||
# Fails if this objectweb.ant.tasks.path is not set.
|
||||
# Java generics seem to break unless product.noshrink is set.
|
||||
EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true"
|
||||
|
||||
java_prepare() {
|
||||
# Borrow some ant scripts from an old version to avoid requiring
|
||||
# bndlib and friends. This may not work forever!
|
||||
cp -vf "../${OLD_P}/archive"/*.xml archive/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for x in output/dist/lib/*.jar ; do
|
||||
java-pkg_newjar "${x}" $(basename "${x%-*}.jar")
|
||||
done
|
||||
|
||||
use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST beansbinding-1.2.1-src.zip 236905 SHA256 ed77bd6e0351bb00832dd4248cb4a6a69f5ccd08cf41f2f3806ae3732b7f0aa4 SHA512 f617f0b5068c416bcaaa46fe141e9b8b1fec128403738093b205451f9bcd624d2588b9b77e0c67f6de97490f44a4cf7c5e58b1728d5d7d921bd861e3dfffb415 WHIRLPOOL 5545a5a3ee19c3b0170d4e57ebb8f39c58ec7599995db9e516caa9f5fd952dc89e5f8091f7ee2073689986e2d240d283bdb53b48ab8cdf6abe4bb72761062d62
|
||||
DIST beansbinding-1.2.1.zip 236905 SHA256 ed77bd6e0351bb00832dd4248cb4a6a69f5ccd08cf41f2f3806ae3732b7f0aa4 SHA512 f617f0b5068c416bcaaa46fe141e9b8b1fec128403738093b205451f9bcd624d2588b9b77e0c67f6de97490f44a4cf7c5e58b1728d5d7d921bd861e3dfffb415 WHIRLPOOL 5545a5a3ee19c3b0170d4e57ebb8f39c58ec7599995db9e516caa9f5fd952dc89e5f8091f7ee2073689986e2d240d283bdb53b48ab8cdf6abe4bb72761062d62
|
||||
|
|
27
dev-java/beansbinding/beansbinding-1.2.1-r3.ebuild
Normal file
27
dev-java/beansbinding/beansbinding-1.2.1-r3.ebuild
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Implementation of JSR295"
|
||||
HOMEPAGE="https://java.net/projects/beansbinding/"
|
||||
SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}-src.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
source? ( app-arch/zip )"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
|
@ -1,2 +1,3 @@
|
|||
DIST hamcrest-1.1.tgz 1670123 SHA256 a76cca2dbb38ac185f51f8551c964a356009c7adf1a19b5407f87352e2e438c8 SHA512 07b55c539ffcd3b1d33e94bec518164b95cefa39d96e0c3d02fc97c0a20f71bd8d1dea90a59ffd163e748ed1007b087c3d0d355876a68a429e8e564d0cfd3595 WHIRLPOOL 937d4fcde43a36eb19efb1b45e255389dcd18a853f90cc96e6421cec4db176708047e4c6de53ad7f3c11b29e4bc77725c3b70992239d9da420fa95c682615011
|
||||
DIST hamcrest-1.3.tgz 3686096 SHA256 c6428e40d069fff3f99780efaae96c35ebdbf7cbfd475504254ebffcc19620c2 SHA512 5672bc627bc71d6fd64b6f776b89ac16ed68819fa4a0748c1250b57f1065c1e7e18ba184d9fe3392e54000ddeb353d0d8d67f4eecdf464974563f05c6b226fc2 WHIRLPOOL 9edc85f8d988ba9e7d080e3240d02956775bb73857903a2ec2a72e80d5a1b8570111c97d7b9906951273a1a1db6213a77de9cc2c55a6c73246d45157fed11ed9
|
||||
DIST hamcrest-core-1.1.zip 1344232 SHA256 6263752f2f2174925711b486bb2f879af5a5b0495c15b554ba9fd46327e2b023 SHA512 af8d5d3a82df70a446f79f7247252595368820b0b54d8f612aa5b9bb3166c4664b97aaae338278f8f5d84add2d58d9c7a764e5e03a93588d3eba4472eaaa712b WHIRLPOOL d69463fd2b598dc9a0fcc9a29a9098c45eaae6164337f362c763fc5a588c08e17962101b9f2c6ea54a9f16f69b40d99d09c835d1f015e95d28cca48f14226f64
|
||||
|
|
36
dev-java/hamcrest-core/hamcrest-core-1.1-r1.ebuild
Normal file
36
dev-java/hamcrest-core/hamcrest-core-1.1-r1.ebuild
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PN="hamcrest"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Library of matchers for building test expressions"
|
||||
HOMEPAGE="https://github.com/hamcrest"
|
||||
SRC_URI="https://github.com/${MY_PN}/JavaHamcrest/archive/${MY_PN}-java-${PV}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
source? ( app-arch/zip )"
|
||||
|
||||
S="${WORKDIR}/JavaHamcrest-${MY_PN}-java-${PV}"
|
||||
|
||||
JAVA_SRC_DIR="${PN}/src"
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
DIST jdk6_16005_ia.depot 138004480 SHA256 2ce897f22aa9db11ff1cdda14475f36b5b761e0c024cbbd9313e5f2da44e067f SHA512 ce4814008b09b49af3af6b41a7181ae587a66fd6a99c1b6f32b2c7b3382db87845964b3c8c61bd668ef530b7d1e77f2ea342d58a16c7da26ff8cb05ca54c1137 WHIRLPOOL 6c571cc74ae14bebcae204922f0f688d3710d33e53d5a779df5f796d8b51783650037153080d183432d2b7a434000a0293cedc2eb654251a0e41d3a1033893e0
|
||||
DIST jdk6_16005_pa.depot 99102720 SHA256 4ed271f34d28194f83ca7271d91ca1731502c93811c9fb052aa102539c3da7f5 SHA512 e932028540dbf30bd2ac95819f6d2c6bd0e7b976007d63155fd089cf19d57f6f268a8ce6da562ad055aa158cc03c3ee7991c849471b0bbca35fd90bef99990c2 WHIRLPOOL 4b498e2854a7ade18965a8934ccb2f6fc71812370a50aa7902f82f31260259dbf79f7f975e8b4eadac0d46690fe18adc034be2f71ee3681ad13c2715cbaefc02
|
|
@ -1,15 +0,0 @@
|
|||
# Copyright 2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="HP JDK/JRE @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JAVAC="${JAVA_HOME}/bin/javac"
|
||||
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||
LDPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/jre/lib/@PLATFORM@:@GENTOO_PORTAGE_EPREFIX@/usr/lib"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.6"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH"
|
|
@ -1,145 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit java-vm-2 versionator eutils
|
||||
|
||||
DESCRIPTION="HP JDK/JRE and Plug-In"
|
||||
HOMEPAGE="http://www.hp.com/go/java"
|
||||
|
||||
LICENSE="HP-JDKJRE6"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="-* ~hppa-hpux ~ia64-hpux" # ~hppa64-hpux ~ia64w-hpux
|
||||
|
||||
IUSE="doc examples nsplugin"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
JAVA_RELEASE=$(get_after_major_version)
|
||||
HP_RELEASE_NAME="${JAVA_RELEASE} - Oct 09"
|
||||
MY_PV=$(delete_all_version_separators ${JAVA_RELEASE})
|
||||
|
||||
DOWNLOADPAGE="https://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=JDKJRE${MY_PV}"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
PA_JDK_DIST="jdk6_1${MY_PV}_pa.depot"
|
||||
IA_JDK_DIST="jdk6_1${MY_PV}_ia.depot"
|
||||
|
||||
SRC_URI="
|
||||
hppa-hpux? ( ${PA_JDK_DIST} )
|
||||
ia64-hpux? ( ${IA_JDK_DIST} )
|
||||
"
|
||||
# hppa64-hpux? ( ${PA_JDK_DIST} )
|
||||
# ia64w-hpux? ( ${IA_JDK_DIST} )
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_nofetch() {
|
||||
# not for metadata use:
|
||||
use hppa-hpux && JDK_DIST=${PA_JDK_DIST}
|
||||
use ia64-hpux && JDK_DIST=${IA_JDK_DIST}
|
||||
#use hppa64-hpux && JDK_DIST=${PA_JDK_DIST}
|
||||
#use ia64w-hpux && JDK_DIST=${IA_JDK_DIST}
|
||||
|
||||
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles."
|
||||
einfo "Please visit"
|
||||
einfo " ${DOWNLOADPAGE}"
|
||||
einfo "select 'Software specification'"
|
||||
use hppa-hpux &&
|
||||
einfo " PA-RISC JDK ${HP_RELEASE_NAME}"
|
||||
use ia64-hpux &&
|
||||
einfo " Itanium(R) JDK ${HP_RELEASE_NAME}"
|
||||
einfo "follow the download instructions, and store the downloaded file as"
|
||||
einfo " ${DISTDIR}/${JDK_DIST}"
|
||||
einfo "Then restart emerge: 'emerge --resume'"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local status=() diag=
|
||||
einfo "unpacking ${A}"
|
||||
# .depot file contains 0444 directory permissions,
|
||||
# which disallows tar to unpack files into them,
|
||||
# so we have to create the directory tree first.
|
||||
tar tvf "${DISTDIR}"/${A} 2>"${T}"/tar.err |
|
||||
awk '{ if (substr($1,1,1) == "d") { print $6 } }' |
|
||||
xargs mkdir -p .
|
||||
status=(${PIPESTATUS[@]})
|
||||
[[ ${status[0]} == 0 ]] || cat "${T}"/tar.err >&2
|
||||
[[ ${status[0]} == 0 ]] || diag="${diag}${diag:+, }tar list"
|
||||
[[ ${status[1]} == 0 ]] || diag="${diag}${diag:+, }filter dirs"
|
||||
[[ ${status[2]} == 0 ]] || diag="${diag}${diag:+, }create dirs"
|
||||
[[ ${status[@]} == "0 0 0" ]] || die "unpack failed (${diag})"
|
||||
|
||||
# .depot file is plain tar file, but each contained file
|
||||
# is gzip'd itself. But they do not have the .gz suffix.
|
||||
# We do rename and gunzip in parallel for performance.
|
||||
tar xvf "${DISTDIR}"/${A} 2>"${T}"/tar.err |
|
||||
(
|
||||
echo 'dollar=$$'
|
||||
echo '.PHONY: unzip'
|
||||
echo 'default: unzip'
|
||||
while read f; do
|
||||
[[ ${f} == */ ]] && continue # ignore dirs
|
||||
[[ ${f} == J* ]] || continue # only for Jre*/ and Jdk*/
|
||||
# there is some "opt/java6/demo/applets/Blink/Blink$1.class"
|
||||
f=${f//\$/\$\(dollar\)}
|
||||
echo ".PHONY: ${f}"
|
||||
echo "unzip: ${f}"
|
||||
echo "${f}:"
|
||||
echo " @mv '${f}' '${f}.gz'"
|
||||
echo " @gunzip '${f}.gz'"
|
||||
done
|
||||
) |
|
||||
emake -f - unzip
|
||||
status=(${PIPESTATUS[@]})
|
||||
diag=
|
||||
[[ ${status[0]} == 0 ]] || cat "${T}"/tar.err >&2
|
||||
[[ ${status[0]} == 0 ]] || diag="${diag}${diag:+, }tar extract"
|
||||
[[ ${status[1]} == 0 ]] || diag="${diag}${diag:+, }create makefile for unzip"
|
||||
[[ ${status[2]} == 0 ]] || diag="${diag}${diag:+, }make unzip"
|
||||
[[ ${status[@]} == "0 0 0" ]] || die "unpack failed (${diag})"
|
||||
eend 0
|
||||
}
|
||||
|
||||
depot-arch() {
|
||||
use hppa-hpux && echo PA20
|
||||
use ia64-hpux && echo IPF32
|
||||
# use hppa64-hpux && echo PA20W
|
||||
# use ia64w-hpux && echo IPF64
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use prefix || local EPREFIX= ED=${D}
|
||||
dodir / || die
|
||||
cp -pR Jre*/JRE*-{COM,$(depot-arch){,-HS}}/opt "${ED}" || die
|
||||
cp -pR Jdk*/JDK*-{COM,$(depot-arch)}/opt "${ED}" || die
|
||||
! use doc || cp -pR Jre*/JRE*-COM-DOC/opt "${ED}" || die
|
||||
! use examples || cp -pR Jdk*/JDK*-DEMO/opt "${ED}" || die
|
||||
|
||||
mv "${ED}"/opt/java$(get_version_component_range 2) "${ED}"/opt/${P} || die "rename failed"
|
||||
|
||||
if use nsplugin; then
|
||||
local plugin="/opt/${P}/jre/plugin/$(get_system_arch)/mozilla/libjavaplugin_oji$(get_libname)"
|
||||
install_mozilla_plugin "${plugin}"
|
||||
fi
|
||||
|
||||
local desktop_in="${ED}/opt/${P}/jre/plugin/desktop/sun_java.desktop"
|
||||
if [[ -f "${desktop_in}" ]]; then
|
||||
local desktop_out="${T}/ibm_jdk-${SLOT}.desktop"
|
||||
# install control panel for Gnome/KDE
|
||||
sed -e "s#\(Name=\)Java#\1Java Control Panel for HP JDK/JRE ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=${EPREFIX}/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=${EPREFIX}/opt/${P}/jre/plugin/desktop/sun_java.png#" \
|
||||
"${desktop_in}" > \
|
||||
"${desktop_out}" || die
|
||||
|
||||
domenu "${desktop_out}" || die
|
||||
fi
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>haubi@gentoo.org</email>
|
||||
<name>Michael Haubenwallner</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
|
@ -1,8 +0,0 @@
|
|||
DIST ibm-java-javacomm-6.0-9.0-linux-i386.tgz 336897 SHA256 2a04826238b0e2a24b611622191e3c3545ec6e2737fc9f240c8b53f19841d705 SHA512 e1426df1bb2b975185608d5a8889328e03782fd5e5eed82b0df407643b8bbf42b67e6c30644a17d8aec28c8a8cf444c479bbaa6812e48201952ba5f79427e933 WHIRLPOOL 22a7e0d5af254d4a496c22b9ead3db4a84aba3ebb9bba60b0153aa7216b6d5acc68436a0d0de54ebf8024b4df664c3b78c2d480f1844e1c5ca5ecd6dd02564dc
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-ppc.tgz 343028 SHA256 5618541e0cdb38607856eb47aa1878a3db4165c2ba0d59a87ada875c9b300da0 SHA512 da7b1709a2595810ea8def039ca88ff28fbf189a825a9229b174a22085d30a26c057ddb9f532940d413f7ecc49f1b201e46003a6842d085afa8038c6b6b89aaf WHIRLPOOL 1682cf4483e8d16287e2526a3f04936a820e47a8257382b6fd943fcc969c6a7ce0ab1204d07a5d45b5a9414d09f0df9d13645695b2e7aa3815944b628897da1c
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-ppc64.tgz 342371 SHA256 27feede3959306f264185876440f55d5807782dc31d519600004f4868c644c4a SHA512 9d6cd92d2da22330e48177776b1a6a7455299890acbc0c36e830f3ea839d988bf0723dc07391c92e0716eba9b840da7091236a6c2042e28299ff87b973876376 WHIRLPOOL 5b5415b2c57c3364a85db6445cccc37ed7e9c27de9e370be0e093749aee4278075fc1942213b566650d2b1692fe4ae9b2279d34d9000c386ae3a55c8bbb800cb
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-x86_64.tgz 339256 SHA256 10265a692a5056fe8d12c3d082f20ec113596e28bf98eb43d5a17a9a90176c8c SHA512 efb462a833e86697d79b7076e68b4812021cef3736875998aa6971cd23b64909faef7fdff43650337ba60daeeb29c6049fb4ef09666c1242b22963835ed4e043 WHIRLPOOL 963b9f717bba9a23ba14c6f2543ba4e1c8395e19b71759127503a9f0d0998cb0d4046f97102c23a348d273cb3ad8ab319260fbfe3beee556d31cda905f6abf4e
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-i386.tgz 94285404 SHA256 cc835013d9b82f4f188bc6036bb9850d7f848c513f73b321539e4eb8cc5a7e71 SHA512 68862a26e147813b92f071b25e1591f32837789a502859e3045d0b14189fa60766739f587ffce3d1841925ef0305acd5346754d8cb3bb642cda5d43a1785c3ab WHIRLPOOL 780df88cf68853457d5445705cc0404a1d6b5b86e41e9aea74fbb62284e67e7aa9f1d88a2923f1992ba79fa17b3891f9c3eb13f72827bf9d599ca762812d267f
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-ppc.tgz 96591020 SHA256 738bc53ec28ca823d01218ad5a6d665b3b2d5638225c1dc6fad5b6780b953c5b SHA512 ce538243c359607886183625005b912b3b7613e561ebe5d17a7ec03c01768cc6aa5dc065e28ccc82f6e3d0276b1be85a20c6f008fa90d337fade609163532d41 WHIRLPOOL cc9fddb0414f05545526843a8967497f1f7152306cd5a2e6cfdb97fcfc7e4a63b3a93f24446e1dd9729234e996c3469b2ada7a765ee414467a323f37866cc174
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-ppc64.tgz 99395016 SHA256 2c831e79a5e8f87e716e216edb29825c9f3e4d4e473ec6cb3b71bdf88ae8ef0d SHA512 5af2dd4b4258c413f4d2c59a991e7f05371a26ee186af681580e55d62e082b9dc89cce6e089a108e1ce8b80f5b62b99f35fecaea7c9bb55315067048e2299b70 WHIRLPOOL 2a17f1ff64d18bd8a34225bbde8b0b93bfce8bcb338f4bdc1b49f44eabdc23644ba41f0217b5a5f88af7c1e28906e2cc5e36951cb02c6fea1d11686a5164ebe9
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-x86_64.tgz 95834113 SHA256 025ac23ebc96d0d88e80cef1b27fea9b2a72253e49274b1f729995d33fb4e02c SHA512 431d6336074858c1da102b6df01ebbb55919e89018f4636b251187465921474171cb2d801f5c3ba64faea63e3a4718f588d931ce270d5ce9a864c1847469853a WHIRLPOOL 428c21877fb66d97ea8f938e8271c50e315c82f56f8933cfe2d7d02d81b400ec75aec49ec6413d8f216feb2609f4717daea4fd8f724645fe76d9177a053a5d4a
|
|
@ -1,16 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="IBM JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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/bin/:${JAVA_HOME}/jre/bin/classic"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.5"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/vm.jar:${JAVA_HOME}/jre/lib/core.jar:${JAVA_HOME}/jre/lib/charsets.jar:${JAVA_HOME}/jre/lib/graphics.jar:${JAVA_HOME}/jre/lib/security.jar:${JAVA_HOME}/jre/lib/ibmpkcs.jar:${JAVA_HOME}/jre/lib/ibmorb.jar:${JAVA_HOME}/jre/lib/ibmcfw.jar:${JAVA_HOME}/jre/lib/ibmorbapi.jar:${JAVA_HOME}/jre/lib/ibmjcefw.jar:${JAVA_HOME}/jre/lib/ibmjgssprovider.jar:${JAVA_HOME}/jre/lib/ibmjsseprovider2.jar:${JAVA_HOME}/jre/lib/ibmjaaslm.jar:${JAVA_HOME}/jre/lib/ibmcertpathprovider.jar:${JAVA_HOME}/jre/lib/server.jar:${JAVA_HOME}/jre/lib/xml.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH"
|
|
@ -1,16 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="IBM JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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@:@GENTOO_PORTAGE_EPREFIX@/usr/lib"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.6"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/vm.jar:${JAVA_HOME}/jre/lib/facilitators.jar:${JAVA_HOME}/jre/lib/annotation.jar:${JAVA_HOME}/jre/lib/beans.jar:${JAVA_HOME}/jre/lib/java.util.jar:${JAVA_HOME}/jre/lib/jndi.jar:${JAVA_HOME}/jre/lib/logging.jar:${JAVA_HOME}/jre/lib/security.jar:${JAVA_HOME}/jre/lib/sql.jar:${JAVA_HOME}/jre/lib/ibmorb.jar:${JAVA_HOME}/jre/lib/ibmorbapi.jar:${JAVA_HOME}/jre/lib/ibmcfw.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/charsets.jar:${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/ibmpkcs.jar:${JAVA_HOME}/jre/lib/ibmcertpathfw.jar:${JAVA_HOME}/jre/lib/ibmjgssfw.jar:${JAVA_HOME}/jre/lib/ibmjssefw.jar:${JAVA_HOME}/jre/lib/ibmsaslfw.jar:${JAVA_HOME}/jre/lib/ibmjcefw.jar:${JAVA_HOME}/jre/lib/ibmjgssprovider.jar:${JAVA_HOME}/jre/lib/ibmjsseprovider2.jar:${JAVA_HOME}/jre/lib/ibmcertpathprovider.jar:${JAVA_HOME}/jre/lib/ibmxmlcrypto.jar:${JAVA_HOME}/jre/lib/management-agent.jar:${JAVA_HOME}/jre/lib/xml.jar:${JAVA_HOME}/jre/lib/jlm.jar:${JAVA_HOME}/jre/lib/javascript.jar:${JAVA_HOME}/jre/lib/RACF.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH"
|
|
@ -1,12 +0,0 @@
|
|||
--- include/jawt.h 2006/07/20 23:02:04 1.1
|
||||
+++ include/jawt.h 2006/07/20 23:03:13
|
||||
@@ -298,7 +298,9 @@ typedef struct jawt {
|
||||
* Get the AWT native structure. This function returns JNI_FALSE if
|
||||
* an error occurs.
|
||||
*/
|
||||
+#ifdef _JNI_IMPORT_OR_EXPORT_
|
||||
_JNI_IMPORT_OR_EXPORT_
|
||||
+#endif
|
||||
jboolean JNICALL JAWT_GetAWT(JNIEnv* env, JAWT* awt);
|
||||
|
||||
#define JAWT_VERSION_1_3 0x00010003
|
|
@ -1,284 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 versionator eutils
|
||||
|
||||
JDK_RELEASE=$(get_version_component_range 2-3)
|
||||
JAVACOMM_RELEASE=$(get_version_component_range 3)
|
||||
SERVICE_RELEASE=$(get_version_component_range 4)
|
||||
SERVICE_RELEASE_LINK="${SERVICE_RELEASE}"
|
||||
|
||||
# versions ending with _pX translate to .X in distfile and fpX in SRC_URI
|
||||
if [[ $(get_version_component_count) == 5 ]]; then
|
||||
FP_VERSION="$(get_version_component_range 5)"
|
||||
FP_VERSION="${FP_VERSION#p}"
|
||||
FP_WEB="-FP${FP_VERSION}"
|
||||
FP_LINK="fp${FP_VERSION}"
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.${FP_VERSION}"
|
||||
else
|
||||
FP_WEB=""
|
||||
FP_LINK=""
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
fi
|
||||
|
||||
#JAVACOMM_PV="3.${JAVACOMM_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
# looks like they don't bump javacomm in service releases anymore
|
||||
JAVACOMM_PV_ORIG="3.${JAVACOMM_RELEASE}-0.0"
|
||||
JAVACOMM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
|
||||
JDK_DIST_PREFIX="ibm-java-sdk-${TGZ_PV}-linux"
|
||||
JAVACOMM_DIST_PREFIX="ibm-java-javacomm-${JAVACOMM_PV}-linux"
|
||||
JAVACOMM_DIST_PREFIX_ORIG="ibm-java-javacomm-${JAVACOMM_PV_ORIG}-linux"
|
||||
|
||||
X86_JDK_DIST="${JDK_DIST_PREFIX}-i386.tgz"
|
||||
X86_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-i386.tgz"
|
||||
X86_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-i386.tgz"
|
||||
|
||||
AMD64_JDK_DIST="${JDK_DIST_PREFIX}-x86_64.tgz"
|
||||
AMD64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-x86_64.tgz"
|
||||
AMD64_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-x86_64.tgz"
|
||||
|
||||
PPC_JDK_DIST="${JDK_DIST_PREFIX}-ppc.tgz"
|
||||
PPC_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc.tgz"
|
||||
PPC_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-ppc.tgz"
|
||||
|
||||
PPC64_JDK_DIST="${JDK_DIST_PREFIX}-ppc64.tgz"
|
||||
PPC64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc64.tgz"
|
||||
PPC64_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-ppc64.tgz"
|
||||
|
||||
DESCRIPTION="IBM Java SE Development Kit"
|
||||
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/"
|
||||
SRC_URI="
|
||||
x86? ( ${X86_JDK_DIST} )
|
||||
amd64? ( ${AMD64_JDK_DIST} )
|
||||
ppc? ( ${PPC_JDK_DIST} )
|
||||
ppc64? ( ${PPC64_JDK_DIST} )
|
||||
javacomm? (
|
||||
x86? ( ${X86_JAVACOMM_DIST} )
|
||||
amd64? ( ${AMD64_JAVACOMM_DIST} )
|
||||
ppc? ( ${PPC_JAVACOMM_DIST} )
|
||||
ppc64? ( ${PPC64_JAVACOMM_DIST} )
|
||||
)"
|
||||
|
||||
LICENSE="IBM-J1.6"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="-* ~amd64 ~ppc64 ~x86"
|
||||
RESTRICT="fetch"
|
||||
IUSE="X alsa doc examples javacomm nsplugin odbc selinux"
|
||||
|
||||
RDEPEND="
|
||||
ppc? ( =virtual/libstdc++-3.3 )
|
||||
ppc64? ( =virtual/libstdc++-3.3 )
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXp
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
doc? ( =dev-java/java-sdk-docs-1.6.0* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/i386/libj9vm24.so
|
||||
opt/${P}/jre/lib/i386/libjclscar_24.so
|
||||
opt/${P}/jre/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/jre/lib/i386/libj9thr24.so
|
||||
opt/${P}/jre/lib/i386/libj9jit24.so
|
||||
opt/${P}/jre/lib/i386/libj9dbg24.so
|
||||
opt/${P}/jre/lib/i386/libj9gc24.so"
|
||||
|
||||
QA_EXECSTACK_x86="opt/${P}/jre/bin/classic/libjvm.so
|
||||
opt/${P}/jre/lib/i386/j9vm/libjvm.so
|
||||
opt/${P}/jre/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/i386/libj9hookable24.so
|
||||
opt/${P}/jre/lib/i386/libj9vm24.so
|
||||
opt/${P}/jre/lib/i386/libjclscar_24.so
|
||||
opt/${P}/jre/lib/i386/libj9thr24.so
|
||||
opt/${P}/jre/lib/i386/libj9dmp24.so
|
||||
opt/${P}/jre/lib/i386/libj9prt24.so
|
||||
opt/${P}/jre/lib/i386/libj9jit24.so
|
||||
opt/${P}/jre/lib/i386/libiverel24.so
|
||||
opt/${P}/jre/lib/i386/libj9trc24.so
|
||||
opt/${P}/jre/lib/i386/libj9dbg24.so
|
||||
opt/${P}/jre/lib/i386/libj9shr24.so
|
||||
opt/${P}/jre/lib/i386/libj9gc24.so
|
||||
opt/${P}/jre/lib/i386/libj9bcv24.so
|
||||
opt/${P}/jre/lib/i386/classic/libjvm.so"
|
||||
|
||||
QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/default/libjvm.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9hookable24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9vm24.so
|
||||
opt/${P}/jre/lib/amd64/default/libjclscar_24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9jpi24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9thr24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9dmp24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9prt24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9jit24.so
|
||||
opt/${P}/jre/lib/amd64/default/libiverel24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9trc24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9dbg24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9shr24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9gc24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9bcv24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9ute24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libjvm.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9hookable24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9vm24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libjclscar_24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9jpi24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9thr24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9dmp24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9prt24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9jit24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libiverel24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9trc24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9dbg24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9shr24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9gc24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9bcv24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9ute24.so"
|
||||
|
||||
_init_at_vars() {
|
||||
if use x86; then
|
||||
JDK_DIST=${X86_JDK_DIST}
|
||||
JAVACOMM_DIST=${X86_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${X86_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-i386-60"
|
||||
LINK_ARCH="intel"
|
||||
elif use amd64; then
|
||||
JDK_DIST=${AMD64_JDK_DIST}
|
||||
JAVACOMM_DIST=${AMD64_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${AMD64_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-x86_64-60"
|
||||
LINK_ARCH="amd64"
|
||||
elif use ppc; then
|
||||
JDK_DIST=${PPC_JDK_DIST}
|
||||
JAVACOMM_DIST=${PPC_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${PPC_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-ppc-60"
|
||||
LINK_ARCH="ipseries32"
|
||||
elif use ppc64; then
|
||||
JDK_DIST=${PPC64_JDK_DIST}
|
||||
JAVACOMM_DIST=${PPC64_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${PPC64_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-ppc64-60"
|
||||
LINK_ARCH="ipseries64"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
_init_at_vars
|
||||
|
||||
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6"
|
||||
DIRECT_DOWNLOAD+="&S_PKG=${LINK_ARCH}_6sr${SERVICE_RELEASE}${FP_LINK}&S_TACT=105AGX05&S_CMP=JDK"
|
||||
DOWNLOADPAGE="${HOMEPAGE}linux/download.html"
|
||||
# bug #125178
|
||||
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html"
|
||||
|
||||
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles"
|
||||
einfo "Please visit: ${DOWNLOADPAGE}"
|
||||
|
||||
einfo "Under Java SE 6, download SR${SERVICE_RELEASE}${FP_WEB} for your arch:"
|
||||
einfo "${JDK_DIST}"
|
||||
if use javacomm ; then
|
||||
einfo "Also download ${JAVACOMM_DIST_ORIG}"
|
||||
ewarn "and save it as ${JAVACOMM_DIST}"
|
||||
ewarn "Renaming is needed because javacomm changes content without changing filename."
|
||||
fi
|
||||
|
||||
einfo "You can also use a direct link to your arch download page:"
|
||||
einfo "${DIRECT_DOWNLOAD}"
|
||||
einfo "Place the file(s) in: ${DISTDIR}"
|
||||
einfo "Then restart emerge: 'emerge --resume'"
|
||||
|
||||
einfo "Note: if SR${SERVICE_RELEASE}${FP_WEB} is not available at ${DOWNLOADPAGE}"
|
||||
einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page"
|
||||
einfo "isn't updated, but the files should still available through the"
|
||||
einfo "direct link to arch download page. If it doesn't work, file a bug."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
_init_at_vars
|
||||
|
||||
unpack ${JDK_DIST}
|
||||
if use javacomm; then
|
||||
mkdir "${WORKDIR}/javacomm/" || die
|
||||
cd "${WORKDIR}/javacomm/"
|
||||
unpack ${JAVACOMM_DIST}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #126105
|
||||
epatch "${FILESDIR}/${PN}-jawt.h.patch"
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# Copy all the files to the designated directory
|
||||
dodir /opt/${P}
|
||||
cp -pPR bin jre lib include src.zip "${ED}/opt/${P}" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pPR demo "${ED}"/opt/${P} || die
|
||||
fi
|
||||
if use javacomm; then
|
||||
chmod -x "${WORKDIR}"/javacomm/*/jar/*.jar "${WORKDIR}"/javacomm/*/lib/*.properties || die
|
||||
cp -pR "${WORKDIR}"/javacomm/*/jar/*.jar "${ED}"/opt/${P}/jre/lib/ext/ || die
|
||||
cp -pR "${WORKDIR}"/javacomm/*/lib/*.properties "${ED}"/opt/${P}/jre/lib/ || die
|
||||
cp -pR "${WORKDIR}"/javacomm/*/lib/*.so "${ED}"/opt/${P}/jre/lib/$(get_system_arch)/ || die
|
||||
if use examples; then
|
||||
cp -pPR "${WORKDIR}"/javacomm/*/examples "${ED}"/opt/${P}/ || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use x86 || use ppc; then
|
||||
local plugin="/opt/${P}/jre/plugin/$(get_system_arch)/ns7/libjavaplugin_oji.so"
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${plugin}"
|
||||
else
|
||||
rm "${ED}${plugin}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel. Using VMHANDLE as file
|
||||
# name to prevent file collision with jre and or other slots.
|
||||
sed -e "s/\(Name=\)Java/\1 Java Control Panel for IBM JDK ${SLOT}/" \
|
||||
-e "s#Exec=.*#Exec=${EPREFIX}/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=${EPREFIX}/opt/${P}/jre/plugin/desktop/sun_java.png#" \
|
||||
"${ED}"/opt/${P}/jre/plugin/desktop/sun_java.desktop \
|
||||
> "${T}"/${VMHANDLE}.desktop || die
|
||||
domenu "${T}"/${VMHANDLE}.desktop || die
|
||||
|
||||
dohtml -a html,htm,HTML -r docs
|
||||
dodoc copyright notices.txt readmefirst.lnx.txt
|
||||
|
||||
set_java_env
|
||||
|
||||
# a workaround to fix the BOOTCLASSPATH in our env file
|
||||
# this is not optimal, using -Xcompressedrefs would probably make it
|
||||
# expect the compressedrefs version...
|
||||
if use amd64; then
|
||||
sed -i -e "s|vm.jar|amd64/default/jclSC160/vm.jar|g" "${ED}${JAVA_VM_CONFIG_DIR}/${VMHANDLE}" || die "sed failed"
|
||||
fi
|
||||
if use ppc64; then
|
||||
sed -i -e "s|vm.jar|ppc64/default/jclSC160/vm.jar|g" "${ED}${JAVA_VM_CONFIG_DIR}/${VMHANDLE}" || die "sed failed"
|
||||
fi
|
||||
|
||||
java-vm_set-pax-markings "${ED}"/opt/${P}
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /proc/cpuinfo /proc/self/coredump_filter /proc/self/maps
|
||||
}
|
|
@ -1,280 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit java-vm-2 versionator eutils
|
||||
|
||||
JDK_RELEASE=$(get_version_component_range 2-3)
|
||||
JAVACOMM_RELEASE=$(get_version_component_range 3)
|
||||
SERVICE_RELEASE=$(get_version_component_range 4)
|
||||
SERVICE_RELEASE_LINK="${SERVICE_RELEASE}"
|
||||
|
||||
# versions ending with _pX translate to .X in distfile and fpX in SRC_URI
|
||||
if [[ $(get_version_component_count) == 5 ]]; then
|
||||
FP_VERSION="$(get_version_component_range 5)"
|
||||
FP_VERSION="${FP_VERSION#p}"
|
||||
FP_WEB="-FP${FP_VERSION}"
|
||||
FP_LINK="fp${FP_VERSION}"
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.${FP_VERSION}"
|
||||
else
|
||||
FP_WEB=""
|
||||
FP_LINK=""
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
fi
|
||||
|
||||
#JAVACOMM_PV="3.${JAVACOMM_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
# looks like they don't bump javacomm in service releases anymore
|
||||
JAVACOMM_PV_ORIG="3.${JAVACOMM_RELEASE}-0.0"
|
||||
JAVACOMM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
|
||||
JDK_DIST_PREFIX="ibm-java-sdk-${TGZ_PV}-linux"
|
||||
JAVACOMM_DIST_PREFIX="ibm-java-javacomm-${JAVACOMM_PV}-linux"
|
||||
JAVACOMM_DIST_PREFIX_ORIG="ibm-java-javacomm-${JAVACOMM_PV_ORIG}-linux"
|
||||
|
||||
X86_JDK_DIST="${JDK_DIST_PREFIX}-i386.tgz"
|
||||
X86_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-i386.tgz"
|
||||
X86_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-i386.tgz"
|
||||
|
||||
AMD64_JDK_DIST="${JDK_DIST_PREFIX}-x86_64.tgz"
|
||||
AMD64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-x86_64.tgz"
|
||||
AMD64_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-x86_64.tgz"
|
||||
|
||||
PPC_JDK_DIST="${JDK_DIST_PREFIX}-ppc.tgz"
|
||||
PPC_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc.tgz"
|
||||
PPC_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-ppc.tgz"
|
||||
|
||||
PPC64_JDK_DIST="${JDK_DIST_PREFIX}-ppc64.tgz"
|
||||
PPC64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc64.tgz"
|
||||
PPC64_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-ppc64.tgz"
|
||||
|
||||
if use x86; then
|
||||
JDK_DIST=${X86_JDK_DIST}
|
||||
JAVACOMM_DIST=${X86_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${X86_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-i386-60"
|
||||
LINK_ARCH="intel"
|
||||
elif use amd64; then
|
||||
JDK_DIST=${AMD64_JDK_DIST}
|
||||
JAVACOMM_DIST=${AMD64_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${AMD64_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-x86_64-60"
|
||||
LINK_ARCH="amd64"
|
||||
elif use ppc; then
|
||||
JDK_DIST=${PPC_JDK_DIST}
|
||||
JAVACOMM_DIST=${PPC_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${PPC_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-ppc-60"
|
||||
LINK_ARCH="ipseries32"
|
||||
elif use ppc64; then
|
||||
JDK_DIST=${PPC64_JDK_DIST}
|
||||
JAVACOMM_DIST=${PPC64_JAVACOMM_DIST}
|
||||
JAVACOMM_DIST_ORIG=${PPC64_JAVACOMM_DIST_ORIG}
|
||||
S="${WORKDIR}/ibm-java-ppc64-60"
|
||||
LINK_ARCH="ipseries64"
|
||||
fi
|
||||
|
||||
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6&S_PKG=${LINK_ARCH}_6sr${SERVICE_RELEASE}${FP_LINK}&S_TACT=105AGX05&S_CMP=JDK"
|
||||
|
||||
SLOT="1.6"
|
||||
DESCRIPTION="IBM Java SE Development Kit"
|
||||
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/"
|
||||
DOWNLOADPAGE="${HOMEPAGE}linux/download.html"
|
||||
# bug #125178
|
||||
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html"
|
||||
|
||||
SRC_URI="
|
||||
x86? ( ${X86_JDK_DIST} )
|
||||
amd64? ( ${AMD64_JDK_DIST} )
|
||||
ppc? ( ${PPC_JDK_DIST} )
|
||||
ppc64? ( ${PPC64_JDK_DIST} )
|
||||
javacomm? (
|
||||
x86? ( ${X86_JAVACOMM_DIST} )
|
||||
amd64? ( ${AMD64_JAVACOMM_DIST} )
|
||||
ppc? ( ${PPC_JAVACOMM_DIST} )
|
||||
ppc64? ( ${PPC64_JAVACOMM_DIST} )
|
||||
)"
|
||||
LICENSE="IBM-J1.6"
|
||||
KEYWORDS="-* amd64 ppc64 x86"
|
||||
RESTRICT="fetch"
|
||||
IUSE="X alsa doc examples javacomm nsplugin odbc selinux"
|
||||
|
||||
RDEPEND="
|
||||
ppc? ( =virtual/libstdc++-3.3 )
|
||||
ppc64? ( =virtual/libstdc++-3.3 )
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXp
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
doc? ( =dev-java/java-sdk-docs-1.6.0* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/i386/libj9vm24.so
|
||||
opt/${P}/jre/lib/i386/libjclscar_24.so
|
||||
opt/${P}/jre/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/jre/lib/i386/libj9thr24.so
|
||||
opt/${P}/jre/lib/i386/libj9jit24.so
|
||||
opt/${P}/jre/lib/i386/libj9dbg24.so
|
||||
opt/${P}/jre/lib/i386/libj9gc24.so"
|
||||
|
||||
QA_EXECSTACK_x86="opt/${P}/jre/bin/classic/libjvm.so
|
||||
opt/${P}/jre/lib/i386/j9vm/libjvm.so
|
||||
opt/${P}/jre/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/i386/libj9hookable24.so
|
||||
opt/${P}/jre/lib/i386/libj9vm24.so
|
||||
opt/${P}/jre/lib/i386/libjclscar_24.so
|
||||
opt/${P}/jre/lib/i386/libj9thr24.so
|
||||
opt/${P}/jre/lib/i386/libj9dmp24.so
|
||||
opt/${P}/jre/lib/i386/libj9prt24.so
|
||||
opt/${P}/jre/lib/i386/libj9jit24.so
|
||||
opt/${P}/jre/lib/i386/libiverel24.so
|
||||
opt/${P}/jre/lib/i386/libj9trc24.so
|
||||
opt/${P}/jre/lib/i386/libj9dbg24.so
|
||||
opt/${P}/jre/lib/i386/libj9shr24.so
|
||||
opt/${P}/jre/lib/i386/libj9gc24.so
|
||||
opt/${P}/jre/lib/i386/libj9bcv24.so
|
||||
opt/${P}/jre/lib/i386/classic/libjvm.so"
|
||||
|
||||
QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/default/libjvm.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9hookable24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9vm24.so
|
||||
opt/${P}/jre/lib/amd64/default/libjclscar_24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9jpi24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9thr24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9dmp24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9prt24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9jit24.so
|
||||
opt/${P}/jre/lib/amd64/default/libiverel24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9trc24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9dbg24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9shr24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9gc24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9bcv24.so
|
||||
opt/${P}/jre/lib/amd64/default/libj9ute24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libjvm.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9jvmti24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9hookable24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9vm24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libjclscar_24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9jpi24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9thr24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9dmp24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9prt24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9jit24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libiverel24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9trc24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9dbg24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9shr24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9gc24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9bcv24.so
|
||||
opt/${P}/jre/lib/amd64/compressedrefs/libj9ute24.so"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles"
|
||||
einfo "Please visit: ${DOWNLOADPAGE}"
|
||||
|
||||
einfo "Under Java SE 6, download SR${SERVICE_RELEASE}${FP_WEB} for your arch:"
|
||||
einfo "${JDK_DIST}"
|
||||
if use javacomm ; then
|
||||
einfo "Also download ${JAVACOMM_DIST_ORIG}"
|
||||
ewarn "and save it as ${JAVACOMM_DIST}"
|
||||
ewarn "Renaming is needed because javacomm changes content without changing filename."
|
||||
fi
|
||||
|
||||
einfo "You can also use a direct link to your arch download page:"
|
||||
einfo "${DIRECT_DOWNLOAD}"
|
||||
einfo "Place the file(s) in: ${DISTDIR}"
|
||||
einfo "Then restart emerge: 'emerge --resume'"
|
||||
|
||||
einfo "Note: if SR${SERVICE_RELEASE}${FP_WEB} is not available at ${DOWNLOADPAGE}"
|
||||
einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page"
|
||||
einfo "isn't updated, but the files should still available through the"
|
||||
einfo "direct link to arch download page. If it doesn't work, file a bug."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${JDK_DIST}
|
||||
if use javacomm; then
|
||||
mkdir "${WORKDIR}/javacomm/" || die
|
||||
cd "${WORKDIR}/javacomm/"
|
||||
unpack ${JAVACOMM_DIST}
|
||||
fi
|
||||
cd "${S}"
|
||||
|
||||
# bug #126105
|
||||
epatch "${FILESDIR}/${PN}-jawt.h.patch"
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# Copy all the files to the designated directory
|
||||
dodir /opt/${P}
|
||||
cp -pR "${S}"/{bin,jre,lib,include,src.zip} "${D}/opt/${P}/" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pPR "${S}"/demo "${D}"/opt/${P}/ || die
|
||||
fi
|
||||
if use javacomm; then
|
||||
chmod -x "${WORKDIR}"/javacomm/*/jar/*.jar "${WORKDIR}"/javacomm/*/lib/*.properties || die
|
||||
cp -pR "${WORKDIR}"/javacomm/*/jar/*.jar "${D}"/opt/${P}/jre/lib/ext/ || die
|
||||
cp -pR "${WORKDIR}"/javacomm/*/lib/*.properties "${D}"/opt/${P}/jre/lib/ || die
|
||||
cp -pR "${WORKDIR}"/javacomm/*/lib/*.so "${D}"/opt/${P}/jre/lib/$(get_system_arch)/ || die
|
||||
if use examples; then
|
||||
cp -pPR "${WORKDIR}"/javacomm/*/examples "${D}"/opt/${P}/ || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use x86 || use ppc; then
|
||||
if use nsplugin; then
|
||||
local plugin="/opt/${P}/jre/plugin/$(get_system_arch)/ns7/libjavaplugin_oji.so"
|
||||
install_mozilla_plugin "${plugin}"
|
||||
fi
|
||||
fi
|
||||
|
||||
local desktop_in="${D}/opt/${P}/jre/plugin/desktop/sun_java.desktop"
|
||||
if [[ -f "${desktop_in}" ]]; then
|
||||
local desktop_out="${T}/ibm_jdk-${SLOT}.desktop"
|
||||
# install control panel for Gnome/KDE
|
||||
# The jre also installs these so make sure that they do not have the same
|
||||
# Name
|
||||
sed -e "s/\(Name=\)Java/\1 Java Control Panel for IBM JDK ${SLOT}/" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=/opt/${P}/jre/plugin/desktop/sun_java.png#" \
|
||||
"${desktop_in}" > \
|
||||
"${desktop_out}" || die
|
||||
|
||||
domenu "${desktop_out}" || die
|
||||
fi
|
||||
|
||||
dohtml -a html,htm,HTML -r docs || die
|
||||
dodoc "${S}"/{copyright,notices.txt,readmefirst.lnx.txt} || die
|
||||
|
||||
set_java_env
|
||||
|
||||
# a workaround to fix the BOOTCLASSPATH in our env file
|
||||
# this is not optimal, using -Xcompressedrefs would probably make it
|
||||
# expect the compressedrefs version...
|
||||
if use amd64; then
|
||||
sed -i -e "s|vm.jar|amd64/default/jclSC160/vm.jar|g" "${D}${JAVA_VM_CONFIG_DIR}/${VMHANDLE}" || die "sed failed"
|
||||
fi
|
||||
if use ppc64; then
|
||||
sed -i -e "s|vm.jar|ppc64/default/jclSC160/vm.jar|g" "${D}${JAVA_VM_CONFIG_DIR}/${VMHANDLE}" || die "sed failed"
|
||||
fi
|
||||
|
||||
java-vm_revdep-mask
|
||||
|
||||
# bug #321695
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/proc/self/coredump_filter"' > "${D}/etc/sandbox.d/20${VMHANDLE}"
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>IBM SDK Development kit.</longdescription>
|
||||
<use>
|
||||
<flag name="javacomm">Enable Java Communications API support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,4 +0,0 @@
|
|||
DIST ibm-java-jre-6.0-9.2-linux-i386.tgz 64421824 SHA256 87ce2252d6d88b13acb847a49d272c9798ea6267a10fbc82ea0e881c5c8e8206 SHA512 b44ac90452b40f86b4ad5263b41478dd8f3563160bda321af674802aebcd686a8b8f602464482097e1e68ca0a4ab3ab478c6439b68f705471f6b0cd912cc3e6a WHIRLPOOL 1b0da0e42e74508a6def1f4ec7963c8209b9ea1638359e5fc5c46471dfb45719e866f12a3008340197f47359c686edca5253cf32a2e362daaa1e3840c679093f
|
||||
DIST ibm-java-jre-6.0-9.2-linux-ppc.tgz 66640675 SHA256 04237722187f4cd44845a0bf2764c7358f3df9a8b8468fbe629ff1f168864ceb SHA512 992057cb9c0867d0a8df6bc34ae03e1dfcc9fef0d965ce1c9588380c93b625cea8152051321f0b0951a2904f84b1ccaf7f2b3109b58a45f34c175e1e92911f54 WHIRLPOOL 67edc11fe548e427d9afe4ae4aef2312b3130acac4f7ea863c512b69b3e9e238235619b5b0f93f2f453f4ac4d15b79cee7c312a5bdcd473d79bbefee264b9f43
|
||||
DIST ibm-java-jre-6.0-9.2-linux-ppc64.tgz 74698445 SHA256 30ef8dd7ce43e328dc5252b0457f78e021faaa433f20fe350d04f9546186fbca SHA512 ea2012a751f73cfa3ff13268ab2729b602680e8f4ce914b0be67a0185ba77ec748c128e38ae72500a75d16239fd6c6a862f802bf562970f44f634277cb373900 WHIRLPOOL 554c9aca0fce7383b90750b603ac2596b6b9364bf90427eae7905a3ae58e52ab325a50efe1a9a082b12845da3de33eedd78c0544e6a1a588001620d9e1a412b0
|
||||
DIST ibm-java-jre-6.0-9.2-linux-x86_64.tgz 70842079 SHA256 cb1f7dbfd0dacfece8deedc5dbcd2d19355ec0e4ec27612586e365c87f0eea54 SHA512 0d590a11ab285ccb55b9921ccfd190deafea9350ee3911578c905fa07ba77c08eefff9347b2815276715c2a1f0c52f14f98832c8cb75df8b114b4dc46135ffda WHIRLPOOL dcdf79618600f505088dc5944a2cb85134b8391933ac5797d8ae051f89b3454940ab2e73536ee27c9156fd2f858d72d0d1f2be2b79dc9ac5aca731b7d8319d17
|
|
@ -1,15 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="IBM JRE @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JRE_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
PATH="${JAVA_HOME}/bin"
|
||||
ROOTPATH="${JAVA_HOME}/bin"
|
||||
LDPATH="${JAVA_HOME}/lib/@PLATFORM@:@GENTOO_PORTAGE_EPREFIX@/usr/lib"
|
||||
PROVIDES_TYPE="JRE"
|
||||
PROVIDES_VERSION="1.6"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/lib/vm.jar:/opt/ibm-jre-bin-1.6.0.0/lib/facilitators.jar:/opt/ibm-jre-bin-1.6.0.0/lib/annotation.jar:/opt/ibm-jre-bin-1.6.0.0/lib/beans.jar:/opt/ibm-jre-bin-1.6.0.0/lib/java.util.jar:/opt/ibm-jre-bin-1.6.0.0/lib/jndi.jar:/opt/ibm-jre-bin-1.6.0.0/lib/logging.jar:/opt/ibm-jre-bin-1.6.0.0/lib/security.jar:/opt/ibm-jre-bin-1.6.0.0/lib/sql.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmorb.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmorbapi.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmcfw.jar:/opt/ibm-jre-bin-1.6.0.0/lib/rt.jar:/opt/ibm-jre-bin-1.6.0.0/lib/charsets.jar:/opt/ibm-jre-bin-1.6.0.0/lib/resources.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmpkcs.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmcertpathfw.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmjgssfw.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmjssefw.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmsaslfw.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmjcefw.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmjgssprovider.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmjsseprovider2.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmcertpathprovider.jar:/opt/ibm-jre-bin-1.6.0.0/lib/ibmxmlcrypto.jar:/opt/ibm-jre-bin-1.6.0.0/lib/management-agent.jar:/opt/ibm-jre-bin-1.6.0.0/lib/xml.jar:/opt/ibm-jre-bin-1.6.0.0/lib/jlm.jar:/opt/ibm-jre-bin-1.6.0.0/lib/javascript.jar:/opt/ibm-jre-bin-1.6.0.0/lib/RACF.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JRE_HOME PATH ROOTPATH LDPATH"
|
|
@ -1,200 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 versionator eutils
|
||||
|
||||
JDK_RELEASE=$(get_version_component_range 2-3)
|
||||
SERVICE_RELEASE=$(get_version_component_range 4)
|
||||
SERVICE_RELEASE_LINK="${SERVICE_RELEASE}"
|
||||
|
||||
# versions ending with _pX translate to .X in distfile and fpX in SRC_URI
|
||||
if [[ $(get_version_component_count) == 5 ]]; then
|
||||
FP_VERSION="$(get_version_component_range 5)"
|
||||
FP_VERSION="${FP_VERSION#p}"
|
||||
FP_WEB="-FP${FP_VERSION}"
|
||||
FP_LINK="fp${FP_VERSION}"
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.${FP_VERSION}"
|
||||
else
|
||||
FP_WEB=""
|
||||
FP_LINK=""
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
fi
|
||||
|
||||
JRE_DIST_PREFIX="ibm-java-jre-${TGZ_PV}-linux"
|
||||
|
||||
X86_JRE_DIST="${JRE_DIST_PREFIX}-i386.tgz"
|
||||
AMD64_JRE_DIST="${JRE_DIST_PREFIX}-x86_64.tgz"
|
||||
PPC_JRE_DIST="${JRE_DIST_PREFIX}-ppc.tgz"
|
||||
PPC64_JRE_DIST="${JRE_DIST_PREFIX}-ppc64.tgz"
|
||||
|
||||
DESCRIPTION="IBM Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/"
|
||||
SRC_URI="x86? ( ${X86_JRE_DIST} )
|
||||
amd64? ( ${AMD64_JRE_DIST} )
|
||||
ppc? ( ${PPC_JRE_DIST} )
|
||||
ppc64? ( ${PPC64_JRE_DIST} )"
|
||||
|
||||
LICENSE="IBM-J1.6"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="-* ~amd64 ~ppc64 ~x86"
|
||||
RESTRICT="fetch"
|
||||
IUSE="X alsa nsplugin odbc selinux"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXp
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
QA_TEXTRELS_x86="opt/${P}/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/lib/i386/libj9vm24.so
|
||||
opt/${P}/lib/i386/libjclscar_24.so
|
||||
opt/${P}/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/lib/i386/libj9thr24.so
|
||||
opt/${P}/lib/i386/libj9jit24.so
|
||||
opt/${P}/lib/i386/libj9dbg24.so
|
||||
opt/${P}/lib/i386/libj9gc24.so"
|
||||
|
||||
QA_EXECSTACK_x86="opt/${P}/bin/classic/libjvm.so
|
||||
opt/${P}/lib/i386/j9vm/libjvm.so
|
||||
opt/${P}/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/lib/i386/libj9hookable24.so
|
||||
opt/${P}/lib/i386/libj9vm24.so
|
||||
opt/${P}/lib/i386/libjclscar_24.so
|
||||
opt/${P}/lib/i386/libj9thr24.so
|
||||
opt/${P}/lib/i386/libj9dmp24.so
|
||||
opt/${P}/lib/i386/libj9prt24.so
|
||||
opt/${P}/lib/i386/libj9jit24.so
|
||||
opt/${P}/lib/i386/libiverel24.so
|
||||
opt/${P}/lib/i386/libj9trc24.so
|
||||
opt/${P}/lib/i386/libj9dbg24.so
|
||||
opt/${P}/lib/i386/libj9shr24.so
|
||||
opt/${P}/lib/i386/libj9gc24.so
|
||||
opt/${P}/lib/i386/libj9bcv24.so
|
||||
opt/${P}/lib/i386/classic/libjvm.so"
|
||||
|
||||
QA_EXECSTACK_amd64="opt/${P}/lib/amd64/default/libjvm.so
|
||||
opt/${P}/lib/amd64/default/libj9jvmti24.so
|
||||
opt/${P}/lib/amd64/default/libj9hookable24.so
|
||||
opt/${P}/lib/amd64/default/libj9vm24.so
|
||||
opt/${P}/lib/amd64/default/libjclscar_24.so
|
||||
opt/${P}/lib/amd64/default/libj9jpi24.so
|
||||
opt/${P}/lib/amd64/default/libj9thr24.so
|
||||
opt/${P}/lib/amd64/default/libj9dmp24.so
|
||||
opt/${P}/lib/amd64/default/libj9prt24.so
|
||||
opt/${P}/lib/amd64/default/libj9jit24.so
|
||||
opt/${P}/lib/amd64/default/libiverel24.so
|
||||
opt/${P}/lib/amd64/default/libj9trc24.so
|
||||
opt/${P}/lib/amd64/default/libj9dbg24.so
|
||||
opt/${P}/lib/amd64/default/libj9shr24.so
|
||||
opt/${P}/lib/amd64/default/libj9gc24.so
|
||||
opt/${P}/lib/amd64/default/libj9bcv24.so
|
||||
opt/${P}/lib/amd64/default/libj9ute24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libjvm.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9jvmti24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9hookable24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9vm24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libjclscar_24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9jpi24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9thr24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9dmp24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9prt24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9jit24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libiverel24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9trc24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9dbg24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9shr24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9gc24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9bcv24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9ute24.so"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use x86; then
|
||||
JRE_DIST=${X86_JRE_DIST}
|
||||
LINK_ARCH="intel"
|
||||
elif use amd64; then
|
||||
JRE_DIST=${AMD64_JRE_DIST}
|
||||
LINK_ARCH="amd64"
|
||||
elif use ppc; then
|
||||
JRE_DIST=${PPC_JRE_DIST}
|
||||
LINK_ARCH="ipseries32"
|
||||
elif use ppc64; then
|
||||
JRE_DIST=${PPC64_JRE_DIST}
|
||||
LINK_ARCH="ipseries64"
|
||||
fi
|
||||
|
||||
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6"
|
||||
DIRECT_DOWNLOAD+="&S_PKG=${LINK_ARCH}_6sr${SERVICE_RELEASE}${FP_LINK}&S_TACT=105AGX05&S_CMP=JDK"
|
||||
DOWNLOADPAGE="${HOMEPAGE}linux/download.html"
|
||||
# bug #125178
|
||||
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html"
|
||||
|
||||
elog "Due to license restrictions, we cannot redistribute or fetch the distfiles"
|
||||
elog "Please visit: ${DOWNLOADPAGE}"
|
||||
|
||||
elog "Under Java SE 6, download SR${SERVICE_RELEASE}${FP_WEB} for your arch:"
|
||||
elog "${JRE_DIST}"
|
||||
|
||||
elog "You can use direct link to your arch download page:"
|
||||
elog "${DIRECT_DOWNLOAD}"
|
||||
elog "Place the file(s) in: ${DISTDIR}"
|
||||
elog "Then restart emerge: 'emerge --resume'"
|
||||
|
||||
elog "Note: if SR${SERVICE_RELEASE}${FP_WEB} is not available at ${DOWNLOADPAGE}"
|
||||
elog "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page"
|
||||
elog "isn't updated, but the files should still available through the"
|
||||
elog "direct link to arch download page. If it doesn't work, file a bug."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
local sdir=( ibm-java-* )
|
||||
S="${WORKDIR}/${sdir[0]}"
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# Copy all the files to the designated directory
|
||||
dodir /opt/${P}
|
||||
cp -pR jre/* "${ED}"/opt/${P} || die
|
||||
|
||||
if use x86 || use ppc; then
|
||||
local plugin="/opt/${P}/plugin/$(get_system_arch)/ns7/libjavaplugin_oji.so"
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${plugin}"
|
||||
else
|
||||
rm "${ED}"/${plugin} || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel. Using VMHANDLE as file
|
||||
# name to prevent file collision with jre and or other slots.
|
||||
sed -e "s/\(Name=\)Java/\1 Java Control Panel for IBM JRE ${SLOT}/" \
|
||||
-e "s#Exec=.*#Exec=${EPREFIX}/opt/${P}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=${EPREFIX}/opt/${P}/plugin/desktop/sun_java.png#" \
|
||||
"${ED}"/opt/${P}/plugin/desktop/sun_java.desktop \
|
||||
> "${T}"/${VMHANDLE}.desktop || die
|
||||
domenu "${T}"/${VMHANDLE}.desktop || die
|
||||
|
||||
dohtml -a html,htm,HTML -r docs
|
||||
dodoc copyright notices.txt readmefirst.lnx.txt
|
||||
|
||||
set_java_env
|
||||
java-vm_set-pax-markings "${ED}"/opt/${P}
|
||||
java-vm_revdep-mask
|
||||
}
|
|
@ -1,196 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit java-vm-2 versionator eutils
|
||||
|
||||
JDK_RELEASE=$(get_version_component_range 2-3)
|
||||
SERVICE_RELEASE=$(get_version_component_range 4)
|
||||
SERVICE_RELEASE_LINK="${SERVICE_RELEASE}"
|
||||
|
||||
# versions ending with _pX translate to .X in distfile and fpX in SRC_URI
|
||||
if [[ $(get_version_component_count) == 5 ]]; then
|
||||
FP_VERSION="$(get_version_component_range 5)"
|
||||
FP_VERSION="${FP_VERSION#p}"
|
||||
FP_WEB="-FP${FP_VERSION}"
|
||||
FP_LINK="fp${FP_VERSION}"
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.${FP_VERSION}"
|
||||
else
|
||||
FP_WEB=""
|
||||
FP_LINK=""
|
||||
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0"
|
||||
fi
|
||||
|
||||
JRE_DIST_PREFIX="ibm-java-jre-${TGZ_PV}-linux"
|
||||
|
||||
X86_JRE_DIST="${JRE_DIST_PREFIX}-i386.tgz"
|
||||
AMD64_JRE_DIST="${JRE_DIST_PREFIX}-x86_64.tgz"
|
||||
PPC_JRE_DIST="${JRE_DIST_PREFIX}-ppc.tgz"
|
||||
PPC64_JRE_DIST="${JRE_DIST_PREFIX}-ppc64.tgz"
|
||||
|
||||
if use x86; then
|
||||
JRE_DIST=${X86_JRE_DIST}
|
||||
S="${WORKDIR}/ibm-java-i386-60"
|
||||
LINK_ARCH="intel"
|
||||
elif use amd64; then
|
||||
JRE_DIST=${AMD64_JRE_DIST}
|
||||
S="${WORKDIR}/ibm-java-x86_64-60"
|
||||
LINK_ARCH="amd64"
|
||||
elif use ppc; then
|
||||
JRE_DIST=${PPC_JRE_DIST}
|
||||
S="${WORKDIR}/ibm-java-ppc-60"
|
||||
LINK_ARCH="ipseries32"
|
||||
elif use ppc64; then
|
||||
JRE_DIST=${PPC64_JRE_DIST}
|
||||
S="${WORKDIR}/ibm-java-ppc64-60"
|
||||
LINK_ARCH="ipseries64"
|
||||
fi
|
||||
|
||||
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6&S_PKG=${LINK_ARCH}_6sr${SERVICE_RELEASE}${FP_LINK}&S_TACT=105AGX05&S_CMP=JDK"
|
||||
|
||||
SLOT="1.6"
|
||||
DESCRIPTION="IBM Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/"
|
||||
DOWNLOADPAGE="${HOMEPAGE}linux/download.html"
|
||||
# bug #125178
|
||||
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html"
|
||||
|
||||
SRC_URI="x86? ( ${X86_JRE_DIST} )
|
||||
amd64? ( ${AMD64_JRE_DIST} )
|
||||
ppc? ( ${PPC_JRE_DIST} )
|
||||
ppc64? ( ${PPC64_JRE_DIST} )"
|
||||
LICENSE="IBM-J1.6"
|
||||
KEYWORDS="-* amd64 ppc64 x86"
|
||||
RESTRICT="fetch"
|
||||
IUSE="X alsa nsplugin odbc selinux"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXp
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
DEPEND=""
|
||||
|
||||
QA_TEXTRELS_x86="opt/${P}/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/lib/i386/libj9vm24.so
|
||||
opt/${P}/lib/i386/libjclscar_24.so
|
||||
opt/${P}/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/lib/i386/libj9thr24.so
|
||||
opt/${P}/lib/i386/libj9jit24.so
|
||||
opt/${P}/lib/i386/libj9dbg24.so
|
||||
opt/${P}/lib/i386/libj9gc24.so"
|
||||
|
||||
QA_EXECSTACK_x86="opt/${P}/bin/classic/libjvm.so
|
||||
opt/${P}/lib/i386/j9vm/libjvm.so
|
||||
opt/${P}/lib/i386/libj9jvmti24.so
|
||||
opt/${P}/lib/i386/libj9hookable24.so
|
||||
opt/${P}/lib/i386/libj9vm24.so
|
||||
opt/${P}/lib/i386/libjclscar_24.so
|
||||
opt/${P}/lib/i386/libj9thr24.so
|
||||
opt/${P}/lib/i386/libj9dmp24.so
|
||||
opt/${P}/lib/i386/libj9prt24.so
|
||||
opt/${P}/lib/i386/libj9jit24.so
|
||||
opt/${P}/lib/i386/libiverel24.so
|
||||
opt/${P}/lib/i386/libj9trc24.so
|
||||
opt/${P}/lib/i386/libj9dbg24.so
|
||||
opt/${P}/lib/i386/libj9shr24.so
|
||||
opt/${P}/lib/i386/libj9gc24.so
|
||||
opt/${P}/lib/i386/libj9bcv24.so
|
||||
opt/${P}/lib/i386/classic/libjvm.so"
|
||||
|
||||
QA_EXECSTACK_amd64="opt/${P}/lib/amd64/default/libjvm.so
|
||||
opt/${P}/lib/amd64/default/libj9jvmti24.so
|
||||
opt/${P}/lib/amd64/default/libj9hookable24.so
|
||||
opt/${P}/lib/amd64/default/libj9vm24.so
|
||||
opt/${P}/lib/amd64/default/libjclscar_24.so
|
||||
opt/${P}/lib/amd64/default/libj9jpi24.so
|
||||
opt/${P}/lib/amd64/default/libj9thr24.so
|
||||
opt/${P}/lib/amd64/default/libj9dmp24.so
|
||||
opt/${P}/lib/amd64/default/libj9prt24.so
|
||||
opt/${P}/lib/amd64/default/libj9jit24.so
|
||||
opt/${P}/lib/amd64/default/libiverel24.so
|
||||
opt/${P}/lib/amd64/default/libj9trc24.so
|
||||
opt/${P}/lib/amd64/default/libj9dbg24.so
|
||||
opt/${P}/lib/amd64/default/libj9shr24.so
|
||||
opt/${P}/lib/amd64/default/libj9gc24.so
|
||||
opt/${P}/lib/amd64/default/libj9bcv24.so
|
||||
opt/${P}/lib/amd64/default/libj9ute24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libjvm.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9jvmti24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9hookable24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9vm24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libjclscar_24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9jpi24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9thr24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9dmp24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9prt24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9jit24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libiverel24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9trc24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9dbg24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9shr24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9gc24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9bcv24.so
|
||||
opt/${P}/lib/amd64/compressedrefs/libj9ute24.so"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Due to license restrictions, we cannot redistribute or fetch the distfiles"
|
||||
elog "Please visit: ${DOWNLOADPAGE}"
|
||||
|
||||
elog "Under Java SE 6, download SR${SERVICE_RELEASE}${FP_WEB} for your arch:"
|
||||
elog "${JRE_DIST}"
|
||||
|
||||
elog "You can use direct link to your arch download page:"
|
||||
elog "${DIRECT_DOWNLOAD}"
|
||||
elog "Place the file(s) in: ${DISTDIR}"
|
||||
elog "Then restart emerge: 'emerge --resume'"
|
||||
|
||||
elog "Note: if SR${SERVICE_RELEASE}${FP_WEB} is not available at ${DOWNLOADPAGE}"
|
||||
elog "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page"
|
||||
elog "isn't updated, but the files should still available through the"
|
||||
elog "direct link to arch download page. If it doesn't work, file a bug."
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# Copy all the files to the designated directory
|
||||
dodir /opt/${P}
|
||||
cp -pR "${S}"/jre/* "${D}/opt/${P}/"
|
||||
|
||||
if use x86 || use ppc; then
|
||||
if use nsplugin; then
|
||||
local plugin="/opt/${P}/plugin/$(get_system_arch)/ns7/libjavaplugin_oji.so"
|
||||
install_mozilla_plugin "${plugin}"
|
||||
fi
|
||||
fi
|
||||
|
||||
local desktop_in="${D}/opt/${P}/plugin/desktop/sun_java.desktop"
|
||||
if [[ -f "${desktop_in}" ]]; then
|
||||
local desktop_out="${T}/ibm_jre-${SLOT}.desktop"
|
||||
# install control panel for Gnome/KDE
|
||||
# The jdk also installs these so make sure that they do not have the same
|
||||
# Name
|
||||
sed -e "s/\(Name=\)Java/\1 Java Control Panel for IBM JRE ${SLOT}/" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=/opt/${P}/jre/plugin/desktop/sun_java.png#" \
|
||||
"${desktop_in}" > \
|
||||
"${desktop_out}" || die
|
||||
|
||||
domenu "${desktop_out}" || die
|
||||
fi
|
||||
|
||||
dohtml -a html,htm,HTML -r docs || die
|
||||
dodoc "${S}"/{copyright,notices.txt,readmefirst.lnx.txt} || die
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -5,14 +5,11 @@ DIST icedtea-bin-core-3.0.0_pre10-amd64.tar.xz 56918372 SHA256 d3a4ed7a21da9ddf5
|
|||
DIST icedtea-bin-core-3.0.0_pre10-arm.tar.xz 48949724 SHA256 17c334e49a497234371196750e4fdc340798a9198549b3ca07a5602aa211c3bf SHA512 f1c1618bf03218774dea5ce705460012a4a99d5ce86e52e42425cfdfb36e35902e7b3e91e75763e63e005f29ab61604be37b38215595cec6195aece5575c534c WHIRLPOOL 2fb9aa3108ccf1f8e25926edd1dd2862251a7ed99670265843b937ab1205148acb1f8eca821834927fedeef938f797701c158e51511486316bc8b5f5ebb0168e
|
||||
DIST icedtea-bin-core-3.0.0_pre10-ppc64.tar.xz 49977580 SHA256 1c34097333bb114854951212276d13d863596f7068f9bf7c4cf9cc81e42e234d SHA512 cd41601c0a01c13a4d4cfe9b3482a9ece3e6b2bb7405d46a78933041667f2f51770fdfe13a18969ca1d5ab0a3ca7b01b1f69e15c6630a273c8b36094847f8eda WHIRLPOOL 3730d64b05538529d1e35b29189c754a6db49e03bf256cb27c3e70256bd1d1aa989a21140714bf4eed8bc21f6c4dc10101b7102883b52da5d2c774120d76a450
|
||||
DIST icedtea-bin-core-3.0.0_pre10-x86.tar.xz 56360920 SHA256 61c45704a8302d196ecce6d81e08c317f81afa44e036b7a2eb56fa8c031556ca SHA512 cc79756fad7af6ebdd9fb2c1c22cb82e4eafd465167ffd84c4053ddcb58a6fcab523904cc8342848e7ecec9e53d1090be21fd1893e6c79270a633ab4e51ffd55 WHIRLPOOL abaee278b99af1dbdd998d2d1a80afa996cf55d3ec389a9c41a197f0be162180b4afa32706411faaa26d2ad7431256b4d06198efe6a5d58c6f415d5b317c8ff9
|
||||
DIST icedtea-bin-core-6.1.13.9-amd64.tar.xz 49472280 SHA256 3faf62158a33cf1021f63f137a5b35c1c04bc4366d40d7288a6745911bf15034 SHA512 237266a1843b5d1ed0b4553fa36e88d7dce7f6a9bf6e13277d38bc83bb85cfac9b031ed5b362e73e5bc24464893cfdb37bfe67fcf3d4e218a87f101ab56afae7 WHIRLPOOL dd067ee66e2ce7ebbf08d4187d4699198d9759d6571c7d3bf127b7c8ff3a8eb1bea48bf45ed5d480df8de7320ab4f9a00ed6608935f2b3b794a99141568aa57a
|
||||
DIST icedtea-bin-core-6.1.13.9-x86.tar.xz 50947228 SHA256 fbef618f82fc640553bf69383ddf6a4ffb4da5191426d040f0186538fdb3ab2f SHA512 04a066493a0e742da0508fa7e010e7663e73a48e0663939884d22a2f7fa4d440d3680f6a38d7909b2b2f569bbd35facabe838a275cdd589556570601484d443c WHIRLPOOL 9e144546554bf0de5c7cc280fe20a3cd97554d0745b071d0c3f5f97a394556c71246423a39d10de207d0058889ddc010fd367813f4d10fe888d49924b4d7bac7
|
||||
DIST icedtea-bin-core-7.2.6.5-amd64.tar.xz 53018784 SHA256 6adb5ae0e07b29f89cf3ee4a4ed8739ad92f3eb6d276e38ac56056570b70f263 SHA512 9b65828ae84939a7951ed26ed1e55abe42bc8362447b8c8b408e6ea64b80252d1de49a2ab17493dbd920fbc8b496b530486e35946c87094bf5ade452100c80ef WHIRLPOOL 0ab1babb5cdfb17f69692f4430226a0217de6b9ac4f691b700dbdd123b5f221592092f68ba548834692387b580633f704388d12ab20d2212a23793cfbfc243d9
|
||||
DIST icedtea-bin-core-7.2.6.5-arm.tar.xz 43997476 SHA256 d897fbcb7e0587ebb3c1cda83b558eb231983bb44cb2fc306b0fe30c0692d4f9 SHA512 8a328f5f508a815b2e13f0cf27d21a724c29e6228007e6dde418f1a41981d3c3d8c205586560c1f0110e68a176cb58329cd80510a3e33aca0994a78a4456bd89 WHIRLPOOL 4ef90a28853456c16e6698f6e6fe4d46eb745062773da10cd8c75071c5a7b7dc73ae1da21dac1474f156e06cda98a5ceb94a65fe8b79b1415c722126deacf43c
|
||||
DIST icedtea-bin-core-7.2.6.5-x86.tar.xz 54670860 SHA256 ffdee3645634771922e6b160012ba2200c7f59e91dd890e8e61f2b35126751ca SHA512 7ec33501a2118f85f3bd14435eb9aca5711b77fa379db21b63d50d5f20da33cb3818d876f8be3ab40d7cbd8df7120d0b73d06415284463d50614510a59ebd41d WHIRLPOOL 7cfec521ab9cad48cd1296c76c12d8cc57a830a416fba591d0d7e0d7ef195341a3b401196049516c0a905dafcb36323bb68bb013b4cb4ea6b6a702972a984800
|
||||
DIST icedtea-bin-doc-3.0.0.tar.xz 11682788 SHA256 41bcb752716f54a2b4f0d3c25de4a95d77dab3e735cdd785ed79bb04614feff2 SHA512 ec57ce1f403952960c6accd691e375882ead088b28308231cec5ef05e61701fd56c15c98c7ba7b34ea41f338ad3b26cd13cb6b673a2a3ec9b0402066df3b4484 WHIRLPOOL 27b588ff1c479de6398d1a912edca9a2ee150473cc17b435d0356520b7d3dba0c7018dffb440d8966850b5e8fa2b6ea58d8c3e891f049583f6b30356b85dd631
|
||||
DIST icedtea-bin-doc-3.0.0_pre10.tar.xz 11688120 SHA256 cc26fcea4f5208e11ecd00a5c99c4bd5b0541e14ced37aa4a8e0e396c7565797 SHA512 ecf6a8654caed4c7fc07baff10010854e6751fe2eb2377979c1e68e6f1530ed60df0574df422b6f03f6acc20e9b943fd4db2e883eafa00480abb4bd14bf12f9c WHIRLPOOL 760dd0cba2e0438eb65d75002995d64fa9b968bdcdb8b07da61552b1f2044312c5cd6b3981a64e1063f14974ac7ca080d0eb3aa3884553844ba97992bca63da9
|
||||
DIST icedtea-bin-doc-6.1.13.9.tar.xz 9853020 SHA256 94ff85ba64be5c8cfcf261cb6293e48cc3239c1c9da69e98fbc744a82620bd16 SHA512 501d483dccfc349c6dd8a55f9d509d2859774054be9b9ca8020a75e3975d740d78d40184aa86f16b5ea948e16b74944ce4d890396d8ccb5209f7a9514a8b649a WHIRLPOOL 751afbb1e0e2384419424d9ae093893c2e377c004c69d0e06979385823f743ee33321b3c3076e0c8e0b16625a159293d81f959455ca6ee779dfdfa5fc5361907
|
||||
DIST icedtea-bin-doc-7.2.6.5.tar.xz 10605544 SHA256 ae3e5078e8705fffbd95e986c99ce5ed8f8e76474f2c3c005aed0eef67b55377 SHA512 e24f52b8d39e329fed5e8f76a6d15a168454c252db653b46eb4fc5dad63483afefab07794718b9149a76bb62ccdb9f6eda8da9229043eab362bf359b04b118dc WHIRLPOOL 42693d3769ee3ab9af6200d7702244a941a07a01f41f3db655cae28b5bddc527989860dbfdc93681cb4ef22ea5b0c2a489ffc765abb15317ee07762a46f2b863
|
||||
DIST icedtea-bin-examples-3.0.0-amd64.tar.xz 1811800 SHA256 b08dad2eae1f91cc2db9124f66cfd3c11c8aa8001f2e1be7fd1ad0c214db3ab2 SHA512 5e37b6f5c5e4ee651af43b5ffebdb91ed995f26693f333b50a355fdce508c3a349e9a01d1c74640bb7cc56825da88b003175c9ef4a274e2b4304976c40257158 WHIRLPOOL 80f991e760f743b60b7c4d052b5593ed57f2f1d87297b0ea716bbc1c467753fb1c1709f198b55ab8cd2f87b303a88c328205e7ce21f5ef2e32e0a27877bae280
|
||||
DIST icedtea-bin-examples-3.0.0-arm.tar.xz 1794400 SHA256 2fcab4acb1aa08b4a3428e0aaa0c628269cf8fe7fbf3ec89f816391ec45a4e02 SHA512 409d80d2b7fac2bdd21886fc6852f7a4f31da6fc790519dabfbefca8da7c4beb17080eb38e5a707a63f9922d3839b96c0a9484be7104ac4569b9ae23b59c9ffd WHIRLPOOL 513feee6807661d90fa1eecb47c7c9e87eae58b3cad7e6814231d004edb3648f1ac3424b0607a7b505ab67ccaa37481336ab9c8a6eb0450ea7e63d6a6339157f
|
||||
|
@ -21,12 +18,9 @@ DIST icedtea-bin-examples-3.0.0_pre10-amd64.tar.xz 1811864 SHA256 546c7ccbfdcf4c
|
|||
DIST icedtea-bin-examples-3.0.0_pre10-arm.tar.xz 1794528 SHA256 cd658ce0c08652ad24bb74278a52655af2ed1458f4b5d5b23ee391b786110041 SHA512 1198a51c9a863686a8a062edad45faa04d2738975470de4f4620f0d48a06871cd40fefde99586bfa9a57899f331e99649ec3d2d3752b99bbef875a3ae643c095 WHIRLPOOL b83a3658b6a8bcc4a53fa45bad19da028c9b2ecaf7985064271645e609653d19a6939aaa32801041635d6d0c7c4f6bec435ff62c9f4976dd31ff0d91494c55bb
|
||||
DIST icedtea-bin-examples-3.0.0_pre10-ppc64.tar.xz 1805072 SHA256 ad727e79992b19078ac8cafe25bd7c0f8aca2791d6be9666701f9c17e9aea175 SHA512 5c55a09c8ac493065f57d73414f0abdbc603d6a9a420495fe0cadb23cfe04a8b671d77bb333ebbd030e6d3f4833c5711bb005d6e35fefbffb3ac2c896ea0bbb2 WHIRLPOOL abc756c0f2ed606e528abcf76ae31d37f34c0e3cd824aa14368935f1ef70047ae4df322617e73be84b0c0c54e74b782706d71a8248358c6432c7c9beb34740f8
|
||||
DIST icedtea-bin-examples-3.0.0_pre10-x86.tar.xz 1817288 SHA256 56092226edba72708cda9ebb763037d445a7e85ad4e2342cd78441e34f6dc12c SHA512 32a45b1f1b860dfbcfc9b1ad8441282f8f47cbe140dcc783991f995926724759a0a1d1b6a0c50bab62fa9c3bdbd86da4fb8b28cfe99903aea8bac59e48808eea WHIRLPOOL 548c33f9ade636eefd89b0be3eb167a49608a39d21cb1a7022a0f6f03fa9eaedd516f7f63c8cc6edb315d06e031e2480e45ba0498b1b344ec0a0b9da9e1aff96
|
||||
DIST icedtea-bin-examples-6.1.13.9-amd64.tar.xz 1904980 SHA256 aa10b253ba35e14d83852c80999c04bfee7c6ffee7b1baa9df502e253a6a87a1 SHA512 f9be25093aed5b762a268a5fc2cd943fa010bab469e1fd0cc9c39c927a9a154041e637036bfa804cc826f1c674b661ee6d4a5dd7d29820df1de4390db403a229 WHIRLPOOL 121122c84abe3ddbddf5faf6e163ce9a34331cdddfc8cd0ca746d8ba94a79af31c1dadba711aa4bb709edd91605d81785de4fe4ff1e3edd526d4aff592b18816
|
||||
DIST icedtea-bin-examples-6.1.13.9-x86.tar.xz 1904548 SHA256 1aaaaa4ba6c37b5f03ecea8a978c9bdac371e5891dd02459cd7f4174286b182a SHA512 fcdae8dc62376f60a19a3de1fbba867fcbcaa069b5d669120e53d1792119a147566ce59e3e3205ca1db0afea3e6809f339a4a443ff0d21cb1a7c4aa8eb5060df WHIRLPOOL 5625b1af755e79c1e4360ac3fcbf786664525c9508f6fe902788f95a1be9b94d429a61ef0e475fa9d0e2c4ea386fe251a299305961e7936f932c8e2c0abcaa3e
|
||||
DIST icedtea-bin-examples-7.2.6.5-amd64.tar.xz 1796824 SHA256 9730fca1e431168169e71a6cd28120e2da97894771ff99bcfd3fc814ed85402d SHA512 a931737a56fffd65ba3dee00d68a22ee365c783e87cf37cf0fd69620465acb9b5f64bd36ba3798a5d9549f96f7290500a0abbe5d5cee40fc66c5db15b44ecdc5 WHIRLPOOL 5affef2b772efbd96d6fe799bd686b7155fcfff1b3738f116cd8265fa2e784dcece7867d456657f0a213b663c8d7ffe4799cf1ba30e1dab1d9ed57b256121081
|
||||
DIST icedtea-bin-examples-7.2.6.5-arm.tar.xz 1779800 SHA256 563ac5025c8d3a6f0066ca479d9f0053e6bd2440dbe07b2dbfbcf3aee6a87699 SHA512 3c98a62aebf83e5e6e36443b8c42925a2534e15cc369cef4d06d39b81e82057007758462c5b7731a36e862d93a7e547ef2051b9aef313f24fa261277715771b7 WHIRLPOOL 4dc678d1b9e5a9245fb01fb93fd76e6892783444a2026cbd44ccc843cb8229328a43687688c849605e933605366b6904abfea9c152477f9db50b4f7b91ba0c06
|
||||
DIST icedtea-bin-examples-7.2.6.5-x86.tar.xz 1796620 SHA256 1571042672d5d53e4f56e84397411273639e45d05ac706d0b845ac8355f82484 SHA512 ee59bc512af1555480a9219cd01bf2e4f935534c2ba93f8323b4e1dcd69131920dd9ab621e3dd8e68e9cd3cd6fb63ef19274a37b4e954d4570f98211a501e005 WHIRLPOOL 9abc2a7198e31cf33796df0c6ac5b5008ab53d286da086e7e5f526e366339fe68e1c506276cb7044fb7eaf07070de2d00a979b941931665f3a20f9b899bba273
|
||||
DIST icedtea-bin-src-3.0.0.tar.xz 45650888 SHA256 b5be2bce2d1ae180edc153ccd8ad5549aa8fcae1f33423b42794cb98283eebaf SHA512 95ef74d7be58e82e1e873f3b9ff4dfcf6a8e172d59bbeebbe85df53662ecef2eff9ae19e6d6f952f873f14dcc1d38e1045230224f5ed27b930436bff8a77a8ac WHIRLPOOL 978f52a370259912be366e2bd1c7998743fa00065d39c713f73f6c983bcfcd393791435c6e1ecabc5e7293234ca0b3272395074fca3b4bd99f4588be2ccae19d
|
||||
DIST icedtea-bin-src-3.0.0_pre10.tar.xz 45654080 SHA256 48f2402a183b21cbe9af45eb0fd47b07f22b007c27c2730bf99b7cb588fa5718 SHA512 c5bdde545f997c4451fdeb2b20a6e7eae9519419b84e716ae6789ed5f0828ff3ab22c2d1f86bda907175a31c4d0f8ad4fbc45548c5a77f7d9bc2bb2125edfd85 WHIRLPOOL 1582af0d78242f0ba7d1a84c326678f9231d6c6b81e9944a093e9ef7ee748eb6a74bb4cba65751da2f8937496e0084cfa6d6eaf9dbf0788adff2f55cd2eef127
|
||||
DIST icedtea-bin-src-6.1.13.9.tar.xz 39778948 SHA256 11ed522199d3919f7013f4d3d4fb2324d4505ca60fdbcb015faf635c4dfcfc70 SHA512 4c02e7368ed21882afe68cbba3475a16a30276110282d28984586f1c1e0c3d14278e70e495fc74676ba57df3849b8f60ea24da49c6f41070319c46962f1a221a WHIRLPOOL b6daed3717d434688e8946976d96857ce904d510cb45fc30b464e86d1c123ccb2a81ee07bea432ad6fb5148d1b0a73bebe7f51a0bc2f5b1308701a4fce436d79
|
||||
DIST icedtea-bin-src-7.2.6.5.tar.xz 40046964 SHA256 85bd4d4bc2abed47ef2bf7dd5eadbf5837efe67fe4cc322dea8096d47a980930 SHA512 cc5de0f6ede1a342380d5a1ce9ec279ae7f7bab46ea5504c0c39318ece75ad867fbb095e8a8aac5ecc64a02bc8376cf283b36f9a21fbcd485b8d0be636ebd047 WHIRLPOOL 276845b53eea26df67542e240c7f3068fa554c610be1ff7cd43729a57bb74ced6082f5920cc7deee81b8b286bedd24866c67909fa82574aba73e7ca19411e46e
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="IcedTea JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/icedtea-bin-@PV@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/icedtea-bin-@PV@"
|
||||
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="@GENTOO_PORTAGE_EPREFIX@/opt/icedtea-bin-@PV@/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"
|
|
@ -1,151 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 prefix versionator
|
||||
|
||||
dist="https://dev.gentoo.org/~chewi/distfiles"
|
||||
TARBALL_VERSION="${PV}"
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.xz )
|
||||
source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.xz )"
|
||||
|
||||
for arch in amd64 x86; do
|
||||
SRC_URI+="
|
||||
${arch}? (
|
||||
${dist}/${PN}-core-${TARBALL_VERSION}-${arch}.tar.xz
|
||||
examples? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-${arch}.tar.xz )
|
||||
)"
|
||||
done
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="6"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
|
||||
IUSE="+alsa cjk +cups doc examples +gtk headless-awt nsplugin selinux source +webstart"
|
||||
REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
|
||||
|
||||
RESTRICT="preserve-libs strip"
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
RDEPEND=">=dev-libs/nss-3.12.5-r1
|
||||
media-fonts/dejavu
|
||||
>=media-libs/freetype-2.5.5:2
|
||||
>=media-libs/lcms-2.6:2
|
||||
>=sys-devel/gcc-4.9.3
|
||||
>=sys-libs/glibc-2.21
|
||||
>=sys-libs/zlib-1.2.8-r1
|
||||
virtual/jpeg:62
|
||||
alsa? ( >=media-libs/alsa-lib-1.0 )
|
||||
!headless-awt? (
|
||||
>=media-libs/giflib-4.1.6-r1
|
||||
media-libs/libpng:0/16
|
||||
>=x11-libs/libX11-1.6
|
||||
>=x11-libs/libXext-1.3
|
||||
>=x11-libs/libXi-1.7
|
||||
>=x11-libs/libXrender-0.9.8
|
||||
>=x11-libs/libXtst-1.2
|
||||
)
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
cups? ( >=net-print/cups-2.0 )
|
||||
gtk? ( >=x11-libs/gtk+-2.24:2 )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:0 )
|
||||
nsplugin? ( dev-java/icedtea-web:0[nsplugin] )"
|
||||
|
||||
src_prepare() {
|
||||
if ! use alsa; then
|
||||
rm -v jre/lib/$(get_system_arch)/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt; then
|
||||
rm -vr jre/lib/$(get_system_arch)/{xawt,libsplashscreen.*} \
|
||||
{,jre/}bin/policytool bin/appletviewer || die
|
||||
fi
|
||||
|
||||
if [[ -n "${EPREFIX}" ]]; then
|
||||
# The binaries are built on a non-prefixed system. The binary
|
||||
# "bfc" fontconfig therefore must be replaced with a plain text
|
||||
# "properties" fontconfig. The "src" file that accompanies the
|
||||
# "bfc" file can be used as a template.
|
||||
rm -v jre/lib/fontconfig.Gentoo.bfc || die
|
||||
mv -v jre/lib/fontconfig.Gentoo.properties{.src,} || die
|
||||
sed -i 's:=/:=@GENTOO_PORTAGE_EPREFIX@/:' jre/lib/fontconfig.Gentoo.properties || die
|
||||
eprefixify jre/lib/fontconfig.Gentoo.properties
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
dodir "${dest}"
|
||||
|
||||
# doins doesn't preserve executable bits.
|
||||
cp -pRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
|
||||
use doc && dodoc -r doc/html
|
||||
|
||||
if use examples; then
|
||||
cp -pRP demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use webstart || use nsplugin; then
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings "${dest}/bin/itweb-settings"
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings "${dest}/jre/bin/itweb-settings"
|
||||
fi
|
||||
if use webstart; then
|
||||
dosym /usr/libexec/icedtea-web/javaws "${dest}/bin/javaws"
|
||||
dosym /usr/libexec/icedtea-web/javaws "${dest}/jre/bin/javaws"
|
||||
fi
|
||||
|
||||
# Both icedtea itself and the icedtea ebuild set PAX markings but we
|
||||
# disable them for the icedtea-bin build because the line below will
|
||||
# respect end-user settings when icedtea-bin is actually installed.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask "${dest}"
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-bin-1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6-bin"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-bin-6*"
|
||||
elog "has changed from 'icedtea6-bin' to 'icedtea-bin-6' starting from version 6.1.10.4"
|
||||
elog "If you had icedtea6-bin as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use nsplugin; then
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 6.1.13.3-r1 ${REPLACING_VERSIONS} ]]; then
|
||||
elog "The nsplugin for icedtea-bin is now provided by the icedtea-web package"
|
||||
elog "If you had icedtea-bin-6 nsplugin selected, you may see a related error below"
|
||||
elog "The switch should complete properly during the subsequent installation of icedtea-web"
|
||||
elog "Afterwards you may verify the output of 'eselect java-nsplugin list' and adjust accordingly'"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set as default VM if none exists
|
||||
java-vm-2_pkg_postinst
|
||||
}
|
|
@ -15,9 +15,6 @@ DIST icedtea-3.0-langtools-dd581e8047e6.tar.xz 2055716 SHA256 e0e0e6a7cf85755065
|
|||
DIST icedtea-3.0-nashorn-697c5f792bec.tar.xz 2220600 SHA256 b4c59d8269511f2073498518e599ec91dff11c57cadc0b97fa88af81835122c0 SHA512 e719c91ede0db0a5a0c97ff8ee165fadfecab053a48116d48974e24af06559540d2924b0d582fa4d4d5e4971ebc5929aa70b775f0fc6991c8311ca78d7860cd2 WHIRLPOOL e29ab3b81d095034e90c2996802f2c4ce1b338be817cf81ffddb084eedf52638e2b011b379534a9856303d3c3b722ef699d61d25a18f8e7910442c3139e01265
|
||||
DIST icedtea-3.0-openjdk-8ed8d26a3f9a.tar.xz 330164 SHA256 5b032673d74c4e2529427b9570b177285dc9a6430d016ef2e072dd2167669031 SHA512 9b0c6952e66708810cbdcd4f0a093f8d6f954c5cf1d098b6d70eced8908689fc0716fbb76ea6344c4a01127177fb078b31706551289aa7bd80fb649efe4d9018 WHIRLPOOL 361e0f9d3653a5718b3a2a1609c5b73adcee89c22f81e1c108c39499b5e755be639241a1de2946622731255ccbb8d00b097f77176fd31e7b9cfebfdcf94e1feb
|
||||
DIST icedtea-3.0.0.tar.xz 1402156 SHA256 947add69b3b89d7685cb0c9e2b51fc561e27f6e7c0bf1ea98dac8156fa8629a9 SHA512 80bece0c0dbe4c0eaf8716abd0018ae71fc62dd9a3698eeca37383af51884cac5b1185f226003e396b4b5691beca478b5419755795f906962e9f66674294ae9b WHIRLPOOL 4811b4041f96e2debc1f8760eb1c9c318f3c40b36ee45042788c99b74c9886c46a9859fe23eb369f531c596252a89e80b32b71b364e13bd1478c04e66911e824
|
||||
DIST icedtea-cacao-68fe50ac34ec.tar.gz 4263528 SHA256 b8230f20d7022f9230bbfea13b2f3f179b2f42db40138ac6d32c82fc418ffc3a SHA512 bfa719e5c0212435bbc0e3abc7c69d84b52b17edc1571df94f13e4183889da07c82bb332745724cfa4944e18034c71fd9383e3c4515a69dbfa1369ba9318231f WHIRLPOOL 539c0fed1057723212b209d4341ece9c6b2786b1c216789ebdb8d22b4339daf26425883bbc2f08ea754252c28259f02bc829a42ec05d6838162232066f0ec0a3
|
||||
DIST icedtea-cacao-c182f119eaad.tar.gz 4485353 SHA256 eade43f6c5da8b3b5a64e6b206b624eaca88539f80101d7164d6aa426eb590b1 SHA512 2ccb947d71b80d84b83295d473c19952e98698a1fd944fc7c12004ff1af29af2989d46fbd95b5daf95eae2fda9de7c7f88f964fa887a6345b4f57d0c490bee23 WHIRLPOOL 8da9aff897bb7119d99ca825e70b4e79663f04d86a58c23cbf50b2bf56e96d833cc09d18380e510671c0ea65a3e19ae4cd1470741fc3b2c6cd6bcd1b9b9323b4
|
||||
DIST icedtea-cacao-c182f119eaad.tar.xz 3056520 SHA256 bf48f6b725a4dc0c936f6770a67ab4074c3bb35352d5de727368350d32549808 SHA512 22e8a031db5f93f82b276b310c175f1e926e48d64e1e50bebe51138e0f66391cd005501491a959d31663f338f27a29ec984ac29f77078f59472856e4d08edef7 WHIRLPOOL ad72950f37af738b6a6b472b8410a8c8ba52c53d6243976ba983f1802e082c7778d831db202468b7ec5e036dbea1513af6345c666c68b52bae2a95941567cdf0
|
||||
DIST icedtea-jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz 317187 SHA256 31810266666c23822942aac62a78019c2c4589e1c5ee48329cbf42652d4437bc SHA512 a31348481e1c02747f5bb9db333f855c45a1555aa187ee35de5ef553a10a8a47dfcc1beb1e69502046c1758438b91958a328e0a0015812c153221f67734a70a6 WHIRLPOOL 2d629f581a257d51b814aa771173c952445f502e5bd6e21ae7e748e1683fc7820d13f9fd9bf6cacbffeed2097e74628107778f223d617bba71c33f4b124e44c4
|
||||
DIST icedtea6-1.13.9.tar.xz 4573884 SHA256 61e0fb2ed0fc2d793a42e24d2192423f8a7ccb04f130d82d5889a0ecf52bc965 SHA512 b1a6e7d36904e3a9cea620c86dc656324bc99622d470f021f86a66c77919d8faf774d199f42669f9813f1ca4c41f2a920a66f9927d33eeca5476edd26438822a WHIRLPOOL 32586b8563cb7c9246bfb1731d409a03d0367b653dff866f9a3e8b4deb1f09d6405e8e103a94681fe3e80ba4dd042782a2defec409f0b020c1d3c263bf3feec1
|
||||
DIST openjdk-6-src-b37-11_nov_2015.tar.xz 33790124 SHA256 462ac2c28f6dbfb4a18eb46efca232b907d6027f7618715cbc4de5dd73b89e8d SHA512 e7da587e5cb5a99d3a92bc64ae1bc668bd470cd5664f097197d87af07aa32414903c1b212693449e471b933ed6b1bc7e754fb56ccd7af23038d766dbfdf8eba8 WHIRLPOOL 685fd308007bc236b2c461c09186f910ef5c829a3f557fad5b37902d0550b66d7be82502a66209c99430639d875356f5249fa5047f46468983d164aa156aed17
|
||||
|
|
|
@ -1,143 +0,0 @@
|
|||
diff -Naur cacao/cacao/src/vm/options.c cacao/cacao/src/vm/options.c
|
||||
--- cacao/cacao/src/vm/options.c 2013-01-10 16:45:14.000000000 +0000
|
||||
+++ cacao/cacao/src/vm/options.c 2016-01-03 11:48:06.439004345 +0000
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <limits.h>
|
||||
+#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -56,9 +57,9 @@
|
||||
|
||||
bool opt_run = true;
|
||||
|
||||
-s4 opt_heapmaxsize = 0; /* maximum heap size */
|
||||
-s4 opt_heapstartsize = 0; /* initial heap size */
|
||||
-s4 opt_stacksize = 0; /* thread stack size */
|
||||
+size_t opt_heapmaxsize = 0; /* maximum heap size */
|
||||
+size_t opt_heapstartsize = 0; /* initial heap size */
|
||||
+size_t opt_stacksize = 0; /* thread stack size */
|
||||
|
||||
bool opt_verbose = false;
|
||||
bool opt_debugcolor = false; /* use ANSI terminal sequences */
|
||||
diff -Naur cacao/cacao/src/vm/options.h cacao/cacao/src/vm/options.h
|
||||
--- cacao/cacao/src/vm/options.h 2013-01-10 16:45:14.000000000 +0000
|
||||
+++ cacao/cacao/src/vm/options.h 2016-01-03 11:48:55.397204706 +0000
|
||||
@@ -32,6 +32,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "vm/types.h"
|
||||
@@ -82,9 +83,9 @@
|
||||
extern bool opt_jar;
|
||||
extern bool opt_run;
|
||||
|
||||
-extern s4 opt_heapmaxsize;
|
||||
-extern s4 opt_heapstartsize;
|
||||
-extern s4 opt_stacksize;
|
||||
+extern size_t opt_heapmaxsize;
|
||||
+extern size_t opt_heapstartsize;
|
||||
+extern size_t opt_stacksize;
|
||||
|
||||
extern bool opt_verbose;
|
||||
extern bool opt_debugcolor;
|
||||
diff -Naur cacao/cacao/src/vm/vm.cpp cacao/cacao/src/vm/vm.cpp
|
||||
--- cacao/cacao/src/vm/vm.cpp 2013-01-10 16:45:14.000000000 +0000
|
||||
+++ cacao/cacao/src/vm/vm.cpp 2016-01-03 11:50:15.779891441 +0000
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
+#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <exception>
|
||||
@@ -33,6 +34,10 @@
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+#if defined(__LINUX__)
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#include "vm/types.h"
|
||||
|
||||
#include "arch.h"
|
||||
@@ -699,6 +704,19 @@
|
||||
opt_heapstartsize = HEAP_STARTSIZE;
|
||||
opt_stacksize = STACK_SIZE;
|
||||
|
||||
+#if defined(__LINUX__)
|
||||
+ // Calculate 1/4 of the physical memory.
|
||||
+ size_t qmem = sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE) / 4;
|
||||
+
|
||||
+ if (qmem > INT32_MAX) {
|
||||
+ // Allocate no more than 2GB.
|
||||
+ opt_heapmaxsize = INT32_MAX;
|
||||
+ } else if (qmem > HEAP_MAXSIZE) {
|
||||
+ // Otherwise use this if greater than default (128MB).
|
||||
+ opt_heapmaxsize = qmem;
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
// First of all, parse the -XX options.
|
||||
|
||||
#if defined(ENABLE_VMLOG)
|
||||
@@ -914,18 +932,33 @@
|
||||
case OPT_SS:
|
||||
{
|
||||
char c;
|
||||
- int j;
|
||||
+ size_t j;
|
||||
|
||||
+ errno = 0;
|
||||
c = opt_arg[strlen(opt_arg) - 1];
|
||||
+ j = strtoul(opt_arg, NULL, 10);
|
||||
+
|
||||
+ if (errno)
|
||||
+ break; // Invalid.
|
||||
|
||||
if ((c == 'k') || (c == 'K')) {
|
||||
- j = atoi(opt_arg) * 1024;
|
||||
+ if (j > SIZE_MAX / 1024)
|
||||
+ break; // Overflow.
|
||||
+ else
|
||||
+ j *= 1024;
|
||||
|
||||
} else if ((c == 'm') || (c == 'M')) {
|
||||
- j = atoi(opt_arg) * 1024 * 1024;
|
||||
-
|
||||
- } else
|
||||
- j = atoi(opt_arg);
|
||||
+ if (j > SIZE_MAX / 1024 / 1024)
|
||||
+ break; // Overflow.
|
||||
+ else
|
||||
+ j *= 1024 * 1024;
|
||||
+
|
||||
+ } else if ((c == 'g') || (c == 'G')) {
|
||||
+ if (j > SIZE_MAX / 1024 / 1024 / 1024)
|
||||
+ break; // Overflow.
|
||||
+ else
|
||||
+ j *= 1024 * 1024 * 1024;
|
||||
+ }
|
||||
|
||||
if (opt == OPT_MX)
|
||||
opt_heapmaxsize = j;
|
||||
@@ -1525,9 +1558,9 @@
|
||||
void VM::print_run_time_config()
|
||||
{
|
||||
puts("Run-time variables:\n");
|
||||
- printf(" maximum heap size : %d\n", opt_heapmaxsize);
|
||||
- printf(" initial heap size : %d\n", opt_heapstartsize);
|
||||
- printf(" stack size : %d\n", opt_stacksize);
|
||||
+ printf(" maximum heap size : %lu\n", opt_heapmaxsize);
|
||||
+ printf(" initial heap size : %lu\n", opt_heapstartsize);
|
||||
+ printf(" stack size : %lu\n", opt_stacksize);
|
||||
|
||||
#if defined(WITH_JAVA_RUNTIME_LIBRARY_GNU_CLASSPATH)
|
||||
printf(" gnu.classpath.boot.library.path: %s\n", _properties.get("gnu.classpath.boot.library.path"));
|
|
@ -1,351 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit check-reqs java-pkg-2 java-vm-2 multiprocessing pax-utils versionator virtualx
|
||||
|
||||
ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
|
||||
ICEDTEA_BRANCH=$(get_version_component_range 1-3)
|
||||
OPENJDK_BUILD="37"
|
||||
OPENJDK_DATE="11_nov_2015"
|
||||
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.xz"
|
||||
# Download cacao and jamvm regardless for use with EXTRA_ECONF
|
||||
CACAO_TARBALL="68fe50ac34ec.tar.gz"
|
||||
JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
|
||||
|
||||
CACAO_GENTOO_TARBALL="icedtea-cacao-${CACAO_TARBALL}"
|
||||
JAMVM_GENTOO_TARBALL="icedtea-${JAMVM_TARBALL}"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_PKG="${ICEDTEA_PKG}.tar.xz"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${SRC_PKG}
|
||||
https://java.net/downloads/openjdk6/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
RESTRICT="test"
|
||||
|
||||
IUSE="+alsa cacao cjk +cups debug doc examples +gtk headless-awt
|
||||
javascript +jbootstrap kerberos nsplugin +nss pax_kernel pulseaudio
|
||||
selinux source systemtap test +webstart zero"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6:=
|
||||
>=media-libs/libpng-1.2:0=
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
x11-libs/libXt"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/freetype-2.3.5:2=
|
||||
>=media-libs/lcms-2.5
|
||||
>=sys-libs/zlib-1.2.3:=
|
||||
virtual/jpeg:0=
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11:= )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# media-fonts/lklug needs ppc ppc64 keywords
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea6
|
||||
!dev-java/icedtea-web:6
|
||||
media-fonts/dejavu
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
cups? ( ${CUPS_COMMON_DEP} )
|
||||
gtk? ( >=x11-libs/gtk+-2.8:2 )
|
||||
!headless-awt? ( ${X_COMMON_DEP} )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP} ${X_DEPEND}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.2
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
sys-apps/lsb-release
|
||||
virtual/pkgconfig
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:0 )
|
||||
nsplugin? ( dev-java/icedtea-web:0[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
icedtea_check_requirements() {
|
||||
local CHECKREQS_DISK_BUILD
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="8500M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="8000M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
icedtea_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
icedtea_check_requirements
|
||||
|
||||
JAVA_PKG_WANT_BUILD_VM="
|
||||
icedtea-6 icedtea-bin-6
|
||||
gcj-jdk"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${SRC_PKG}
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||
addpredict /proc/self/coredump_filter
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local cacao_config config hotspot_port use_cacao use_zero zero_config
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# gcj-jdk ensures ecj is present.
|
||||
if use jbootstrap || has "${vm}" gcj-jdk; then
|
||||
use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
|
||||
config+=" --enable-bootstrap"
|
||||
else
|
||||
config+=" --disable-bootstrap"
|
||||
fi
|
||||
|
||||
# Use Zero if requested
|
||||
if use zero; then
|
||||
use_zero="yes"
|
||||
fi
|
||||
|
||||
# Use CACAO if requested
|
||||
if use cacao; then
|
||||
use_cacao="yes"
|
||||
fi
|
||||
|
||||
# Are we on a architecture with a HotSpot port?
|
||||
# In-tree JIT ports are available for amd64, arm, sparc and x86.
|
||||
if { use amd64 || use arm || use sparc || use x86; }; then
|
||||
hotspot_port="yes"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO on ppc and Zero on anything else
|
||||
if test "x${hotspot_port}" != "xyes"; then
|
||||
if { use ppc || use ppc64; }; then
|
||||
use_cacao="yes"
|
||||
else
|
||||
use_zero="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Turn on CACAO if needed (non-HS archs) or requested
|
||||
if test "x${use_cacao}" = "xyes"; then
|
||||
if test "x${hotspot_port}" = "xyes"; then
|
||||
ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
|
||||
ewarn 'If so, please rebuild with USE="-cacao"'
|
||||
fi
|
||||
cacao_config="--enable-cacao"
|
||||
|
||||
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2611
|
||||
export DISTRIBUTION_PATCHES="${SLOT}-cacao-pr-157.patch"
|
||||
ln -snf "${FILESDIR}/${DISTRIBUTION_PATCHES}" || die
|
||||
fi
|
||||
|
||||
# Turn on Zero if needed (non-HS/CACAO archs) or requested
|
||||
if test "x${use_zero}" = "xyes"; then
|
||||
zero_config="--enable-zero"
|
||||
fi
|
||||
|
||||
config+=" --with-parallel-jobs=$(makeopts_jobs)"
|
||||
|
||||
if use javascript ; then
|
||||
config+=" --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
else
|
||||
config+=" --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
|
||||
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
|
||||
--with-pkgversion="Gentoo package ${PF}" \
|
||||
--disable-downloading --disable-Werror \
|
||||
$(use_enable !headless-awt system-gif) \
|
||||
$(use_enable !headless-awt system-png) \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable kerberos system-kerberos) \
|
||||
$(use_enable nss) \
|
||||
$(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
${zero_config} ${cacao_config}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# With ant >=1.8.2 all required tasks are part of ant-core
|
||||
export ANT_TASKS="none"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
if ! use alsa; then
|
||||
rm -v jre/lib/$(get_system_arch)/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -vr jre/lib/$(get_system_arch)/{xawt,libsplashscreen.*} \
|
||||
{,jre/}bin/policytool bin/appletviewer || die
|
||||
fi
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins doesn't preserve executable bits.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r ../docs/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -vRP demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# provided by icedtea-web but we need it in JAVA_HOME to work with run-java-tool
|
||||
if use webstart || use nsplugin; then
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings ${dest}/bin/itweb-settings
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings ${dest}/jre/bin/itweb-settings
|
||||
fi
|
||||
if use webstart; then
|
||||
dosym /usr/libexec/icedtea-web/javaws ${dest}/bin/javaws
|
||||
dosym /usr/libexec/icedtea-web/javaws ${dest}/jre/bin/javaws
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
|
||||
elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
|
||||
elog "If you had icedtea6 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
|
@ -32,7 +32,6 @@
|
|||
<flag name="sctp">Build the SCTP NIO channel implementation against lksctp</flag>
|
||||
<flag name="smartcard">Build the PCSC driver against pcsc-lite</flag>
|
||||
<flag name="sunec">Build the SunEC provider against system NSS</flag>
|
||||
<flag name="systemtap">Enable SystemTap probes in HotSpot.</flag>
|
||||
<flag name="zero">Enable Zero assembler port (usually for non-HotSpot architectures)</flag>
|
||||
<flag name="webstart">Enable Web Start support (via NetX).</flag>
|
||||
</use>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
DIST jCharts-0.7.5.zip 2499046 SHA256 add40a61a022f353421bfc578537871b7d716750896d689ada8ac294334956d6 SHA512 6b3da4f24cf6481d978a2ddda6db723b93c4fa966b536604ed2e9a6f238925c510eae59bb2cf1c11ea66cebf38292c880655aab4e09f6c8af3fcb4fbbbad92c1 WHIRLPOOL 26d00c4852ae00f4e605061b4c50f911a81856a198ab50af4547af12b73972ba8e23424d252fbcb65343f40e42b4c8b26cfec863442c66c372d21fb3a7db0bc4
|
|
@ -1,66 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="jCharts-${PV}"
|
||||
DESCRIPTION="jCharts is a 100% Java based charting utility that outputs a variety of charts"
|
||||
HOMEPAGE="http://jcharts.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
# tests need X11
|
||||
RESTRICT=test
|
||||
|
||||
CDEPEND="dev-java/batik:1.8
|
||||
java-virtuals/servlet-api:3.0"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
|| ( virtual/jre:1.6 virtual/jre:1.5 )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
|| ( virtual/jdk:1.6 virtual/jdk:1.5 virtual/jdk:1.4 )"
|
||||
|
||||
#RDEPEND="${CDEPEND}
|
||||
# >=virtual/jre-1.4"
|
||||
#DEPEND="${CDEPEND}
|
||||
# >=virtual/jdk-1.4
|
||||
# app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v *.{jar,war} lib/*.jar || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
|
||||
|
||||
EANT_BUILD_XML="build/build.xml"
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
batik-1.8
|
||||
servlet-api-3.0
|
||||
"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/*.jar
|
||||
dohtml docs/*.html
|
||||
|
||||
use doc && java-pkg_dojavadoc build/javadocs
|
||||
use source && java-pkg_dosrc src/org
|
||||
use examples && java-pkg_doexamples demo
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
jCharts is a 100% Java based charting utility that outputs a
|
||||
variety of charts. This package has been designed from the
|
||||
ground up by volunteers for displaying charts via Servlets,
|
||||
JSP's, and Swing apps. First release was in December 2000.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jcharts</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,2 +1 @@
|
|||
DIST microba-0.4.4-full.zip 631831 SHA256 33c3779dd243d7415b137dff5d15d292589390b08f398f77fef581099aa1b5c8 SHA512 80103b33ebb50e0dafa82b713218bbedbf59424922424515a453a49d1be416960a78c6c4d987eede5ab168f806cf0bb7ffcc900a6a19827e51e9bf612d08e742 WHIRLPOOL c2bd6033dc3e18597e6d0219bde742d09dde70e72a82012a14d27966c0d12ea9ca725d3dc2d8732bc557979cea8e6808a7ed5ba9b3a3be04b33dd1071bdb9dbe
|
||||
DIST microba-0.4.4.3.zip 89737 SHA256 793ce6623d9eb9d0c765c2f7dc8caeff56020adcebb3227ece0ca30eea159cab SHA512 17933578fe101053a1004a1aa0ef342ffa1dc1f2ea2d670fa8aa2523c7d8207bb79e54755e58d0b7ce5ba627ca3b348ac10870718622e818f4097a966acc0a10 WHIRLPOOL c94e947b9f033aad529b018d8e33a3c69dd45081ddb48eb6c05ba86e24868fd0348a4fe3a6d5eb7d8fee3937e8361208da6bc1847613acc19e83d964118d450d
|
||||
|
|
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/tdbear/${PN}/archive/${PV}.zip -> ${P}.zip"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/jgraph:0"
|
||||
|
@ -24,8 +24,8 @@ RDEPEND="
|
|||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
source? ( app-arch/zip )
|
||||
>=virtual/jdk-1.6"
|
||||
>=virtual/jdk-1.6
|
||||
source? ( app-arch/zip )"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_BSFIX="off"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Swing components for date operations and palettes"
|
||||
HOMEPAGE="http://microba.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-full.zip"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND=">=dev-java/jgraph-5.9.2"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
unpack ./${P}-sources.jar
|
||||
rm *.jar || die
|
||||
|
||||
# do not delete stuff after it's zipped
|
||||
sed -i -e "s/<delete/<mkdir/" build.xml
|
||||
|
||||
cd lib-compiletime
|
||||
rm *.jar || die
|
||||
java-pkg_jar-from jgraph jgraph.jar
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="bin_release"
|
||||
EANT_DOC_TARGET="doc_release"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar redist/${P}.jar
|
||||
dodoc *.txt || die
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc src/com
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" standalone="yes"?>
|
||||
<project basedir="." default="jar">
|
||||
<target name="compile">
|
||||
<mkdir dir="bin"/>
|
||||
<mkdir dir="lib"/>
|
||||
<javac srcdir="shared" destdir="bin">
|
||||
<include name="**/*.java"/>
|
||||
<classpath>
|
||||
<fileset dir="lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="shared-objects.jar">
|
||||
<zipfileset dir="bin"/>
|
||||
</jar>
|
||||
</target>
|
||||
</project>
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A Java Class implementing a core factory for maximal sharing of arbitrary objects"
|
||||
HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATermLibrary"
|
||||
SRC_URI="http://www.cwi.nl/projects/MetaEnv/shared-objects/shared-objects-1.4.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4"
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cp "${FILESDIR}/build.xml" "${S}" || die
|
||||
|
||||
(
|
||||
echo "#! /bin/sh"
|
||||
echo "java-config -p shared-objects-1"
|
||||
) > "${S}"/shared-objects-config
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar shared-objects.jar
|
||||
dobin shared-objects-config || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
use source && java-pkg_dosrc "${S}/shared"
|
||||
}
|
|
@ -8,20 +8,20 @@ JAVA_PKG_IUSE="doc source"
|
|||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A Java Class implementing a core factory for maximal sharing of arbitrary objects"
|
||||
DESCRIPTION="Core factory for maximal sharing of arbitrary objects"
|
||||
HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATermLibrary"
|
||||
SRC_URI="http://www.cwi.nl/projects/MetaEnv/shared-objects/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
source? ( app-arch/zip )
|
||||
>=virtual/jdk-1.6"
|
||||
>=virtual/jdk-1.6
|
||||
source? ( app-arch/zip )"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
DIST openjdk7-macppc-2009-12-16-b4.tar.bz2 52825661 SHA256 a31b444214de2f9ff7959a8d9fa626f7be446fa612e78af5ac8087ad30de8a42 SHA512 ac856d91d2d80fcbde99e85a2f603746dd05fa40d113770354d1871ee87a8821a83e41332b56b99a24e832d1c3e7ceeca76ec94cccb010a4e086ebb362b2ee28 WHIRLPOOL 24b41b33ed489b4426545567977377186892a10cb3adec159eba6429d124a55da63d5ef4b09ba658872e1fc3a7031846483d51549f6087ec9058e6b069181304
|
||||
DIST soylatte16-amd64-1.0.3.tar.bz2 53888225 SHA256 749762d742450a8711acd7ba981969c0056e9373b453d3e97c58af07f5f92c60 SHA512 51e3499eb56c3177c3cef9416e265769757fc8e5b8075a5eb1cbde74fd7b64edb0ab64ba2c2e9751fc21f5fae035e6224a60ffff2ab8808e7f9a4d106ac1d071 WHIRLPOOL ec3e01cab1c1ddcb126e34b31a1552b65fbc96282e505f672e1e175e14aa22be348f4d3077b93ae711352eee3cbd37271950c4ab246dad58e775210e79f42f90
|
||||
DIST soylatte16-i386-1.0.3.tar.bz2 55567606 SHA256 8f389eb9c19336ce18d864ad600edd692c6994259889646d68c2e66494d67ffc SHA512 e19f9755ffea0de8d397c537264334d473ae5678034bed0a04254dc82d9322ab8ae6ddc158d85713fe19c4e51542c46a06cfc7fe86ce17d278673dbd47be3abc WHIRLPOOL d8b9ae1ca8674135f6dd10aa511ee9606f255fdfa8d72b75e50d30daec39b4645137a6d02b5142020029a6a0ac0f5a766673d7833acb41e59ed29339e55f13aa
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Landon Fuller's @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.6"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.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"
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Landon Fuller's OpenJDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.7"
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.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"
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>prefix@gentoo.org</email>
|
||||
<name>Gentoo Prefix</name>
|
||||
</maintainer>
|
||||
<longdescription>SoyLatte: Java 6 Port for Mac OS X 10.4 and 10.5 (Intel)</longdescription>
|
||||
</pkgmetadata>
|
|
@ -1,105 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
|
||||
JAVA_SUPPORTS_GENERATION_1="true"
|
||||
inherit java-vm-2 multilib
|
||||
|
||||
DESCRIPTION="Landon Fuller's Java 6 for Mac OS X 10.4 and 10.5"
|
||||
HOMEPAGE="http://landonf.bikemonkey.org/static/soylatte/"
|
||||
DLURL="http://landonf.bikemonkey.org/static/soylatte/bsd-dist/javasrc_1_6_jrl_darwin"
|
||||
SRC_URI="
|
||||
x86-macos? ( ${DLURL}/soylatte16-i386-${PV}.tar.bz2 )
|
||||
x64-macos? ( ${DLURL}/soylatte16-amd64-${PV}.tar.bz2 )
|
||||
"
|
||||
SLOT="1.6"
|
||||
LICENSE="sun-jrl"
|
||||
KEYWORDS="~x86-macos ~x64-macos"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-db/unixODBC"
|
||||
|
||||
JAVA_PROVIDE="jdbc-stdext"
|
||||
|
||||
chdir_s() {
|
||||
local MY_P=soylatte16-i386-${PV}
|
||||
use x64-macos && MY_P=soylatte16-amd64-${PV}
|
||||
|
||||
cd "${WORKDIR}"/${MY_P}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
chdir_s
|
||||
|
||||
# fix install_names
|
||||
local arch=i586
|
||||
use x64-macos && arch=amd64
|
||||
local original_root=/data/Users/landonf/Documents/Code/Java/javasrc_1_6_jrl_darwin_stable/control/build/bsd-${arch}
|
||||
local original_demo=${original_root}/demo
|
||||
local original_lib=${original_root}/lib
|
||||
for dir in demo jre ; do
|
||||
for dynamic_lib in $(find ${dir} -name '*.dylib'); do
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/opt/${P}/${dynamic_lib} \
|
||||
${dynamic_lib}
|
||||
for linked_against in $(scanmacho -BF'%n#f' ${dynamic_lib} | tr ',' ' '); do
|
||||
case ${linked_against} in
|
||||
${original_lib}/*)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/opt/${P}/jre${linked_against#${original_root}} \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
${original_demo}/*)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/opt/${P}${linked_against#${original_root}} \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
libjvm.dylib)
|
||||
# 64-bits binary has no client, so default to server JVM
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/opt/${P}/jre/lib/$(use x86-macos && echo i386/client || echo amd64/server)/libjvm.dylib \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
*/libodbc*.dylib)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/${linked_against##*/} \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
chdir_s
|
||||
|
||||
local dirs="bin include jre lib man"
|
||||
dodir /opt/${P}
|
||||
|
||||
cp -pPR $dirs "${ED}/opt/${P}/" || die "failed to copy"
|
||||
dodoc COPYRIGHT || die
|
||||
dohtml README.html || die
|
||||
|
||||
cp -pP src.zip "${ED}/opt/${P}/" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pPR demo sample "${ED}/opt/${P}/" || die
|
||||
fi
|
||||
|
||||
# create dir for system preferences
|
||||
dodir /opt/${P}/jre/.systemPrefs
|
||||
# Create files used as storage for system preferences.
|
||||
touch "${ED}"/opt/${P}/jre/.systemPrefs/.system.lock
|
||||
chmod 644 "${ED}"/opt/${P}/jre/.systemPrefs/.system.lock
|
||||
touch "${ED}"/opt/${P}/jre/.systemPrefs/.systemRootModFile
|
||||
chmod 644 "${ED}"/opt/${P}/jre/.systemPrefs/.systemRootModFile
|
||||
|
||||
set_java_env
|
||||
}
|
|
@ -1,87 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
|
||||
JAVA_SUPPORTS_GENERATION_1="true"
|
||||
inherit java-vm-2 multilib
|
||||
|
||||
DESCRIPTION="Landon Fuller's OpenJDK 7 for Mac OS X 10.5/PPC"
|
||||
HOMEPAGE="http://landonf.bikemonkey.org/static/soylatte/"
|
||||
SRC_URI="http://landonf.bikemonkey.org/static/soylatte/bsd-dist/openjdk7_darwin/openjdk7-macppc-2009-12-16-b4.tar.bz2"
|
||||
SLOT="1.7"
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
KEYWORDS="~ppc-macos"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-db/unixODBC"
|
||||
|
||||
JAVA_PROVIDE="jdbc-stdext"
|
||||
|
||||
S=${WORKDIR}/openjdk7-macppc-2009-12-16-b4
|
||||
|
||||
src_prepare() {
|
||||
# fix install_names
|
||||
local original_root=/Users/landonf/Desktop/openjdk-ppc/bsd-port/build/bsd-ppc
|
||||
local original_demo=${original_root}/demo
|
||||
local original_lib=${original_root}/lib
|
||||
for dir in demo jre ; do
|
||||
for dynamic_lib in $(find ${dir} -name '*.dylib'); do
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/opt/${P}/${dynamic_lib} \
|
||||
${dynamic_lib}
|
||||
for linked_against in $(scanmacho -BF'%n#f' ${dynamic_lib} | tr ',' ' '); do
|
||||
case ${linked_against} in
|
||||
${original_lib}/*)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/opt/${P}/jre${linked_against#${original_root}} \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
${original_demo}/*)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/opt/${P}${linked_against#${original_root}} \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
libjvm.dylib)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/opt/${P}/jre/lib/ppc/server/libjvm.dylib \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
*/libodbc*.dylib)
|
||||
install_name_tool -change \
|
||||
${linked_against} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/${linked_against##*/} \
|
||||
${dynamic_lib}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dirs="bin include jre lib man"
|
||||
dodir /opt/${P}
|
||||
|
||||
cp -pPR $dirs "${ED}/opt/${P}/" || die "failed to copy"
|
||||
|
||||
cp -pP src.zip "${ED}/opt/${P}/" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pPR demo sample "${ED}/opt/${P}/" || die
|
||||
fi
|
||||
|
||||
# create dir for system preferences
|
||||
dodir /opt/${P}/jre/.systemPrefs
|
||||
# Create files used as storage for system preferences.
|
||||
touch "${ED}"/opt/${P}/jre/.systemPrefs/.system.lock
|
||||
chmod 644 "${ED}"/opt/${P}/jre/.systemPrefs/.system.lock
|
||||
touch "${ED}"/opt/${P}/jre/.systemPrefs/.systemRootModFile
|
||||
chmod 644 "${ED}"/opt/${P}/jre/.systemPrefs/.systemRootModFile
|
||||
|
||||
set_java_env
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
DIST jce_policy-6.zip 9101 SHA256 d0c2258c3364120b4dbf7dd1655c967eee7057ac6ae6334b5ea8ceb8bafb9262
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -1,45 +0,0 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
jcefile="jce_policy-6.zip"
|
||||
|
||||
DESCRIPTION="Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files ${PV}"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/overview/index-jsp-136246.html"
|
||||
SRC_URI="${jcefile}"
|
||||
SLOT="1.6"
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd"
|
||||
RESTRICT="fetch"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/jce"
|
||||
|
||||
FETCH_JCE="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${jcefile} from:"
|
||||
einfo ${FETCH_JCE}
|
||||
einfo "(JCE Unlimited Strength Jurisdiction Policy Files 6)"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ ! -r "${DISTDIR}"/${jcefile} ]; then
|
||||
die "cannot read ${jcefile}. Please check the permission and try again."
|
||||
fi
|
||||
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${P}/jre/lib/security/unlimited-jce
|
||||
|
||||
insinto /opt/${P}/jre/lib/security/unlimited-jce
|
||||
doins *.jar
|
||||
dodoc README.txt
|
||||
dohtml COPYRIGHT.html
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
DIST jce_policy-6.zip 9101 SHA256 d0c2258c3364120b4dbf7dd1655c967eee7057ac6ae6334b5ea8ceb8bafb9262 SHA512 a1aa55f2ad919efcf63452aaa96303328b7449626efb342a7f8d9e7a4fe9c06ce22ce33fb89e768602b172b7d9538c432e82523addb0bbd4d1be22f934576b56 WHIRLPOOL 144a4891ca3f5f88f72c1a13283823845bd7e46b5fe941b4c192705e20e9fcbbf27819ee926577218dd3b222e41f7ee149cab6f9eea5a46febebea00ad2ed3bc
|
||||
DIST jdk-6u45-linux-i586-demos.tar.gz 12073459 SHA256 1e748de12946f8ec9b83ed8caa4cfda9a7ebbc52d62f39fcdba27f7f6bcf7d46 SHA512 c19260a669d8b31879421e0eef08f4ec2bb37bae085f656e5e627f405b346a2be2e76aa10f61381fa08244736f1b7d0b49af44c5d6cfff65ed2cefe44ad8d441 WHIRLPOOL 15949ff291fc20b27032e6363a0ebacf8a532fe536f06e29c1f6e8b45cf3a4fcfe5fa47961d2c0ed0fb112e8e84f124067b8002758793682b13dece816d6c7d4
|
||||
DIST jdk-6u45-linux-i586.bin 71799552 SHA256 d53b5a2518d80e1d95565f0adda54eee229dc5f4a1d1a3c2f7bf5045b168a357 SHA512 9539da9779c0a74165da24bd5730b8b7e58f4b8a38841de04919af8a957fa83f32367fdcb393d4ac756feccaf0cf014ebf2f74180f9301d22944fa30dfb87777 WHIRLPOOL 47a88a246ac06fc1275e16d6dac6c859ffa4598ce6940f2910d6be616c88475dbd0638654cdba82bdb3a29e9f2f0a80267c127f51392c3400392ffa168cf4631
|
||||
DIST jdk-6u45-linux-ia64-demos.tar.gz 6858761 SHA256 4d2ad7d92d7966a009b2006002d80960aac803e7cafe9d0a8bd8976c258a99ec SHA512 82b4e65ca455dcc2d916bd92c6b0d9c9333db7379882610ece3f1d99d35aa7792dc6e4236d74340175c5ec8c02db6d512406ea837d5e0f738dd6211d730e7e03 WHIRLPOOL 9c1cbff1cbf881b502f4a8f8374cae3f3ead0c936b7347fd67b60904957716f5ff457f2bd4e32e81959b54dae18fe4907ab0f8ab5c544bf249148769d2c4c85e
|
||||
DIST jdk-6u45-linux-ia64.bin 58719923 SHA256 6979b4e2e6dd11310760d13e8fea040e1be1419b0fac2fd44f1bf7173ce4fee6 SHA512 8acb10bb6335f267ae4b53d08167cebad41bc6a34300305e46a31d13b492fb9e4c3e4c28f0989b1412de3745f54db5d8c730eb76aaf6d1712ed31a2d3268d1cb WHIRLPOOL 50166f80eaafd64d39945d62b4c905cc7cf686e0f210d0a0a0807c100245139c9f136220875821ede9611376b3e8453247908cf4ae00a35d0cbde3caa03b9b44
|
||||
DIST jdk-6u45-linux-x64-demos.tar.gz 12104609 SHA256 abc7d2e3fd16f788675403f26af17ae29325002e1ef45ddfa69e8a4bb7964838 SHA512 ecfa8f911c8a73bd00edb82ea5668a589106667fa0a67875ab1a0bbe406574ec804007f7f622b4cc391d7b5a06d2b0d137c3b61a7891a74f0a85a42df463f63b WHIRLPOOL 969b385e3275bfbccfa41885b9ef1c8a2d26b2a292c2187efb0d1218aa744da1e56083f29b30a38a1d36dbbea241621654a73df391b502e557bd6e61e40186ef
|
||||
DIST jdk-6u45-linux-x64.bin 72087592 SHA256 6b493aeab16c940cae9e3d07ad2a5c5684fb49cf06c5d44c400c7993db0d12e8 SHA512 bf2fcb8696b9e43af80d9114fd984d86317422e8c65dd464a7abff4017a5c4c0d8ebdbd8418270fc8c6c52c2b97498f02742440ed4f8394b3612d2e2186c30d8 WHIRLPOOL 1c9861e66e3e8f45f7f4284e09e87ee4fd1347687010b8ecc87666b9df070d33921ffd60f727e6630caac4db2b50ae6a3f432987062469daa06130c7b4e62f15
|
||||
DIST jdk-6u45-solaris-i586-demos.tar.Z 17934236 SHA256 f23e90da3ccdb964a0b646e2b09cbc442f59f6c5448555f41a7b75b0a25f0022 SHA512 8cd84c860a807de7bb8f73edb403357d307e0f62a37c8fc4721e1645d8088350fd29570eff5bcbe1abbc6114b59f44b4a98624d4e94c905b930e3e9c84aafd60 WHIRLPOOL 3abd2623865c11cfcb7960a8e932258ec32277e80e3178ddf343c8b05c6dee8718d8b7c3327dde26c15eec28d650dcd350be06fff067b88016515abc8e5cccd8
|
||||
DIST jdk-6u45-solaris-i586.sh 71704137 SHA256 e62c6e0305b1b69f37a5dab1f2f9369da3749e8f95f106ba96f88bc3232b288b SHA512 f38ee02fd782305e0eec4f9267772bf0b8f145b3e1fda6b8b35a09e4b154c0cb0cb159f1c51d2ee1d1f1dbba1ca0736fcbd50cf5f42ae9dccc58f8cde9f7a038 WHIRLPOOL e76d32e2c85496c6a596edf16ebf3941a05ec65d5f9c758658c7ed983c7ab1245d589a0f2358a57b939ce75fe1bd7d41fb8dbb3ce47552403a2793443912651c
|
||||
DIST jdk-6u45-solaris-sparc-demos.tar.Z 17931861 SHA256 719c8662c2bd6ed2b894a5b03096d50a1d8d9dfec54e8a85a12d0298b342b909 SHA512 0d7ab33234319b6e4e6cf2d50496ad57ee15a066ebe97afed7684e47cc907f9bd97ef28c7c7d3c78cc4bc9cef3580221dccd5bd4b0d9706dd15fd6339c1f3ad1 WHIRLPOOL 0a02654bd32f8c850e91a0d6abfc9ff83a7b2bf6c866d292253bcda06de70e7bbcfffbfa712bc8d3a15c70f8012e2c7936c30149b805703b9115114d072dbe35
|
||||
DIST jdk-6u45-solaris-sparc.sh 76971070 SHA256 3be55a2491ee332d3beb4653893d699075dab73407b88290304248d81c49d9d9 SHA512 6fff0a4ebb6deb3bbf16367c39e84bb7f88a4f7be6d39d879e7c987eeb0ff7148b6a1f814ec86764f2e4bc74ecbfa429d984c6510e391f1465cffd57c74ac089 WHIRLPOOL 171ae21157ba82e517a5ab7e3957044a0ff914f742e66e6ec13f8fe3cac786dd3bb511f2adab88cc83a2a5747d36cdd320e646e6d50710b75a90bd68b17bcf63
|
||||
DIST jdk-6u45-solaris-sparcv9-demos.tar.Z 66473 SHA256 7c4d9b616b802321449d91a2ca8a7d5fe601454be6d88fe0d2321366e3e89975 SHA512 72628ccd35def302d35a44ceb98e68b865fd0edbcb4bfc58f80fa7e7834461280312777ee173f7041b7d0a9469705421ae85a76dc7db36f9ab25bf61c768858a WHIRLPOOL ad706edd9ba0baee5fb1c448330b468b66bb82de178eaae6881ce7fceda7f0b1d028abd5d65e514e17cf514cb1d6daeb714173c3af41046d2142ebff73670336
|
||||
DIST jdk-6u45-solaris-sparcv9.sh 12785214 SHA256 2d0e5163effbac3e3eae1bbf0767f56f590a3e71fc74f63dd0ff5f9386384254 SHA512 24cd70c7133d4858e2c124f907f0731c01cbd9f4f599a24f044a4a351767002404cd269be15d6fbbc6888342cd36b2fa2a84c18b0e1aebe9d7974f4d6cbc374a WHIRLPOOL c851b49f5d65a59adc62e8f17ee5d2b8f51999377c4b245d713e3b2a00c49c64187a7bbadf19fd0e74f91ec003ab79475867f2f2b23e9ca5cd8d4254a4a9ea32
|
||||
DIST jdk-6u45-solaris-x64-demos.tar.Z 71857 SHA256 86ce6dfad3d4f596dfd40ab432139817062f61c6d800bd2d7dab76e22d2649e7 SHA512 14e0637ec2f0d536e41011996192150848a5311ac5bbae44c2b5e0e9bbdfe0a829e57a7a0a3912cf6fffe9fb26d9360206193957fdd5c0959e81b254a02c0667 WHIRLPOOL d26ed5891fbb5c4dbca0a95de0db683afc633afd0d56dab4c86c85348f763c3da49cf4c57c2ae12f32c77d9b4c7e46b1c5048c096800c1a0149b61e1af32eeaf
|
||||
DIST jdk-6u45-solaris-x64.sh 8907780 SHA256 b3f50fc921c07dee97781e322954021ebb10785ac4e8f4a4536dab239860c09e SHA512 cc262d3ef9c070ed7f1eab9141e9f509f16e6fb97534dd3ca48a65dad83124cf745894a3f73c270a0618220d1a541833f08970250bb697f584cf4d1e497d9e1f WHIRLPOOL f75c984d092bd93ae1213a83cc79604e65df118fba77f413979a5d34337cba52b0dedd72559a740911908475d6971fbe5198eabc6878bb20838dd8f3bc12a33d
|
|
@ -1,161 +0,0 @@
|
|||
# Version
|
||||
|
||||
version=1
|
||||
|
||||
# Component Font Mappings
|
||||
|
||||
allfonts.chinese-gb18030=-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
allfonts.chinese-gb18030.motif=-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0
|
||||
allfonts.chinese-big5=-arphic technology co.-ar pl mingti2l big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
allfonts.chinese-big5.motif=-taipei-fixed-medium-r-normal--*-%d-*-*-c-*-big5-0
|
||||
allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.plain.latin-1.motif=-b&h-luxi serif-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.bold.latin-1.motif=-b&h-luxi serif-bold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.italic.latin-1.motif=-b&h-luxi serif-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.bolditalic.latin-1.motif=-b&h-luxi serif-bold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
monospaced.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
monospaced.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
monospaced.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
monospaced.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialog.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialog.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialog.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialog.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialoginput.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialoginput.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialoginput.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialoginput.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
# Search Sequences
|
||||
|
||||
sequence.allfonts=latin-1
|
||||
sequence.allfonts.Big5=latin-1,chinese-big5
|
||||
sequence.allfonts.GB2312=latin-1,chinese-gb18030
|
||||
sequence.allfonts.x-euc-jp-linux=latin-1,japanese-x0208
|
||||
sequence.allfonts.EUC-KR=latin-1,korean
|
||||
sequence.allfonts.GB18030=latin-1,chinese-gb18030
|
||||
sequence.fallback=lucida,chinese-big5,chinese-gb18030,japanese-x0208,korean
|
||||
|
||||
# Exclusion Ranges
|
||||
|
||||
exclusion.japanese-x0208=0390-03d6,2200-22ef,2701-27be
|
||||
|
||||
# Font File Names
|
||||
|
||||
filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts/bsmi00lp.ttf
|
||||
filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/batang.ttf
|
||||
filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/gulim.ttf
|
||||
filename.-misc-kochi_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
|
||||
filename.-misc-kochi_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
|
||||
filename.-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/hkscs-ming/min_uni.ttf
|
||||
|
||||
# AWT X11 font paths
|
||||
awtfontpath.latin-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/Type1
|
||||
awtfontpath.chinese-big5=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
|
||||
awtfontpath.chinese-gb18030=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
|
||||
awtfontpath.japanese-x0208=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute
|
||||
awtfontpath.korean=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts
|
|
@ -1,18 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Sun JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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="@GENTOO_PORTAGE_EPREFIX@/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"
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>Sun Java Development Kit Package. AKA.J2SE</longdescription>
|
||||
<use>
|
||||
<flag name="derby">Enable Installation of Bundled Derby (Java DB)</flag>
|
||||
<flag name="jce">Enable Java Cryptographic Extension Unlimited Strength Policy files</flag>
|
||||
<flag name="pax_kernel">Use paxctl to mark the JVM binaries.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,259 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"
|
||||
# This is a list of archs supported by this update. Currently ia64 comes and goes ...
|
||||
AT_AVAILABLE=( amd64 ia64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
|
||||
# somtimes the demos are missing
|
||||
DEMOS_AVAILABLE=( amd64 ia64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
AT_x86="jdk-${MY_PV}-linux-i586.bin"
|
||||
AT_amd64="jdk-${MY_PV}-linux-x64.bin"
|
||||
AT_ia64="jdk-${MY_PV}-linux-ia64.bin"
|
||||
AT_x86_solaris="jdk-${MY_PV}-solaris-i586.sh"
|
||||
AT_x64_solaris="${AT_x86_solaris} jdk-${MY_PV}-solaris-x64.sh"
|
||||
AT_sparc_solaris="jdk-${MY_PV}-solaris-sparc.sh"
|
||||
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.sh"
|
||||
|
||||
DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
DEMOS_ia64="jdk-${MY_PV}-linux-ia64-demos.tar.gz"
|
||||
DEMOS_x86_solaris="jdk-${MY_PV}-solaris-i586-demos.tar.Z"
|
||||
DEMOS_x64_solaris="${DEMOS_x86_solaris} jdk-${MY_PV}-solaris-x64-demos.tar.Z"
|
||||
DEMOS_sparc_solaris="jdk-${MY_PV}-solaris-sparc-demos.tar.Z"
|
||||
DEMOS_sparc64_solaris="${DEMOS_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9-demos.tar.Z"
|
||||
|
||||
JCE_FILE="jce_policy-6.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
for d in "${AT_AVAILABLE[@]}"; do
|
||||
SRC_URI+=" ${d}? ("
|
||||
SRC_URI+=" $(eval "echo \${$(echo AT_${d/-/_})}")"
|
||||
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
|
||||
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
|
||||
fi
|
||||
SRC_URI+=" )"
|
||||
done
|
||||
unset d
|
||||
SRC_URI+=" jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+X alsa derby doc examples jce kernel_SunOS nsplugin pax_kernel selinux source"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
doc? ( dev-java/java-sdk-docs:1.6.0 )
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
!prefix? ( sys-libs/glibc )"
|
||||
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
|
||||
# marking. #427642
|
||||
DEPEND="
|
||||
jce? ( app-arch/unzip )
|
||||
kernel_SunOS? ( app-arch/unzip )
|
||||
pax_kernel? ( sys-apps/paxctl )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
S="${WORKDIR}"/jdk${S_PV}
|
||||
|
||||
check_tarballs_available() {
|
||||
local uri=$1; shift
|
||||
local dl= unavailable=
|
||||
for dl in "${@}"; do
|
||||
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
|
||||
done
|
||||
|
||||
if [[ -n "${unavailable}" ]]; then
|
||||
if [[ -z ${_check_tarballs_available_once} ]]; then
|
||||
einfo
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package"
|
||||
einfo "has become fetch restricted again. Alternatives are switching to"
|
||||
einfo "dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6"
|
||||
einfo
|
||||
einfo "Oracle requires you to download the needed files manually after"
|
||||
einfo "accepting their license through a javascript capable web browser."
|
||||
einfo
|
||||
_check_tarballs_available_once=1
|
||||
fi
|
||||
einfo "Download the following files:"
|
||||
for dl in ${unavailable}; do
|
||||
einfo " ${dl}"
|
||||
done
|
||||
einfo "at '${uri}'"
|
||||
einfo "and move them to '${DISTDIR}'"
|
||||
einfo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
fi
|
||||
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
|
||||
|
||||
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
AT=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
DEMOS=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
|
||||
if use kernel_SunOS; then
|
||||
for i in ${AT}; do
|
||||
rm -f "${S}"/jre/{LICENSE,README} "${S}"/LICENSE
|
||||
# don't die on unzip, it always "fails"
|
||||
unzip "${DISTDIR}"/${i}
|
||||
done
|
||||
for f in $(find "${S}" -name "*.pack") ; do
|
||||
"${S}"/bin/unpack200 ${f} ${f%.pack}.jar
|
||||
rm ${f}
|
||||
done
|
||||
else
|
||||
sh "${DISTDIR}"/${AT} -noregister || die "Failed to unpack"
|
||||
fi
|
||||
|
||||
if has "${ARCH}" "${DEMOS_AVAILABLE[@]}" && use examples ; then
|
||||
unpack ${DEMOS}
|
||||
if use kernel_SunOS; then
|
||||
mv "${WORKDIR}"/SUNWj6dmo/reloc/jdk/instances/jdk1.6.0/{demo,sample} "${S}"/ || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use jce; then
|
||||
unpack ${JCE_FILE}
|
||||
mv jce "${S}"/jre/lib/security/unlimited-jce || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
ia64)
|
||||
bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #405239
|
||||
# this is a workaround and shouldn't be needed.
|
||||
bin/java -server -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
|
||||
{,jre/}lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf jre/plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
|
||||
{,jre/}lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dohtml README.html
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin include jre lib man "${ddest}" || die
|
||||
|
||||
if use derby; then
|
||||
cp -pPR db "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
cp -pPR demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use jce; then
|
||||
dodir "${dest}"/jre/lib/security/strong-jce
|
||||
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
mv "${ddest}"/jre/lib/security/local_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
dosym "${dest}"/jre/lib/security/unlimited-jce/US_export_policy.jar \
|
||||
"${dest}"/jre/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/jre/lib/security/unlimited-jce/local_policy.jar \
|
||||
"${dest}"/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (sun-jdk)#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
jre/lib/desktop/applications/sun_java.desktop \
|
||||
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/jre/lib/fontconfig.* || die
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
elog "If you want Oracles JDK 7 'emerge oracle-jdk-bin' instead."
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
DIST jre-6u45-linux-i586.bin 21770712 SHA256 6f6155623537162e169044454856c41c4443eab65bdc71eba0b90b242ecf0030 SHA512 5454918675dd27619989fdae2fa46b0f87367deca99632c53a5d0e47010ca5c1256384ed1ebbb504bc0ea24ea605fed518969fae73f5defae26fad7081006e82 WHIRLPOOL e294c4b308516c4117ff7f9b337f652f692fe69db37e098ece4627632e7d49b949d9d37f58be4bef7a9a3949da08d3c725356e238569190d5a184c094fea002a
|
||||
DIST jre-6u45-linux-ia64.bin 22968172 SHA256 b9ba88870c64efc768099e4cec72e7c4d6fbe19608cb893c946fa21db99ea711 SHA512 87c54dedd5372980a5736e23d5ed26f03db9120166021e343d51edea0b484b7328a2e03d925302e506ad49366d29439914ec7172a3e5a27ec7c37a81cdd2abeb WHIRLPOOL e5f6394e2c7dc78b0f850bf66c78bac177288eeae27cc0ecaa2595d241a36ce516b0ac5fc57c0afc145a4b2af19666e99cf77c98069fc7fdb22fb209d6d1ae78
|
||||
DIST jre-6u45-linux-x64.bin 21381557 SHA256 7f656c723a988b2f2f71d116bb572dd01b9b38f6394fc03f349d627c487199ff SHA512 ba3a372ac660fbfd59694b941d66ca645ab5eb9eecbb651bc40522509122e65ac7ecafaf09874d7c913280afa3a0141490d55f1ffa92ec42ca56826dfa92b9fd WHIRLPOOL dbbedc7c3707d7efcbc20eebf60538099329da0fefa1e331679ccdf408c9125ea0d865c234efc74d5d3d0d0adfc8acd00ec260da29e8a44552e1133439a74345
|
|
@ -1,273 +0,0 @@
|
|||
#!/bin/bash
|
||||
# construct.sh
|
||||
# example construction of JRE and JDK directories from the DLJ bundles
|
||||
#
|
||||
# Copyright © 2006 Sun Microsystems, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
# "Software"), to deal in the Software without restriction, including
|
||||
# without limitation the rights to use, copy, modify, merge, publish,
|
||||
# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
# permit persons to whom the Software is furnished to do so, subject to
|
||||
# the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Sun, Sun Microsystems, the Sun logo and Java, Java HotSpot,
|
||||
# and JVM trademarks or registered trademarks of Sun Microsystems,
|
||||
# Inc. in the U.S. and other countries.
|
||||
|
||||
|
||||
program=`basename $0`
|
||||
|
||||
usage () {
|
||||
echo "usage: ${program} path/to/unbundle-jdk path/to/linux-jdk path/to/linux-jre"
|
||||
}
|
||||
|
||||
getargs() {
|
||||
undir=$1
|
||||
jdkdir=$2
|
||||
jredir=$3
|
||||
if [ ! -d $undir ]; then
|
||||
echo "${program}: unbundle directory not found: $undir"
|
||||
exit 2
|
||||
fi
|
||||
# make sure javahome is the JDK
|
||||
javahome=`echo $undir/*/demo`
|
||||
if [ ! -d $javahome ]; then
|
||||
echo "${program}: unbundle directory incorrect: $undir"
|
||||
echo " expecting $undir/jdk1.5.0_xx"
|
||||
exit 2
|
||||
else
|
||||
javahome=`dirname $javahome`
|
||||
fi
|
||||
# verify JDK dir
|
||||
jdkdirp=`dirname $jdkdir`
|
||||
jdkbase=`basename $jdkdir`
|
||||
if [ ! -d $jdkdirp ]; then
|
||||
echo "${program}: parent directory for JDK does not exist: $jdkdirp"
|
||||
exit 2
|
||||
fi
|
||||
savedir=`pwd`
|
||||
cd $jdkdirp
|
||||
jdkdirp=`pwd`
|
||||
cd $savedir
|
||||
jdkdir=$jdkdirp/$jdkbase
|
||||
# verify JRE dir
|
||||
jredirp=`dirname $jredir`
|
||||
jrebase=`basename $jredir`
|
||||
if [ ! -d $jredirp ]; then
|
||||
echo "${program}: parent directory for JRE does not exist: $jredirp"
|
||||
exit 2
|
||||
fi
|
||||
savedir=`pwd`
|
||||
cd $jredirp
|
||||
jredirp=`pwd`
|
||||
cd $savedir
|
||||
jredir=$jredirp/$jrebase
|
||||
}
|
||||
|
||||
checkfiles() {
|
||||
if [ -r $jdkdir ]; then
|
||||
echo "${program}: directory for JDK already exists: $jdkdir"
|
||||
exit 2
|
||||
fi
|
||||
if [ -r $jredir ]; then
|
||||
echo "${program}: directory for JRE already exists: $jredir"
|
||||
exit 2
|
||||
fi
|
||||
}
|
||||
|
||||
copytree() {
|
||||
echo "copying over the JDK tree..."
|
||||
cp -a $javahome $jdkdir
|
||||
}
|
||||
|
||||
linkrel() {
|
||||
target=$1
|
||||
link=$2
|
||||
# make a softlink from the $link to the $target
|
||||
# make this a relative link
|
||||
targetb=(`echo $target | tr '/' ' '`)
|
||||
linkb=(`echo $link | tr '/' ' '`)
|
||||
(( n = ${#targetb[*]} ))
|
||||
(( m = ${#linkb[*]} ))
|
||||
c=$n # common length
|
||||
if [ $m -lt $c ]; then
|
||||
(( c = m ))
|
||||
fi
|
||||
for (( i = 0 ; i < c ; i++ )); do
|
||||
if [ ${targetb[$i]} != ${linkb[$i]} ]; then
|
||||
# echo components differ, stopping
|
||||
break
|
||||
fi
|
||||
done
|
||||
rel=""
|
||||
for (( j = i + 1; j < m ; j++ )); do
|
||||
if [ -z $rel ]; then
|
||||
rel=".."
|
||||
else
|
||||
rel="$rel/.."
|
||||
fi
|
||||
done
|
||||
for (( j = i; j < n ; j++ )); do
|
||||
if [ -z $rel ]; then
|
||||
rel=${targetb[$j]}
|
||||
else
|
||||
rel="$rel/${targetb[$j]}"
|
||||
fi
|
||||
done
|
||||
ln -s $rel $link
|
||||
}
|
||||
|
||||
createjre() {
|
||||
echo "creating JRE directory..."
|
||||
# absolute link
|
||||
# ln -s $jdkdir/jre $jredir
|
||||
# relative link
|
||||
linkrel $jdkdir/jre $jredir
|
||||
}
|
||||
|
||||
unpackjars() {
|
||||
echo "unpacking jars..."
|
||||
unpack200=$jdkdir/bin/unpack200
|
||||
if [ ! -x $unpack200 ]; then
|
||||
echo "${program}: file missing $unpack200"
|
||||
exit 1
|
||||
fi
|
||||
cd $jdkdir
|
||||
PACKED_JARS=`find . -name '*.pack'`
|
||||
for i in $PACKED_JARS; do
|
||||
# echo $i
|
||||
jdir=`dirname $i`
|
||||
jbase=`basename $i .pack`
|
||||
if ! $unpack200 $jdkdir/$jdir/$jbase.pack $jdkdir/$jdir/$jbase.jar; then
|
||||
echo "${program}: error unpacking $jdkdir/$jdir/$jbase.jar"
|
||||
fi
|
||||
if [ ! -r $jdkdir/$jdir/$jbase.jar ]; then
|
||||
echo "${program}: missing $jdkdir/$jdir/$jbase.jar"
|
||||
else
|
||||
echo " $jdir/$jbase.jar"
|
||||
# remove pack file
|
||||
rm $jdkdir/$jdir/$jbase.pack
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
preparecds() {
|
||||
# if this is a client installation...
|
||||
compiler="`$jdkdir/bin/java -client -version 2>&1 | tail -n +3 | cut -d' ' -f1-4`"
|
||||
if [ "X$compiler" = "XJava HotSpot(TM) Client VM" ]; then
|
||||
# create the CDS archive
|
||||
echo "creating the class data sharing archive..."
|
||||
if ! $jdkdir/bin/java -client -Xshare:dump > /dev/null 2>&1; then
|
||||
echo "returned error code $?"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
jreman () {
|
||||
echo "setting up the JRE man pages..."
|
||||
# note this list is slightly different for OpenSolaris bundles
|
||||
jreman="${T}/jre.man.txt"
|
||||
cat <<EOF > $jreman
|
||||
man/ja_JP.eucJP/man1/java.1
|
||||
man/ja_JP.eucJP/man1/javaws.1
|
||||
man/ja_JP.eucJP/man1/keytool.1
|
||||
man/ja_JP.eucJP/man1/orbd.1
|
||||
man/ja_JP.eucJP/man1/pack200.1
|
||||
man/ja_JP.eucJP/man1/policytool.1
|
||||
man/ja_JP.eucJP/man1/rmid.1
|
||||
man/ja_JP.eucJP/man1/rmiregistry.1
|
||||
man/ja_JP.eucJP/man1/servertool.1
|
||||
man/ja_JP.eucJP/man1/tnameserv.1
|
||||
man/ja_JP.eucJP/man1/unpack200.1
|
||||
man/man1/java.1
|
||||
man/man1/javaws.1
|
||||
man/man1/keytool.1
|
||||
man/man1/orbd.1
|
||||
man/man1/pack200.1
|
||||
man/man1/policytool.1
|
||||
man/man1/rmid.1
|
||||
man/man1/rmiregistry.1
|
||||
man/man1/servertool.1
|
||||
man/man1/tnameserv.1
|
||||
man/man1/unpack200.1
|
||||
EOF
|
||||
# create jre/man directory
|
||||
# mkdir $jdkdir/jre/man
|
||||
# move the real JRE man pages to jre/man
|
||||
# link the JDK JRE man pages to jre/man
|
||||
# real JDK man pages stay where they are
|
||||
for m in `cat $jreman`; do
|
||||
manpath=`dirname $jdkdir/jre/$m`
|
||||
mkdir -p $manpath
|
||||
mv $jdkdir/$m $jdkdir/jre/$m
|
||||
linkrel $jdkdir/jre/$m $jdkdir/$m
|
||||
done
|
||||
# link in Japanese man pages
|
||||
ln -s ja_JP.eucJP $jdkdir/jre/man/ja
|
||||
rm $jreman
|
||||
}
|
||||
|
||||
elimdups() {
|
||||
echo "eliminating duplication between the JDK and JDK/jre..."
|
||||
jdkcomm="${T}/jdk.bin.comm.txt"
|
||||
cat <<EOF > $jdkcomm
|
||||
bin/ControlPanel
|
||||
bin/java
|
||||
bin/javaws
|
||||
bin/keytool
|
||||
bin/orbd
|
||||
bin/pack200
|
||||
bin/policytool
|
||||
bin/rmid
|
||||
bin/rmiregistry
|
||||
bin/servertool
|
||||
bin/tnameserv
|
||||
bin/unpack200
|
||||
EOF
|
||||
# note there is little point in linking these common files
|
||||
# COPYRIGHT
|
||||
# LICENSE
|
||||
# THIRDPARTYLICENSEREADME.txt
|
||||
# And this file is unique to the JDK
|
||||
# README.html
|
||||
# And these files are unique to the JDK/jre/
|
||||
# CHANGES
|
||||
# README
|
||||
# Welcome.html
|
||||
for p in `cat $jdkcomm`; do
|
||||
rm $jdkdir/$p
|
||||
# this is a relative link
|
||||
ln -s ../jre/$p $jdkdir/$p
|
||||
done
|
||||
rm $jdkcomm
|
||||
}
|
||||
|
||||
if [ $# -eq 3 ] ; then
|
||||
getargs $1 $2 $3
|
||||
checkfiles
|
||||
copytree
|
||||
createjre
|
||||
unpackjars
|
||||
#preparecds
|
||||
jreman
|
||||
elimdups
|
||||
else
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
@ -1,161 +0,0 @@
|
|||
# Version
|
||||
|
||||
version=1
|
||||
|
||||
# Component Font Mappings
|
||||
|
||||
allfonts.chinese-gb18030=-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
allfonts.chinese-gb18030.motif=-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0
|
||||
allfonts.chinese-big5=-arphic technology co.-ar pl mingti2l big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
allfonts.chinese-big5.motif=-taipei-fixed-medium-r-normal--*-%d-*-*-c-*-big5-0
|
||||
allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.plain.latin-1.motif=-b&h-luxi serif-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.bold.latin-1.motif=-b&h-luxi serif-bold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.italic.latin-1.motif=-b&h-luxi serif-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
serif.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
serif.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
serif.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
serif.bolditalic.latin-1.motif=-b&h-luxi serif-bold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
sansserif.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
sansserif.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
sansserif.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
sansserif.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
monospaced.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
monospaced.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
monospaced.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
monospaced.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
monospaced.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
monospaced.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
monospaced.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialog.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialog.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialog.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialog.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialog.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialog.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
|
||||
dialog.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
|
||||
|
||||
dialoginput.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialoginput.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialoginput.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
dialoginput.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
|
||||
dialoginput.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
|
||||
dialoginput.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
|
||||
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
|
||||
dialoginput.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
|
||||
|
||||
# Search Sequences
|
||||
|
||||
sequence.allfonts=latin-1
|
||||
sequence.allfonts.Big5=latin-1,chinese-big5
|
||||
sequence.allfonts.GB2312=latin-1,chinese-gb18030
|
||||
sequence.allfonts.x-euc-jp-linux=latin-1,japanese-x0208
|
||||
sequence.allfonts.EUC-KR=latin-1,korean
|
||||
sequence.allfonts.GB18030=latin-1,chinese-gb18030
|
||||
sequence.fallback=lucida,chinese-big5,chinese-gb18030,japanese-x0208,korean
|
||||
|
||||
# Exclusion Ranges
|
||||
|
||||
exclusion.japanese-x0208=0390-03d6,2200-22ef,2701-27be
|
||||
|
||||
# Font File Names
|
||||
|
||||
filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts/bsmi00lp.ttf
|
||||
filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/batang.ttf
|
||||
filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/gulim.ttf
|
||||
filename.-misc-kochi_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
|
||||
filename.-misc-kochi_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
|
||||
filename.-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/hkscs-ming/min_uni.ttf
|
||||
|
||||
# AWT X11 font paths
|
||||
awtfontpath.latin-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/Type1
|
||||
awtfontpath.chinese-big5=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
|
||||
awtfontpath.chinese-gb18030=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
|
||||
awtfontpath.japanese-x0208=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute
|
||||
awtfontpath.korean=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="Sun JRE @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
|
||||
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
|
||||
LDPATH="${JAVA_HOME}/lib/@PLATFORM@/:${JAVA_HOME}/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/lib/@PLATFORM@/xawt/:${JAVA_HOME}/lib/@PLATFORM@/server/"
|
||||
MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="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 JRE_HOME PATH ROOTPATH LDPATH MANPATH"
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>Sun Java Resource Package, also known as J2SE</longdescription>
|
||||
<use>
|
||||
<flag name="jce">Enable Java Cryptographic Extension Unlimited Strength Policy files</flag>
|
||||
<flag name="pax_kernel">Use paxctl to mark the JVM binaries.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,170 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre6downloads-1902815.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.bin"
|
||||
AMD64_AT="jre-${MY_PV}-linux-x64.bin"
|
||||
IA64_AT="jre-${MY_PV}-linux-ia64.bin"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
amd64? ( ${AMD64_AT} )
|
||||
ia64? ( ${IA64_AT} )
|
||||
x86? ( ${X86_AT} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="X alsa jce nsplugin pax_kernel selinux"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jce? ( dev-java/sun-jce-bin:1.6 )
|
||||
!prefix? ( sys-libs/glibc )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
|
||||
# marking. #427642
|
||||
DEPEND="
|
||||
pax_kernel? ( sys-apps/paxctl )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use x86; then
|
||||
AT=${X86_AT}
|
||||
elif use amd64; then
|
||||
AT=${AMD64_AT}
|
||||
elif use ia64; then
|
||||
AT=${IA64_AT}
|
||||
fi
|
||||
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package"
|
||||
einfo "has become fetch restricted again. Alternatives are switching to"
|
||||
einfo "dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6"
|
||||
einfo ""
|
||||
einfo "Please download '${AT}' from:"
|
||||
einfo "'${JRE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
ia64)
|
||||
bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #405239
|
||||
# this is a workaround and shouldn't be needed.
|
||||
bin/java -server -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use jce; then
|
||||
dodir "${dest}"/lib/security/strong-jce
|
||||
mv "${ddest}"/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/lib/security/strong-jce || die
|
||||
mv "${ddest}"/lib/security/local_policy.jar \
|
||||
"${ddest}"/lib/security/strong-jce || die
|
||||
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar \
|
||||
"${dest}"/lib/security/US_export_policy.jar
|
||||
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar \
|
||||
"${dest}"/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
|
||||
-e "s#Exec=.*#Exec=${dest}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/lib/fontconfig.* || die
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
elog "If you want Oracles JRE 7 'emerge oracle-jre-bin' instead."
|
||||
}
|
|
@ -10,3 +10,6 @@ DIST crystal-0.13.0.tar.gz 857842 SHA256 abada1d7bd411dca52ac0df2124a188d61301bd
|
|||
DIST crystal-0.14.2-1-linux-i686.tar.gz 12794759 SHA256 12a8b8b85182a98cc162ae56452ea1226d339964076aef1fd3aa85b424608bf7 SHA512 1e930408b5e09660d73f4dfaf1b1873235167f96844cda7a93724b3a003339e780ad41e5fb29984ac4f1336bb3fd7cf361f6df7628dc86a4f23309044981ab5d WHIRLPOOL 60a01b739f72dab1aaec17461c7cfd510b8f529889212547346da3908302d5af5784e1c754f0eb77058b95ba89d22bdc88510dfa4bb180bd1499b4bad7313b90
|
||||
DIST crystal-0.14.2-1-linux-x86_64.tar.gz 12381685 SHA256 d4b96e576473a76e17175439c2e380b07feeffbbc5cb07490a96ea4dc533b922 SHA512 1ff1411698a4e5c69889c0014e3362a471d6f773dfb15bdf8fd098f784d7412171f0e1f15d54773c3ad785f4440ab47b0c099f5a57ec866c31d0d0b3f2ccaee3 WHIRLPOOL e45d5392183154568d224f21a7679fc66801adf4c17b9c0397f4d8a8ac29489222149fa01b56ee375014093a4ccfb9dfa47b8a728803a01e5c434975a9158cff
|
||||
DIST crystal-0.14.2.tar.gz 1181264 SHA256 0fdbb8c0ebbc1da0024b19fac193763654b474e3e2db957a4543bfc5ad5dba67 SHA512 ecb5d283b3b6edeff20c266b45dbef9863f1a91761279d549d7eb734a2ac233a3ca8da65f77114e80477d44c36e3825a875b08078eca550fbc902378b2db998d WHIRLPOOL e137212138cbfc06cc60f240862121677be57c51bbdb6115618bb0ae7bc59056888fb95936198761b17690f4b81941f904c19b785ea09262b854fb6970b7544d
|
||||
DIST crystal-0.15.0-1-linux-i686.tar.gz 12829634 SHA256 438c2b6ae818d6eb9e685ba352bf1310d3baf64c01e80dd9676ce43b63c393c9 SHA512 889ab12dcbd6e317d5d13a46280741a887f6c85c9888450f4a36cbd7f747f1a0475829022aff9faa5805175e967e8e10b4211028d1950bf73c8db18561e87184 WHIRLPOOL bb53e1e39d7148e6b7f238aba5045143c806f02c4b09ecb891909a3d10cd382fd1e7100d88febdf26cfdd7098442a14d8bc6feb72e3401d061dee216f1b90ec1
|
||||
DIST crystal-0.15.0-1-linux-x86_64.tar.gz 12414258 SHA256 538d3e327a5237ac521c1053ca1d98565545c3e243dc6bf7298508ae1ff474ab SHA512 f6f3cff8305c63931997279c408b27473118f1a2571885d7d8932a8c9003e5a6796f6ed71cdadbb6e9abc97904862fd224c0d4faa82f8f90051b333502067da5 WHIRLPOOL 25072726b174409296004a15ff32fbbf89800408a848bdb910c33127663d24642c612694bb30748b014f29ae149bb07d76ccf9efe1209ddd98aa8f8c7370b240
|
||||
DIST crystal-0.15.0.tar.gz 1188583 SHA256 d79445ec92faa2a045af150fca4886d90ecd9fba27451003b68118c8714b26bd SHA512 48da951e9502d882505d6c0e6dc9e9bc14cf24c3e666b33fe0d76e62fc075d8b80414686a202bbff8fcf77e61ac23438975c58bc011755d63db5a26641977ba7 WHIRLPOOL 796c7d5c70cef833419be07d62f7b389949cede1a01c5c56b9684449b158f813fedd66fc5b5b3ee72647302a6a46105cf89126bed3ab1c49281964d294fa1687
|
||||
|
|
71
dev-lang/crystal/crystal-0.15.0.ebuild
Normal file
71
dev-lang/crystal/crystal-0.15.0.ebuild
Normal file
|
@ -0,0 +1,71 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
BV=${PV}-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="http://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples +xml +yaml"
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
<sys-devel/llvm-3.7.0
|
||||
dev-libs/boehm-gc[static-libs]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
release=1 \
|
||||
threads=4 \
|
||||
PATH="${PATH}":"${WORKDIR}"/${PN}-${BV}/bin \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="libs:/usr/$(get_libdir)/crystal"
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake spec \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r doc/.
|
||||
fi
|
||||
}
|
|
@ -4,6 +4,8 @@ DIST rust-1.6.0-i686-unknown-linux-gnu.tar.gz 99521439 SHA256 4d46ab71e057c66ff6
|
|||
DIST rust-1.6.0-x86_64-unknown-linux-gnu.tar.gz 98645290 SHA256 8630cc02432b4423d64eeae4ef071ec58e5dd1f3d555a3a3cc34b759202813f6 SHA512 6b627631334775d224ed2c4b359776a680219dc03851d1bcd11655fa6626144b1ae31ceeed4d93317104ae4bf65e9d18ad833da162b50b65c607437ff6b75f6d WHIRLPOOL 860d09251da13df779f883a56b2bdc96170222ee2a241627845307f905dd2d9eb67bd0ca39f1d00508b5349ad70772ff38ee17d7e54e4a8e6e65e295fe23e9fe
|
||||
DIST rust-1.7.0-i686-unknown-linux-gnu.tar.gz 106777697 SHA256 ba9d55992c9d584c2083ca7051fcb46db9b63b2e701f370d94f28478b5a0208f SHA512 7063073994be7bb69d681061fac96ea18efac89f02996b7de35a2fce63b276148c9ba6dd45dbbb1e3220054436c23321f8a21d64b38f9e4c62ebb8a95519ae81 WHIRLPOOL 0158f5c0b4152d558281ba602f4c9bf1b37bfc9ddf16490cb85737ffa40f9b72658a2886b8673d44f293b4f984b8f139c97dd15b95de5cdef82365d359497c2b
|
||||
DIST rust-1.7.0-x86_64-unknown-linux-gnu.tar.gz 106063019 SHA256 d36634bd8df3d7565487b70af03dfda1c43c635cd6f2993f47cd61fda00d890a SHA512 d938be93f7e1a5cbf08e7d9cc904dcc9c9a3e9182a120f9c7d4ea4df9c36a65f59ecb9c9d8f1ea837f2b6a995f0111994ae158ac5724a3b2cba9f0b950c511eb WHIRLPOOL 7ed59b6ee955c2cbd2bfd03fad8bf50ca8297946957f2706480e9bd46b6cc97892a2ed66cca931372962a5ee7165d14bed6a18aa589fa130a67a1d987d9ab5ad
|
||||
DIST rust-1.8.0-i686-unknown-linux-gnu.tar.gz 110936951 SHA256 01bdf577ee120df00c83628de47de6c467723350634efd6bedf935da2a65b06d SHA512 404ff0879e5dcc7ff4f4a9e392ad46bb8fec98a52fbb483d4ac43bbb80d276d39e57677c11a74112f82c0afa9c06e70d02ed976171ba73eb21746fc78341c96c WHIRLPOOL 185d52d04c92e88879f31e7ecb31fc3b068c2625a4ac2b017b98dec5797773deb3bd14676cb26990fac73616513fa2aa5c93b84631c9e1e81495d2ae91798238
|
||||
DIST rust-1.8.0-x86_64-unknown-linux-gnu.tar.gz 110156056 SHA256 d5a7c10070f8053defe07d1704762c91e94fc30a1020d16b111d63e9af365d48 SHA512 df240825bd1f3c639ad28749aae686b461476a8890b28ca102a4ac58094da82e31a1a8aeb08db8895947271dc4d3d3ec088f02de098ed87b940323dec42ddcf2 WHIRLPOOL 550e5cc38c5eecfc22b9708f9accd146d9c82b711326d0b06beb2fe911a9eb2e523693171ca208d4a077d2f026974463ce499449e9167044846fbd10d44ae1d9
|
||||
DIST rustc-1.2.0-i686-unknown-linux-gnu.tar.gz 89840371 SHA256 f4c1692479314d63ee67914ec2065778c39ca4912f191a7894caf5264802b4fa SHA512 c89e6fac05c79755db7c15a275ac2a11d781fda10f6851ff13f0dce314f9a373bd5b79d0e1da0780071ce959693d4f08c33e3d18abbabe802922679d1e25a6b6 WHIRLPOOL 56c0636ecdc745fcdb41b77037486ba04c11b6a08568a0ada962687ead31bbd2c8f360894e629428fde4e5e3204d355e402d4a3651c4b13d0422e16beaec9f60
|
||||
DIST rustc-1.2.0-x86_64-unknown-linux-gnu.tar.gz 88888977 SHA256 32fb262ba9da26a6d5ad9b2ca420fb56d97af8f86acb5cda2e85b7e7c33f6dcc SHA512 ea87a2c0e05d3f7e7c738320fd08b53055f76703526846b87b885e7abbd320b2f393b9328daa1ca04e9cb545e906c5750b6dcede2ede23323aeab8a8b096ccfd WHIRLPOOL e82ed578218ce19b4a7ca5b9d4c842c5546b5daa6aa3be162393fc0ca7148cf245bb7a79719b10ea7bf43952f8908a6355eea9070f027fcd5f1d70caa37c9931
|
||||
DIST rustc-1.3.0-i686-unknown-linux-gnu.tar.gz 90445379 SHA256 7a3add3d229047bc68b929ba7b5f5d5796333f29e160c18c2a0ff24f643fab6b SHA512 afd001c1c285f12c13c0a9ecf0788f47ab72f069c1e1c5ec568973691ef2223c075fb99324e8245012e8a21003ea4fc63d874de99b95065aa9d09081798e09d5 WHIRLPOOL d273387d6eea540bf3a4bff96b5f754537ed265348661d412d37280f6d89fc726ed46fa03995b26eb444ac18e6c41f07d23c3c6844c7aaa00d2cc3970bad2f40
|
||||
|
|
102
dev-lang/rust-bin/rust-bin-1.8.0.ebuild
Normal file
102
dev-lang/rust-bin/rust-bin-1.8.0.ebuild
Normal file
|
@ -0,0 +1,102 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz )
|
||||
x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
!dev-lang/rust:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/rustc-bin-${PV}
|
||||
opt/${P}/bin/rustdoc-bin-${PV}
|
||||
opt/${P}/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/lib/*.so
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
local postfix
|
||||
use amd64 && postfix=x86_64-unknown-linux-gnu
|
||||
use x86 && postfix=i686-unknown-linux-gnu
|
||||
mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local std=$(grep 'std' ./components)
|
||||
local components="rustc,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${D}/opt/${P}" \
|
||||
--mandir="${D}/usr/share/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
local rustc=rustc-bin-${PV}
|
||||
local rustdoc=rustdoc-bin-${PV}
|
||||
local rustgdb=rust-gdb-bin-${PV}
|
||||
|
||||
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
|
||||
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
|
||||
mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
|
||||
|
||||
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
|
||||
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
|
||||
dosym "/opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/opt/${P}/lib"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
|
@ -12,4 +12,4 @@ DIST rustc-1.2.0-src.tar.gz 23863924 SHA256 ea6eb983daf2a073df57186a58f0d4ce0e85
|
|||
DIST rustc-1.3.0-src.tar.gz 24308223 SHA256 ea02d7bc9e7de5b8be3fe6b37ea9b2bd823f9a532c8e4c47d02f37f24ffa3126 SHA512 d9a4851d958e6a62f0997af5451c1c1ba2bd3ace595cf9f1dbc5977a6efb0ba802d108d4aa6fc29540c41b36d7f5a04e518700b5c1426fe18d1627d5fa779d58 WHIRLPOOL 21d9216bfa31b71e04ad35b4d72fd2b7b466b89cf62be2f9b0d734af21d1cba2050171bf3b9757c14a675fae11b869fcda30abc528e07ddcdc9d1a2bf0e3b7dc
|
||||
DIST rustc-1.5.0-src.tar.gz 24586539 SHA256 641037af7b7b6cad0b231cc20671f8a314fbf2f40fc0901d0b877c39fc8da5a0 SHA512 c56f02f39093e5ce1f9a29b295ea1a6d69192d554a64c1b49b6bb5328884e9bbfb1681ea4362166e3fa91ff4b4e17c9a9de6720a70d22a852060bd6b9de6a30b WHIRLPOOL a6138754168065dca7d5a68afd99dc9a2eb0abcbf2eb8d3908646c2e3e6fd84b344dd96ba7d2fe6db4ae703baa0ab60a3594471705b5173ba3e45a959b0a97c1
|
||||
DIST rustc-1.7.0-src.tar.gz 25097611 SHA256 6df96059d87b718676d9cd879672e4e22418b6093396b4ccb5b5b66df37bf13a SHA512 ef49bba9e8324c5b24a257131a31df4902f13ee4e0b763a2260df6ac8abbb150a6b9e5b36f52c6dc6c3f63fd3b1a9fb303a072973b054851f5d03a0d32df7317 WHIRLPOOL f39953c678f42fa44da4b27eddb87627cd9b10a9002457c895cbae119d778a7496aebb1776cf0cfb4cd48f54513faf3d1b3b1afb7ee879d93978351443eb5963
|
||||
DIST rustc-1.8.0_beta20160323-src.tar.gz 25638666 SHA256 d1f7ac31e2836309421814bc0f58d414f4ee066d30b401a40147491fb1e93537 SHA512 459b9ec0814b83ec71b12929802b1e816507150bcf50fc351538027ccbb1f99a1403ee4d09e17e049b2b1db4b13621ce8a2b7c5a934db8cc9c15a750b3bc1a68 WHIRLPOOL 45d6573d0b50b6624dd63060403d4dbe0471d6470090077ae41cc1baf16bf2c94068327a86ce19aaec06a137553e36cb6ef26e07e319750aee7be651851d88dd
|
||||
DIST rustc-1.8.0-src.tar.gz 25641320 SHA256 af4466147e8d4db4de2a46e07494d2dc2d96313c5b37da34237f511c905f7449 SHA512 96e1ef3644053849354f84737f0a9ae09786f6a1a16ca5f10cba261b2bc5f2e82e8d369ed7430116d0b9bf8a52c2b16bd581d042be86862a9095fd161f3283bd WHIRLPOOL b70ff752d9cc8efd910c9889372fd6303a40b0cce3e4ef0d566e8ec9274cf80b1739955089cd6b73300c675e89d1edba2765e2f7e9f793b036286813ed55626d
|
||||
|
|
|
@ -16,8 +16,8 @@ if [[ ${PV} = *beta* ]]; then
|
|||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SLOT="stable/${ABI_VER}"
|
||||
ABI_VER="$(get_version_component_range 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
|
@ -5,6 +5,11 @@
|
|||
<email>cpp@gentoo.org</email>
|
||||
<name>Gentoo C++ Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>office@gentoo.org</email>
|
||||
<description>Please CC on stabilisation bugs</description>
|
||||
</maintainer>
|
||||
|
||||
<use>
|
||||
<flag name="context">
|
||||
Build and install the Boost.Context library and all other
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST libofx-0.9.10.tar.gz 1433837 SHA256 54e26a4944ef2785087cfd8ed8f187ab9d397d9b92b5acc199dd7d5d095cf695 SHA512 061110702034dbbb9be3adaebe6236a4b0842169d8ee7671bad6c93960b380cbb33953bdf080c8b14f45930b0c817fcfe1bf71f15d9872dd2535a1415f5be895 WHIRLPOOL 2cf39474bde30086b51529d4fccae51c6b1728b413ddf45768283e1404d0b8bb0316a532c3a1436dfee22d4953df8ef42470bf4414cbd1aef7b9fb7c8661ce38
|
||||
DIST libofx-0.9.5.tar.gz 1526857 SHA256 a075c5634b94bad16f8c949eeb77625d31bedea3bb10a8da174b989ffab7e78e SHA512 f7c6e0d85ee1f01216678ec51939ffe09c4a4c5ccc97a5928be45bd2be27418a95004a8a46f17225366908cdd8bb43b19bf95295f0e6422802d3a935a63eb0a9 WHIRLPOOL 67f61361417636e297f45f7c9d3d4de9e88a20c9af4b1a6f811d4b6d6d671f045f3f485b193d24372e89fdbfbd944565bb3ec224578351c1d31cf9c109921d5f
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
diff -ruN libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp libofx-0.9.5/ofxconnect/ofxpartner.cpp
|
||||
--- libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp 2011-03-31 00:30:50.000000000 +0200
|
||||
+++ libofx-0.9.5/ofxconnect/ofxpartner.cpp 2012-06-30 21:57:35.747989782 +0200
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <string.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
using std::string;
|
||||
using std::vector;
|
|
@ -1,47 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base
|
||||
|
||||
DESCRIPTION="A library to support the Open Financial eXchange XML format"
|
||||
HOMEPAGE="http://libofx.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ppc ~ppc64 x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=">=app-text/opensp-1.5
|
||||
dev-cpp/libxmlpp:2.6
|
||||
>=net-misc/curl-7.9.7"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( sys-apps/help2man )
|
||||
test? ( app-crypt/gnupg )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-gcc47.patch" )
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
# Be sure DTD gets installed in correct path after redefining docdir in install
|
||||
sed -i \
|
||||
-e 's:$(DESTDIR)$(docdir):$(DESTDIR)$(LIBOFX_DTD_DIR):' \
|
||||
dtd/Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-doxygen
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL}
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
--- perl/Makefile.am.orig 2016-04-14 19:05:30.879298356 -0400
|
||||
+++ perl/Makefile.am 2016-04-14 19:05:37.907298474 -0400
|
||||
@@ -168,10 +168,10 @@
|
||||
endif
|
||||
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
+if DOCUMENTATION_RULES
|
||||
docdatadir = $(docdir)/perl
|
||||
docdata_DATA = docs/index.html
|
||||
|
||||
-if DOCUMENTATION_RULES
|
||||
BUILT_SOURCES += docs/index.html
|
||||
|
||||
docs/index.html: Xapian.pm
|
|
@ -56,14 +56,11 @@ pkg_setup() {
|
|||
src_prepare() {
|
||||
use java && java-pkg-opt-2_src_prepare
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
# http://trac.xapian.org/ticket/702
|
||||
export XAPIAN_CONFIG="/usr/bin/xapian-config"
|
||||
|
||||
# Fix bug #579412 - requires re-automaking
|
||||
epatch "${FILESDIR}"/${P}-fix-perl-doc.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
@ -82,6 +79,7 @@ src_configure() {
|
|||
fi
|
||||
|
||||
econf \
|
||||
--disable-documentation \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
--without-csharp \
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue