public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/java:master commit in: dev-java/icedtea/
Date: Sun, 24 Jan 2016 14:30:06 +0000 (UTC)	[thread overview]
Message-ID: <1453645036.5bc53eddade933f0488242dd8bb71f1f4882c0e2.chewi@gentoo> (raw)

commit:     5bc53eddade933f0488242dd8bb71f1f4882c0e2
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 14:17:16 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 14:17:16 2016 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=5bc53edd

dev-java/icedtea: Sync changes from 7 to 3

This reduces the number of diffs across these versions to a minimum.

Package-Manager: portage-2.2.27

 dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild | 76 +++++++++++++-------------
 1 file changed, 38 insertions(+), 38 deletions(-)

diff --git a/dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild b/dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild
index 909a568..6c0b9a9 100644
--- a/dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild
+++ b/dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild
@@ -10,7 +10,7 @@
 EAPI="5"
 SLOT="8"
 
-inherit autotools check-reqs java-pkg-2 java-vm-2 mercurial multiprocessing pax-utils prefix versionator virtualx
+inherit autotools check-reqs gnome2-utils java-pkg-2 java-vm-2 mercurial multiprocessing pax-utils prefix versionator virtualx
 
 ICEDTEA_VER=$(get_version_component_range 1-3)
 ICEDTEA_BRANCH=3.0
@@ -74,9 +74,8 @@ ALSA_COMMON_DEP="
 CUPS_COMMON_DEP="
 	>=net-print/cups-1.2.12"
 X_COMMON_DEP="
-	>=dev-libs/glib-2.26:2
-	media-libs/fontconfig
-	>=media-libs/freetype-2.3.5
+	>=media-libs/giflib-4.1.6:=
+	>=media-libs/libpng-1.2:0=
 	>=x11-libs/libX11-1.1.3
 	>=x11-libs/libXext-1.1.1
 	>=x11-libs/libXi-1.1.3
@@ -92,33 +91,29 @@ X_DEPEND="
 	x11-proto/xproto"
 
 COMMON_DEP="
-	>=media-libs/giflib-4.1.6:=
+	>=dev-libs/glib-2.26:2
+	>=dev-util/systemtap-1
+	media-libs/fontconfig
+	>=media-libs/freetype-2.5.3:2=
 	>=media-libs/lcms-2.5
-	>=media-libs/libpng-1.2:0=
 	>=sys-libs/zlib-1.2.3:=
 	virtual/jpeg:0=
 	nss? ( >=dev-libs/nss-3.12.5-r1 )
-	>=dev-util/systemtap-1
-	smartcard? ( sys-apps/pcsc-lite )
 	sctp? ( net-misc/lksctp-tools )
-	!dev-java/icedtea-web:7"
+	smartcard? ( sys-apps/pcsc-lite )"
 
-# cups is needed for X. #390945 #390975
 RDEPEND="${COMMON_DEP}
 	!dev-java/icedtea:0
-	!headless-awt? (
-		${CUPS_COMMON_DEP}
-		${X_COMMON_DEP}
-		media-fonts/dejavu
-		cjk? (
-			media-fonts/arphicfonts
-			media-fonts/baekmuk-fonts
-			media-fonts/lklug
-			media-fonts/lohit-fonts
-			media-fonts/sazanami
-		)
-	)
+	!dev-java/icedtea-web:7
+	media-fonts/dejavu
 	alsa? ( ${ALSA_COMMON_DEP} )
+	cjk? (
+		media-fonts/arphicfonts
+		media-fonts/baekmuk-fonts
+		media-fonts/lklug
+		media-fonts/lohit-fonts
+		media-fonts/sazanami
+	)
 	cups? ( ${CUPS_COMMON_DEP} )
 	gtk? (
 		>=dev-libs/atk-1.30.0
@@ -127,12 +122,11 @@ RDEPEND="${COMMON_DEP}
 		>=x11-libs/gtk+-2.8:2=
 		>=x11-libs/pango-1.24.5
 	)
+	!headless-awt? ( ${X_COMMON_DEP} )
 	selinux? ( sec-policy/selinux-java )"
 
 # ca-certificates, perl and openssl are used for the cacerts keystore generation
-# xext headers have two variants depending on version - bug #288855
-# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
-DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
+DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP} ${X_DEPEND}
 	|| (
 		dev-java/icedtea-bin:8
 		dev-java/icedtea-bin:7
@@ -146,10 +140,9 @@ DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
 	dev-lang/perl
 	>=dev-libs/libxslt-1.1.26
 	dev-libs/openssl
-	virtual/pkgconfig
 	sys-apps/attr
 	sys-apps/lsb-release
-	${X_DEPEND}
+	virtual/pkgconfig
 	pax_kernel? ( sys-apps/elfix )"
 
 PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
@@ -202,7 +195,7 @@ java_prepare() {
 }
 
 src_configure() {
-	local cacao_config config hotspot_port jamvm_config use_jamvm use_zero zero_config
+	local cacao_config config hotspot_port jamvm_config use_cacao use_jamvm use_zero zero_config
 	local vm=$(java-pkg_get-current-vm)
 
 	# gcj-jdk ensures ecj is present.
@@ -230,7 +223,7 @@ src_configure() {
 
 	# Are we on a architecture with a HotSpot port?
 	# In-tree JIT ports are available for amd64, arm, arm64, ppc64 (be&le), SPARC and x86.
-	if { use amd64 || use arm64 || use ppc64 || use sparc || use x86; }; then
+	if { use amd64 || use arm || use arm64 || use ppc64 || use sparc || use x86; }; then
 		hotspot_port="yes"
 	fi
 
@@ -290,9 +283,10 @@ src_configure() {
 		--with-pkgversion="Gentoo ${PF}" \
 		--disable-downloading --disable-Werror \
 		--disable-hotspot-tests --disable-jdk-tests \
-		--enable-system-lcms --enable-system-gif \
-		--enable-system-jpeg --enable-system-png \
+		--enable-system-lcms --enable-system-jpeg \
 		--enable-system-zlib --disable-pulseaudio \
+		$(use_enable !headless-awt system-gif) \
+		$(use_enable !headless-awt system-png) \
 		$(use_enable !debug optimizations) \
 		$(use_enable doc docs) \
 		$(use_enable nss) \
@@ -317,18 +311,23 @@ src_install() {
 	local dest="/usr/$(get_libdir)/icedtea${SLOT}"
 	local ddest="${ED}${dest#/}"
 
+	if ! use alsa; then
+		rm -v "${ddest}"/jre/lib/$(get_system_arch)/libjsoundalsa.* || die
+	fi
+
 	# Ensures Headless-AwtGraphicsEnvironment is used.
 	# Hack; we should get IcedTea to support passing --disable-headful
-	if use headless-awt ; then
-		rm -vf "${ddest}"/jre/lib/$(get_system_arch)/libawt_xawt.so || die
+	if use headless-awt; then
+		rm -vr "${ddest}"/jre/lib/$(get_system_arch)/lib*{[jx]awt,splashscreen}* \
+		   "${ddest}"/{,jre/}bin/policytool "${ddest}"/bin/appletviewer || die
 	fi
 
 	if ! use examples; then
-		rm -rf "${ddest}"/demo "${ddest}"/sample || die
+		rm -r "${ddest}"/demo "${ddest}"/sample || die
 	fi
 
 	if ! use source; then
-		rm -f "${ddest}"/src.zip || die
+		rm -v "${ddest}"/src.zip || die
 	fi
 
 	# provided by icedtea-web but we need it in JAVA_HOME to work with run-java-tool
@@ -357,8 +356,9 @@ src_install() {
 	chmod 644 "${ddest}/jre/lib/security/cacerts" || die
 
 	set_java_env "${FILESDIR}/icedtea.env"
-	if use headless-awt || ! use alsa || ! use cups; then
-		java-vm_revdep-mask "${dest}"
-	fi
 	java-vm_sandbox-predict /proc/self/coredump_filter
 }
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }


             reply	other threads:[~2016-01-24 14:30 UTC|newest]

Thread overview: 191+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-24 14:30 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-06 22:04 [gentoo-commits] proj/java:master commit in: dev-java/icedtea/ Andrew John Hughes
2020-04-20  5:42 Andrew John Hughes
2020-03-16  4:06 Andrew John Hughes
2020-01-21  6:23 Andrew John Hughes
2020-01-21  6:23 Andrew John Hughes
2019-11-18 16:28 Andrew John Hughes
2019-11-15  5:57 Andrew John Hughes
2019-07-31 14:39 Andrew John Hughes
2019-05-10 19:18 Andrew John Hughes
2019-05-09 19:27 Andrew John Hughes
2019-05-02  3:43 Andrew John Hughes
2019-03-26  4:19 Andrew John Hughes
2019-03-12  4:42 Andrew John Hughes
2019-01-10  6:50 Andrew John Hughes
2019-01-07  6:32 Andrew John Hughes
2019-01-04  7:43 Andrew John Hughes
2019-01-03  5:04 Andrew John Hughes
2018-10-06 21:52 James Le Cuirot
2018-10-06 21:52 James Le Cuirot
2018-10-02  0:48 Andrew John Hughes
2018-06-10  8:12 James Le Cuirot
2018-06-09 21:03 James Le Cuirot
2018-06-07  3:18 Andrew John Hughes
2018-05-31  0:07 Andrew John Hughes
2018-04-08 19:10 James Le Cuirot
2018-04-08 19:10 James Le Cuirot
2018-03-28 20:00 Andrew John Hughes
2018-03-02 19:28 Andrew John Hughes
2017-12-06 20:19 Andrew John Hughes
2017-12-06 16:36 Andrew John Hughes
2017-11-02 23:15 Andrew John Hughes
2017-09-18  0:24 Andrew John Hughes
2017-08-10 20:16 Andrew John Hughes
2017-07-31 16:44 Andrew John Hughes
2017-07-31  2:54 Andrew John Hughes
2017-07-21  4:17 Andrew John Hughes
2017-05-17 17:48 Andrew John Hughes
2017-05-17  3:17 Andrew John Hughes
2017-03-08 13:50 James Le Cuirot
2017-02-14  4:50 Andrew John Hughes
2017-02-14  4:50 Andrew John Hughes
2017-02-14  4:50 Andrew John Hughes
2017-02-14  4:50 Andrew John Hughes
2017-01-30 22:18 James Le Cuirot
2017-01-30 22:18 James Le Cuirot
2017-01-28 21:51 Andrew John Hughes
2017-01-12  5:16 Andrew John Hughes
2016-11-26 10:50 James Le Cuirot
2016-11-21 22:46 James Le Cuirot
2016-11-14  7:10 Andrew John Hughes
2016-11-09  9:14 Andrew John Hughes
2016-09-02  0:35 Andrew John Hughes
2016-08-25  2:36 Andrew John Hughes
2016-08-09 19:44 Andrew John Hughes
2016-08-08 14:58 Andrew John Hughes
2016-08-05 20:45 James Le Cuirot
2016-08-03 22:52 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:16 James Le Cuirot
2016-07-29  6:49 Andrew John Hughes
2016-07-26  5:30 Andrew John Hughes
2016-07-26  1:53 Andrew John Hughes
2016-07-17 20:39 Andrew John Hughes
2016-05-21 15:23 Andrew John Hughes
2016-05-21 15:23 Andrew John Hughes
2016-05-04 22:21 Andrew John Hughes
2016-04-22  6:17 Andrew John Hughes
2016-04-17 21:11 James Le Cuirot
2016-04-17 16:22 Andrew John Hughes
2016-04-12 16:56 Andrew John Hughes
2016-04-08 18:09 Andrew John Hughes
2016-03-30 15:02 Andrew John Hughes
2016-03-29  0:52 Andrew John Hughes
2016-03-26 21:05 James Le Cuirot
2016-03-25 18:00 Andrew John Hughes
2016-03-03 21:06 Andrew John Hughes
2016-01-31 20:48 James Le Cuirot
2016-01-25 18:47 Andrew John Hughes
2016-01-25 18:47 Andrew John Hughes
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-23 23:07 James Le Cuirot
2016-01-22 12:12 Andrew John Hughes
2016-01-17 21:41 James Le Cuirot
2016-01-17 21:25 James Le Cuirot
2016-01-11  2:47 Andrew John Hughes
2016-01-04 22:40 James Le Cuirot
2015-12-24 22:27 Andrew John Hughes
2015-11-18  4:05 Andrew John Hughes
2015-11-17 21:44 Andrew John Hughes
2015-11-17 21:39 Andrew John Hughes
2015-11-17 21:39 Andrew John Hughes
2015-11-15 21:12 James Le Cuirot
2015-11-13  7:10 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-03  0:10 Andrew John Hughes
2015-09-09 21:34 James Le Cuirot
2015-09-02 23:05 James Le Cuirot
2015-08-03  0:16 Andrew John Hughes
2015-07-23  2:18 Andrew John Hughes
2015-07-21 19:55 Andrew John Hughes
2015-07-19 17:09 Andrew John Hughes
2015-07-09 15:59 Andrew John Hughes
2015-06-25  1:14 Andrew John Hughes
2015-06-20 13:35 James Le Cuirot
2015-06-19 17:07 Andrew John Hughes
2015-06-19 16:24 Andrew John Hughes
2015-06-17 11:20 Andrew John Hughes
2015-05-07 12:33 James Le Cuirot
2015-05-06 21:53 James Le Cuirot
2015-04-15  3:50 Andrew John Hughes
2015-02-02 19:51 Andrew John Hughes
2015-02-02 19:51 Andrew John Hughes
2015-01-27  0:46 Andrew John Hughes
2015-01-11 18:06 Andrew John Hughes
2015-01-11 18:00 Andrew John Hughes
2014-11-13 10:40 Andrew John Hughes
2014-11-03  1:01 Andrew John Hughes
2014-11-03  1:01 Andrew John Hughes
2014-11-01 15:49 Vlastimil Babka
2014-11-01 15:49 Vlastimil Babka
2014-11-01 15:49 Vlastimil Babka
2014-10-30 23:12 Andrew John Hughes
2014-10-30 23:12 Andrew John Hughes
2014-10-27 18:53 Andrew John Hughes
2014-10-15  5:59 Andrew John Hughes
2014-10-15  5:59 Andrew John Hughes
2014-10-15  2:42 Andrew John Hughes
2014-10-07 19:48 Andrew John Hughes
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:29 Vlastimil Babka
2014-09-02  4:30 Andrew John Hughes
2014-08-13 22:29 ` Andrew John Hughes
2014-09-02  4:30 Andrew John Hughes
2014-09-02  4:30 Andrew John Hughes
2014-08-12 17:28 ` Andrew John Hughes
2014-07-24  3:56 Andrew John Hughes
2014-09-02  4:30 ` Andrew John Hughes
2014-07-18 21:57 Andrew John Hughes
2014-07-16 20:54 Andrew John Hughes
2014-07-16 10:44 Andrew John Hughes
2014-07-15 23:12 Andrew John Hughes
2014-07-15 21:53 Andrew John Hughes
2014-07-15 18:18 Andrew John Hughes
2014-04-15 23:38 Andrew John Hughes
2014-03-28 13:57 Andrew John Hughes
2014-02-22  2:02 Andrew John Hughes
2014-01-30 21:10 Ralph Sennhauser
2014-01-30 19:29 Andrew John Hughes
2014-01-29 12:19 Andrew John Hughes
2014-01-28 17:26 Andrew John Hughes
2014-01-28  6:58 Ralph Sennhauser
2014-01-28  6:58 Ralph Sennhauser
2014-01-28  6:58 Ralph Sennhauser
2013-12-27  0:54 Andrew John Hughes
2013-12-26 19:12 Andrew John Hughes
2013-12-01 21:19 Vlastimil Babka
2013-11-25 13:55 Andrew John Hughes
2013-11-13  4:11 Andrew John Hughes
2013-10-23  4:34 Andrew John Hughes
2013-10-23  4:34 Andrew John Hughes
2013-09-24 16:34 Andrew John Hughes
2013-09-19 17:04 Andrew John Hughes
2013-09-09 22:33 Andrew John Hughes
2013-09-09 22:18 Tom Wijsman
2013-09-09 22:17 Tom Wijsman
2013-09-07  0:52 Andrew John Hughes
2013-07-30  0:25 Andrew John Hughes
2013-07-25 10:59 Andrew John Hughes
2013-07-25 10:52 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-06-15  9:33 Vlastimil Babka
2013-05-23 23:33 Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453645036.5bc53eddade933f0488242dd8bb71f1f4882c0e2.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox