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 B70B6138335 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 75C53E088B; Tue, 14 May 2019 01:34:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4B9A0E088B for ; Tue, 14 May 2019 01:34:51 +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 A8F4034427B 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 9056F5E8 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.53efa96b99f33de5453fcee9d75257a63f67b55d.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-11.0.3_p7-r2.ebuild dev-java/openjdk/openjdk-11.0.3_p7-r3.ebuild X-VCS-Directories: dev-java/openjdk/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 53efa96b99f33de5453fcee9d75257a63f67b55d 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: 6012566c-fce0-432a-8e0f-040576b96041 X-Archives-Hash: 3e9da07f341efc2194012727caf54b30 commit: 53efa96b99f33de5453fcee9d75257a63f67b55d Author: Georgy Yakovlev gentoo org> AuthorDate: Tue May 14 00:40:29 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=53efa96b dev-java/openjdk: rebvbump :11, fix dep issues Rework deps, X11 is always required, even for building headless Unbundle more libs, namely giflib, libpng, lcms and libjpeg Move stuff around. Bug: https://bugs.gentoo.org/685826 Bug: https://bugs.gentoo.org/685894 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> ....3_p7-r2.ebuild => openjdk-11.0.3_p7-r3.ebuild} | 43 ++++++++++++++-------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/dev-java/openjdk/openjdk-11.0.3_p7-r2.ebuild b/dev-java/openjdk/openjdk-11.0.3_p7-r3.ebuild similarity index 90% rename from dev-java/openjdk/openjdk-11.0.3_p7-r2.ebuild rename to dev-java/openjdk/openjdk-11.0.3_p7-r3.ebuild index 473b2705049..960d7ca146c 100644 --- a/dev-java/openjdk/openjdk-11.0.3_p7-r2.ebuild +++ b/dev-java/openjdk/openjdk-11.0.3_p7-r3.ebuild @@ -17,12 +17,21 @@ KEYWORDS="~amd64 ~arm64 ~ppc64" IUSE="alsa cups debug doc examples gentoo-vm headless-awt +jbootstrap nsplugin +pch selinux source systemtap +webstart" -CDEPEND=" +COMMON_DEPEND=" media-libs/freetype:2= media-libs/giflib:0/7 - >=sys-apps/baselayout-java-0.1.0-r1 + media-libs/libpng:0= + media-libs/lcms:2= sys-libs/zlib + virtual/jpeg:0= systemtap? ( dev-util/systemtap ) +" + +# 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 @@ -31,32 +40,33 @@ CDEPEND=" x11-libs/libXt x11-libs/libXtst ) -" - -# cups and alsa required to build, but not to run, make is possible to remove -RDEPEND=" - ${CDEPEND} alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) selinux? ( sec-policy/selinux-java ) " DEPEND=" - ${CDEPEND} + ${COMMON_DEPEND} app-arch/zip media-libs/alsa-lib net-print/cups - !headless-awt? ( - x11-base/xorg-proto - ) + 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/openjdk:${SLOT} ) " -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}" @@ -125,7 +135,6 @@ src_configure() { # Enabling full docs appears to break doc building. If not # explicitly disabled, the flag will get auto-enabled if pandoc and # graphviz are detected. pandoc has loads of dependencies anyway. - # currently it still bundles lcms libpng giflib and libjpeg. local myconf=( --disable-ccache @@ -135,6 +144,9 @@ src_configure() { --with-extra-cxxflags="${CXXFLAGS}" --with-extra-ldflags="${LDFLAGS}" --with-giflib=system + --with-lcms=system + --with-libjpeg=system + --with-libpng=system --with-native-debug-symbols=$(usex debug internal none) --with-vendor-name="Gentoo" --with-vendor-url="https://gentoo.org" @@ -166,7 +178,8 @@ src_configure() { src_compile() { emake -j1 \ - $(usex jbootstrap bootcycle-images product-images) $(usex doc docs '') \ + $(usex doc docs '') \ + $(usex jbootstrap bootcycle-images product-images) \ JOBS=$(makeopts_jobs) LOG=debug CFLAGS_WARNINGS_ARE_ERRORS= # No -Werror }