Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402653 - =dev-java/jgoodies-forms-{1.4.0,1.4.1,1.4.2,1.5.0,1.5.1,1.6.0,1.7.0,1.7.1} - Version bumps. (was: media-tv/tvbrowser-3.1 - update dependencies)
Summary: =dev-java/jgoodies-forms-{1.4.0,1.4.1,1.4.2,1.5.0,1.5.1,1.6.0,1.7.0,1.7.1} - ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Java team
URL:
Whiteboard: REQUEST
Keywords:
: 402723 (view as bug list)
Depends on:
Blocks: 480922
  Show dependency tree
 
Reported: 2012-02-08 10:00 UTC by August Hörandl
Modified: 2014-07-12 07:53 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 August Hörandl 2012-02-08 10:00:40 UTC
I just installed the new media-tv/tvbrowser-3.1 ebuild

There is a problem with the middle mouse button, the dialog from the capture plugin and the settings dialog for the capture plugin isn't shown.



Reproducible: Always

Steps to Reproduce:
1. try to use one of the above dialogs
2. nothing happens
3. click on middle mouse button:
Exception in thread "Program table single middle click thread" java.lang.NoSuchMethodError: com.jgoodies.forms.builder.ButtonBarBuilder2.addGlue()Lcom/jgoodies/forms/builder/ButtonBarBuilder2;



I changed the ebuild to keep jgoodies-looks-2.4.2.jar and jgoodies-forms-1.4.2.jar (both are much newer then ones in the tree) - now everything works fine.
Comment 1 August Hörandl 2012-02-08 10:04:04 UTC
my changes to the ebuild

--- tvbrowser-3.1.ebuild        2012-02-08 11:02:41.728973519 +0100
+++ tvbrowser-3.1-r1.ebuild     2012-02-08 10:46:37.903990278 +0100
@@ -76,8 +76,6 @@
        >=dev-java/commons-lang-2.4
        >=dev-java/commons-net-1.4.1
        >=dev-java/jakarta-oro-2.0.8
-       >=dev-java/jgoodies-forms-1.3.0
-       >=dev-java/jgoodies-looks-2.3.1
        dev-java/l2fprod-common
        dev-java/log4j
        dev-java/skinlf
@@ -109,10 +107,9 @@
 
        cd "${S}"/lib || die
        rm -v bsh-*.jar commons-codec-*.jar commons-lang-*.jar commons-net*.jar \
-               l2fprod-common-tasks-7.3.jar skinlf-6.7.jar stax*.jar \
-               jgoodies-form*.jar jgoodies-looks*.jar || die
+               l2fprod-common-tasks-7.3.jar skinlf-6.7.jar stax*.jar || die
 
-       java-pkg_jar-from bsh,commons-codec,commons-lang-2.1,commons-net,jgoodies-forms,l2fprod-common,log4j,jgoodies-looks-2.0,skinlf,stax
+       java-pkg_jar-from bsh,commons-codec,commons-lang-2.1,commons-net,l2fprod-common,log4j,skinlf,stax
 
        mkdir "${S}/public" || die "failed javadoc dir"
 }
@@ -132,7 +129,7 @@
        cd runtime/${PN}_linux || die
 
        java-pkg_dojar ${PN}.jar
-       java-pkg_dojar "${S}"/lib/{guava-r09.jar,htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,jgoodies-common-1.2.1.jar,opencsv-2.3.jar,substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar}
+       java-pkg_dojar "${S}"/lib/{guava-r09.jar,htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,jgoodies-common-1.2.1.jar,opencsv-2.3.jar,substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar,jgoodies-looks-2.4.2.jar,jgoodies-forms-1.4.2.jar}
 
        local todir="${JAVA_PKG_SHAREPATH}"
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2012-02-08 16:08:06 UTC
The better solution to use already unbundled libs again is to bump the required libs in tree.
Comment 3 August Hörandl 2012-02-10 07:03:08 UTC
just for the records: dev-java/jgoodies-common is also available in the tree (new on 08 Feb 2012)
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-02-10 07:04:31 UTC
(In reply to comment #3)
> just for the records: dev-java/jgoodies-common is also available in the tree
> (new on 08 Feb 2012)

good news ;)
Comment 5 Ralph Sennhauser (RETIRED) gentoo-dev 2012-02-10 11:07:01 UTC
As this bug is pretty generic I add the following here.

Other dependencies available:
guava (::gentoo, ::java-overlay)
log4j (::gentoo)
gdata (::java-overlay)
htmlparser-1.6 (::java-experimental)

And somewhere I should have ebuilds for trident and substance.

Also it's probably worth to add the theme packs as a standalone ebuild, ie. skinlf-themes. Those are generic and can be reused by any other app using skinlf.
Comment 6 Small_Penguin 2012-10-01 18:43:54 UTC
I confirm the problem with the capture plugin, my problem is a bit different though: I can open the settings dialog of the capture plugin and see the already configured device, but I can't edit its settings, delete it or create a new device. (Well... it gets deleted but on the next start it's there again). Only the import/export buttons react to mouse clicks.

Applying the changes to the ebuild solves it, I guess version bumps to the in-tree packages would help too.

BTW: tvbrowser-3.2 is already out. Please update!
Comment 7 Small_Penguin 2012-10-04 13:04:14 UTC
Unfortunately, I still cannot edit any commands or parameters after opening the settings. Something appears to be still missing.
Comment 8 Small_Penguin 2012-10-04 14:13:20 UTC
Ok, another update: My last problem (cannot edit text) is related to the JDK. It works with sun-jdk-1.6.0.35, but not with icedtea-bin-7.2.3.2 or oracle-jdk-bin-1.7.0.7.
Comment 9 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-13 20:54:32 UTC
*** Bug 402723 has been marked as a duplicate of this bug. ***
Comment 10 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-07-12 07:53:49 UTC
jgoodies-forms-1.8.0 is now in the tree - please let me know if there are troubles with tvbrowser or other packages.