From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C1BA159C9B for ; Thu, 8 Aug 2024 10:29:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71778E2AF9; Thu, 8 Aug 2024 10:29:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52D0BE2AF9 for ; Thu, 8 Aug 2024 10:29:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83AAF340C20 for ; Thu, 8 Aug 2024 10:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 962881B9A for ; Thu, 8 Aug 2024 10:29:15 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1723112684.9bcc97ab5311bf2326f92aff61400ba16386729a.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javahelp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/javahelp/javahelp-2.0.05_p20170719-r4.ebuild X-VCS-Directories: dev-java/javahelp/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 9bcc97ab5311bf2326f92aff61400ba16386729a X-VCS-Branch: master Date: Thu, 8 Aug 2024 10:29:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 772707ea-03b2-4afe-983a-b63d16b14bfd X-Archives-Hash: 0092c92a9654d80b9fbcccab1d13bb68 commit: 9bcc97ab5311bf2326f92aff61400ba16386729a Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Jul 16 09:25:31 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Thu Aug 8 10:24:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcc97ab dev-java/javahelp: rewrite with java-pkg-simple Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37592 Signed-off-by: Miroslav Šulc gentoo.org> .../javahelp/javahelp-2.0.05_p20170719-r4.ebuild | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/dev-java/javahelp/javahelp-2.0.05_p20170719-r4.ebuild b/dev-java/javahelp/javahelp-2.0.05_p20170719-r4.ebuild new file mode 100644 index 000000000000..453dcfef7068 --- /dev/null +++ b/dev-java/javahelp/javahelp-2.0.05_p20170719-r4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The JavaHelp system online help system" +HOMEPAGE="https://javaee.github.io/javahelp/" +COMMIT="3ca862d8626096770598a3a256886d205246f4a4" +SRC_URI="https://github.com/javaee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/javax-jsp-api:2.0 + dev-java/javax-servlet-api:2.5 +" + +DEPEND="${CP_DEPEND} + virtual/jdk:1.8" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_JAR_FILENAME="jhall.jar" +JAVA_GENTOO_CLASSPATH_EXTRA="javahelp_nbproject/lib/jdic-stub.jar" +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR=( + jhMaster/JavaHelp/src/{new,impl} + jhMaster/JSearch/{client,indexer} +) + +src_prepare() { + java-pkg-2_src_prepare + mkdir res || die + pushd jhMaster/JavaHelp/src/new >> /dev/null || die + find -type f ! -name '*.java' | xargs cp --parents -t ../../../../res || die + popd >> /dev/null || die +} + +src_install() { + java-pkg-simple_src_install + + java-pkg_dolauncher jhsearch \ + --main com.sun.java.help.search.QueryEngine + java-pkg_dolauncher jhindexer \ + --main com.sun.java.help.search.Indexer + + use examples && java-pkg_doexamples jhMaster/JavaHelp/demos +}