Bug#423525: lib{glib,cairo}-jni: Missing Depends.

Thomas Girard thomas.g.girard at free.fr
Sun May 13 11:03:37 UTC 2007


Hello Kurt,

thanks for reporting:

On Sat, May 12, 2007 at 05:30:42PM +0200, Kurt Roeckx wrote:
> Package: libglib-jni
> Version: 0.4.2-6
> Severity: serious
> 
> The /usr/lib/pkgconfig/glib-java.pc file says:
> Requires: glib-2.0 gobject-2.0
> 
> So you need a Depends on libglib2.0-dev which provided both of those.

and:

> Package: libcairo-jni
> Version: 1.0.8-4
> Severity: serious
> 
> The /usr/lib/pkgconfig/cairo-java.pc file says:
> Requires: cairo glib-java
> So you need a Depends:
> - libcairo2-dev
> - libglib-java

You are right for libglib-jni. I am annoyed that installing a -jni package
pulls in -dev package. Maybe I should have put headers, .so symlink and
.pc into a separate package, e.g. lib$p-jni-dev? There are already five
binary package for every Java-Gnome source package, so that's maybe too
much to add another one.

For libcairo-jni, I agree with the dependency on libglib-java, but I am
not sure for the dependency on libcairo2-dev: libcairo-jni does not
contain any header requiring another one from libcairo2-dev. That might
be an error in the .pc file.

I need to think about these problems again, thanks for pointing this
out.

Regards,

Thomas




More information about the pkg-java-maintainers mailing list