r35227 - in /packages/kwwidgets/trunk/debian: Notes rules

domibel-guest at users.alioth.debian.org domibel-guest at users.alioth.debian.org
Mon Sep 15 15:23:34 UTC 2008


Author: domibel-guest
Date: Mon Sep 15 15:23:34 2008
New Revision: 35227

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35227
Log:
workaround to use python2.5

Modified:
    packages/kwwidgets/trunk/debian/Notes
    packages/kwwidgets/trunk/debian/rules

Modified: packages/kwwidgets/trunk/debian/Notes
URL: http://svn.debian.org/wsvn/debian-science/packages/kwwidgets/trunk/debian/Notes?rev=35227&op=diff
==============================================================================
--- packages/kwwidgets/trunk/debian/Notes (original)
+++ packages/kwwidgets/trunk/debian/Notes Mon Sep 15 15:23:34 2008
@@ -31,4 +31,27 @@
               --override s/libvtkRenderingPythonD5.0-dev/libvtk5-dev/ \
               debian/tmp/usr/lib/libKWWidgetsPythonD.so
 
+-------------------------------------------------------------------------------------------------------------
 
+Current vtk package in Debian depends on python-dev
+And python-dev depends on python2.5-dev
+
+But the variable VTK_INCLUDE_DIR contains a wrong path. It contains 
+/usr/include/python2.4; instead of /usr/include/python2.5;
+
+$ less /usr/lib/vtk-5.0/VTKConfig.cmake
+...
+# The VTK include file directories.
+SET(VTK_INCLUDE_DIRS
+"${VTK_INSTALL_PREFIX}/include/vtk-5.0;/usr/include/tcl8.4;/usr/include/python2.4;/usr/include/freetype2")
+...
+
+
+In my case, this leads to a compiler error
+because /usr/include/python2.4 is not present on my computer and the
+compiler doesnt know where to find python2.5 which is required for kwwidgets.
+
+As a workaround i am using a compiler flag
+   -DCMAKE_CXX_FLAGS="-I/usr/inlude/python2.5"
+
+-------------------------------------------------------------------------------------------------------------

Modified: packages/kwwidgets/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/kwwidgets/trunk/debian/rules?rev=35227&op=diff
==============================================================================
--- packages/kwwidgets/trunk/debian/rules (original)
+++ packages/kwwidgets/trunk/debian/rules Mon Sep 15 15:23:34 2008
@@ -11,7 +11,7 @@
 
 SHARED_BUILD_PATH = DEB_build_shared
 CMAKE_FLAGS = -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-              -DCMAKE_CXX_FLAGS="-Wno-deprecated" \
+              -DCMAKE_CXX_FLAGS="-Wno-deprecated -I/usr/include/python2.5" \
               -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
               -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" \
               -DCMAKE_SKIP_RPATH:BOOL=ON \




More information about the debian-science-commits mailing list