Package: cmake
Version: 2.8.0-5
Severity: normal
Tags: patch
Hi
There is a small bug in FindGTK2.cmake that makes the include dirs not
set properly when using pangomm. Pangomm has, like many of the other
libraries, now two include dirs, one for the arch specific 'config'
header, and another dir for the arch independent headers.
See attached patch for a fix.
/Sune
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-2-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.ISO-8859-15, LC_CTYPE=en_DK.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages cmake depends on:
ii cmake-data 2.8.0-5 CMake data files (modules, templat
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcurl3-gnutls 7.19.7-1 Multi-protocol file transfer libra
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libgcc1 1:4.4.3-3 GCC support library
ii libstdc++6 4.4.3-3 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
cmake recommends no packages.
cmake suggests no packages.
-- no debconf information
--- a/FindGTK2.cmake 2009-11-13 19:32:51.000000000 +0100
+++ b/FindGTK2.cmake 2010-04-30 09:28:28.000000000 +0200
@@ -431,6 +433,7 @@
_GTK2_FIND_LIBRARY (GTK2_CAIROMM_LIBRARY cairomm true true)
_GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMM_INCLUDE_DIR pangomm.h)
+ _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMMCONFIG_INCLUDE_DIR pangommconfig.h)
_GTK2_FIND_LIBRARY (GTK2_PANGOMM_LIBRARY pangomm true true)
_GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++_INCLUDE_DIR sigc++/sigc++.h)