Bug#556898: libgtk2.0-dev: Improper directory order in /usr/include
Martin H. Thomas
discipline at gmx.net
Wed Nov 18 05:09:02 UTC 2009
Package: libgtk2.0-dev
Version: 2.18.3-1
Severity: normal
The package in question puts all headers into subdirectories of
/usr/include/gtk-2.0. When I now #include <gtk-2.0/gtk/gtk.h> gtk.h
tries to include alle its sub-headers with <gtk/...>, which as a matter
of course fails. In order to get the compiler to run properly I'll have
to circumvent its conundrum by moving gtk.h and gdk.h to /usr/include/gtk-2.0
and create symlinks on /usr/include directing any request to the aforementioned
subdirectories - which goes astray from the debian policy and will have to be repeated
with every package upgrade, unless the package maintainers find a solution.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-dev depends on:
ii libatk1.0-dev 1.28.0-1 Development files for the ATK acce
ii libc6 2.9-19 GNU C Library: Shared libraries
ii libcairo2-dev 1.8.8-2 Development files for the Cairo 2D
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libglib2.0-dev 2.22.2-2 Development files for the GLib lib
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libgtk2.0-common 2.18.3-1 Common files for the GTK+ graphica
ii libpango1.0-dev 1.24.3-1 Development files for the Pango
ii libx11-dev 2:1.2.2-1 X11 client-side library (developme
ii libxcomposite-dev 1:0.4.0-4 X11 Composite extension library (d
ii libxcursor-dev 1:1.1.9-1 X cursor management library (devel
ii libxdamage-dev 1:1.1.1-4 X11 damaged region extension libra
ii libxext-dev 2:1.0.4-1 X11 miscellaneous extensions libra
ii libxfixes-dev 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi-dev 2:1.2.1-2 X11 Input extension library (devel
ii libxinerama-dev 2:1.0.3-2 X11 Xinerama extension library (de
ii libxml2-utils 2.7.6.dfsg-1 XML utilities
ii libxrandr-dev 2:1.3.0-2 X11 RandR extension library (devel
ii pkg-config 0.22-1 manage compile and link flags for
Versions of packages libgtk2.0-dev recommends:
ii debhelper 7.4.3 helper programs for debian/rules
ii python 2.5.4-2 An interactive high-level object-o
Versions of packages libgtk2.0-dev suggests:
ii libgtk2.0-doc 2.18.3-1 Documentation for the GTK+ graphic
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list