[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2022-06-20 Thread Florian Schmaus
commit: f6d64b078ac431a26142e7bd0f81852492003cee
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Mon Jun 20 05:21:53 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jun 20 06:49:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d64b07

dev-java/icedtea-web: drop 1.8.4-r1, 1.8.8

Closes: https://bugs.gentoo.org/586810
Closes: https://bugs.gentoo.org/659174
Closes: https://bugs.gentoo.org/698582
Closes: https://bugs.gentoo.org/783027
Closes: https://bugs.gentoo.org/831895
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25989
Signed-off-by: Florian Schmaus  gentoo.org>

 dev-java/icedtea-web/Manifest|  1 -
 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 94 
 dev-java/icedtea-web/icedtea-web-1.8.8.ebuild| 94 
 3 files changed, 189 deletions(-)

diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index 164fce0b02dd..54b18ca69bad 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1,3 +1,2 @@
 DIST dunce-0.1.1.crate 4311 BLAKE2B 
07b775c2e79d6414af5854282fdfbba26ac4675207f840cf627a33c7bdbca163283466011c641d62646fa77f8623f1f7143b5e3d87c34e0b9840e4807eea2df8
 SHA512 
3fa16c1d6d78374e6360b9e2349516859b617ac5532ade34359d952002a1fb6d5e70f27ce2c9b3d6e230c753218fcf6e9b3973161bf1f8dd9c08152fbda2f5ad
-DIST icedtea-web-1.8.4.tar.gz 2358591 BLAKE2B 
a62a88cfce49f473a0ab768ca386c4733d69fd3b603b29a8d5e7478b33030e2d016a0577bfc0fa4657bb0b3f99a2524d1b46cad7a8e4f97c1404eff5ca218613
 SHA512 
d155ec6ed9a007b2c59fd09fed9f4005a79640016ae62287eab7076c05b5ddd56d07b0ff86babf732f1bb82653fc0f7cf434550eabdaac8d666e64feabe4f890
 DIST icedtea-web-1.8.8.tar.gz 2365638 BLAKE2B 
39a19bd46a235d016f9192da7f15ffa17546dfbe8502df4991f6d45c6211723504c0d2dc0bc7aaa508e4b47295f244c65b6e7113666028824562b8d2b0ccf5b2
 SHA512 
99f246ce603e3edd4357a2c4d280f1ef92e1f760ca5d843eaccf7ca60950a47defec64eed87dac26c5c2e9776bed2f3e53f2c8793dabd47e1b5fc82823190dcc

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
deleted file mode 100644
index caabab18f661..
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-README_GENTOO_SUFFIX="-r2"
-CRATES="dunce-0.1.1"
-
-inherit autotools bash-completion-r1 cargo 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 x86"
-IUSE="doc"
-
-# tests require ton of java deps we don't have packaged/working
-# but rust tests pass.
-RESTRICT="test"
-
-BDEPEND="
-   app-arch/zip
-   sys-devel/bc
-   virtual/jdk:1.8
-   virtual/pkgconfig
-   virtual/rust
-   doc? ( sys-devel/bc )
-"
-
-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.
-   local myconf=(
-   --disable-native-plugin
-   --program-transform-name='s/^javaws$/itweb-javaws/'
-   --with-java="${EPREFIX}/usr/bin/java"
-   --with-jdk-home="${EPREFIX}/etc/java-config-2/current-system-vm"
-   --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
-   rm -v "${ED}/usr/bin/itw-modularjdk.args" || die
-   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" || 

[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2022-06-19 Thread Sam James
commit: 336e5e7a7a448ceb97934a98675c0268bbc4c436
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 20 05:04:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 20 05:04:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336e5e7a

dev-java/icedtea-web: Stabilize 1.8.8-r1 ppc64, #850910

Signed-off-by: Sam James  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 3e1480e3abda..186bb18591b3 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
@@ -14,7 +14,7 @@ 
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 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2022-06-12 Thread Agostino Sarubbo
commit: ab93bc7e28826b8df44eb07c89aa03b9381a5f1e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:31:30 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:32:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab93bc7e

dev-java/icedtea-web: x86 stable wrt bug #850910

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index c2b112a36b09..3e1480e3abda 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
@@ -14,7 +14,7 @@ 
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 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2022-06-12 Thread Agostino Sarubbo
commit: 0798da89e0ddc9a4d7f81bbb7a5ce2f2e6c4ee88
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:28:28 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:28:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0798da89

dev-java/icedtea-web: amd64 stable wrt bug #850910

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index a6c7d5119fea..c2b112a36b09 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
@@ -14,7 +14,7 @@ 
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 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2022-06-10 Thread Jakov Smolić
commit: 01ba361ae7e23df489064c64b4460ba9c4f295da
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Jun 10 20:19:44 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Jun 10 20:19:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba361a

dev-java/icedtea-web: Stabilize 1.8.8-r1 arm64, #850910

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 238bb9080267..a6c7d5119fea 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
@@ -14,7 +14,7 @@ 
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 ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/files/, dev-java/icedtea-web/

2022-05-11 Thread Florian Schmaus
commit: 47bad21c79c7886701279312dc6923538dd12fd2
Author: Yuan Liao  gmail  com>
AuthorDate: Wed Mar 16 18:22:19 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed May 11 19:51:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47bad21c

dev-java/icedtea-web: EAPI 8, restrict build VM to 1.8

- java-pkg-2.eclass is inherited to set up JDK 8 as the build VM
  properly, so a JAVA_HOME that points to JDK 8 is always passed to the
  ./configure script regardless of the eselect-java system VM setting.

- The 'itw-modularjdk.args' file is now installed to an FHS-compliant
  path to allow the programs from this package to be run with JRE 9+.
  These programs are compatible with JRE 9+ under the condition that
  this file is installed.  The file is required for integration with the
  Java Platform Module System introduced in Java 9.

- README.gentoo is updated to convey the USE="-headless-awt" requirement
  for any JRE used to run those programs.  This seems to be a
  runtime-only requirement, as using a JDK with this USE flag disabled
  would not cause any build errors during testing.

Bug: https://bugs.gentoo.org/659174
Bug: https://bugs.gentoo.org/698582
Bug: https://bugs.gentoo.org/783027
Bug: https://bugs.gentoo.org/831895
Signed-off-by: Yuan Liao  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24610
Signed-off-by: Florian Schmaus  gentoo.org>

 dev-java/icedtea-web/files/README.gentoo-r3  |  16 +++
 dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild | 118 +++
 2 files changed, 134 insertions(+)

diff --git a/dev-java/icedtea-web/files/README.gentoo-r3 
b/dev-java/icedtea-web/files/README.gentoo-r3
new file mode 100644
index ..fc199f3c50f2
--- /dev/null
+++ b/dev-java/icedtea-web/files/README.gentoo-r3
@@ -0,0 +1,16 @@
+Browser plugin
+--
+
+The IcedTea browser plugin (NPPlugin) is no longer available,
+as modern browsers no longer support this plugin format.
+
+JVM selection
+-
+
+By default, Web Start uses the JVM
+selected via eselect environment variable.
+Note that this doesn't have to be an IcedTea. Openjdk will also work.
+Also note that the selected JVM must have been installed with the
+'headless-awt' USE flag *disabled*.
+The choice can be overridden using the itweb-settings program.
+Simply blank out the field to restore the default behaviour.

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
new file mode 100644
index ..238bb9080267
--- /dev/null
+++ b/dev-java/icedtea-web/icedtea-web-1.8.8-r1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2022 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 ~x86"
+IUSE="doc"
+
+# tests require ton of java deps we don't have packaged/working
+# but rust tests pass.
+RESTRICT="test"
+
+BDEPEND="
+   app-arch/zip
+   sys-devel/bc
+   virtual/pkgconfig
+   virtual/rust
+   doc? ( sys-devel/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() {
+   

[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-11-17 Thread Georgy Yakovlev
commit: f18ee7ec0dafdd8a97d77744cbe9ecedeb16cfe9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 18 05:08:01 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 18 05:08:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f18ee7ec

dev-java/icedtea-web: add 1.8.8

Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-java/icedtea-web/Manifest |  1 +
 dev-java/icedtea-web/icedtea-web-1.8.8.ebuild | 94 +++
 2 files changed, 95 insertions(+)

diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index 39b4559fecbb..164fce0b02dd 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1,2 +1,3 @@
 DIST dunce-0.1.1.crate 4311 BLAKE2B 
07b775c2e79d6414af5854282fdfbba26ac4675207f840cf627a33c7bdbca163283466011c641d62646fa77f8623f1f7143b5e3d87c34e0b9840e4807eea2df8
 SHA512 
3fa16c1d6d78374e6360b9e2349516859b617ac5532ade34359d952002a1fb6d5e70f27ce2c9b3d6e230c753218fcf6e9b3973161bf1f8dd9c08152fbda2f5ad
 DIST icedtea-web-1.8.4.tar.gz 2358591 BLAKE2B 
a62a88cfce49f473a0ab768ca386c4733d69fd3b603b29a8d5e7478b33030e2d016a0577bfc0fa4657bb0b3f99a2524d1b46cad7a8e4f97c1404eff5ca218613
 SHA512 
d155ec6ed9a007b2c59fd09fed9f4005a79640016ae62287eab7076c05b5ddd56d07b0ff86babf732f1bb82653fc0f7cf434550eabdaac8d666e64feabe4f890
+DIST icedtea-web-1.8.8.tar.gz 2365638 BLAKE2B 
39a19bd46a235d016f9192da7f15ffa17546dfbe8502df4991f6d45c6211723504c0d2dc0bc7aaa508e4b47295f244c65b6e7113666028824562b8d2b0ccf5b2
 SHA512 
99f246ce603e3edd4357a2c4d280f1ef92e1f760ca5d843eaccf7ca60950a47defec64eed87dac26c5c2e9776bed2f3e53f2c8793dabd47e1b5fc82823190dcc

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.8.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.8.ebuild
new file mode 100644
index ..563512e65b91
--- /dev/null
+++ b/dev-java/icedtea-web/icedtea-web-1.8.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+README_GENTOO_SUFFIX="-r2"
+CRATES="dunce-0.1.1"
+
+inherit autotools bash-completion-r1 cargo 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 ~x86"
+IUSE="doc"
+
+# tests require ton of java deps we don't have packaged/working
+# but rust tests pass.
+RESTRICT="test"
+
+BDEPEND="
+   app-arch/zip
+   sys-devel/bc
+   virtual/jdk:1.8
+   virtual/pkgconfig
+   virtual/rust
+   doc? ( sys-devel/bc )
+"
+
+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.
+   local myconf=(
+   --disable-native-plugin
+   --program-transform-name='s/^javaws$/itweb-javaws/'
+   --with-java="${EPREFIX}/usr/bin/java"
+   --with-jdk-home="${EPREFIX}/etc/java-config-2/current-system-vm"
+   --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
+   rm -v "${ED}/usr/bin/itw-modularjdk.args" || die
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-04-25 Thread Georgy Yakovlev
commit: b06cf4b0a9315571022bf166dad2b326536ed5d7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Apr 25 16:57:23 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Apr 25 16:57:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06cf4b0

dev-java/icedtea-web: add sys-devel/bc build dependency

Closes: https://bugs.gentoo.org/740782
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index 8e3bba4fc0c..caabab18f66 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -23,6 +23,7 @@ RESTRICT="test"
 
 BDEPEND="
app-arch/zip
+   sys-devel/bc
virtual/jdk:1.8
virtual/pkgconfig
virtual/rust



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-04-06 Thread Sam James
commit: c7e95fb650d25e7ddec066350917faa8c1100fa1
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  6 19:51:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  6 19:51:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e95fb6

dev-java/icedtea-web: Stabilize 1.8.4-r1 arm64, #711392

Signed-off-by: Sam James  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index f62805439b5..8e3bba4fc0c 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -14,7 +14,7 @@ 
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 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-04-05 Thread Sam James
commit: ab20e43b3846de1bbe6ecc39b0c799ee864e751e
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr  5 16:43:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr  5 16:43:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab20e43b

dev-java/icedtea-web: Stabilize 1.8.4-r1 amd64, #711392

Signed-off-by: Sam James  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index 4fe75501247..f62805439b5 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -14,7 +14,7 @@ 
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 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-04-04 Thread Sergei Trofimovich
commit: 32eb754117f69a47e65d5fb3ee5a1f3664b8dc60
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Apr  4 21:19:16 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr  4 21:21:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32eb7541

dev-java/icedtea-web: stable 1.8.4-r1 for ppc64

stable wrt bug #711392

Package-Manager: Portage-3.0.18, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index ea9bf4cf44c..4fe75501247 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -14,7 +14,7 @@ 
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 x86"
+KEYWORDS="~amd64 ~arm64 ppc64 x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-04-04 Thread Thomas Deutschmann
commit: b39d1584922d60d964ac71250e31d092a367e4b2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Apr  4 16:01:59 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Apr  4 16:01:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39d1584

dev-java/icedtea-web: x86 stable (bug #711392)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index 59471a08197..ea9bf4cf44c 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 
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 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 x86"
 IUSE="doc"
 
 # tests require ton of java deps we don't have packaged/working



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2021-01-07 Thread Sam James
commit: edc95998bc192e8d527c7461b29be0b9fc2dd128
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Jan  7 00:08:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 13:07:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc95998

dev-java/icedtea-web: Call xdg_environment_reset

Closes: https://bugs.gentoo.org/762250
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/18970
Signed-off-by: Sam James  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index 297c3d95ea6..59471a08197 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 README_GENTOO_SUFFIX="-r2"
 CRATES="dunce-0.1.1"
 
-inherit autotools bash-completion-r1 cargo readme.gentoo-r1
+inherit autotools bash-completion-r1 cargo readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
 HOMEPAGE="https://github.com/AdoptOpenJDK/IcedTea-Web;
@@ -46,6 +46,7 @@ src_prepare() {
 }
 
 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.



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2020-09-05 Thread Georgy Yakovlev
commit: c81b8de0007d7b594d12ea72fb4520e548194ce2
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  5 18:36:48 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  5 18:41:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81b8de0

dev-java/icedtea-web: fix some build issues in 1.8.4

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index 56974b9a413..297c3d95ea6 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 README_GENTOO_SUFFIX="-r2"
 CRATES="dunce-0.1.1"
 
-inherit autotools cargo readme.gentoo-r1
+inherit autotools bash-completion-r1 cargo readme.gentoo-r1
 
 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
 HOMEPAGE="https://github.com/AdoptOpenJDK/IcedTea-Web;
@@ -59,6 +59,8 @@ src_configure() {
--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[@]}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2020-09-05 Thread Georgy Yakovlev
commit: e005b2257d8f841bb6944f737d5baea1af6581a8
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  5 06:31:00 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  5 06:31:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e005b225

dev-java/icedtea-web: revbump, specify exact jdk dep

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../{icedtea-web-1.8.4.ebuild => icedtea-web-1.8.4-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
similarity index 99%
rename from dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
rename to dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
index 03297c31db1..56974b9a413 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild
@@ -23,7 +23,7 @@ RESTRICT="test"
 
 BDEPEND="
app-arch/zip
-   >=virtual/jdk-1.8
+   virtual/jdk:1.8
virtual/pkgconfig
virtual/rust
doc? ( sys-devel/bc )



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2020-09-04 Thread Georgy Yakovlev
commit: 4aef504d70a8fbdec6e34f945e4052b556466147
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  5 05:29:23 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  5 05:29:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aef504d

dev-java/icedtea-web: update homepage and upstream in metadata.xml

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-java/icedtea-web/icedtea-web-1.8.4.ebuild | 2 +-
 dev-java/icedtea-web/metadata.xml | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
index 47e9c74510e..03297c31db1 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
@@ -9,7 +9,7 @@ CRATES="dunce-0.1.1"
 inherit autotools cargo readme.gentoo-r1
 
 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
-HOMEPAGE="http://icedtea.classpath.org;
+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"

diff --git a/dev-java/icedtea-web/metadata.xml 
b/dev-java/icedtea-web/metadata.xml
index 50b2caefc77..ebaf03b08ff 100644
--- a/dev-java/icedtea-web/metadata.xml
+++ b/dev-java/icedtea-web/metadata.xml
@@ -13,4 +13,7 @@
Enable the browser plugin 
(NPPlugin).
Depend on dev-java/tagsoup which allows 
parsing malformed .jnlp files

+   
+   AdoptOpenJDK/IcedTea-Web
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2020-09-04 Thread Georgy Yakovlev
commit: fd4ada8f3923f51e8028b136c276a6a3a079e80d
Author: Alec Moskvin  gmx  com>
AuthorDate: Fri Sep  4 14:00:41 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  5 05:20:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd4ada8f

dev-java/icedtea-web: Bump to version 1.8.4

Closes: https://bugs.gentoo.org/711392
Signed-off-by: Alec Moskvin  gmx.com>
Closes: https://github.com/gentoo/gentoo/pull/17413
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-java/icedtea-web/Manifest |  2 +
 dev-java/icedtea-web/icedtea-web-1.8.4.ebuild | 92 +++
 2 files changed, 94 insertions(+)

diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index 59194ec9df2..f4b40d844f9 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1,2 +1,4 @@
+DIST dunce-0.1.1.crate 4311 BLAKE2B 
07b775c2e79d6414af5854282fdfbba26ac4675207f840cf627a33c7bdbca163283466011c641d62646fa77f8623f1f7143b5e3d87c34e0b9840e4807eea2df8
 SHA512 
3fa16c1d6d78374e6360b9e2349516859b617ac5532ade34359d952002a1fb6d5e70f27ce2c9b3d6e230c753218fcf6e9b3973161bf1f8dd9c08152fbda2f5ad
 DIST icedtea-web-1.6.1.tar.gz 1776222 BLAKE2B 
e6141303b24e3b4a3a5568562f34c4a512250a1e16234c455d8ca04030324e11eb20134cd352d36c5d2c27769911558e0b739525bba9a58acf892fa5e7bb2b14
 SHA512 
dae39818f74a098289acd0736d27c2e68b10b603a3fb0a180cf4b6444345cbe71ab1ba77dfb198f053f9567bb18aa96de09049c3b595b3d292d142a7ae7d3ef9
 DIST icedtea-web-1.6.2.tar.gz 1824557 BLAKE2B 
897155b528a873b2e0166f47973136c5ccc640fa9da26c934dc93deebacf2b2d714cd70943fc4f7eb2c596542e97656d844638dbd12f407f917d30c9cd75f4d7
 SHA512 
32c9618a575bf05d3fbe5fec3f8429d55036acde70bf7ccf40b59e14eba775d1f561640acbf673b1737a8c5c3a8eadb74e8f1bef525cfa6060e3f1968d45b3f7
+DIST icedtea-web-1.8.4.tar.gz 2358591 BLAKE2B 
a62a88cfce49f473a0ab768ca386c4733d69fd3b603b29a8d5e7478b33030e2d016a0577bfc0fa4657bb0b3f99a2524d1b46cad7a8e4f97c1404eff5ca218613
 SHA512 
d155ec6ed9a007b2c59fd09fed9f4005a79640016ae62287eab7076c05b5ddd56d07b0ff86babf732f1bb82653fc0f7cf434550eabdaac8d666e64feabe4f890

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
new file mode 100644
index 000..4f1ee675217
--- /dev/null
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+README_GENTOO_SUFFIX="-r1"
+CRATES="dunce-0.1.1"
+
+inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 cargo xdg-utils
+
+DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
+HOMEPAGE="http://icedtea.classpath.org;
+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 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="doc javascript nsplugin tagsoup test"
+RESTRICT="test"
+
+CDEPEND="javascript? ( dev-java/rhino:1.6 )
+   nsplugin? ( >=dev-libs/glib-2.16:2= )
+   tagsoup? ( dev-java/tagsoup:0 )"
+
+DEPEND="${CDEPEND}
+   app-arch/zip
+   >=virtual/jdk-1.7
+   virtual/pkgconfig
+   virtual/rust
+   nsplugin? ( net-misc/npapi-sdk )
+   test? ( >=dev-java/junit-4.8:4 )"
+
+RDEPEND="${CDEPEND}
+   >=app-eselect/eselect-java-0.2.0
+   >=virtual/jre-1.7
+   nsplugin? (
+   !dev-java/oracle-jdk-bin[nsplugin]
+   !dev-java/oracle-jre-bin[nsplugin]
+   )"
+
+S="${WORKDIR}/IcedTea-Web-${P}"
+
+src_prepare() {
+   eapply_user
+
+   if java-pkg_is-vm-version-ge "1.8" ; then
+   sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
+   fi
+
+   eautoreconf
+   cargo_gen_config
+}
+
+src_configure() {
+   local tagsoup
+   use tagsoup && tagsoup="$(java-pkg_getjars tagsoup)"
+
+   local config=(
+   # Rename javaws to itweb-javaws as eselect java-vm manages
+   # javaws to prevent a clash with Oracle's implementation.
+   --program-transform-name='s/^javaws$/itweb-javaws/'
+   --libdir="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
+   --with-java="${EPREFIX}"/usr/bin/java
+   --with-jdk-home="${JAVA_HOME}"
+   --with-itw-libs=DISTRIBUTION
+   $(use_enable doc docs)
+   $(use_enable nsplugin native-plugin)
+   $(use_with javascript rhino)
+   $(use_with tagsoup tagsoup "${tagsoup}")
+   )
+
+   # See bug #573060.
+   xdg_environment_reset
+
+   # Rely on the --with-jdk-home option given above.
+   unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+   CONFIG_SHELL="${BASH}" econf "${config[@]}"
+}
+
+src_compile() {
+   emake CARGO_HOME="${ECARGO_HOME}"
+}
+
+src_install() {
+   default
+   readme.gentoo_create_doc
+}
+
+pkg_postinst() {

[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/, dev-java/icedtea-web/files/

2020-09-04 Thread Georgy Yakovlev
commit: d79c65a0c600776066d2e0ebe2d261a41c345d57
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  5 04:32:54 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  5 05:23:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79c65a0

dev-java/icedtea-web: fix multiple qa issues in 1.8.4

disabled a lot of useless/old functionality

Bug: https://bugs.gentoo.org/711392
Closes: https://bugs.gentoo.org/715316
Closes: https://bugs.gentoo.org/684330
Closes: https://github.com/gentoo/gentoo/pull/17413
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-java/icedtea-web/files/README.gentoo-r2   | 14 +
 dev-java/icedtea-web/icedtea-web-1.8.4.ebuild | 88 +--
 2 files changed, 57 insertions(+), 45 deletions(-)

diff --git a/dev-java/icedtea-web/files/README.gentoo-r2 
b/dev-java/icedtea-web/files/README.gentoo-r2
new file mode 100644
index 000..4644f988e7e
--- /dev/null
+++ b/dev-java/icedtea-web/files/README.gentoo-r2
@@ -0,0 +1,14 @@
+Browser plugin
+--
+
+The IcedTea browser plugin (NPPlugin) is no longer available,
+as modern browsers no longer support this plugin format.
+
+JVM selection
+-
+
+By default, Web Start uses the JVM
+selected via eselect environment variable.
+Note that this doesn't have to be an IcedTea. Openjdk will also work.
+The choice can be overridden using the itweb-settings program.
+Simply blank out the field to restore the default behaviour.

diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
index 4f1ee675217..47e9c74510e 100644
--- a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
-README_GENTOO_SUFFIX="-r1"
+README_GENTOO_SUFFIX="-r2"
 CRATES="dunce-0.1.1"
 
-inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 cargo xdg-utils
+inherit autotools cargo readme.gentoo-r1
 
 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
 HOMEPAGE="http://icedtea.classpath.org;
@@ -14,79 +14,77 @@ 
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 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="doc javascript nsplugin tagsoup test"
-RESTRICT="test"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc"
 
-CDEPEND="javascript? ( dev-java/rhino:1.6 )
-   nsplugin? ( >=dev-libs/glib-2.16:2= )
-   tagsoup? ( dev-java/tagsoup:0 )"
+# tests require ton of java deps we don't have packaged/working
+# but rust tests pass.
+RESTRICT="test"
 
-DEPEND="${CDEPEND}
+BDEPEND="
app-arch/zip
-   >=virtual/jdk-1.7
+   >=virtual/jdk-1.8
virtual/pkgconfig
virtual/rust
-   nsplugin? ( net-misc/npapi-sdk )
-   test? ( >=dev-java/junit-4.8:4 )"
+   doc? ( sys-devel/bc )
+"
 
-RDEPEND="${CDEPEND}
+RDEPEND="
>=app-eselect/eselect-java-0.2.0
-   >=virtual/jre-1.7
-   nsplugin? (
-   !dev-java/oracle-jdk-bin[nsplugin]
-   !dev-java/oracle-jre-bin[nsplugin]
-   )"
+   >=virtual/jre-1.8
+"
 
 S="${WORKDIR}/IcedTea-Web-${P}"
 
+QA_FLAGS_IGNORED="usr/bin/.*"
+
 src_prepare() {
eapply_user
-
-   if java-pkg_is-vm-version-ge "1.8" ; then
-   sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
-   fi
-
+   sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
eautoreconf
cargo_gen_config
 }
 
 src_configure() {
-   local tagsoup
-   use tagsoup && tagsoup="$(java-pkg_getjars tagsoup)"
-
-   local config=(
-   # Rename javaws to itweb-javaws as eselect java-vm manages
-   # javaws to prevent a clash with Oracle's implementation.
+   # 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.
+   local myconf=(
+   --disable-native-plugin
--program-transform-name='s/^javaws$/itweb-javaws/'
-   --libdir="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
-   --with-java="${EPREFIX}"/usr/bin/java
-   --with-jdk-home="${JAVA_HOME}"
+   --with-java="${EPREFIX}/usr/bin/java"
+   --with-jdk-home="${EPREFIX}/etc/java-config-2/current-system-vm"
--with-itw-libs=DISTRIBUTION
+   --without-rhino
+   --without-tagsoup
$(use_enable doc docs)
-   $(use_enable nsplugin native-plugin)
-   $(use_with javascript rhino)
-   $(use_with tagsoup tagsoup 

[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2018-06-23 Thread Mikle Kolyada
commit: a2408d6fc9f675b78e5ee125085a768783925292
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jun 23 17:58:45 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jun 23 17:58:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2408d6f

dev-java/icedtea-web: amd64 stable wrt bug #655332

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-java/icedtea-web/icedtea-web-1.6.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
index 39097f75684..942a9016641 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -12,7 +12,7 @@ HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="doc javascript nsplugin tagsoup test"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2017-01-26 Thread James Le Cuirot
commit: ad059355f1ed93b9d707000d904c33b1092a54cf
Author: Roy Bamford  gentoo  org>
AuthorDate: Thu Jan 26 11:40:23 2017 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Jan 26 21:49:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad059355

dev-java/icedtea-web:added ~arm64 keyword. Tested on cortex-a53 Dependency of 
icedtea on arm64

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3668

 dev-java/icedtea-web/icedtea-web-1.6.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
index 250c65c..627a07f 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="doc javascript nsplugin tagsoup test"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2016-06-19 Thread James Le Cuirot
commit: f0073f3652d8faa8b80e5a9432a418a338881eb2
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Jun 19 19:14:12 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jun 19 19:14:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0073f36

dev-java/icedtea-web: Version bump to 1.6.2

Package-Manager: portage-2.3.0_rc1

 dev-java/icedtea-web/Manifest |  1 +
 dev-java/icedtea-web/icedtea-web-1.6.2.ebuild | 87 +++
 2 files changed, 88 insertions(+)

diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index 9aab84a..60ab1af 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1 +1,2 @@
 DIST icedtea-web-1.6.1.tar.gz 1776222 SHA256 
a9b46ab6c9dc303c89651143596bc5abea29242b9bdcabdd2dab7c606592c920 SHA512 
dae39818f74a098289acd0736d27c2e68b10b603a3fb0a180cf4b6444345cbe71ab1ba77dfb198f053f9567bb18aa96de09049c3b595b3d292d142a7ae7d3ef9
 WHIRLPOOL 
96826d17daee16dfa99f6439678cc509c94556955839b7e8bc43c1993ee04740f35b0547d56649bb9f7a625b5b2515be9d173b642ccb15cb1dead83a03586a6e
+DIST icedtea-web-1.6.2.tar.gz 1824557 SHA256 
ce67034096d6b960e2b6cfb5c41a7bd6b30eb2ec7f13bf3ecdb477ff6ce69300 SHA512 
32c9618a575bf05d3fbe5fec3f8429d55036acde70bf7ccf40b59e14eba775d1f561640acbf673b1737a8c5c3a8eadb74e8f1bef525cfa6060e3f1968d45b3f7
 WHIRLPOOL 
623a8ea5d5f00aa5e323c4f2de4617a4809149a25f3fbcfbbed76b4a5ecd452c372420dcffd2ad303f815c89168d8820d2997d286e0cc3360054a2c28732b603

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
new file mode 100644
index 000..250c65c
--- /dev/null
+++ b/dev-java/icedtea-web/icedtea-web-1.6.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+README_GENTOO_SUFFIX="-r1"
+
+inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 xdg-utils
+
+DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
+HOMEPAGE="http://icedtea.classpath.org;
+SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
+LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="doc javascript nsplugin tagsoup test"
+RESTRICT="test"
+
+CDEPEND="javascript? ( dev-java/rhino:1.6 )
+   nsplugin? ( >=dev-libs/glib-2.16:2= )
+   tagsoup? ( dev-java/tagsoup:0 )"
+
+DEPEND="${CDEPEND}
+   app-arch/zip
+   >=virtual/jdk-1.7
+   virtual/pkgconfig
+   nsplugin? ( net-misc/npapi-sdk )
+   test? ( >=dev-java/junit-4.8:4 )"
+
+RDEPEND="${CDEPEND}
+   >=app-eselect/eselect-java-0.2.0
+   >=virtual/jre-1.7
+   nsplugin? (
+   !dev-java/oracle-jdk-bin[nsplugin]
+   !dev-java/oracle-jre-bin[nsplugin]
+   )"
+
+src_prepare() {
+   # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2855
+   epatch 
"${FILESDIR}"/${PN}-1.6-{launchers,respect-ldflags,unused-libs}.patch
+
+   if java-pkg_is-vm-version-ge "1.8" ; then
+   sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
+   fi
+
+   eautoreconf
+}
+
+src_configure() {
+   local tagsoup
+   use tagsoup && tagsoup="$(java-pkg_getjars tagsoup)"
+
+   local config=(
+   # Rename javaws to itweb-javaws as eselect java-vm manages
+   # javaws to prevent a clash with Oracle's implementation.
+   --program-transform-name='s/^javaws$/itweb-javaws/'
+   --libdir="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
+   --with-java="${EPREFIX}"/usr/bin/java
+   --with-jdk-home="${JAVA_HOME}"
+   $(use_enable doc docs)
+   $(use_enable nsplugin plugin)
+   $(use_with javascript rhino)
+   $(use_with tagsoup tagsoup "${tagsoup}")
+   )
+
+   # See bug #573060.
+   xdg_environment_reset
+
+   # Rely on the --with-jdk-home option given above.
+   unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+   econf "${config[@]}"
+}
+
+src_compile() {
+   default
+}
+
+src_install() {
+   default
+   readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+   readme.gentoo_print_elog
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2016-05-17 Thread James Le Cuirot
commit: 4d1bbdfe020c60aabf15066bb8316c2ed50970ff
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue May 17 21:01:23 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue May 17 21:36:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d1bbdfe

dev-java/icedtea-web: 1.6.1-r1 stable on amd64 and x86 (#581876)

Package-Manager: portage-2.3.0_rc1

 dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
index 2640a4b..d20483f 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc64 x86"
 IUSE="doc javascript nsplugin tagsoup test"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/, dev-java/icedtea-web/files/

2016-05-17 Thread James Le Cuirot
commit: e839e9cfd9750a50fd522374d3e40d032607ae19
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue May 17 21:09:39 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue May 17 21:36:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e839e9cf

dev-java/icedtea-web: Remove old 1.5.1-r1

Closes bugs #569784, #581628.

Package-Manager: portage-2.3.0_rc1

 dev-java/icedtea-web/Manifest  |   1 -
 dev-java/icedtea-web/files/README.gentoo   |  21 
 .../files/icedtea-web-1.5-respect-ldflags.patch|  11 --
 dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild   | 113 -
 dev-java/icedtea-web/metadata.xml  |   1 -
 5 files changed, 147 deletions(-)

diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index cb9393d..9aab84a 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1,2 +1 @@
-DIST icedtea-web-1.5.1.tar.gz 1616344 SHA256 
03f16356fa84564f1ae32286e0a090a464c87ec123b40602dcea925757900195 SHA512 
ef47eecbbb52fcb44ec9585db4c4428025201b04968dfcfc26061160d80b29ee649752f21ffe891cfa5c6bf775d0bc1dbb7dbd9a79794e052bb8b865fa94d039
 WHIRLPOOL 
955b5cc565fa62d2f5eb85a3253751cd284a4cb926619afe60920123878281a77f348a7c26cdafea2c6d4cd760fe4d399041b665b86ff1bbaf441e25f9f18379
 DIST icedtea-web-1.6.1.tar.gz 1776222 SHA256 
a9b46ab6c9dc303c89651143596bc5abea29242b9bdcabdd2dab7c606592c920 SHA512 
dae39818f74a098289acd0736d27c2e68b10b603a3fb0a180cf4b6444345cbe71ab1ba77dfb198f053f9567bb18aa96de09049c3b595b3d292d142a7ae7d3ef9
 WHIRLPOOL 
96826d17daee16dfa99f6439678cc509c94556955839b7e8bc43c1993ee04740f35b0547d56649bb9f7a625b5b2515be9d173b642ccb15cb1dead83a03586a6e

diff --git a/dev-java/icedtea-web/files/README.gentoo 
b/dev-java/icedtea-web/files/README.gentoo
deleted file mode 100644
index 0b4b644..000
--- a/dev-java/icedtea-web/files/README.gentoo
+++ /dev/null
@@ -1,21 +0,0 @@
-Manage Plugin
--
-The IcedTea browser plugin (NPPlugin) can be enabled using
-eselect java-nsplugin.
-
-Select JVM
---
-IcedTea-Web (>=1.4) supports selecting the JVM to use for the plugin. Currently
-works for all IcedTea releases. The eselect module java-nsplugin in
->=eselect-java-0.1.0 added support for this.
-
-Per user configuration
---
-IcedTea-Web also supports per user configuration which takes precedence over 
the
-global choice of JVM managed by the java-nsplugin module. If you made use of
-itweb-settings as user to set a JVM for instance and want to give control back
-to java-nsplugin to manage the JVM to use run as your user:
-'sed -i -e "/^deployment.jre.dir=/d" ~/.icedtea/deployment.properties'
-
-Per user plugin selection via eselect java-nsplugin is a longstanding feature
-request. Bug 148632

diff --git a/dev-java/icedtea-web/files/icedtea-web-1.5-respect-ldflags.patch 
b/dev-java/icedtea-web/files/icedtea-web-1.5-respect-ldflags.patch
deleted file mode 100644
index 72ee9eb..000
--- a/dev-java/icedtea-web/files/icedtea-web-1.5-respect-ldflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 Makefile.am.orig   2014-08-14 12:15:46.0 +0200
-+++ Makefile.am2014-11-01 23:09:49.543555638 +0100
-@@ -322,7 +322,7 @@
- 
- $(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
-   cd $(PLUGIN_DIR) && \
--  $(CXX) $(CXXFLAGS) \
-+  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
- $(PLUGIN_OBJECTS) \
- $(GLIB_LIBS) \
- $(MOZILLA_LIBS) \

diff --git a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
deleted file mode 100644
index 0435ab8..000
--- a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-# Build written by Andrew John Hughes (ahug...@redhat.com)
-
-EAPI="5"
-
-inherit autotools eutils readme.gentoo java-pkg-2 java-vm-2
-
-DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
-HOMEPAGE="http://icedtea.classpath.org;
-SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
-LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="doc +icedtea7 javascript nsplugin tagsoup test"
-RESTRICT="test"
-
-COMMON_DEP="
-   icedtea7? ( || (
-   dev-java/icedtea:7 dev-java/icedtea-bin:7
-   ) )
-   !icedtea7? ( || (
-   dev-java/icedtea:7 dev-java/icedtea-bin:7
-   dev-java/icedtea:6 dev-java/icedtea-bin:6
-   ) )
-   app-eselect/eselect-java
-   tagsoup? ( dev-java/tagsoup )
-   nsplugin? (
-   >=dev-libs/glib-2.16
-   )"
-RDEPEND="${COMMON_DEP}"
-# Need system junit 4.8+. Bug #389795
-DEPEND="${COMMON_DEP}
-   virtual/pkgconfig
-   app-arch/zip
-   javascript? ( dev-java/rhino:1.6 )
-   nsplugin? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2016-03-27 Thread James Le Cuirot
commit: 63fcaeb5e243e7a683c73eea72ed13779549122d
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Mar 27 12:03:09 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Mar 27 12:03:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fcaeb5

dev-java/icedtea-web: Drop ppc64 on 1.5.1-r1 to fix the tree

Package-Manager: portage-2.2.28

 dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
index 3a65866..0435ab8 100644
--- a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc64 x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="doc +icedtea7 javascript nsplugin tagsoup test"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2016-03-15 Thread James Le Cuirot
commit: 99b83b1abb9b891c3e0bfbcb67a7f8e778936885
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Mar 14 22:38:19 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Mar 15 07:05:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b83b1a

dev-java/icedtea-web: 1.6.1-r1 stable on ppc64 (tested by ago)

Package-Manager: portage-2.2.28

 dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
index 4ec469c..2640a4b 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ppc64 ~x86"
 IUSE="doc javascript nsplugin tagsoup test"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/files/

2016-02-18 Thread James Le Cuirot
commit: e96d1fa00824d8511dfe892693e43ca52f9931dc
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Feb 18 10:09:25 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Feb 18 10:09:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96d1fa0

dev-java/icedtea-web: Oops, forgot that ldflags patch was for 1.7

Package-Manager: portage-2.2.27

 .../files/icedtea-web-1.6-respect-ldflags.patch| 29 --
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch 
b/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch
index 551bb9c..1d03b7c 100644
--- a/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch
+++ b/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch
@@ -1,27 +1,18 @@
 --- Makefile.am.orig   2015-09-11 14:02:04.245280051 +0100
-+++ Makefile.am.orig   2016-01-27 22:20:28.288032089 +
-@@ -362,7 +362,7 @@ 
- 
- $(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
 Makefile.am2015-12-18 21:37:43.328862431 +
+@@ -344,7 +344,7 @@
+ $(PLUGIN_DIR)/%.o: $(PLUGIN_SRCDIR)/%.cc
+   mkdir -p $(PLUGIN_DIR) && \
cd $(PLUGIN_DIR) && \
 -  $(CXX) $(CXXFLAGS) \
 +  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
- $(PLUGIN_OBJECTS) \
- $(GLIB_LIBS) \
- $(MOZILLA_LIBS) \
-@@ -419,7 +419,7 @@ 
- 
- $(CPP_UNITTEST_EXECUTABLE): $(CPP_UNITTEST_FRAMEWORK_LIB) 
stamps/cpp-unit-tests-compile.stamp 
-   cd $(CPP_UNITTEST_DIR) && \
--  $(CXX) $(CXXFLAGS) \
-+  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
- $(addprefix $(PLUGIN_DIR)/,$(PLUGIN_OBJECTS)) \
- $(CPP_UNITTEST_DIR)/*.o \
- -lrt \
-@@ -1252,7 +1252,7 @@ 
+  $(DEFS) $(VERSION_DEFS) \
+ -DJDK_UPDATE_VERSION="\"$(JDK_UPDATE_VERSION)\"" \
+ -DPLUGIN_NAME="\"IcedTea-Web Plugin\"" \
+@@ -362,7 +362,7 @@
  
- $(COVERABLE_PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(COVERABLE_PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
-   cd $(COVERABLE_PLUGIN_DIR) && \
+ $(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
+   cd $(PLUGIN_DIR) && \
 -  $(CXX) $(CXXFLAGS) \
 +  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
  $(PLUGIN_OBJECTS) \



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/files/, dev-java/icedtea-web/

2016-02-18 Thread James Le Cuirot
commit: 57ebab71b3b347b1cc607ea6180f96fed188712b
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Feb 18 09:57:27 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Feb 18 09:59:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ebab71

dev-java/icedtea-web: Remove unnecessary lib checks, closes #574286

Also tighten the glib dependency.

Package-Manager: portage-2.2.27

 .../files/icedtea-web-1.6-respect-ldflags.patch| 29 ++
 .../files/icedtea-web-1.6-unused-libs.patch| 20 +++
 ...eb-1.6.1.ebuild => icedtea-web-1.6.1-r1.ebuild} |  5 ++--
 3 files changed, 42 insertions(+), 12 deletions(-)

diff --git a/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch 
b/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch
index 1d03b7c..551bb9c 100644
--- a/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch
+++ b/dev-java/icedtea-web/files/icedtea-web-1.6-respect-ldflags.patch
@@ -1,18 +1,27 @@
 --- Makefile.am.orig   2015-09-11 14:02:04.245280051 +0100
-+++ Makefile.am2015-12-18 21:37:43.328862431 +
-@@ -344,7 +344,7 @@
- $(PLUGIN_DIR)/%.o: $(PLUGIN_SRCDIR)/%.cc
-   mkdir -p $(PLUGIN_DIR) && \
 Makefile.am.orig   2016-01-27 22:20:28.288032089 +
+@@ -362,7 +362,7 @@ 
+ 
+ $(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
cd $(PLUGIN_DIR) && \
 -  $(CXX) $(CXXFLAGS) \
 +  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
-  $(DEFS) $(VERSION_DEFS) \
- -DJDK_UPDATE_VERSION="\"$(JDK_UPDATE_VERSION)\"" \
- -DPLUGIN_NAME="\"IcedTea-Web Plugin\"" \
-@@ -362,7 +362,7 @@
+ $(PLUGIN_OBJECTS) \
+ $(GLIB_LIBS) \
+ $(MOZILLA_LIBS) \
+@@ -419,7 +419,7 @@ 
+ 
+ $(CPP_UNITTEST_EXECUTABLE): $(CPP_UNITTEST_FRAMEWORK_LIB) 
stamps/cpp-unit-tests-compile.stamp 
+   cd $(CPP_UNITTEST_DIR) && \
+-  $(CXX) $(CXXFLAGS) \
++  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
+ $(addprefix $(PLUGIN_DIR)/,$(PLUGIN_OBJECTS)) \
+ $(CPP_UNITTEST_DIR)/*.o \
+ -lrt \
+@@ -1252,7 +1252,7 @@ 
  
- $(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
-   cd $(PLUGIN_DIR) && \
+ $(COVERABLE_PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix 
$(COVERABLE_PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
+   cd $(COVERABLE_PLUGIN_DIR) && \
 -  $(CXX) $(CXXFLAGS) \
 +  $(CXX) $(CXXFLAGS) $(LDFLAGS) \
  $(PLUGIN_OBJECTS) \

diff --git a/dev-java/icedtea-web/files/icedtea-web-1.6-unused-libs.patch 
b/dev-java/icedtea-web/files/icedtea-web-1.6-unused-libs.patch
new file mode 100644
index 000..b0dc15d
--- /dev/null
+++ b/dev-java/icedtea-web/files/icedtea-web-1.6-unused-libs.patch
@@ -0,0 +1,20 @@
+--- configure.ac.orig  2015-09-11 14:02:04.250280108 +0100
 configure.ac   2016-02-18 09:36:04.684624293 +
+@@ -55,17 +55,6 @@
+ IT_SET_VERSION
+ IT_CHECK_XULRUNNER_VERSION
+ 
+-AC_CHECK_LIB(z, main,, [AC_MSG_ERROR("zlib not found - try installing 
zlib-devel")])
+-dnl Check for libX11 headers and libraries.
+-PKG_CHECK_MODULES(X11, x11,[X11_FOUND=yes],[X11_FOUND=no])
+-if test "x${X11_FOUND}" = xno
+-then
+-  AC_MSG_ERROR([Could not find x11 - \
+-  Try installing libX11-devel.])
+-fi
+-AC_SUBST(X11_CFLAGS)
+-AC_SUBST(X11_LIBS)
+-
+ dnl PR46074 (gcc) - Missing java.net cookie code required by IcedTea plugin
+ dnl IT563 - NetX uses sun.security code
+ dnl IT605 - NetX depends on sun.misc.HexDumpEncoder

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
similarity index 94%
rename from dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
rename to dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
index 651a655..4ec469c 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.1-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="doc javascript nsplugin tagsoup test"
 RESTRICT="test"
 
 CDEPEND="javascript? ( dev-java/rhino:1.6 )
-   nsplugin? ( >=dev-libs/glib-2.16 )
+   nsplugin? ( >=dev-libs/glib-2.16:2= )
tagsoup? ( dev-java/tagsoup:0 )"
 
 DEPEND="${CDEPEND}
@@ -39,7 +39,8 @@ RDEPEND="${CDEPEND}
 src_prepare() {
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2779
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2780
-   epatch 
"${FILESDIR}"/${PN}-1.6-{javadoc,no-hg,launchers,respect-ldflags}.patch
+   # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2855
+   epatch 
"${FILESDIR}"/${PN}-1.6-{javadoc,no-hg,launchers,respect-ldflags,unused-libs}.patch
 
if java-pkg_is-vm-version-ge "1.8" ; then
sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2016-01-27 Thread James Le Cuirot
commit: 28e52313b19595fc9edc3fe41824fa13f30d4964
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Jan 27 21:44:58 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Jan 27 21:48:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28e52313

dev-java/icedtea-web: Fix sandbox violation, bug #573060

Package-Manager: portage-2.2.27

 dev-java/icedtea-web/icedtea-web-1.6.1.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
index 0a3c79c..651a655 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
@@ -6,7 +6,7 @@ EAPI="5"
 
 README_GENTOO_SUFFIX="-r1"
 
-inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2
+inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 xdg-utils
 
 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
 HOMEPAGE="http://icedtea.classpath.org;
@@ -65,7 +65,12 @@ src_configure() {
$(use_with tagsoup tagsoup "${tagsoup}")
)
 
+   # See bug #573060.
+   xdg_environment_reset
+
+   # Rely on the --with-jdk-home option given above.
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
econf "${config[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2016-01-05 Thread James Le Cuirot
commit: 267d702a0e3490b57105aa248939b8b951a68304
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Jan  5 13:28:48 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Jan  5 13:29:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267d702a

dev-java/icedtea-web: Disable nsplugin by default to avoid conflicts

It's a dying technology that most people avoid for fear of security
vulnerabilities anyway.

Package-Manager: portage-2.2.26

 dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild | 4 ++--
 dev-java/icedtea-web/icedtea-web-1.6.1.ebuild| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
index e1806e2..dd000c7 100644
--- a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 # Build written by Andrew John Hughes (ahug...@redhat.com)
@@ -13,7 +13,7 @@ 
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
-IUSE="doc +icedtea7 javascript +nsplugin tagsoup test"
+IUSE="doc +icedtea7 javascript nsplugin tagsoup test"
 RESTRICT="test"
 
 COMMON_DEP="

diff --git a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
index 94dc000..695a064 100644
--- a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc javascript +nsplugin tagsoup test"
+IUSE="doc javascript nsplugin tagsoup test"
 RESTRICT="test"
 
 CDEPEND="javascript? ( dev-java/rhino:1.6 )



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/files/, dev-java/icedtea-web/

2016-01-01 Thread James Le Cuirot
commit: d08ce156e9c3f25c13d73e23c041114c901aaf36
Author: James Le Cuirot  gentoo  org>
AuthorDate: Fri Jan  1 17:15:56 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri Jan  1 22:49:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08ce156

dev-java/icedtea-web: Version bump, addressing many issues

 * Bump to version 1.6.1 (#530860)
 * Respect java-config's VM selection (#538144, #552640)
 * Use new eselect-java that looks for itweb-javaws (#504678)
 * Fix USE=doc under stricter Java 8 (#558718)
 * Don't call hg because .hg directory is missing (#528268)

This version no longer relies on eselect java-nsplugin as it installs
the plugin directly under /usr/lib/nsbrowser/plugins. It blocks the
Oracle plugins because Firefox cannot disable them individually.

Package-Manager: portage-2.2.26

 dev-java/icedtea-web/Manifest  |  1 +
 dev-java/icedtea-web/files/README.gentoo-r1| 56 +++
 .../files/icedtea-web-1.6-javadoc.patch| 11 +++
 .../files/icedtea-web-1.6-launchers.patch  | 79 
 .../icedtea-web/files/icedtea-web-1.6-no-hg.patch  | 49 +
 .../files/icedtea-web-1.6-respect-ldflags.patch| 20 ++
 dev-java/icedtea-web/icedtea-web-1.6.1.ebuild  | 83 ++
 7 files changed, 299 insertions(+)

diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index 6b08126..cb9393d 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1 +1,2 @@
 DIST icedtea-web-1.5.1.tar.gz 1616344 SHA256 
03f16356fa84564f1ae32286e0a090a464c87ec123b40602dcea925757900195 SHA512 
ef47eecbbb52fcb44ec9585db4c4428025201b04968dfcfc26061160d80b29ee649752f21ffe891cfa5c6bf775d0bc1dbb7dbd9a79794e052bb8b865fa94d039
 WHIRLPOOL 
955b5cc565fa62d2f5eb85a3253751cd284a4cb926619afe60920123878281a77f348a7c26cdafea2c6d4cd760fe4d399041b665b86ff1bbaf441e25f9f18379
+DIST icedtea-web-1.6.1.tar.gz 1776222 SHA256 
a9b46ab6c9dc303c89651143596bc5abea29242b9bdcabdd2dab7c606592c920 SHA512 
dae39818f74a098289acd0736d27c2e68b10b603a3fb0a180cf4b6444345cbe71ab1ba77dfb198f053f9567bb18aa96de09049c3b595b3d292d142a7ae7d3ef9
 WHIRLPOOL 
96826d17daee16dfa99f6439678cc509c94556955839b7e8bc43c1993ee04740f35b0547d56649bb9f7a625b5b2515be9d173b642ccb15cb1dead83a03586a6e

diff --git a/dev-java/icedtea-web/files/README.gentoo-r1 
b/dev-java/icedtea-web/files/README.gentoo-r1
new file mode 100644
index 000..219e14e
--- /dev/null
+++ b/dev-java/icedtea-web/files/README.gentoo-r1
@@ -0,0 +1,56 @@
+Browser plugin
+--
+
+The IcedTea browser plugin (NPPlugin) is now made immediately
+available to supporting browsers without the need for eselect. Note
+that Chromium-based browsers no longer support NPAPI-based plugins
+since the code was removed in September 2015. The list of supporting
+browsers is shrinking but still includes Firefox as of version 46.
+
+JVM selection
+-
+
+By default, IcedTea's browser plugin and Web Start uses the JVM
+selected via eselect or the GENTOO_VM environment variable. Note that
+this doesn't have to be an IcedTea JVM. An Oracle JVM will also
+work. The choice can be overridden using the itweb-settings
+program. Simply blank out the field to restore the default behaviour.
+
+Coexistence with Oracle's plugin
+
+
+The IcedTea browser plugin can no longer be installed alongside
+Oracle's plugin. This used to be possible thanks to eselect
+java-nsplugin but this was removed in an effort to simplify things. No
+one is likely to need both, especially with plugins being all but
+outlawed these days. To avoid any blockers, simply enable the nsplugin
+USE flag on icedtea-web or the Oracle packages, but not both.
+
+If you're wondering why we don't just leave plugin selection to the
+browser, it's because Firefox (and probably others) only allows you to
+disable all the Java plugins together, not individually.
+
+Coexistence with Oracle's Web Start
+---
+
+/usr/bin/javaws, the executable used to launch JNLP files from a
+browser, will always use IcedTea's implementation over Oracle's when
+icedtea-web is installed, regardless of which JVM has been
+selected. This is primarily for consistency with the browser
+plugin. If you want to use Oracle's implementation then simply
+uninstall icedtea-web.
+
+32-bit plugin on 64-bit systems
+---
+
+This is no longer supported as the 64-bit plugin can launch a 32-bit
+JVM. Other reasons for running a 32-bit browser on a 64-bit system
+have long passed.
+
+32-bit JVM on 64-bit systems
+
+
+The emul-linux-x86-java package was removed in 2015 with the migration
+to full multilib. icedtea-bin now provides this feature via the
+multilib USE flag. Once installed, using the 32-bit variant is simply
+a case of selecting that VM as described above.

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2015-11-22 Thread James Le Cuirot
commit: 2baea74a77bb7292b8f238cbb2f4c73e7011f45e
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Nov 22 20:47:04 2015 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Nov 22 20:59:38 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2baea74a

dev-java/icedtea-web: Disable tests for now

I don't know whether they ever worked but they seem quite broken right
now. I'll be bumping this soon so I'll deal with it then.

Package-Manager: portage-2.2.25

 dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
index dadc7bf..b1a3969 100644
--- a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
@@ -10,12 +10,11 @@ inherit autotools eutils readme.gentoo java-pkg-2 java-vm-2
 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
 HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
-
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ppc x86"
-
 IUSE="doc +icedtea7 javascript +nsplugin tagsoup test"
+RESTRICT="test"
 
 COMMON_DEP="
icedtea7? ( || (



[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/

2015-11-22 Thread James Le Cuirot
commit: 2b9360a6773581bf93740da18f491cc3daa73e2e
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Nov 22 20:47:50 2015 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Nov 22 20:59:40 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9360a6

dev-java/icedtea-web: Add ~ppc64 keyword

Package-Manager: portage-2.2.25

 dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild 
b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
index b1a3969..e1806e2 100644
--- a/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
+++ b/dev-java/icedtea-web/icedtea-web-1.5.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://icedtea.classpath.org;
 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz;
 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86"
+KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
 IUSE="doc +icedtea7 javascript +nsplugin tagsoup test"
 RESTRICT="test"