Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 626978 Details for
Bug 715316
dev-java/icedtea-web-1.8.4 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
somewhat buggy 1.8.3 ebuild
icedtea-web-1.8.3.ebuild (text/plain), 4.94 KB, created by
Joakim Tjernlund
on 2020-03-29 13:59:57 UTC
(
hide
)
Description:
somewhat buggy 1.8.3 ebuild
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2020-03-29 13:59:57 UTC
Size:
4.94 KB
patch
obsolete
># Copyright 1999-2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >README_GENTOO_SUFFIX="-r1" > >inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 xdg-utils > >DESCRIPTION="FOSS Java browser plugin and Web Start implementation" >HOMEPAGE="http://icedtea.classpath.org" >SHA="fcb841380712" > >#SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz" >#SRC_URI="http://icedtea.classpath.org/hg/release/icedtea-web-1.7/archive/${SHA}.tar.gz" >SRC_URI="https://github.com/AdoptOpenJDK/IcedTea-Web/archive/${PF}.tar.gz" >S="${WORKDIR}/IcedTea-Web-${PF}" >LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2" >SLOT="8" >#KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" >IUSE="doc javascript nsplugin tagsoup test" >RESTRICT="test" > >CDEPEND="javascript? ( dev-java/rhino:1.6 ) > nsplugin? ( >=dev-libs/glib-2.16:2= ) > tagsoup? ( dev-java/tagsoup:0 )" > >DEPEND="${CDEPEND} > app-arch/zip > >=virtual/jdk-1.7 > virtual/pkgconfig > nsplugin? ( net-misc/npapi-sdk ) > test? ( >=dev-java/junit-4.8:4 )" > >RDEPEND="${CDEPEND} > >=app-eselect/eselect-java-0.2.0 > >=virtual/jre-1.7 > nsplugin? ( > !dev-java/oracle-jdk-bin[nsplugin] > !dev-java/oracle-jre-bin[nsplugin] > )" >#RESTRICT=network-sandbox ># http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2855 >PATCHES=( "${FILESDIR}"/${PN}-1.6-respect-ldflags.patch > #"${FILESDIR}"/jdk11.patch > ) > >pkg_setup() { > JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT}" > JAVA_PKG_WANT_SOURCE="${SLOT}" > JAVA_PKG_WANT_TARGET="${SLOT}" > > # The nastiness below is necessary while the gentoo-vm USE flag is > # masked. First we call java-pkg-2_pkg_setup if it looks like the > # flag was unmasked against one of the possible build VMs. If not, > # we try finding one of them in their expected locations. This would > # have been slightly less messy if openjdk-bin had been installed to > # /opt/${PN}-${SLOT} or if there was a mechanism to install a VM env > # file but disable it so that it would not normally be selectable. > > local vm > for vm in ${JAVA_PKG_WANT_BUILD_VM}; do > if [[ -d ${EPREFIX}/usr/lib/jvm/${vm} ]]; then > java-pkg-2_pkg_setup > return > fi > done > > if has_version --host-root dev-java/openjdk:${SLOT}; then > export JAVA_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT} > export JDK_HOME="${JAVA_HOME}" > export ANT_RESPECT_JAVA_HOME=ture > > else > if [[ ${MERGE_TYPE} != "binary" ]]; then > JDK_HOME=$(best_version --host-root dev-java/openjdk-bin:${SLOT}) > [[ -n ${JDK_HOME} ]] || die "Build VM not found!" > JDK_HOME=${JDK_HOME#*/} > JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*} > export JDK_HOME > export JAVA_HOME="${JDK_HOME}" > export ANT_RESPECT_JAVA_HOME=ture > fi > fi >} > >src_prepare() { > default > #epatch "${FILESDIR}"/java-11-compat.patch > #J11: sed -i 's/new AppletAudioClip/JavaSoundAudioClip.create/' "${S}"/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java > #J11: sed -i 's/import com.sun.jndi.toolkit.url.UrlUtil;/import com.sun.jndi.toolkit.url.UrlUtil;import com.sun.media.sound.JavaSoundAudioClip;/' "${S}"/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java > > #rm -Rf "${S}"/netx/sun "${S}"/netx/net/sourceforge/jnlp/NetxPanel.java > #sed -i '/IT_CHECK_FOR_CLASS(SUN_APPLET_APPLETIMAGEREF/d' "${S}"/configure.ac > #sed -i 's/it_cv_applet_hole=no/it_cv_applet_hole=yes/' "${S}"/acinclude.m4 > #sed -i 's:$(TOP_BUILD_DIR)/netx.manifest javax/jnlp net sun;:$(TOP_BUILD_DIR)/netx.manifest javax/jnlp net;:' "${S}"/Makefile.am > #sed -i 's:$(ZIP) -qr $(NETX_DIR)/lib/src.zip javax net sun):$(ZIP) -qr $(NETX_DIR)/lib/src.zip javax net):' "${S}"/Makefile.am > > if java-pkg_is-vm-version-ge "1.8" ; then > sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die > fi > #rm Windows dep > sed -i '/dunce/d' "${S}"/rust-launcher/Cargo.toml || die "dunce" > eautoreconf >} > >src_configure() { > local tagsoup > use tagsoup && tagsoup="$(java-pkg_getjars tagsoup)" > > local config=( > # Rename javaws to itweb-javaws as eselect java-vm manages > # javaws to prevent a clash with Oracle's implementation. > --program-transform-name='s/^javaws$/itweb-javaws/' > --libdir="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins > --with-java="${EPREFIX}"/usr/bin/java > --with-jdk-home="${JAVA_HOME}" > ##--with-itw-libs=BUNDLED > --with-itw-libs=DISTRIBUTION > --enable-shell-launchers > #--with-modularjdk-file=/etc > --with-browser-tests=no > --with-junit=no > $(use_enable doc docs) > $(use_enable nsplugin native-plugin) > $(use_with javascript rhino) > $(use_with tagsoup tagsoup "${tagsoup}") > ) > > # See bug #573060. > xdg_environment_reset > > # Rely on the --with-jdk-home option given above. > #unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS > > econf "${config[@]}" >} > >src_compile() { > #MODULARJDK_ARGS_DIR=/usr/bin emake -j1 > emake -j1 >} > >src_install() { > default > #dosym policyeditor.sh /usr/bin/policyeditor > #dosym itweb-settings.sh /usr/bin/itweb-settings > #dosym itweb-javaws.sh /usr/bin/itweb-javaws > rm -r ${D}/usr/share/bash-completion || die "rm bash completions" > readme.gentoo_create_doc >} > >pkg_postinst() { > readme.gentoo_print_elog >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 715316
:
626976
| 626978 |
635028
|
635076
|
652056