[Evolution] Bug#358914: libedataserverui1.2-dev: Should depend on gtk+, but debian/control and pkg-config don't indicate that

Andrew Moise chops at demiurgestudios.com
Sat Mar 25 06:03:13 UTC 2006

Package: libedataserverui1.2-dev
Severity: normal

  If you try to compile the attached program, in a way that seems
sensible to me, it fails:

[moise at mole /tmp]$ gcc `pkg-config --cflags --libs libedataserverui-1.2` test.c
In file included from test.c:1:
/usr/include/evolution-data-server-1.4/libedataserverui/e-passwords.h:27:27: error: gtk/gtkwindow.h: No such file or directory
In file included from test.c:1:
/usr/include/evolution-data-server-1.4/libedataserverui/e-passwords.h:68: error: syntax error before ‘GtkWindow’
[moise at mole /tmp]$

  That's because pkg-config doesn't include the gtk+-2.0 arguments in
its output for libedataserverui-1.2.  It's even possible to install
libedataserverui1.2-dev without libgtk2.0-dev, in which case there's no
hope of compiling programs including e-passwords.h.
  AFAICS, this should be fixed by either updating debian/control and
libedataserverui-1.2.pc, or by removing this dependency from
e-passwords.h (and possibly more places).

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libedataserverui1.2-dev depends on:
ii  libaudiofile-dev         0.2.6-6         Open-source version of SGI's audio
ii  libbonobo2-dev           2.14.0-1        Bonobo CORBA interfaces library --
ii  libcamel1.2-dev     Development files for libcamel
ii  libdb4.2-dev             4.2.52-24       Berkeley v4.2 Database Libraries [
ii  libebook1.2-dev     Client library for evolution addre
ii  libedataserver1.2-dev     Utility library for evolution data
ii  libedataserverui1.2-6     GUI utility library for evolution 
ii  libesd0-dev              0.2.36-3        Enlightened Sound Daemon - Develop
ii  libgconf2-dev            2.14.0-1        GNOME configuration database syste
ii  libgcrypt11-dev          1.2.2-1         LGPL Crypto library - development 
ii  libglib2.0-dev           2.10.1-2        Development files for the GLib lib
ii  libgnome2-dev            2.14.0-1        The GNOME 2 library - development 
ii  libgnomevfs2-dev         2.14.0-1        GNOME virtual file-system library 
ii  libgnutls11-dev          1.0.16-14       GNU TLS library - development file
ii  libgpg-error-dev         1.2-1           library for common error values an
ii  liborbit2-dev            1:2.14.0-1      development files for ORBit2 - a C
ii  libpopt-dev              1.7-5           lib for parsing cmdline parameters
ii  libtasn1-2-dev           0.2.17-1        Manage ASN.1 structures (developme
ii  libxml2-dev              2.6.23.dfsg.2-3 Development files for the GNOME XM

libedataserverui1.2-dev recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-c
Size: 93 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-evolution-maintainers/attachments/20060325/3046626b/test.bin

More information about the Pkg-evolution-maintainers mailing list