#478013 libxul-dev should depend on libgtk2.0-dev

Package:
src:iceweasel
Source:
iceweasel
Submitter:
Carlos Martín Nieto
Date:
2015-04-09 17:03:40 UTC
Severity:
normal
Tags:
#478013#5
Date:
2008-04-26 10:08:32 UTC
From:
To:
Package: libxul-dev
Version: 1.8.1.14-2

 The package libxul-dev includes the
file /usr/include/xulrunner/gtkembedmoz/gtkmozembed.h which #include's
<gtk/gtk.h>, but it may not be installed, as libxul-dev doesn't depend
on the package that provides that file (libgtk2.0-dev).
 As it is now, packages which depend on libxul-dev need to know they
have to depend on libgtk2.0-dev even though they never use the header
files themselves.

   cmn

#478013#10
Date:
2008-04-26 10:20:15 UTC
From:
To:
tag 478013 wontfix
thanks

Actually, if they use the /usr/include/xulrunner/gtkembedmoz/gtkmozembed.h
header, they must already build-depend on libgtk2.0-dev themselves
because you cant use the gtkmozembed API without using the gtk API
yourself (you at least need to run the gtk main loop).

OTOH, the gtkmozembed API is not mandatory and not the sole purpose of
the libxul-dev package.

The most I could do would be to add a recommends, and that would change
nothing for buildds.

Mike

#478013#17
Date:
2008-04-26 13:20:32 UTC
From:
To:
 Except when you run the main loop from managed code and the C code is a
filler for some missing capabilities in the bindings (granted, that is
not that usual, but it's my case).

 True.

 Fair enough.

   cmn