From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69EFB138334 for ; Tue, 14 May 2019 01:34:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43D44E0882; Tue, 14 May 2019 01:34:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15A17E0882 for ; Tue, 14 May 2019 01:34:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C743234427D for ; Tue, 14 May 2019 01:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A42B65E9 for ; Tue, 14 May 2019 01:34:47 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1557797670.dfbf93b9445ecef61866005daa05280c55e02717.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/openjdk/openjdk-8.212_p03-r2.ebuild dev-java/openjdk/openjdk-8.212_p03-r3.ebuild X-VCS-Directories: dev-java/openjdk/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: dfbf93b9445ecef61866005daa05280c55e02717 X-VCS-Branch: master Date: Tue, 14 May 2019 01:34:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cc6deb6c-57e6-49f2-b154-3fe18f638b69 X-Archives-Hash: 4698535fbb2d510aa34e537b1bee1165 commit: dfbf93b9445ecef61866005daa05280c55e02717 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue May 14 00:55:30 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue May 14 01:34:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbf93b9 dev-java/openjdk: rebvbump :8, fix dep issues Closes: https://bugs.gentoo.org/685826 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> ...2_p03-r2.ebuild => openjdk-8.212_p03-r3.ebuild} | 53 +++++++++++++--------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/dev-java/openjdk/openjdk-8.212_p03-r2.ebuild b/dev-java/openjdk/openjdk-8.212_p03-r3.ebuild similarity index 89% rename from dev-java/openjdk/openjdk-8.212_p03-r2.ebuild rename to dev-java/openjdk/openjdk-8.212_p03-r3.ebuild index 6e829df5baa..b10d08e19c7 100644 --- a/dev-java/openjdk/openjdk-8.212_p03-r2.ebuild +++ b/dev-java/openjdk/openjdk-8.212_p03-r3.ebuild @@ -27,12 +27,16 @@ SLOT="$(ver_cut 1)" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" IUSE="alsa debug cups doc examples gentoo-vm headless-awt +jbootstrap nsplugin +pch selinux source +webstart" -CDEPEND=" +COMMON_DEPEND=" media-libs/freetype:2= media-libs/giflib:0/7 - >=sys-apps/baselayout-java-0.1.0-r1 sys-libs/zlib - alsa? ( media-libs/alsa-lib ) +" +# Many libs are required to build, but not to run, make is possible to remove +# by listing conditionally in RDEPEND unconditionally in DEPEND +RDEPEND=" + ${COMMON_DEPEND} + >=sys-apps/baselayout-java-0.1.0-r1 !headless-awt? ( x11-libs/libX11 x11-libs/libXext @@ -41,26 +45,23 @@ CDEPEND=" x11-libs/libXt x11-libs/libXtst ) -" - -RDEPEND=" - ${CDEPEND} + alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) selinux? ( sec-policy/selinux-java ) " -# cups headers requied to build, runtime dep is optional DEPEND=" - ${CDEPEND} - net-print/cups + ${COMMON_DEPEND} app-arch/zip - app-misc/ca-certificates - dev-lang/perl - dev-libs/openssl:0 media-libs/alsa-lib - !headless-awt? ( - x11-base/xorg-proto - ) + net-print/cups + x11-base/xorg-proto + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXtst || ( dev-java/openjdk-bin:${SLOT} dev-java/icedtea-bin:${SLOT} @@ -69,8 +70,10 @@ DEPEND=" ) " -PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 ) - nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )" +PDEPEND=" + webstart? ( >=dev-java/icedtea-web-1.6.1:0 ) + nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] ) +" S="${WORKDIR}/jdk${SLOT}u-jdk${MY_PV}" @@ -146,8 +149,6 @@ src_configure() { # Work around stack alignment issue, bug #647954. use x86 && append-flags -mincoming-stack-boundary=2 - append-flags -Wno-error - local myconf=( --disable-ccache --enable-unlimited-crypto @@ -187,8 +188,10 @@ src_configure() { } src_compile() { - emake -j1 LOG=debug JOBS=$(makeopts_jobs)\ - $(usex jbootstrap bootcycle-images images) $(usex doc docs '') + emake -j1 \ + $(usex doc docs '') \ + $(usex jbootstrap bootcycle-images images) \ + JOBS=$(makeopts_jobs) LOG=debug } src_install() { @@ -201,6 +204,12 @@ src_install() { rm -v jre/lib/$(get_system_arch)/libjsoundalsa.* || die fi + # stupid build system does not remove that + if use headless-awt ; then + rm -fvr jre/lib/$(get_system_arch)/lib*{[jx]awt,splashscreen}* \ + {,jre/}bin/policytool bin/appletviewer || die + fi + if ! use examples ; then rm -vr demo/ || die fi