Summary: | dev-util/idea-ultimate-2016.3.1.163.9166.29[system-jdk] with lighter download | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | Current packages | Assignee: | Gert Pellin <gert> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alicef, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dennis Schridde
2016-12-16 17:50:05 UTC
custom-jdk is now downloading installing and using the jetbrains jdk instead of the system one. no need to change flag name the option is disabled by default (In reply to Alice Ferrazzi from comment #1) > custom-jdk is now downloading installing and using the jetbrains jdk instead > of the system one. > > no need to change flag name > > the option is disabled by default Looking at the state of the Gentoo repository at 96cd190085e1d74e036b42b77df5fb02a23ab71b, it still appears that the ebuild first downloads the complete (with JDK) tarball and then `rm -r jre`, `if ! use custom-jdk`. This is true for both dev-util/idea-ultimate and .../idea-community. Please clarify what exactly was changed. My suggestion was to set SRC_URI to the following, instead of first downloading the JDK and then deleting it: ``` SRC_URI=" !custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IC-${MY_PV}-no-jdk.tar.gz ) custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IC-${MY_PV}.tar.gz ) " ``` The other suggestion was to name the corresponding USE-flag "system-jdk" (you can prefix it with + to enable it by default: IUSE="+system-jdk"), because that appears to follow the general naming convention for a USE-flag that toggles unbundling. Lots of ebuilds have a system-somelib USE-flag, that switches the software from using the bundled somelib to using the system somelib, if enabled. |