rhino should depend on java2-runtime-headless

Bug #249598 reported by Thierry Carrez
6
Affects Status Importance Assigned to Milestone
rhino (Ubuntu)
Fix Released
Medium
Thierry Carrez
Hardy
Fix Released
Low
Unassigned

Bug Description

Binary package hint: rhino

rhino-1.7R1-1 in intrepid currently depends on "java-gcj-compat | java1-runtime | java2-runtime"
It should depend on "default-jre | java1-runtime-headless | java2-runtime-headless" instead.

This allows to avoid bug 249201, where installing openjdk-6-jre-headless pulls rhino, which pulls java-gcj-compat, which pulls X stuff in.
I'll post a patch here in a few.

Thierry Carrez (ttx)
Changed in rhino:
assignee: nobody → tcarrez
Revision history for this message
Thierry Carrez (ttx) wrote :

Here is a debdiff that fixes the Depends and implements the new default-jdk virtual build-dep.

Thierry Carrez (ttx)
Changed in rhino:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Thierry Carrez (ttx) wrote :

New debdiff that applies to the recently-released -ubuntu1 version.
Replaces depends to use the -headless flavors, in order to avoid jre-headless -> rhino -> jre dependency.

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

This bug was fixed in the package rhino - 1.7R1-1ubuntu2

---------------
rhino (1.7R1-1ubuntu2) intrepid; urgency=low

  * Depend on default-jre-headless (fixes LP: #249598)

 -- Thierry Carrez <email address hidden> Thu, 31 Jul 2008 10:38:13 +0200

Changed in rhino:
status: Triaged → Fix Released
Revision history for this message
dukat (dukat) wrote :

Will there be a fix for Ubuntu 8.04 LTS? It seem for me natural to stay for server setups on the latest LTS and don't upgrade to the next non-LTS version.

On my up-do-date headless server LTS, installing openjdk-headless still pulls the whole X-stuff.

Matthias Klose (doko)
Changed in rhino:
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Jonathan Riddell (jr) wrote :

Accepted into hardy-proposed, please test.

Revision history for this message
dukat (dukat) wrote :

How can I test? Did an apt-get update and tried to install, but this version still pulls all X. So, where do I find the test candidate?

Revision history for this message
dukat (dukat) wrote :

My bad. I found out how to enable hardy-proposed. And it seem to be ok now:

> sudo apt-get install openjdk-6-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  java-common libaccess-bridge-java libcupsys2 libfreetype6 liblcms1 openjdk-6-jre-lib rhino
Suggested packages:
  equivs cupsys-common libfreetype6-dev liblcms-utils sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-bengali-fonts ttf-dejavu-core ttf-indic-fonts-core ttf-kannada-fonts
  ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-oriya-fonts ttf-telugu-fonts ttf-wqy-zenhei rhino-doc
Recommended packages:
  ca-certificates-java libnss-mdns tzdata-java
The following NEW packages will be installed:
  java-common libaccess-bridge-java libcupsys2 libfreetype6 liblcms1 openjdk-6-jre-headless openjdk-6-jre-lib rhino
0 upgraded, 8 newly installed, 0 to remove and 36 not upgraded.
Need to get 30.3MB of archives.
After this operation, 83.4MB of additional disk space will be used.
Do you want to continue [Y/n]?

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Package in hardy-proposed no longer installs X related packages.

Changed in rhino:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in rhino:
status: Fix Committed → 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.