Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190148 - The OpenJDK ebuild requires binary plugs, but those require X
Summary: The OpenJDK ebuild requires binary plugs, but those require X
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-25 07:40 UTC by Michael Mohr
Modified: 2009-04-26 13:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Tool to decrypt the OpenJDK binary plugs (jdk_plug.c.gz,646 bytes, application/octet-stream)
2007-08-25 07:43 UTC, Michael Mohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mohr 2007-08-25 07:40:43 UTC
If one wants to build the OpenJDK on a system without X, that person is required to download a full JDK distribution to get 1400k of libraries.  It would be nice if it was possible to build the openjdk using the 800k (compressed) plugs distribution.

Reproducible: Always
Comment 1 Michael Mohr 2007-08-25 07:43:06 UTC
Created attachment 129111 [details]
Tool to decrypt the OpenJDK binary plugs

I reversed the classes in the Swing-based installer and wrote this tool to enable an X-less build.
Comment 2 Michael Mohr 2007-08-25 07:49:11 UTC
source license is gpl 3.  normally I wouldn't license something so trivial under the gpl, but it took me several hours to reverse the classes and then understand what the installer was doing.

Usage:

Compile as normal.  The tool expects the file X_X from the plugs source in $PWD.  It should support all platforms supported by Sun (all the plugs are protected in the same way with the same key -- currently anyway).  It will decrypt X_X in-place, at which point the file X_X is just a standard zip archive.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-04-26 13:05:10 UTC
This bug became obsolete by moving from openjdk to icedtea