Please add dependency on ant-optional

Bug #257215 reported by Onkar Shinde
10
Affects Status Importance Assigned to Milestone
fop (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: fop

Yesterday I tried a simple docbook to PDF conversion with help of XSL-FO transformation and fop. fop shows some class not found error. I don't exactly remember the class name but as far as I remember it is part of ant-trax.jar which in turn is part of ant-optional package.

So I suggest to add a depends (preferably) or recommends on ant-optional.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

I'm working on it

Changed in fop:
assignee: nobody → quadrispro
status: New → In Progress
Revision history for this message
Alessio Treglia (quadrispro) wrote :

debdiff attached

Changed in fop:
assignee: quadrispro → nobody
status: In Progress → Confirmed
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Even though this was not part of the original bug description can you please also change build dependency to 'default-jdk' and runtime dependency to 'default-jre | java2-runtime'. Make sure that teh package builds with 'default-jdk' as build dependency.

Changed in fop:
assignee: nobody → quadrispro
status: Confirmed → Incomplete
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

I might not be entirely correct about this problem. It just occurred to me that the ant-trax.jar might only be required by the ant task provided by fop (class org.apache.fop.tools.anttasks.Fop). Please hold any more work on this bug while I verify if it is possible to run fop standalone without ant-optional.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

I have verified that it is possible to use fop without ant-optional dependency. So it is just the ant task provided by fop that needs ant-optional.

Let's consider what other options we have.
1. Add ant-optional to recommends of fop.
2. Patch the source package to build the ant task in separate jar, make a separate binary package out of it, call it fop-ant and then add dependency ant-optional to that package.

I prefer 2nd option. Let me know what you guys think.

Changed in fop:
assignee: quadrispro → nobody
Revision history for this message
Alessio Treglia (quadrispro) wrote :

1st solution debdiff

Revision history for this message
Alessio Treglia (quadrispro) wrote :

I prefer the 1st solution proposed by Onkar Shinde because I think that a fop-ant package could be unnecessary.

Changed in fop:
status: Incomplete → Confirmed
Changed in fop:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
James Westby (james-w) wrote :

Hi,

Have you considered a "Suggests"?

I think this should be fixed through Debian, please forward the
issue to the Debian bug tracker and discuss the problem with
them.

I'm un-subscribing the sponsors team for now. If you have a fix
from Debian that you want in Intrepid please re-subscribe. If
you disagree with my assessment then please re-subscribe and
someone else will take a look.

Thanks,

James

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

I myself now don't think it is valid request. fop is usable on it's own, it is just the ant task of fop that needs ant/ant-optional.

Changed in fop (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.