Bug 114327 - New better tasting kde-base/qtjava and kde-base/kdejava ebuilds (3.4.3 and 3.5)
Bug#: 114327 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: chriswhite@gentoo.org
Component: KDE
URL: 
Summary: New better tasting kde-base/qtjava and kde-base/kdejava ebuilds (3.4.3 and 3.5)
Keywords:  
Status Whiteboard: 
Opened: 2005-12-03 00:21 0000
Description:   Opened: 2005-12-03 00:21 0000
I was talking to compnerd today on how to test qtjava and kdejava.  He looked
at 
qtjava ebuild and said it needed some work.  I have attached what he came up 
with, and I confirm to have gotten working (with 3.4.3 at least).

------- Comment #1 From Chris White (RETIRED) 2005-12-03 00:23:11 0000 -------
Created an attachment (id=73973) [details]
qtjava-3.4.3.ebuild

The ebuild.  This should work with 3.5 with a rename, but haven't tested that
yet.

------- Comment #2 From Caleb Tennis 2005-12-05 05:48:18 0000 -------
Chris - I'm all for you updating this ebuild yourself (another KDE dev, step in 
and disagree if you like).  I don't use qtjava and I doubt any of the other KDE 
folks here do as well, so if this works better than what's in portage now I'm 
all for it. 

------- Comment #3 From Chris White (RETIRED) 2006-01-01 13:01:24 0000 -------
Commited the ebuilds I worked with compnerd on.  The java stuff is all solid
now.

------- Comment #4 From Bo Ørsted Andresen (RETIRED) 2006-09-04 07:06:28 0000 -------
Could someone please reopen this bug (or fix it)? The qtjava-3.4.3 ebuild was
committed (as qtjava-3.4.3-r1) but the qtjava-3.5.2 is still wrong. I've just
tested fixing this bug is as simple as:

# cp qtjava-3.4.3-r1.ebuild qtjava-3.5.2-r1

It does work and as a side effect it resolves bug #138924 (I think this bug
should block #138924).

------- Comment #5 From Vlastimil Babka (Caster) 2006-09-04 08:10:26 0000 -------
Created an attachment (id=95961) [details]
patch for 3.5.2

simple renaming doesn't work because of MAXKDEVER and slot-specific rm -rf
command (should be now slot-independent :)

------- Comment #6 From William L. Thomson Jr. (RETIRED) 2006-09-04 14:34:49 0000 -------
Reopening bug per request.

------- Comment #7 From Josh Nichols (RETIRED) 2006-10-13 16:55:05 0000 -------
There hasn't any progress on this bug, I don't want it to hold up stabilizing
the new Java system.

------- Comment #8 From Vlastimil Babka (Caster) 2006-10-16 04:47:20 0000 -------
Looks like the patch (and for bug 138924 too) isn't perfect anyway, due to both
kde and java defining pkg_setup() and inherit order, only kde's pkg_setup() is
executed here, which means gen-1 java environment isn't set correctly. There
should be an ebuild-defined pkg_setup() calling both kde and java
pkg_setup()'s. Or now that gen-2 java is stable, we can use gen-2 eclasses
instead, where initialization is done via phase hooks.

------- Comment #9 From Vlastimil Babka (Caster) 2007-01-31 16:44:10 0000 -------
Created an attachment (id=108767) [details]
patch needed for controlling source/target in gen-2

Because build system doesn't respect our JAVACFLAGS, we need to inject them
like this (inspired by kdejava injecting of CLASSPATH).

------- Comment #10 From Vlastimil Babka (Caster) 2007-01-31 16:45:19 0000 -------
Created an attachment (id=108768) [details]
generation-2 java patch for 3.5.2

This should go stable ASAP because current stable is broken.

------- Comment #11 From Vlastimil Babka (Caster) 2007-01-31 16:46:28 0000 -------
Created an attachment (id=108770) [details]
generation-2 java revbump patch for qtjava 3.5.6

------- Comment #12 From Vlastimil Babka (Caster) 2007-01-31 16:48:17 0000 -------
Created an attachment (id=108771) [details]
new patch for kdejava that also fixes source/target JAVACFLAGS in addition to
CLASSPATH

similar to the qtjava patch

------- Comment #13 From Vlastimil Babka (Caster) 2007-01-31 16:49:06 0000 -------
Created an attachment (id=108772) [details]
generation-2 java revbump patch for kdejava 3.5.2

should go stable ASAP

------- Comment #14 From Vlastimil Babka (Caster) 2007-01-31 16:49:35 0000 -------
Created an attachment (id=108773) [details]
generation-2 java revbump patch for kdejava 3.5.5

Should go stable ASAP.

------- Comment #15 From Vlastimil Babka (Caster) 2007-01-31 16:53:12 0000 -------
Created an attachment (id=108775) [details]
generation-2 java revbump patch for kdejava 3.5.6

KDE team, please check these out. If you want, I can commit it myself and add
java as second herd. This migration to generation-2 java eclasses will fix all
those blocked bugs (once stabled where appropriate).

------- Comment #16 From Charlie Shepherd (RETIRED) 2007-01-31 22:04:28 0000 -------
(In reply to comment #15)
> If you want, I can commit it myself and add
> java as second herd.

Please do both. Thanks :)

------- Comment #17 From Vlastimil Babka (Caster) 2007-02-01 00:48:36 0000 -------
In CVS.