Bug#363445: libgtk2.0-dev: Should depend on version of libx11-dev that provides x11.pc

Peter Moulder pmoulder at bowman.csse.monash.edu.au
Wed Apr 19 05:01:33 UTC 2006


Package: libgtk2.0-dev
Version: 2.8.17-1
Severity: normal


  $ pkg-config --cflags gdk-2.0
  Package x11 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `x11.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'x11', required by 'GDK', not found

Note that it doesn't in fact display the necessary -I flags.
Consequently, gtk programs that use pkg-config now fail to compile,
unless the x11.pc file is present.

libx11-dev 6.9.0.dfsg.1-5 does not contain this file;
version 2:1.0.0-6 does contain the file.

I'd guess that an appropriate versioned Depends would be
libx11-dev (>= 2:1.0.0).

pjrm.





More information about the Pkg-gnome-maintainers mailing list