Replace build depends 'libservlet2.3-java' with 'libservlet2.4-java'

Bug #257402 reported by Onkar Shinde
4
Affects Status Importance Assigned to Milestone
bsh (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bsh

The only part of the bsh package that needs servlet api to build is the 'bsh.servlet.BshServlet' servlet (src/bsh/servlet/BshServlet.java). It does not have any hard dependency on servlet 2.3 api. So it is safe to compile with servlet 2.4.
Also most of the reverse-build-depends or rdepends of bsh already have dependency on libservlet2.4-java. So libservlet2.3-java is a redundant dependency.

Changed in bsh:
assignee: nobody → onkarshinde
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Please find attached debdiff.

Changed in bsh:
status: New → Confirmed
assignee: onkarshinde → nobody
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Just for the record, among other fixes I have also ...
1. Moved bsh-gcj to suggests.
2. Remove libgcj8-1-awt from recommends.

Revision history for this message
Matthias Klose (doko) wrote :

> 1. Moved bsh-gcj to suggests.

uploading without this change. when using -gcj, this is needed for expected performance. just dropping this to a suggests is wrong.

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

Matthias,

The reason I moved bsh-gcj to suggests is that having it in recommends will pull complete gcj runtime where as user is likely to already have default-jre i.e. openjdk.

Those who want performance can always install the package manually. But casual users, who is unlikely to turn off the option 'Recommends by default', may not know why they are getting two java environments.

We discussed possibility of moving -gcj packages to suggests for all the java libraries in today's java meeting. And of course your feedback is important. Let's discuss this sometime in next week in #ubuntu-java.

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 257402] Re: Replace build depends 'libservlet2.3-java' with 'libservlet2.4-java'

Onkar Shinde schrieb:
> Matthias,
>
> The reason I moved bsh-gcj to suggests is that having it in recommends
> will pull complete gcj runtime where as user is likely to already have
> default-jre i.e. openjdk.
>
> Those who want performance can always install the package manually. But
> casual users, who is unlikely to turn off the option 'Recommends by
> default', may not know why they are getting two java environments.

maybe, but it does not hurt these users, while removing the recommends *does*
hurt users of the gij runtime.

> We discussed possibility of moving -gcj packages to suggests for all the
> java libraries in today's java meeting. And of course your feedback is
> important. Let's discuss this sometime in next week in #ubuntu-java.

I'll be offline for the rest of August

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bsh - 2.0b4-8ubuntu3

---------------
bsh (2.0b4-8ubuntu3) intrepid; urgency=low

  * bsh: Suggest libservlet2.4-java instead of libservlet2.3-java,
    suggest default-jre | java-runtime instead of libgcj8-1-awt.
    LP: #257402.

 -- Matthias Klose <email address hidden> Mon, 08 Sep 2008 14:56:14 +0000

Changed in bsh:
status: Confirmed → Fix Released
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.