public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javahelp/
Date: Wed,  1 Mar 2023 07:17:32 +0000 (UTC)	[thread overview]
Message-ID: <1677655046.d1d003671a518b454608ec4e2aed248dae13a6e0.fordfrog@gentoo> (raw)

commit:     d1d003671a518b454608ec4e2aed248dae13a6e0
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Feb 28 09:07:02 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 07:17:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d00367

dev-java/javahelp: use javax-{jsp,servlet}-api instead of tomcat-*

- min jre-1.8:*
- drops keywords, dependencies are not yet keyworded.

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/29851
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../javahelp/javahelp-2.0.05_p20170719-r3.ebuild   | 73 ++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/dev-java/javahelp/javahelp-2.0.05_p20170719-r3.ebuild b/dev-java/javahelp/javahelp-2.0.05_p20170719-r3.ebuild
new file mode 100644
index 000000000000..22bd218ccce3
--- /dev/null
+++ b/dev-java/javahelp/javahelp-2.0.05_p20170719-r3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT="3ca862d8626096770598a3a256886d205246f4a4"
+JAVA_PKG_IUSE="examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="The JavaHelp system online help system"
+HOMEPAGE="https://javaee.github.io/javahelp/"
+SRC_URI="https://github.com/javaee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CDEPEND="
+	dev-java/javax-jsp-api:2.0
+	dev-java/javax-servlet-api:2.5
+"
+
+RDEPEND=">=virtual/jre-1.8:*
+	${CDEPEND}"
+
+DEPEND="virtual/jdk:1.8
+	${CDEPEND}"
+
+JAVA_PKG_NV_DEPEND="virtual/jdk:1.8"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+_eant() {
+	local \
+		servlet_jar=$(java-pkg_getjars javax-servlet-api-2.5) \
+		jsp_jar=$(java-pkg_getjars javax-jsp-api-2.0)
+
+	eant \
+		-f javahelp_nbproject/build.xml \
+		-Dfile.reference.servlet-api.jar="${servlet_jar}" \
+		-Dfile.reference.jsp-api.jar="${jsp_jar}" \
+		-Dservlet-jar="${servlet_jar}" \
+		-Djsp-jar="${jsp_jar}" \
+		-Dservlet-jar-present=true \
+		-Djsp-jar-present=true \
+		-Dtomcat-zip-present=true \
+		${@}
+}
+
+src_compile() {
+	_eant release
+}
+
+#Does not actually run anything
+#src_test() {
+#	_eant test
+#}
+
+src_install() {
+	java-pkg_dojar javahelp_nbproject/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 source && java-pkg_dosrc \
+		jhMaster/JSearch/*/com \
+		jhMaster/JavaHelp/src/*/{javax,com}
+
+	use examples && java-pkg_doexamples jhMaster/JavaHelp/demos
+}


             reply	other threads:[~2023-03-01  7:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  7:17 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-07  7:28 [gentoo-commits] repo/gentoo:master commit in: dev-java/javahelp/ Miroslav Šulc
2024-09-06 17:48 Sam James
2024-09-06 17:48 Sam James
2024-08-08 10:29 Miroslav Šulc
2023-03-31  6:36 Miroslav Šulc
2023-03-30 17:11 Sam James
2023-03-30 17:11 Sam James
2023-03-03 17:17 Arthur Zamarin
2023-02-05  9:53 Miroslav Šulc
2023-02-05  9:53 Miroslav Šulc
2022-06-09  6:45 Sam James
2022-06-08  8:46 Agostino Sarubbo
2022-06-08  8:42 Agostino Sarubbo
2022-05-09 19:13 Florian Schmaus
2020-06-17 20:12 Rick Farina
2020-06-17 19:39 Rick Farina
2018-04-15 13:58 Johannes Huber
2018-04-05  3:29 Aaron Bauman
2018-03-20 22:27 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677655046.d1d003671a518b454608ec4e2aed248dae13a6e0.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox