On Mon, Jan 02, 2006 at 02:53:58PM -0800, Thomas Bushnell BSG wrote:
> Kurt Roeckx <[EMAIL PROTECTED]> writes:

> > Package: imlib11-dev
> > Version: 1.9.14-26
> > Severity: serious

> > Your package has a dependency on xlibs-dev which has been removed
> > as annouced on:
> > http://lists.debian.org/debian-devel-announce/2005/11/msg00022.html

> > This is now causing build failures for packages that have a build
> > dependency on imlib11-dev.

> > It would be nice if you could change this to the correct/new
> > dependencies soon so those packages can get build.

> Can you tell me how to determine automatically what the correct
> dependencies are?

> It would be handy if there were a tool for this.  I requested it a
> while ago, but I don't recall hearing back.

$ sed -n -e's,>$,,; s,^#include <X11,/usr/X11R6/include/X11,p' \
  /usr/include/Imlib{,_private,_types}.h | xargs dpkg -S | cut -f1 -d: \
  | sort -u
libx11-dev
libxext-dev
x-dev
$

It looks like the current imlib11-dev dependencies are also designed to
support static linking, which means you'll also need to go through the
contents of the dependency_libs variable in /usr/lib/libImlib.la and add
the appropriate -dev packages for the X libs listed there (-lSM, -lICE,
-lXext) and take the union of the two sets.

So the final dependency replacement seems to be libx11-dev, libxext-dev,
x-dev, libsm-dev, libice-dev.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to