dev-java/javahelp: Remove 2.0.05_p63

Closes: https://bugs.gentoo.org/642636
Bug: https://bugs.gentoo.org/643318
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Johannes Huber 2018-04-15 15:57:38 +02:00
parent ed5fa6631c
commit 4729169920
No known key found for this signature in database
GPG Key ID: 295445CEF9072D2F
2 changed files with 0 additions and 87 deletions

View File

@ -1,2 +1 @@
DIST javahelp-2.0.05_p20170719.tar.gz 6045243 BLAKE2B 3cea100e6087f7f8884a04cc1b046f2611e4c516be0086faec685a85311f2cfd9ca49ee9f3fdff37d7e9a496685dc288601521047a3d4c2ae6b31faee2ad7390 SHA512 6d98c33f831052133176cf50419aae6dc1f5715485bcfd33f7e346cb694f5483b1f7a159f47799a72933db8ca42d83cb73b23946179aa6ccaee946d524b3bd36
DIST javahelp2-src-2.0.05_svn63.zip 3747088 BLAKE2B 80f0fd45741d313fd47ccb9874d31636d12f452ff012dc010de2879bf67a22bd58f6fbde7df86117f463a949f7897ec5e1e3721b1fdd1ee0fc794f30152e188f SHA512 ed795dad98f8d80f4cd4cda40b6aea0978cda621b131b1563016c1ddc02afeb37f3626a28003dac26d7fe996274fb9a97e741a500b15d06b1e5a93342020abc3

View File

@ -1,86 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="3"
WANT_ANT_TASKS="ant-nodeps"
JAVA_PKG_IUSE="doc examples source"
inherit versionator java-pkg-2 java-ant-2
DESCRIPTION="The JavaHelp system online help system"
HOMEPAGE="https://javahelp.dev.java.net/"
MY_PV="${PV/_p/_svn}"
MY_PN="${PN}2"
SRC_URI="https://${PN}.dev.java.net/files/documents/5985/145533/${MY_PN}-src-${MY_PV}.zip"
LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
COMMON_DEP="
java-virtuals/servlet-api:2.4"
RDEPEND="
>=virtual/jre-1.4
${COMMON_DEP}"
DEPEND="
>=virtual/jdk-1.4
app-arch/unzip
${COMMON_DEP}"
S="${WORKDIR}/${MY_PN}-${MY_PV}/"
BDIR="${S}/javahelp_nbproject"
src_unpack() {
unpack ${A}
# jdic does not currently build out of the box against the browsers we have
cd "${S}/jhMaster/JavaHelp/src/new/" || die
rm -v javax/help/plaf/basic/BasicNativeContentViewerUI.java || die
mkdir "${BDIR}/lib" && cd "${BDIR}/lib" || die
java-pkg_jar-from --virtual servlet-api-2.4
java-pkg_filter-compiler jikes
}
_eant() {
cd ${BDIR} || die
eant \
-Dservlet-jar="$(java-pkg_getjar --virtual servlet-api-2.4 servlet-api.jar)" \
-Djsp-jar="$(java-pkg_getjar --virtual servlet-api-2.4 jsp-api.jar)" \
-Djdic-jar-present=true \
-Djdic-zip-present=true \
-Dtomcat-zip-present=true \
-Dservlet-jar-present=true \
${@}
}
src_compile() {
_eant release $(use_doc)
}
#Does not actually run anything
#src_test() {
# _eant test
#}
src_install() {
pushd jhMaster/JavaHelp >/dev/null || die
java-pkg_dojar "${BDIR}"/dist/lib/*.jar
java-pkg_dolauncher jhsearch \
--main com.sun.java.help.search.QueryEngine
java-pkg_dolauncher jhindexer \
--main com.sun.java.help.search.Indexer
use doc && java-pkg_dojavadoc "${BDIR}/dist/lib/javadoc"
popd >/dev/null || die
use source && java-pkg_dosrc \
./jhMaster/JSearch/*/com \
./jhMaster/JavaHelp/src/*/{javax,com}
use examples && java-pkg_doexamples jhMaster/JavaHelp/demos
}
pkg_postinst() {
elog "Native browser integration is disabled because it needs jdic"
elog "which does not build out of the box. See"
elog "https://bugs.gentoo.org/show_bug.cgi?id=53897 for progress"
}