Files
sablink-distro/dev-python/PyQt4/files/configure.py.patch
T

48 lines
1.7 KiB
Diff

diff -Naur PyQt-x11-gpl-4.4.4~orig/configure.py PyQt-x11-gpl-4.4.4/configure.py
--- PyQt-x11-gpl-4.4.4~orig/configure.py 2009-06-01 01:54:27.000000000 +0200
+++ PyQt-x11-gpl-4.4.4/configure.py 2009-06-01 01:55:57.000000000 +0200
@@ -300,7 +300,8 @@
check_module("QtWebKit", "qwebpage.h", "new QWebPage()")
check_module("QtXml", "qdom.h", "new QDomDocument()")
check_module("QtXmlPatterns", "qxmlname.h", "new QXmlName()")
- check_module("phonon", "phonon", "new Phonon::VideoWidget()")
+ check_module("phonon", "videowidget.h", "new Phonon::VideoWidget()",
+ extra_include_dirs=["/usr/include/phonon"])
check_module("QtAssistant", "qassistantclient.h",
"new QAssistantClient(\"foo\")", extra_lib_dirs=ass_lib_dirs,
extra_libs=ass_libs)
@@ -394,7 +395,7 @@
generate_code("QtXmlPatterns")
if "phonon" in pyqt_modules:
- generate_code("phonon")
+ generate_code("phonon", extra_include_dirs=["/usr/include/phonon"])
if "QtAssistant" in pyqt_modules:
generate_code("QtAssistant")
@@ -666,6 +667,7 @@
install_dir=pydbusmoddir,
qt=["QtCore"],
debug=opts.debug,
+ strip=0,
universal=sipcfg.universal
)
@@ -1350,6 +1352,7 @@
warnings=1,
static=opts.static,
debug=opts.debug,
+ strip=0,
universal=sipcfg.universal
)
@@ -1510,7 +1513,7 @@
# The Qt binary installer has macx-xcode as the default.
args = "-spec macx-g++ " + args
- return args
+ return " QMAKE_STRIP= " + args
def get_qt_configuration():