Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177770 - dev-java/openjdk-javac (new package)
Summary: dev-java/openjdk-javac (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL: http://openjdk.java.net/groups/compiler/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 11:18 UTC by Chris Bainbridge (RETIRED)
Modified: 2012-03-22 12:12 UTC (History)
7 users (show)

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


Attachments
openjdk-javac-7.0_beta11.ebuild (openjdk-javac-7.0_beta11.ebuild,672 bytes, text/plain)
2007-05-09 11:19 UTC, Chris Bainbridge (RETIRED)
Details
openjdk-javac-7.0_beta11.ebuild (openjdk-javac-7.0_beta11.ebuild,840 bytes, text/plain)
2007-05-09 12:32 UTC, Chris Bainbridge (RETIRED)
Details
files/compiler-settings (compiler-settings,234 bytes, text/plain)
2007-05-09 12:32 UTC, Chris Bainbridge (RETIRED)
Details
openjdk-javac-7.0_beta35.ebuild (openjdk-javac-7.0_beta35.ebuild,839 bytes, text/plain)
2008-09-20 18:46 UTC, Dmitriy Ugnichenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge (RETIRED) gentoo-dev 2007-05-09 11:18:36 UTC
Ebuild for the open source OpenJDK javac compiler (beta version).
Comment 1 Chris Bainbridge (RETIRED) gentoo-dev 2007-05-09 11:19:25 UTC
Created attachment 118645 [details]
openjdk-javac-7.0_beta11.ebuild
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-05-09 11:28:32 UTC
(In reply to comment #1)
> Created an attachment (id=118645) [edit]
> openjdk-javac-7.0_beta11.ebuild
> 

Please parametrize SRC_URI. You can take the code from:
http://overlays.gentoo.org/proj/java/browser/java-experimental/dev-java/openjdk/openjdk-1.7.0.0_alpha12.ebuild

DEPEND=">=virtual/jdk-1.4
		sys-devel/make"
betelgeuse@pena /usr/portage $ grep sys-devel/make -r profiles/base/
profiles/base/packages:*sys-devel/make

Also should we think about integrating this in the same way as ecj can be used as a compiler? Take a look at /usr/share/java-config-2/compiler/ecj-3.1
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2007-05-09 12:32:03 UTC
Created attachment 118646 [details]
openjdk-javac-7.0_beta11.ebuild

New ebuild. Can use as ecj style compiler. Maybe "openjdk" should be a meta-ebuild that depends on the compiler, jre, libs, etc. so each could have individual ebuilds. It seems inefficient to have two ebuilds installing the same compiler.
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2007-05-09 12:32:27 UTC
Created attachment 118648 [details]
files/compiler-settings
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-05-09 12:52:50 UTC
(In reply to comment #3)
> 
> New ebuild. Can use as ecj style compiler. Maybe "openjdk" should be a
> meta-ebuild that depends on the compiler, jre, libs, etc. so each could have
> individual ebuilds. It seems inefficient to have two ebuilds installing the
> same compiler.
> 

Indeed. The OpenJDK build process is modular so that is an option.
Comment 6 Dmitriy Ugnichenko 2008-09-20 18:46:34 UTC
Created attachment 165925 [details]
openjdk-javac-7.0_beta35.ebuild

Ebuild to get fresh openjdk - 11 sep 2008
Comment 7 Bjoern Thorwirth 2010-01-20 12:50:04 UTC
Hi All!

Why this stagnation? openjdk-7.0_beta79 is out.. does this package need a new maintainer? openjdk-6 is missing on gentoo, too. It would be really nice oto have an actual open-source java implementation in the tree.

best regards bjoern
Comment 8 Marcus Becker 2010-09-22 14:56:06 UTC
(In reply to comment #7)
> Hi All!
> 
> Why this stagnation? openjdk-7.0_beta79 is out.. does this package need a new
> maintainer? openjdk-6 is missing on gentoo, too. It would be really nice oto
> have an actual open-source java implementation in the tree.
> 
> best regards bjoern
> 

I was just browsing through their website:
Not all of the source code that makes up the JDK is available under an open-source license. In order to build an OpenJDK binary from source code, you must first download and install one or more of the following files from which the build process will copy over "binary plugs" for these encumbered components. 

If I get this right, you first have to install the IcedTea Classes to be able to build the compiler and have everything open source?
Comment 9 Marcus Becker 2010-09-22 19:53:18 UTC
There is dev-java/icedrea6-bin-1.8.1
That's "OpenJDK Client VM 16.0-b13"
Comment 10 Ralph Sennhauser (RETIRED) gentoo-dev 2012-03-22 12:12:20 UTC
With icedtea 7 in tree there is an open source javac 7 based on openjdk. If the need for separate jdk tools should arise it might be worth looking into packaging icepick instead.

Closing.