From be94ae04eee564451203d45977c2ef7c7ace1580 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2024 03:03:09 +0000 Subject: gentoo auto-resync : 10:11:2024 - 03:03:09 --- dev-java/icedtea-web/Manifest | 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 +++++++++++++++++++++++ 3 files changed, 123 insertions(+), 119 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 (limited to 'dev-java/icedtea-web') diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest index 5c96aa99d468..6b6d61485a93 100644 --- a/dev-java/icedtea-web/Manifest +++ b/dev-java/icedtea-web/Manifest @@ -2,5 +2,5 @@ AUX README.gentoo-r2 452 BLAKE2B 81347eaa073b22f2b4ddb8c07dbdc07bbe81b2f848c2e86 AUX README.gentoo-r3 554 BLAKE2B d29ff7518dec550796a885ca4af41cbe2b112f314ddc33697f4fff8bf6f3a19f2ac7c19ae3f811f209b870e3df18aca2e1be8327c7a2fab5e7beeebc02732ba8 SHA512 5499c13e4897f8fd72add9e98a9408b32dbc2f4692f5e165a1596bbbcb60355dff1251537f8fc0f09433164db8d887d1ae90340302f86ba6e1cf7f8e96d7827e DIST dunce-0.1.1.crate 4311 BLAKE2B 07b775c2e79d6414af5854282fdfbba26ac4675207f840cf627a33c7bdbca163283466011c641d62646fa77f8623f1f7143b5e3d87c34e0b9840e4807eea2df8 SHA512 3fa16c1d6d78374e6360b9e2349516859b617ac5532ade34359d952002a1fb6d5e70f27ce2c9b3d6e230c753218fcf6e9b3973161bf1f8dd9c08152fbda2f5ad DIST icedtea-web-1.8.8.tar.gz 2365638 BLAKE2B 39a19bd46a235d016f9192da7f15ffa17546dfbe8502df4991f6d45c6211723504c0d2dc0bc7aaa508e4b47295f244c65b6e7113666028824562b8d2b0ccf5b2 SHA512 99f246ce603e3edd4357a2c4d280f1ef92e1f760ca5d843eaccf7ca60950a47defec64eed87dac26c5c2e9776bed2f3e53f2c8793dabd47e1b5fc82823190dcc -EBUILD icedtea-web-1.8.8-r1.ebuild 3572 BLAKE2B 0dc03c0b86545d5c5a3f7db4a9d2a8f7e360ecd90f7479e0d72c0dd0006e4db44577f02969b5593a0d535501e287a4a9f7934f17c212693efd25b502705b0446 SHA512 925bb3851cd6bfae5bfd2a13d091a1bfceee19d7e50ecdb8eb66fff60bc4ed5f68cd8118cbcdddba8b7e372fbf782500a173edb974d7dae4997d515746d7bd25 +EBUILD icedtea-web-1.8.8-r2.ebuild 3603 BLAKE2B 1348a031d7aead04cc35800fb826089d6cf2ba4e72cc321627ad20648a99311cfd89c74b323990094fdbd71f17347f8e680b4fdfa5c7608fdbacc32cf7c53f1a SHA512 89795279b560477b3537b2cc959f5669493ffae5abb65a1fd421bc6509a063ebfe234c811c0298ea5bca2ba802179a55f75b2798f0ddd3a445f3b26deafb0c04 MISC metadata.xml 470 BLAKE2B ae3861fd34b819ef3889a6ca4f56702608b20fd74e4c856d934d8094649d2c19703010c0fc581154f77e6f82ec19b99fcb670b3bc16530c194a6e590084b8ccd SHA512 8911c14a652c2e24e0679263f040452513e4e018623169760953accedee778c6bab255ad78e07f43617907d4c6d8524f1493beaf48507d9743ee37d4aecea24d 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 +} -- cgit v1.2.3