From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-bin/
Date: Sat, 27 Nov 2021 21:07:21 +0000 (UTC) [thread overview]
Message-ID: <1638047239.814862227de8ae9ed27c5553727bae3dc808d9bb.fordfrog@gentoo> (raw)
commit: 814862227de8ae9ed27c5553727bae3dc808d9bb
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 21:02:06 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 21:07:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81486222
dev-java/icedtea-bin: bump to eapi8
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icedtea-bin/icedtea-bin-3.16.0-r1.ebuild | 132 ++++++++++++++++++++++
1 file changed, 132 insertions(+)
diff --git a/dev-java/icedtea-bin/icedtea-bin-3.16.0-r1.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.16.0-r1.ebuild
new file mode 100644
index 000000000000..03f3ec1c260e
--- /dev/null
+++ b/dev-java/icedtea-bin/icedtea-bin-3.16.0-r1.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-vm-2 toolchain-funcs
+
+abi_uri() {
+ echo "${2-$1}? (
+ ${BASE_URI}/${PN}-core-${PV}${3+-r${3}}-${1}.tar.xz
+ examples? ( ${BASE_URI}/${PN}-examples-${PV}${3+-r${3}}-${1}.tar.xz )
+ )"
+}
+
+BASE_URI="https://dev.gentoo.org/~gyakovlev/distfiles"
+SRC_URI="
+ doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz )
+ source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz )
+ big-endian? ( $(abi_uri ppc64) )
+ !big-endian? ( $(abi_uri ppc64le ppc64) )
+ $(abi_uri amd64)
+ $(abi_uri arm)
+ $(abi_uri arm64)
+ $(abi_uri x86)
+"
+
+DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
+HOMEPAGE="http://icedtea.classpath.org"
+
+LICENSE="GPL-2-with-classpath-exception"
+SLOT="8"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+alsa big-endian cups doc examples +gtk headless-awt pulseaudio selinux source"
+
+REQUIRED_USE="gtk? ( !headless-awt )"
+
+RESTRICT="preserve-libs strip"
+QA_PREBUILT="opt/.*"
+
+DEPEND="app-arch/xz-utils"
+
+RDEPEND="
+ >=dev-libs/glib-2.60.7:2
+ >=media-libs/fontconfig-2.13:1.0
+ >=media-libs/freetype-2.9.1:2
+ >=media-libs/lcms-2.9:2
+ >=sys-apps/baselayout-java-0.1.0-r1
+ >=sys-libs/zlib-1.2.11-r2
+ virtual/jpeg-compat:62
+ alsa? ( >=media-libs/alsa-lib-1.2 )
+ cups? ( >=net-print/cups-2.0 )
+ gtk? (
+ >=dev-libs/atk-2.32.0
+ >=x11-libs/cairo-1.16.0
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.24:2
+ >=x11-libs/pango-1.42
+ )
+ selinux? ( sec-policy/selinux-java )
+ virtual/ttf-fonts
+ !headless-awt? (
+ media-libs/giflib:0/7
+ =media-libs/libpng-1.6*
+ >=x11-libs/libX11-1.6
+ >=x11-libs/libXcomposite-0.4
+ >=x11-libs/libXext-1.3
+ >=x11-libs/libXi-1.7
+ >=x11-libs/libXrender-0.9.10
+ >=x11-libs/libXtst-1.2
+ )
+"
+
+PDEPEND="pulseaudio? ( dev-java/icedtea-sound )"
+
+S="${WORKDIR}"
+
+pkg_pretend() {
+ if [[ "$(tc-is-softfloat)" != "no" ]]; then
+ die "These binaries require a hardfloat system."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # I wouldn't normally use -f below but symlinks in the arm files
+ # make this fail otherwise and any other approach would be tedious.
+
+ if ! use alsa; then
+ rm -fv */jre/lib/*/libjsoundalsa.* || die
+ fi
+
+ if use headless-awt; then
+ rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
+ */{,jre/}bin/policytool */bin/appletviewer || die
+ fi
+}
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}/${dest#/}"
+ dodir "${dest}"
+
+ dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
+ use doc && dodoc -r ${P}/doc/html
+
+ # doins doesn't preserve executable bits.
+ cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die
+
+ if use examples; then
+ cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die
+ fi
+
+ if use source; then
+ cp ${P}/src.zip "${ddest}" || die
+ fi
+
+ # use system-wide cacert store
+ rm "${ddest}"/jre/lib/security/cacerts || die
+ dosym ../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
+
+ java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
+
+ # Both icedtea itself and the icedtea ebuild set PAX markings but we
+ # disable them for the icedtea-bin build because the line below will
+ # respect end-user settings when icedtea-bin is actually installed.
+ java-vm_set-pax-markings "${ddest}"
+
+ # Each invocation appends to the config.
+ java-vm_revdep-mask "${EPREFIX}${dest}"
+ java-vm_sandbox-predict /proc/self/coredump_filter
+}
next reply other threads:[~2021-11-27 21:07 UTC|newest]
Thread overview: 158+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 21:07 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-04 10:07 [gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-bin/ Miroslav Šulc
2024-03-04 7:57 Sam James
2024-03-04 7:57 Sam James
2024-03-04 7:51 Sam James
2024-03-04 7:51 Sam James
2021-11-29 13:03 Miroslav Šulc
2021-11-28 19:53 Miroslav Šulc
2020-09-05 6:32 Georgy Yakovlev
2020-05-24 4:09 Georgy Yakovlev
2020-05-15 11:47 Agostino Sarubbo
2020-05-14 21:26 Mart Raudsepp
2020-05-14 13:25 Agostino Sarubbo
2020-05-14 13:22 Agostino Sarubbo
2020-05-14 7:58 Georgy Yakovlev
2020-03-31 8:33 Georgy Yakovlev
2020-03-31 7:22 Agostino Sarubbo
2020-03-30 7:27 Georgy Yakovlev
2020-03-29 7:29 Mikle Kolyada
2020-03-28 22:46 Mart Raudsepp
2020-03-28 5:05 Georgy Yakovlev
2020-03-28 5:05 Georgy Yakovlev
2020-01-03 5:19 Georgy Yakovlev
2020-01-02 0:05 Georgy Yakovlev
2019-10-25 18:55 Georgy Yakovlev
2019-08-19 4:37 Georgy Yakovlev
2019-08-19 4:37 Georgy Yakovlev
2019-08-18 21:51 Agostino Sarubbo
2019-08-17 20:41 Sergei Trofimovich
2019-08-16 22:38 Thomas Deutschmann
2019-08-16 21:36 Aaron Bauman
2019-08-16 2:54 Georgy Yakovlev
2019-08-15 19:10 Georgy Yakovlev
2019-07-22 2:52 Aaron Bauman
2019-06-22 9:38 Sergei Trofimovich
2019-06-21 11:07 Agostino Sarubbo
2019-06-21 8:03 Agostino Sarubbo
2019-06-02 5:13 Georgy Yakovlev
2019-06-01 22:23 Georgy Yakovlev
2019-05-10 19:49 Georgy Yakovlev
2019-05-10 5:31 Georgy Yakovlev
2019-02-03 22:55 Georgy Yakovlev
2019-02-03 22:55 Georgy Yakovlev
2019-01-31 22:43 Georgy Yakovlev
2019-01-29 15:49 Mikle Kolyada
2019-01-26 17:30 Sergei Trofimovich
2019-01-19 11:37 Georgy Yakovlev
2019-01-19 3:48 Georgy Yakovlev
2018-11-08 22:05 James Le Cuirot
2018-11-07 23:28 Sergei Trofimovich
2018-10-21 19:35 James Le Cuirot
2018-10-13 22:26 James Le Cuirot
2018-10-09 21:24 Thomas Deutschmann
2018-10-08 9:14 Mikle Kolyada
2018-10-07 21:49 James Le Cuirot
2018-06-10 21:48 Aaron Bauman
2018-06-10 8:10 James Le Cuirot
2018-04-08 18:46 James Le Cuirot
2018-04-08 6:03 Matt Turner
2018-03-11 2:16 Thomas Deutschmann
2018-03-10 18:25 Agostino Sarubbo
2018-03-08 22:17 James Le Cuirot
2017-11-16 21:06 James Le Cuirot
2017-11-16 19:48 Sergei Trofimovich
2017-11-09 20:16 James Le Cuirot
2017-11-08 13:38 Agostino Sarubbo
2017-11-05 21:29 Thomas Deutschmann
2017-11-04 17:53 James Le Cuirot
2017-09-27 21:41 James Le Cuirot
2017-09-27 8:59 Sergei Trofimovich
2017-09-04 22:24 James Le Cuirot
2017-09-04 13:54 Aaron Bauman
2017-09-04 13:54 Aaron Bauman
2017-09-04 13:29 Aaron Bauman
2017-09-04 13:29 Aaron Bauman
2017-08-12 9:40 James Le Cuirot
2017-08-01 19:29 James Le Cuirot
2017-08-01 19:29 James Le Cuirot
2017-07-24 20:46 James Le Cuirot
2017-07-15 18:17 James Le Cuirot
2017-05-29 11:30 Agostino Sarubbo
2017-05-28 22:31 James Le Cuirot
2017-05-28 22:11 James Le Cuirot
2017-05-26 14:59 Agostino Sarubbo
2017-05-26 14:05 Agostino Sarubbo
2017-05-22 13:31 Agostino Sarubbo
2017-05-22 10:05 James Le Cuirot
2017-05-11 11:45 James Le Cuirot
2017-05-11 11:45 James Le Cuirot
2017-03-19 20:55 Thomas Deutschmann
2017-03-07 21:56 James Le Cuirot
2017-03-05 11:52 James Le Cuirot
2017-02-24 10:30 James Le Cuirot
2017-02-24 0:34 Michael Weber
2017-02-20 22:49 James Le Cuirot
2017-01-30 13:09 Agostino Sarubbo
2017-01-29 23:15 James Le Cuirot
2017-01-18 10:16 James Le Cuirot
2016-11-20 14:04 James Le Cuirot
2016-11-20 13:08 Agostino Sarubbo
2016-11-20 13:04 Agostino Sarubbo
2016-11-19 17:18 James Le Cuirot
2016-11-19 17:18 James Le Cuirot
2016-10-05 19:40 James Le Cuirot
2016-09-29 9:23 James Le Cuirot
2016-09-29 9:06 Agostino Sarubbo
2016-09-16 8:47 Benda XU
2016-08-14 9:34 Jeroen Roovers
2016-08-07 10:45 Agostino Sarubbo
2016-08-05 20:07 James Le Cuirot
2016-08-05 19:44 James Le Cuirot
2016-08-04 22:16 James Le Cuirot
2016-08-03 21:52 Austin English
2016-06-27 20:51 James Le Cuirot
2016-06-27 8:48 Agostino Sarubbo
2016-05-17 21:43 James Le Cuirot
2016-04-27 12:34 Jeroen Roovers
2016-04-26 19:01 James Le Cuirot
2016-04-26 11:19 Agostino Sarubbo
2016-04-25 20:55 James Le Cuirot
2016-04-24 10:17 James Le Cuirot
2016-04-10 17:22 James Le Cuirot
2016-04-06 15:34 James Le Cuirot
2016-04-05 10:49 Jeroen Roovers
2016-04-01 21:47 James Le Cuirot
2016-03-27 11:33 James Le Cuirot
2016-03-27 9:38 Agostino Sarubbo
2016-03-27 9:37 Agostino Sarubbo
2016-03-27 8:44 James Le Cuirot
2016-03-15 7:06 James Le Cuirot
2016-03-02 11:25 James Le Cuirot
2016-03-01 22:43 James Le Cuirot
2016-02-25 13:20 James Le Cuirot
2016-01-24 17:43 James Le Cuirot
2016-01-24 16:22 Agostino Sarubbo
2016-01-24 16:21 Agostino Sarubbo
2016-01-23 23:01 James Le Cuirot
2016-01-23 22:42 James Le Cuirot
2016-01-16 14:50 James Le Cuirot
2016-01-03 11:27 James Le Cuirot
2015-12-26 12:15 James Le Cuirot
2015-12-26 12:03 Agostino Sarubbo
2015-12-11 10:41 Agostino Sarubbo
2015-12-11 10:40 Agostino Sarubbo
2015-12-09 13:13 James Le Cuirot
2015-11-22 21:00 James Le Cuirot
2015-11-16 14:16 James Le Cuirot
2015-11-16 9:08 Agostino Sarubbo
2015-11-16 9:08 Agostino Sarubbo
2015-11-15 16:21 James Le Cuirot
2015-11-15 11:01 James Le Cuirot
2015-11-14 23:17 James Le Cuirot
2015-09-08 9:32 James Le Cuirot
2015-09-08 7:27 Agostino Sarubbo
2015-09-07 22:43 James Le Cuirot
2015-09-06 8:49 Agostino Sarubbo
2015-09-06 8:48 Agostino Sarubbo
2015-09-02 23:00 James Le Cuirot
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=1638047239.814862227de8ae9ed27c5553727bae3dc808d9bb.fordfrog@gentoo \
--to=fordfrog@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