Bug#594270: libjcharts-java should depend on javaX-runtime

Thadeu Lima de Souza Cascardo cascardo at minaslivre.org
Wed Aug 25 14:26:55 UTC 2010


On Wed, Aug 25, 2010 at 07:18:52AM -0700, tony mancill wrote:
> On 08/25/2010 01:29 AM, Onkar Shinde wrote:
> > On Wed, Aug 25, 2010 at 10:41 AM, tony mancill <tmancill at debian.org> wrote:
> >> On 08/24/2010 08:01 PM, Thadeu Lima de Souza Cascardo wrote:
> >>> Package: libjcharts-java
> >>> Version: 0.7.5-1
> >>> Severity: normal
> >>>
> >>> libjcharts-java depends on openjdk or sun jre explictly. It does not
> >>> allow the use of other java runtime (like gcj), which would be possible
> >>> if it depended on java5-runtime, for example. I don't know what version
> >>> is needed for libjcharts-java, so I am not providing a patch.
> >>>
> >>> It already depends on another java library (libbatik-java), which
> >>> depends on java2-runtime-headless. I am not sure libjcharts-java is
> >>> headless, but this should also be considered.
> >>
> >> Given that this source package only generates a single library package
> >> which doesn't appear that it's used as a stand-alone app (I may be
> >> incorrect on that, but I didn't see anything about it on the jCharts
> >> site), there needn't be a runtime JRE dependency at all.
> >>
> >> Any objections to removing the JRE from Depends completely?
> > 
> > IIRC, jcharts uses some Sun specific APIs which are only available in
> > Sun JRE and OpenJDK JRE.
> > If this isn't the case then the restricted dependencies is a packaging
> > mistake on my part. Please feel free to remove JRE dependency after
> > verification.
> > 
> > 
> > Onkar
> 
> Hi Onkar,
> 
> That would be a good reason for the runtime dependency.  :)  Since I
> don't have any sort of a comprehensive test suite for jcharts and you
> have already looked at the issue at least once when packaging it
> initially, I think it's best to leave the package as is for the short term.
> 
> Thadeu, have you tested jcharts with gcj?  If so, do you have an idea of
> how much coverage that testing provides?
> 
> Thank you,
> tony
> 

I am a newbie when it comes to Java. But I may run some tests here. One
of the tests I could make is running jmeter, which is the software I am
currently using. If it does generate the graphics we need, that would be
OK for us. But I agree that would not be complete coverage. Is running
the test suites in the package enough?

Thanks,
Cascardo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100825/d577ae06/attachment.pgp>


More information about the pkg-java-maintainers mailing list