From 124ab37594c079c244647f62663ca242527636d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Fri, 16 Mar 2007 23:01:24 +0000 Subject: [PATCH] Initial commit for bug #168991. Ebuild written by me. Package-Manager: portage-2.1.2.2 --- dev-java/javahelp/ChangeLog | 10 +++ dev-java/javahelp/Manifest | 26 ++++++ .../javahelp/files/digest-javahelp-2.0.02_p46 | 3 + dev-java/javahelp/javahelp-2.0.02_p46.ebuild | 86 +++++++++++++++++++ dev-java/javahelp/metadata.xml | 12 +++ 5 files changed, 137 insertions(+) create mode 100644 dev-java/javahelp/ChangeLog create mode 100644 dev-java/javahelp/Manifest create mode 100644 dev-java/javahelp/files/digest-javahelp-2.0.02_p46 create mode 100644 dev-java/javahelp/javahelp-2.0.02_p46.ebuild create mode 100644 dev-java/javahelp/metadata.xml diff --git a/dev-java/javahelp/ChangeLog b/dev-java/javahelp/ChangeLog new file mode 100644 index 000000000000..79c85dadf597 --- /dev/null +++ b/dev-java/javahelp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/javahelp +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javahelp/ChangeLog,v 1.5 2007/03/16 23:01:24 betelgeuse Exp $ + +*javahelp-2.0.02_p46 (16 Mar 2007) + + 16 Mar 2007; Petteri Räty +metadata.xml, + +javahelp-2.0.02_p46.ebuild: + Initial commit for bug #168991. Ebuild written by me. + diff --git a/dev-java/javahelp/Manifest b/dev-java/javahelp/Manifest new file mode 100644 index 000000000000..d9d385f47fdc --- /dev/null +++ b/dev-java/javahelp/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST javahelp2-src-2.0.02_svn46.zip 6518989 RMD160 c9737aa99cc8c7143972cc3c2f53acd6d56db75b SHA1 93e03e15cefaae066abfb8b55507c30df3fe4d9e SHA256 97979f8cb8d8c43f040a1fb4ca998e9e209f5b7c898648e57c7337ec4458ea2f +EBUILD javahelp-2.0.02_p46.ebuild 2255 RMD160 1979313f7bff63b6f5bac1097c05042c21c77dce SHA1 aaebdb3002783c21e70a16f61e50256b79367a3d SHA256 505c87038349f3b4e9444f962ee190d0e52ec3c6b0c9cb17fc37529fd085faf3 +MD5 ab3e8c9485d0dbfe4c6815914c05cc89 javahelp-2.0.02_p46.ebuild 2255 +RMD160 1979313f7bff63b6f5bac1097c05042c21c77dce javahelp-2.0.02_p46.ebuild 2255 +SHA256 505c87038349f3b4e9444f962ee190d0e52ec3c6b0c9cb17fc37529fd085faf3 javahelp-2.0.02_p46.ebuild 2255 +MISC ChangeLog 409 RMD160 d6485067744c3cbab876712f9ae85fae3225fb0e SHA1 08219edd7436b4afb937bbcbb39e398917f10ba5 SHA256 68a2ab52573c51109fd1128a76c9af7304fa69fdee2f9bdfb4809f4bff3e7524 +MD5 e07e45fec5700632f13bec3ce129b17e ChangeLog 409 +RMD160 d6485067744c3cbab876712f9ae85fae3225fb0e ChangeLog 409 +SHA256 68a2ab52573c51109fd1128a76c9af7304fa69fdee2f9bdfb4809f4bff3e7524 ChangeLog 409 +MISC metadata.xml 546 RMD160 89007ee65ee88928500aa82dbda962e5cde433bb SHA1 77b50fc864d994a7212414144c563db3e3941f7a SHA256 278d5c686df4b729411d0bf851424a4358f078d934f7a03d1f318176d6649d1a +MD5 0a055db75f7b1c488f5f2b46f88c7865 metadata.xml 546 +RMD160 89007ee65ee88928500aa82dbda962e5cde433bb metadata.xml 546 +SHA256 278d5c686df4b729411d0bf851424a4358f078d934f7a03d1f318176d6649d1a metadata.xml 546 +MD5 a5946cc0f35da889fe9704f4223ce755 files/digest-javahelp-2.0.02_p46 274 +RMD160 e976d7f5ca2e4f1a366c41e877df4dd5740ade82 files/digest-javahelp-2.0.02_p46 274 +SHA256 51d672b532461a5649205ab6dc39d70de36556ff56f94fd344eb4b51449637f2 files/digest-javahelp-2.0.02_p46 274 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFF+yHLcxLzpIGCsLQRArysAJ9EGr8A9TNLXXjkJ+W1yhSK6XFqdQCeNxaT +B+NUvnW15GeJ4uD5FWZDQQM= +=4a1e +-----END PGP SIGNATURE----- diff --git a/dev-java/javahelp/files/digest-javahelp-2.0.02_p46 b/dev-java/javahelp/files/digest-javahelp-2.0.02_p46 new file mode 100644 index 000000000000..f18d6b5ee368 --- /dev/null +++ b/dev-java/javahelp/files/digest-javahelp-2.0.02_p46 @@ -0,0 +1,3 @@ +MD5 8665efd0cbb41d4d2ac0992c2983b9dc javahelp2-src-2.0.02_svn46.zip 6518989 +RMD160 c9737aa99cc8c7143972cc3c2f53acd6d56db75b javahelp2-src-2.0.02_svn46.zip 6518989 +SHA256 97979f8cb8d8c43f040a1fb4ca998e9e209f5b7c898648e57c7337ec4458ea2f javahelp2-src-2.0.02_svn46.zip 6518989 diff --git a/dev-java/javahelp/javahelp-2.0.02_p46.ebuild b/dev-java/javahelp/javahelp-2.0.02_p46.ebuild new file mode 100644 index 000000000000..fe851470062d --- /dev/null +++ b/dev-java/javahelp/javahelp-2.0.02_p46.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javahelp/javahelp-2.0.02_p46.ebuild,v 1.1 2007/03/16 23:01:24 betelgeuse Exp $ + +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/47404/${MY_PN}-src-${MY_PV}.zip" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~x86" + +COMMON_DEP=" + =dev-java/servletapi-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 + cd "${BDIR}/lib" || die + java-pkg_jar-from servletapi-2.4 +} + +_eant() { + cd ${BDIR} || die + eant \ + -Dservlet-jar="$(java-pkg_getjar servletapi-2.4 servlet-api.jar)" \ + -Djsp-jar="$(java-pkg_getjar servletapi-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() { + cd jhMaster/JavaHelp || die + dodoc README || die + dohtml *.{html,css} || 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" + cd "${S}" + 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..fc5ba13dc08f --- /dev/null +++ b/dev-java/javahelp/metadata.xml @@ -0,0 +1,12 @@ + + + + java + + 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. + + -- 2.26.2