* Micah Gersten <mic...@ubuntu.com>, 2011-09-12, 22:54:
unix:!macx { # on Unix-ish platforms we should rely on pkgconfig
        # Python prior to 3.x doesn't register properly with pkg-config
-       INCLUDEPATH     += /usr/include/python2.6/
-       LIBS            += -lpython2.6
+#      INCLUDEPATH     += /usr/include/python2.6/
+#      LIBS            += -lpython2.6
+       PKGCONFIG       += python

After applying your patch, texworks FTBFS in unstable:

| # Python plugin
| cd plugins-src/TWPythonPlugin && qmake-qt4 -after \
|       'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal 
-DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" 
-DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"' \
|       'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian 
-DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" 
-DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \
|       'target.path = /usr/lib/texworks' \
|       && /usr/bin/make
| Package python was not found in the pkg-config search path.
| Perhaps you should add the directory containing `python.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'python' found
| Package python was not found in the pkg-config search path.
| Perhaps you should add the directory containing `python.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'python' found
| Package python was not found in the pkg-config search path.
| Perhaps you should add the directory containing `python.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'python' found
| make[1]: Entering directory 
`/build/texworks-VikuLL/texworks-0.5~svn930/plugins-src/TWPythonPlugin'
| g++ -c -pipe -fno-strict-aliasing -DTW_BUILD_ID=Debian 
-DTW_HELPPATH=\"/usr/share/texworks-help\" 
-DTW_PLUGINPATH=\"/usr/lib/texworks\" -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG 
-DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ 
-I. -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../src -Imoc -o obj/TWPythonPlugin.o 
TWPythonPlugin.cpp
| In file included from TWPythonPlugin.cpp:22:0:
| TWPythonPlugin.h:28:20: fatal error: Python.h: No such file or directory
| compilation terminated.
| make[1]: *** [obj/TWPythonPlugin.o] Error 1
| make[1]: Leaving directory 
`/build/texworks-VikuLL/texworks-0.5~svn930/plugins-src/TWPythonPlugin'
| make: *** [build-stamp] Error 2

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to