From d7f7e5749b1e48edd697ff6a9303c305f346d8b2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 9 Nov 2024 18:52:06 +0000 Subject: Adding metadata --- dev-java/asm/asm-9.7.1.ebuild | 2 +- dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild | 118 -------------------- dev-java/icedtea-web/icedtea-web-1.8.8-r2.ebuild | 122 +++++++++++++++++++++ .../java-diff-utils-1.3.0-r1.ebuild | 21 ++++ .../java-diff-utils/java-diff-utils-1.3.0.ebuild | 26 ----- dev-java/jnr-a64asm/jnr-a64asm-1.0.0-r1.ebuild | 23 ++++ dev-java/jnr-a64asm/jnr-a64asm-1.0.0.ebuild | 32 ------ dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r2.ebuild | 25 ----- dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r3.ebuild | 23 ++++ 9 files changed, 190 insertions(+), 202 deletions(-) delete mode 100644 dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild create mode 100644 dev-java/icedtea-web/icedtea-web-1.8.8-r2.ebuild create mode 100644 dev-java/java-diff-utils/java-diff-utils-1.3.0-r1.ebuild delete mode 100644 dev-java/java-diff-utils/java-diff-utils-1.3.0.ebuild create mode 100644 dev-java/jnr-a64asm/jnr-a64asm-1.0.0-r1.ebuild delete mode 100644 dev-java/jnr-a64asm/jnr-a64asm-1.0.0.ebuild delete mode 100644 dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r2.ebuild create mode 100644 dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r3.ebuild (limited to 'dev-java') diff --git a/dev-java/asm/asm-9.7.1.ebuild b/dev-java/asm/asm-9.7.1.ebuild index 60801aa85963..fbf2532497de 100644 --- a/dev-java/asm/asm-9.7.1.ebuild +++ b/dev-java/asm/asm-9.7.1.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/asm-${MY_P}" LICENSE="BSD" SLOT="9" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x64-macos" +KEYWORDS="~amd64 ~arm64 ppc64 ~x64-macos" DEPEND=">=virtual/jdk-11:*" RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild b/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild deleted file mode 100644 index 73754338cb33..000000000000 --- a/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -README_GENTOO_SUFFIX="-r3" -CRATES="dunce-0.1.1" - -inherit autotools bash-completion-r1 cargo java-pkg-2 readme.gentoo-r1 xdg-utils - -DESCRIPTION="FOSS Java browser plugin and Web Start implementation" -HOMEPAGE="https://github.com/AdoptOpenJDK/IcedTea-Web" -SRC_URI="https://github.com/AdoptOpenJDK/${PN}/archive/${P}.tar.gz - $(cargo_crate_uris ${CRATES})" -LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" -IUSE="doc" - -# tests require ton of java deps we don't have packaged/working -# but rust tests pass. -RESTRICT="test" - -BDEPEND=" - app-arch/zip - app-alternatives/bc - virtual/pkgconfig - virtual/rust - doc? ( app-alternatives/bc ) -" - -# Build within Portage using JDK 11+ (also presumably 9+) fails during -# src_configure: -# configure: error: sun.security.util.SecurityConstants not found. -# -# When upstream's build instructions are executed outside Portage using -# JDK 11+, ./configure also fails, though a different error pops up: -# configure: error: sun.applet.AppletImageRef not found. -# -# If even the upstream build instructions fail outside Portage with JDK 11+, -# then it is very unlikely that the build issue within Portage is fixable. -# The upstream has moved forward to development of 2.0.0 and 3.0.0 versions, -# so they might no longer be interested in fixing the legacy 1.x versions. -# -# The 'sun.applet.AppletImageRef not found' issue has been reported to -# FreeBSD , -# and some efforts there to fix the issue were unsuccessful. They seem -# to have ended up with restricting Java version to 8 -# . -# -# Thus, the build VM version is restricted to 1.8 here. -DEPEND=" - virtual/jdk:1.8 -" - -RDEPEND=" - >=app-eselect/eselect-java-0.2.0 - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/IcedTea-Web-${P}" - -QA_FLAGS_IGNORED="usr/bin/.*" - -src_prepare() { - eapply_user - sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die - eautoreconf - cargo_gen_config -} - -src_configure() { - xdg_environment_reset - # some functionality (tagsoup rhino) is disabled, because dev-java is - # unmaintained and a lot of things simply does not build anymore. - # native plugins also disabled, modern browsers no longer support it. - # modularjdk-file and the 'itw-modularjdk.args' file controlled by it - # are required to run this package's programs using JRE 9+. - local myconf=( - --disable-native-plugin - --program-transform-name='s/^javaws$/itweb-javaws/' - --with-jdk-home="$(java-config -O)" - --with-modularjdk-file="${EPREFIX}/usr/share/${PN}/" - --with-itw-libs=DISTRIBUTION - --without-rhino - --without-tagsoup - $(use_enable doc docs) - ) - unset _JAVA_OPTIONS - export bashcompdir="$(get_bashcompdir)" # defaults to /etc if not found in pkg-config - export CARGO_HOME="${ECARGO_HOME}" - CONFIG_SHELL="${EPREFIX}/bin/bash" econf "${myconf[@]}" -} - -src_compile() { - # races in makefile - emake -j1 #nowarn -} - -src_install() { - default - rename -v '.bash' '' "${ED}/usr/share/bash-completion/completions/"*.bash || die - rename -v 'javaws' 'itweb-javaws' "${ED}/usr/share/man/man1/"javaws.1* || die - mv -v "${ED}/usr/share/bash-completion/completions/"{javaws,itweb-javaws} || die - sed -i 's/javaws/itweb-javaws/g' \ - "${ED}/usr/share/bash-completion/completions/itweb-javaws" || die - - readme.gentoo_create_doc -} - -src_test() { - # we want to override cargo.eclass' src_test - : -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/dev-java/icedtea-web/icedtea-web-1.8.8-r2.ebuild b/dev-java/icedtea-web/icedtea-web-1.8.8-r2.ebuild new file mode 100644 index 000000000000..ff395edab946 --- /dev/null +++ b/dev-java/icedtea-web/icedtea-web-1.8.8-r2.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +README_GENTOO_SUFFIX="-r3" +CRATES="dunce@0.1.1" + +inherit autotools bash-completion-r1 cargo java-pkg-2 readme.gentoo-r1 xdg-utils + +DESCRIPTION="FOSS Java browser plugin and Web Start implementation" +HOMEPAGE="https://github.com/AdoptOpenJDK/IcedTea-Web" +SRC_URI="https://github.com/AdoptOpenJDK/${PN}/archive/${P}.tar.gz + ${CARGO_CRATE_URIS}" +S="${WORKDIR}/IcedTea-Web-${P}" + +LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2" +SLOT="0" +KEYWORDS="amd64 arm64 ppc64" +IUSE="doc" + +# tests require ton of java deps we don't have packaged/working +# but rust tests pass. +RESTRICT="test" + +BDEPEND=" + app-arch/zip + app-alternatives/bc + virtual/pkgconfig + doc? ( app-alternatives/bc ) +" + +# Build within Portage using JDK 11+ (also presumably 9+) fails during +# src_configure: +# configure: error: sun.security.util.SecurityConstants not found. +# +# When upstream's build instructions are executed outside Portage using +# JDK 11+, ./configure also fails, though a different error pops up: +# configure: error: sun.applet.AppletImageRef not found. +# +# If even the upstream build instructions fail outside Portage with JDK 11+, +# then it is very unlikely that the build issue within Portage is fixable. +# The upstream has moved forward to development of 2.0.0 and 3.0.0 versions, +# so they might no longer be interested in fixing the legacy 1.x versions. +# +# The 'sun.applet.AppletImageRef not found' issue has been reported to +# FreeBSD , +# and some efforts there to fix the issue were unsuccessful. They seem +# to have ended up with restricting Java version to 8 +# . +# +# Thus, the build VM version is restricted to 1.8 here. +DEPEND=" + virtual/jdk:1.8 +" + +RDEPEND=" + >=app-eselect/eselect-java-0.2.0 + >=virtual/jre-1.8:* +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +pkg_setup() { + java-pkg-2_pkg_setup + rust_pkg_setup +} + +src_prepare() { + eapply_user + sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die + eautoreconf + cargo_gen_config +} + +src_configure() { + xdg_environment_reset + # some functionality (tagsoup rhino) is disabled, because dev-java is + # unmaintained and a lot of things simply does not build anymore. + # native plugins also disabled, modern browsers no longer support it. + # modularjdk-file and the 'itw-modularjdk.args' file controlled by it + # are required to run this package's programs using JRE 9+. + local myconf=( + --disable-native-plugin + --program-transform-name='s/^javaws$/itweb-javaws/' + --with-jdk-home="$(java-config -O)" + --with-modularjdk-file="${EPREFIX}/usr/share/${PN}/" + --with-itw-libs=DISTRIBUTION + --without-rhino + --without-tagsoup + $(use_enable doc docs) + ) + unset _JAVA_OPTIONS + export bashcompdir="$(get_bashcompdir)" # defaults to /etc if not found in pkg-config + export CARGO_HOME="${ECARGO_HOME}" + CONFIG_SHELL="${EPREFIX}/bin/bash" econf "${myconf[@]}" +} + +src_compile() { + # races in makefile + emake -j1 #nowarn +} + +src_install() { + default + rename -v '.bash' '' "${ED}/usr/share/bash-completion/completions/"*.bash || die + rename -v 'javaws' 'itweb-javaws' "${ED}/usr/share/man/man1/"javaws.1* || die + mv -v "${ED}/usr/share/bash-completion/completions/"{javaws,itweb-javaws} || die + sed -i 's/javaws/itweb-javaws/g' \ + "${ED}/usr/share/bash-completion/completions/itweb-javaws" || die + + readme.gentoo_create_doc +} + +src_test() { + # we want to override cargo.eclass' src_test + : +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/dev-java/java-diff-utils/java-diff-utils-1.3.0-r1.ebuild b/dev-java/java-diff-utils/java-diff-utils-1.3.0-r1.ebuild new file mode 100644 index 000000000000..eca70cabdcf4 --- /dev/null +++ b/dev-java/java-diff-utils/java-diff-utils-1.3.0-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.googlecode.java-diff-utils:diffutils:1.3.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Library for computing diffs, applying patches, generationg side-by-side view" +HOMEPAGE="https://code.google.com/archive/p/java-diff-utils" +SRC_URI="https://repo1.maven.org/maven2/com/googlecode/${PN}/diffutils/${PV}/diffutils-${PV}-sources.jar -> ${P}-sources.jar" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 ppc64" + +BDEPEND="app-arch/unzip" +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/java-diff-utils/java-diff-utils-1.3.0.ebuild b/dev-java/java-diff-utils/java-diff-utils-1.3.0.ebuild deleted file mode 100644 index 3d65bddb88bf..000000000000 --- a/dev-java/java-diff-utils/java-diff-utils-1.3.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom diffutils-1.3.0.pom.xml --download-uri https://repo1.maven.org/maven2/com/googlecode/java-diff-utils/diffutils/1.3.0/diffutils-1.3.0-sources.jar --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild java-diff-utils-1.3.0.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="com.googlecode.java-diff-utils:diffutils:1.3.0" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Library for computing diffs, applying patches, generationg side-by-side view" -HOMEPAGE="https://java-diff-utils.github.io/java-diff-utils/" -SRC_URI="https://repo1.maven.org/maven2/com/googlecode/${PN}/diffutils/${PV}/diffutils-${PV}-sources.jar -> ${P}-sources.jar" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" -BDEPEND="app-arch/unzip" - -S="${WORKDIR}" diff --git a/dev-java/jnr-a64asm/jnr-a64asm-1.0.0-r1.ebuild b/dev-java/jnr-a64asm/jnr-a64asm-1.0.0-r1.ebuild new file mode 100644 index 000000000000..e0c77ac2af16 --- /dev/null +++ b/dev-java/jnr-a64asm/jnr-a64asm-1.0.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.github.jnr:jnr-a64asm:1.0.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A pure-java A64 assembler" +HOMEPAGE="https://github.com/jnr/jnr-a64asm" +SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="amd64 arm64 ppc64" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" diff --git a/dev-java/jnr-a64asm/jnr-a64asm-1.0.0.ebuild b/dev-java/jnr-a64asm/jnr-a64asm-1.0.0.ebuild deleted file mode 100644 index 9943cc56e9f8..000000000000 --- a/dev-java/jnr-a64asm/jnr-a64asm-1.0.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jnr/jnr-a64asm/archive/refs/tags/jnr-a64asm-1.0.0.tar.gz --slot 2 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jnr-a64asm-1.0.0.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="com.github.jnr:jnr-a64asm:1.0.0" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A pure-java A64 assembler" -HOMEPAGE="http://nexus.sonatype.org/oss-repository-hosting.html/jnr-a64asm" -SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="2" -KEYWORDS="amd64 arm64 ppc64" - -DEPEND=" - >=virtual/jdk-1.8:* -" - -RDEPEND=" - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" diff --git a/dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r2.ebuild b/dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r2.ebuild deleted file mode 100644 index 0888c3430d26..000000000000 --- a/dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -JAVA_PKG_IUSE="doc source" -MAVEN_ID="com.github.jnr:jnr-x86asm:1.0.2" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A pure-java port of asmjit" -HOMEPAGE="https://github.com/jnr/jnr-x86asm" -SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="1.0" -KEYWORDS="amd64 arm64 ppc64" -IUSE="" - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -S="${WORKDIR}/${P}" - -JAVA_SRC_DIR="src/main/java" -JAVA_ANT_ENCODING="UTF-8" diff --git a/dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r3.ebuild b/dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r3.ebuild new file mode 100644 index 000000000000..19f8951a3e12 --- /dev/null +++ b/dev-java/jnr-x86asm/jnr-x86asm-1.0.2-r3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.github.jnr:jnr-x86asm:1.0.2" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A pure-java port of asmjit" +HOMEPAGE="https://github.com/jnr/jnr-x86asm" +SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="amd64 arm64 ppc64" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" -- cgit v1.3