[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337813: libgtk+2.0-directfb0: missing dependencies on libglib2.0-0, libpango1.0-0, etc.



Package: libgtk+2.0-directfb0
Version: 2.0.9.2-11
Severity: serious
Tags: patch
Justification: Policy 3.5

Hi,

After install libgtk+2.0-directfb0 in a fresh chroot, here is the ouput
of ldd:

# ldd /usr/lib/directfb/libgtk-directfb-2.0.so.0
        linux-gate.so.1 =>  (0xffffe000)
        libgdk_pixbuf-2.0.so.0 => not found
        libgdk-directfb-2.0.so.0 => not found
        libdirectfb-0.9.so.22 => /usr/lib/libdirectfb-0.9.so.22 (0x55700000)
        libz.so.1 => /usr/lib/libz.so.1 (0x5574c000)
        libfusion-0.9.so.22 => /usr/lib/libfusion-0.9.so.22 (0x55760000)
        libdirect-0.9.so.22 => /usr/lib/libdirect-0.9.so.22 (0x55765000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x5576e000)
        libpangoft2-1.0.so.0 => not found
        libpango-1.0.so.0 => not found
        libatk-1.0.so.0 => not found
        libgobject-2.0.so.0 => not found
        libgmodule-2.0.so.0 => not found
        libdl.so.2 => /lib/tls/libdl.so.2 (0x55781000)
        libglib-2.0.so.0 => not found
        libm.so.6 => /lib/tls/libm.so.6 (0x55786000)
        libc.so.6 => /lib/tls/libc.so.6 (0x557ab000)
        /lib/ld-linux.so.2 (0x56555000)

I don't know how the dependencies should be computed for the .udeb
packages, but at least for the .deb packages, you can use 
${shlibs:Depends} . This is the purpose of the patch below.

Bye,
Aurelien


diff -u gtk+2.0-directfb-2.0.9.2/debian/control gtk+2.0-directfb-2.0.9.2/debian/control
--- gtk+2.0-directfb-2.0.9.2/debian/control
+++ gtk+2.0-directfb-2.0.9.2/debian/control
@@ -41,7 +41,7 @@
 Section: libs
 Provides: libgtk-directfb-2.0-0
 Architecture: i386 ia64 arm alpha hppa mips mipsel sparc powerpc s390 m68k amd64 kfreebsd-i386
-Depends: libc6 | libc, libdirectfb-0.9-22
+Depends: ${shlibs:Depends}
 Description: gtk+2.0 implementation for the frame buffer
  DirectFB is a thin library that provides hardware graphics acceleration, input
  device handling and abstraction, integrated windowing system with support for


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)



Reply to: