Oracle releases JDK/JRE for OSX 64bit now and it'll be good to be able to install it via gentoo-prefix. http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Reproducible: Always
I'd love to, but it's a dmg with an installer, which I don't know how to extract the files from.
Mounting DMG file hdiutil attach jdk-7u45-macosx-x64.dmg -mountpoint /path/to/be/mounted Extracting content from .pkg file, unfortunately I can't find a way to extract single file from xar archive. xar -C /path/of/extracted/files -x -f /path/to/pkg/file Extract the actual JDK files zcat jdk17045.pkg/Payload |cpio -idv Hope this helps.
Hmmm, thanks, interesting. It seems to work on my 10.6/Snow Leopard machine as well even though the installer claims it needs 10.7.3.
Created attachment 364386 [details] adapted ebuild This needs some love for install_names, but I can't work on it further right now, so I'll give you what apears to be promising.
Created attachment 365542 [details] adapted ebuild v2 I resolved a bunch of problems, seems we cannot get much further
Created attachment 365884 [details, diff] 1.7.0.45 ebuild patch This needs portage-2.2.7-r2 on Prefix.
Created attachment 365886 [details, diff] oracle-jdk-bin-1.7.0.45.ebuild patch updated deps in patch
@java: I'd like to have your opinion on this ebuild change, would you be open to add support for OSX this way, or would you prefer a separate ebuild somehow?
(In reply to Fabian Groffen from comment #8) > @java: I'd like to have your opinion on this ebuild change, would you be > open to add support for OSX this way, or would you prefer a separate ebuild > somehow? Maybe it's time to split out "domenu ..." and "fix misc rpath issues" into its own functions and call it in src_install as appropriate. It's getting crowed. Tho no objections from me.
I've committed as is, cleaning up, is fine with me, not sure what the win is, so I'll leave it up to you.