Bug#583955: libxml-commons-resolver1.1-java: should depend on headless jres

brian m. carlson sandals at crustytoothpaste.ath.cx
Tue Jun 1 03:46:20 UTC 2010


On Tue, Jun 01, 2010 at 01:00:40AM +0200, Niels Thykier wrote:
> brian m. carlson wrote:
> > Package: libxml-commons-resolver1.1-java
> > Version: 1.2-5
> > Severity: important
> > 
> > libxml-commons-resolver1.1-java depends on classpath-common |
> > java1-runtime | java2-runtime.  The latter two dependencies bring in
> > JREs with graphical interfaces.  I use this package on my server with
> > OpenJDK.  Unfortunately, this brings in the full graphical JRE,
> > including dependencies on libgtk2.0-0.  This is not appropriate for a
> > server.
> > 
> > Please instead depend on java-runtime-headless | java2-runtime-headless
> > so that this package can be used on a server without excess baggage.
> > 
> >  [...]
> 
> A recent update to the Java Policy says that Java Libraries should not
> depend on any JRE anymore. Instead programs must depend on the
> appropriate JRE needed to run the program (implicitly the program is
> required to take its dependencies into account when choosing the JRE).

That's fine, but regardless libxml-commons-resolver1.1-java should not
depend on a full JRE since it doesn't need one.  It does, however, have
executable components in it, so it will need to depend on something.  I
don't much care what that is as long as it includes a headless OpenJDK
for amd64.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- 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/20100601/eae75601/attachment.pgp>


More information about the pkg-java-maintainers mailing list