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 A80C11582ED for ; Sun, 9 Jun 2024 15:19:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6D25E2AA5; Sun, 9 Jun 2024 15:19:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2563E2AA5 for ; Sun, 9 Jun 2024 15:19:09 +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 8910E340940 for ; Sun, 9 Jun 2024 15:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD0EA1BE1 for ; Sun, 9 Jun 2024 15:19:06 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1717946323.5c1bed15f4b7e71989ff29472838c2c9d02c34db.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/pauker/files/, games-puzzle/pauker/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/pauker/files/pauker-1.8-r3-project.properties.patch games-puzzle/pauker/files/pauker_bundledjars.patch games-puzzle/pauker/pauker-1.8-r3.ebuild games-puzzle/pauker/pauker-1.8-r4.ebuild X-VCS-Directories: games-puzzle/pauker/files/ games-puzzle/pauker/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 5c1bed15f4b7e71989ff29472838c2c9d02c34db X-VCS-Branch: master Date: Sun, 9 Jun 2024 15:19:06 +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: 5ea74624-3a5c-4403-ba1b-e86606b083b9 X-Archives-Hash: 85e7dc1dbd7d7ff2711090f6d0c5b0e7 commit: 5c1bed15f4b7e71989ff29472838c2c9d02c34db Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon May 20 11:55:33 2024 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun Jun 9 15:18:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1bed15 games-puzzle/pauker: drop unneeded build system Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/33891 Signed-off-by: James Le Cuirot gentoo.org> .../files/pauker-1.8-r3-project.properties.patch | 24 -------- games-puzzle/pauker/files/pauker_bundledjars.patch | 14 ----- games-puzzle/pauker/pauker-1.8-r3.ebuild | 70 ---------------------- games-puzzle/pauker/pauker-1.8-r4.ebuild | 54 +++++++++++++++++ 4 files changed, 54 insertions(+), 108 deletions(-) diff --git a/games-puzzle/pauker/files/pauker-1.8-r3-project.properties.patch b/games-puzzle/pauker/files/pauker-1.8-r3-project.properties.patch deleted file mode 100644 index b063b1055621..000000000000 --- a/games-puzzle/pauker/files/pauker-1.8-r3-project.properties.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/nbproject/project.properties b/nbproject/project.properties -index 02aef46..edca271 100644 ---- a/nbproject/project.properties -+++ b/nbproject/project.properties -@@ -37,8 +37,8 @@ javac.classpath=\ - # Space-separated list of extra javac options - javac.compilerargs=-Xlint:all,-serial - javac.deprecation=true --javac.source=1.5 --javac.target=1.5 -+javac.source=1.8 -+javac.target=1.8 - javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ -@@ -64,7 +64,7 @@ jnlp.signed=false - main.class=pauker.program.gui.swing.PaukerFrame - manifest.file=manifest.mf - meta.inf.dir=${src.dir}/META-INF --platform.active=JDK_1.5 -+platform.active=JDK_1.8 - run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} diff --git a/games-puzzle/pauker/files/pauker_bundledjars.patch b/games-puzzle/pauker/files/pauker_bundledjars.patch deleted file mode 100644 index bebcbd088b12..000000000000 --- a/games-puzzle/pauker/files/pauker_bundledjars.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/build.xml.orig 2008-11-24 20:24:55.000000000 +1300 -+++ b/build.xml 2008-11-24 20:25:33.000000000 +1300 -@@ -88,11 +88,6 @@ - basedir="build/classes/" - includes="pauker/**,tools/**" - excludes="pauker/Changes.txt,pauker/TODO.txt,**/*BeanInfo*,**/GraphicalStatisticPanel.gif"> -- -- -- -- - - - diff --git a/games-puzzle/pauker/pauker-1.8-r3.ebuild b/games-puzzle/pauker/pauker-1.8-r3.ebuild deleted file mode 100644 index cadeed423644..000000000000 --- a/games-puzzle/pauker/pauker-1.8-r3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit desktop java-pkg-2 java-ant-2 - -DESCRIPTION="A java based flashcard program" -HOMEPAGE="https://pauker.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/project/pauker/pauker/${PV}/${P}.src.jar" -S="${WORKDIR}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -COMMON_DEP=" - dev-java/browserlauncher2:1.0 - dev-java/javahelp - dev-java/lucene:2.4 - dev-java/swing-layout:1 -" -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.8:*" -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.8:*" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}/${PN}_bundledjars.patch" - "${FILESDIR}/pauker-1.8-r3-project.properties.patch" - "${FILESDIR}/pauker-1.8-javadoc.patch" -) - -src_prepare() { - default - find . -iname '*.jar' -delete || die - - java-pkg_jar-from --into libs browserlauncher2-1.0 browserlauncher2.jar BrowserLauncher2-1_3.jar - java-pkg_jar-from --into libs javahelp jhall.jar - java-pkg_jar-from --into libs lucene-2.4 lucene-core.jar lucene-core-2.4.0.jar - java-pkg_jar-from --into libs swing-layout-1 swing-layout.jar -} - -src_compile() { - eant -Dfile.reference.BrowserLauncher2-1_3.jar="libs/BrowserLauncher2-1_3.jar" \ - -Dlibs.swing-layout.classpath="libs/swing-layout.jar" \ - -Dplatforms.JDK_1.8.home="${JAVA_HOME}" jar $(use_doc javadoc) -} - -#test depend on jemmy, a netbeans module. so unless it is packaged separately -#tests cannot be build. - -src_install() { - java-pkg_jarinto "/usr/share/${PN}" - java-pkg_newjar "dist/${P}.jar" - - java-pkg_dolauncher ${PN} \ - -into "/usr" \ - --pwd /usr/share/${PN} \ - --main pauker.program.gui.swing.PaukerFrame - - use doc && java-pkg_dojavadoc dist/javadoc - use source && java-pkg_dosrc src - - newicon src/pauker/icons/repeat.png ${PN}.png - make_desktop_entry pauker Pauker -} diff --git a/games-puzzle/pauker/pauker-1.8-r4.ebuild b/games-puzzle/pauker/pauker-1.8-r4.ebuild new file mode 100644 index 000000000000..962456b5c716 --- /dev/null +++ b/games-puzzle/pauker/pauker-1.8-r4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit desktop java-pkg-2 java-pkg-simple + +DESCRIPTION="A java based flashcard program" +HOMEPAGE="https://pauker.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/project/pauker/pauker/${PV}/${P}.src.jar" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-arch/unzip" +CP_DEPEND=" + dev-java/browserlauncher2:1.0 + dev-java/javahelp:0 + dev-java/lucene:2.4 + dev-java/swing-layout:1 +" +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +PATCHES=( "${FILESDIR}/pauker-1.8-javadoc.patch" ) + +JAVA_MAIN_CLASS="pauker.program.gui.swing.PaukerFrame" +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="src" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + java-pkg_clean + cp -r src res || die + find res -type f \( -name '*.java' -o -name '*.txt' \ + -o -name '*.form' -o -name '*BeanInfo.java' \ + -o -name '*Panel.gif' \) -exec rm -rf {} + || die +} + +#test depend on jemmy, a netbeans module. so unless it is packaged separately +#tests cannot be build. + +src_install() { + java-pkg-simple_src_install + newicon src/pauker/icons/repeat.png ${PN}.png + make_desktop_entry pauker Pauker +}