Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504630 - dev-java/jgoodies-looks-2.6.0 version bump
Summary: dev-java/jgoodies-looks-2.6.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 476594
  Show dependency tree
 
Reported: 2014-03-14 20:10 UTC by Small_Penguin
Modified: 2014-07-14 16:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2014-03-14 20:10:47 UTC
Working ebuild available here, copied and adapted from dmol overlay:
https://476594.bugs.gentoo.org/attachment.cgi?id=372674

Please bump this version, needed for current version of tvbrowser.

Reproducible: Always
Comment 1 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-07-11 17:45:55 UTC
+  11 Jul 2014; Johann Schmitz <ercpe@gentoo.org> +jgoodies-looks-2.6.0.ebuild:
+  Version bump of jgoodies-looks
Comment 2 Small_Penguin 2014-07-14 13:58:09 UTC
In my original ebuild that I submitted, jgoodies-looks was installed in the 2.0 slot. The current version 2.3.1 is in the 2.0 slot and not in 2.3.

With 2.6.0 put into its own 2.6 slot, tvbrowser won't start:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/gjl", line 121, in <module>
    args = get_args(pkg)
  File "/usr/lib/python-exec/python2.7/gjl", line 38, in get_args
    classpath, library = get_pkg_args(pkg)
  File "/usr/lib/python-exec/python2.7/gjl", line 19, in get_pkg_args
    classpath = manager.build_dep_path([package.name()], "CLASSPATH", missing_deps)
  File "/usr/lib64/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 354, in build_dep_path
    p = self.get_package(dep[-1])
  File "/usr/lib64/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 154, in get_package
    return self.load_package(pkgname)
  File "/usr/lib64/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 83, in load_package
    raise UnexistingPackageError(name)
java_config_2.Errors.UnexistingPackageError: Package jgoodies-looks-2.0 was not found!
Couldn't get needed information

Why didn't you use the 2.0 slot? Are the 2.x not downwards compatible?

[UD] dev-java/jgoodies-looks
     Available versions:  
     (1.2)  1.2.2-r1
     (2.0)  2.3.1 (~)2.6.0[1]
     (2.6)  (~)2.6.0
Comment 3 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-07-14 14:47:13 UTC
I have put it into a new slot as apicheck shows some differences in the public API.

Nevertheless both slots, 2.0 and 2.6, should be pulled in due to a dependency via jcalendar:

[nomerge       ] media-tv/tvbrowser-3.4  USE="-doc -source {-test}" 
...
[ebuild  N    ~]  dev-java/l2fprod-common-7.3-r2  0 kB
[ebuild  N     ]   dev-java/jcalendar-1.3.3:1.2  USE="-doc -source" 0 kB
[ebuild  N     ]    dev-java/jgoodies-looks-2.3.1:2.0  USE="-doc -source" 0 kB
...
[ebuild  N    ~]  dev-java/jgoodies-looks-2.6.0:2.6  USE="-doc -source" 0 kB
Comment 4 Small_Penguin 2014-07-14 15:39:07 UTC
I see. Then my problem is caused by my own 2.6.0 ebuild in my repo, which is still in 2.0, and so 2.3.0 will not get installed.

Does apicheck show differences for 2.6.0 <--> 2.3.0 too? 2.6.0 seems to work fine here. There is also jcalendar-1.4 available, which depends on jgoodies-looks-2.4.1. I don't want to complain, I only find it weird I have to install two versions of this library for one package (tvbrowser), but then maybe that's simply the java way...
Comment 5 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-07-14 16:55:26 UTC
> There is also jcalendar-1.4 available, which depends on
> jgoodies-looks-2.4.1.

Thanks for the hint, i've bumped jcalendar to 1.4. You should be able to get rid of jgoodies-looks:2.0 once you have upgraded.

> I don't want to complain, I only find it weird I have
> to install two versions of this library for one package (tvbrowser), but
> then maybe that's simply the java way...

Unfortunately, it's not uncommon to have multiple slots of the same package installed :/