Bug 769779 - Rebuild of freemind needed due to jgoodies-forms update
Summary: Rebuild of freemind needed due to jgoodies-forms update
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: freemind
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: hannes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-22 08:17 UTC by Mohamed El Morabity
Modified: 2012-01-03 22:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-03 22:08:59 UTC
Type: ---


Attachments (Terms of Use)
Use the RowSpec.decode(String) static method, instead of the deprecated RowSpec(String) constructor (775 bytes, patch)
2011-12-22 08:17 UTC, Mohamed El Morabity
no flags Details | Diff

Description Mohamed El Morabity 2011-12-22 08:17:01 UTC
Created attachment 549142 [details]
Use the RowSpec.decode(String) static method, instead of the deprecated RowSpec(String) constructor

Since jgoodies-forms has just been updated to 2.4.2 in rawhide, it affects freemind:
- jgoodies-forms now requires jgoodies-common; "jgoodies-common" must be added to the BASE_JARS variables in freemind.sh. There's no need to set jgoodies-common as a Requires since jgoodies-forms already requires it.
- the com.jgoodies.forms.layout.RowSpec.RowSpec(String) constructor is deprecated and now is private, in favor of decode(String) ; the attached patch fixes this issue, otherwise freemind won't build in Rawhide.

Comment 1 hannes 2012-01-01 20:25:53 UTC
This only applies to rawhide, or? Will fix it in rawhide and if needed we could push updated builds to earlier versions.

Comment 2 hannes 2012-01-01 20:51:28 UTC
http://koji.fedoraproject.org/koji/getfile?taskID=3613071&name=build.log
Somehow the build does not work due to those changes.

Comment 3 Mohamed El Morabity 2012-01-03 10:46:12 UTC
(In reply to comment #2)
> http://koji.fedoraproject.org/koji/getfile?taskID=3613071&name=build.log
> Somehow the build does not work due to those changes.
It seems you haven't applied the patch attached to this bug report. I've just launched successfully a scratch build with the patch enabled:
   http://koji.fedoraproject.org/koji/taskinfo?taskID=3615224
For this test, I also modified the freemind.sh file to add jgoodies-common to the class path, as specified above.

Comment 4 hannes 2012-01-03 22:08:59 UTC
D'oh, you were right I added the missing line in the spec and well it builds...
http://koji.fedoraproject.org/koji/taskinfo?taskID=3616713


Note You need to log in before you can comment on or make changes to this bug.