With virtual/jre-11-r2 becomming stable the dependency java? ( >=virtual/jre-1.7 ) of tsm-8.1.13.3.ebuild updates to Java 11 but the java GUI from tsm still needs Java 7 or 8. As Java 7 isn't in the tree anymore we should change the dependency simply to java? ( virtual/jre:1.8 ) Reproducible: Always
(In reply to Horst Prote from comment #0) > With virtual/jre-11-r2 becomming stable the dependency > java? ( >=virtual/jre-1.7 ) > of tsm-8.1.13.3.ebuild updates to Java 11 but the java GUI from tsm still > needs Java 7 or 8. As Java 7 isn't in the tree anymore we should change the > dependency simply to > java? ( virtual/jre:1.8 ) > > > Reproducible: Always What do we gain from that?
(In reply to Andreas K. Hüttel from comment #1) > What do we gain from that? That an "update world" on machines with tsm installed does nut pull in Java 11 but stays with Java 8. With Java 11 the dsmj Java GUI of the tsm package doesn't work any more.
See also "Example of a an ebuild with optional Java support" on https://wiki.gentoo.org/wiki/Java_Developer_Guide#Typical_examples EAPI=7 inherit eutils java-pkg-opt-2 DESCRIPTION="Fictional example ebuild" HOMEPAGE="http://www.gentoo.org/" SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="java doc nls" DEPEND="java? ( >=virtual/jdk-1.8:* )" RDEPEND="java? ( >=virtual/jre-1.8:* )"
(In reply to Horst Prote from comment #2) > (In reply to Andreas K. Hüttel from comment #1) > > What do we gain from that? > With Java 11 the dsmj Java GUI of the tsm package > doesn't work any more. That's a valid argument.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7760d51e800a876f0b43a3a091d79918f8a381a9 commit 7760d51e800a876f0b43a3a091d79918f8a381a9 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-02-28 23:04:25 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-02-28 23:04:25 +0000 app-backup/tsm: Fix dependency Closes: https://bugs.gentoo.org/832576 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-backup/tsm/tsm-8.1.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)