summaryrefslogtreecommitdiff
path: root/dev-java/javahelp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/javahelp
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/javahelp')
-rw-r--r--dev-java/javahelp/Manifest5
-rw-r--r--dev-java/javahelp/javahelp-2.0.05_p63.ebuild86
-rw-r--r--dev-java/javahelp/metadata.xml15
3 files changed, 106 insertions, 0 deletions
diff --git a/dev-java/javahelp/Manifest b/dev-java/javahelp/Manifest
new file mode 100644
index 000000000000..68715edf67e6
--- /dev/null
+++ b/dev-java/javahelp/Manifest
@@ -0,0 +1,5 @@
+DIST javahelp2-src-2.0.05_svn63.zip 3747088 SHA256 a864ac71701ed8d12ba192460cd7b4d51e78813f39a140ede5d9b04afd9eae92 SHA512 ed795dad98f8d80f4cd4cda40b6aea0978cda621b131b1563016c1ddc02afeb37f3626a28003dac26d7fe996274fb9a97e741a500b15d06b1e5a93342020abc3 WHIRLPOOL 111398f9e6731749af6a0f36b59cd5a609c8fd203b03fc219bac02a456e2ae92718acac2f75debe768c978a14fb000ad7ea9b7eb0b94f6b6f4d8c1f95a0bafc6
+EBUILD javahelp-2.0.05_p63.ebuild 2295 SHA256 21dc9a3be8ee939350dd872963270c234880a9429fa3134802976cedf4bb66fc SHA512 503a949dd78c3a1a7288c2db7e0f7fe351a6a1abc64a7007bfa714e9858135f725de493bf2bdd720332712e907996b56668ad1518f3ee09523a18c39679b8050 WHIRLPOOL c59d9ac9024dfdc22b5aa9a0ba5441eaf3b996b7774cbb36b8f393f3692ce98df4e98d8b976ec4aea5178bb47dde4086296020d525e8acf230913ff9dbcaf280
+MISC ChangeLog 2584 SHA256 c9b86e869a716dd8d71b7400ff4d5099e1ee5c71fcf7e7d82567d59e183a9879 SHA512 50b38f32ad8eb78a5e1195cb19adff29fae4f25dc885df1c6948c301c2db2c94fee95ccdf8a6db86c42d042ba333893efe26e76d39af5192f991be29d72ab27a WHIRLPOOL ea8f7f3b2f3862aafd7c266b87fdf3015130ab06ece407fce1f1ba067e8a52507a36f1dff47b758afb947581791b2918350ea6ac9d2609165b5a7393dccd06eb
+MISC ChangeLog-2015 2466 SHA256 e345719787e241f02b08ac9547bbb15f34a02921b0116cd0b4490531af16dd3e SHA512 cff7f6e51820dcd855e14fc90dca6e7a0b24ac29945f2758d32ae925bacdefddbf9742a92ab0fc5e43e399c1afd8503ae832f87e4676b0717c0f18fed2bfd954 WHIRLPOOL 6167435df6b11c6d4a783268ec16947ff795a1f6d504c2429acb69496b9fe6b9d9bd57db1b9c433f0bdc0c3408604db5eccf08cddd21a1f171bd50ba3e5a751b
+MISC metadata.xml 624 SHA256 7d4ad737c8b151bc9f2b30cd0d9308f970d74a72e563dbed07f24a769cd6cadc SHA512 bd475a0c41855b34bb58ae6d6a3e2d164abbb97348d809f2fc305e77ca80495bccb4d71ad0aeb0b5586565c71649c6e3775b83c92272dbe8518949864120f484 WHIRLPOOL 66eecd92c1f1a94381d41a8b51a77766a22a105be8533abca913058539d3930be2d847fd635cd2360a5d3b08a96f2c11262d1ddc8bcc7e50c3411d4d49c83e68
diff --git a/dev-java/javahelp/javahelp-2.0.05_p63.ebuild b/dev-java/javahelp/javahelp-2.0.05_p63.ebuild
new file mode 100644
index 000000000000..4164301afa2c
--- /dev/null
+++ b/dev-java/javahelp/javahelp-2.0.05_p63.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 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 ~x86-fbsd ~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"
+}
diff --git a/dev-java/javahelp/metadata.xml b/dev-java/javahelp/metadata.xml
new file mode 100644
index 000000000000..ab6ba2ec6094
--- /dev/null
+++ b/dev-java/javahelp/metadata.xml
@@ -0,0 +1,15 @@
+<?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">
+ The JavaHelp system is an online help system that developers can
+ use to add online help to their Java platform applications. The
+ JavaHelp system is both a JCP specification (JSR 97) and a reference
+ implementation of that specification. The JavaHelp system open source
+ project includes the source to the reference implementation.
+ </longdescription>
+</pkgmetadata>