Bug#597829: libqt4-dev: Should use variables in .pc files for all paths
Package: libqt4-dev
Version: 4:4.6.3-2
Severity: normal
Hi,
while cross-compiling a Qt application, I stumbled over an incorrectly
converted .pc file. The dpkg-cross tool can convert .pc files from a
separate architecture, but will only change paths in the variable
definition section.
QtCore.pc contains:
Libs.private: -L/usr/lib -L/usr/lib -lfontconfig -lpthread -lz -lm -ldl -pthread -lgthread-2.0 -lrt -lglib-2.0
Cflags: -DQT_SHARED -I/usr/include/qt4 -I${includedir}
The hardcoded paths pose a problem here, because these won't be changed
when the variable is adapted.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libqt4-dev depends on:
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.5-20100227-1 GCC support library
ii libqt4-assistant 4:4.6.3-2 Qt 4 assistant module
ii libqt4-dbus 4:4.6.3-2 Qt 4 D-Bus module
ii libqt4-designer 4:4.6.3-2 Qt 4 designer module
ii libqt4-help 4:4.6.3-2 Qt 4 help module
ii libqt4-multimedia 4:4.6.3-2 Qt 4 Multimedia module
ii libqt4-network 4:4.6.3-2 Qt 4 network module
ii libqt4-qt3support 4:4.6.3-2 Qt 3 compatibility library for Qt
ii libqt4-script 4:4.6.3-2 Qt 4 script module
ii libqt4-scripttools 4:4.6.3-2 Qt 4 script tools module
ii libqt4-sql 4:4.6.3-2 Qt 4 SQL module
ii libqt4-svg 4:4.6.3-2 Qt 4 SVG module
ii libqt4-test 4:4.6.3-2 Qt 4 test module
ii libqt4-webkit 4:4.6.3-2 Qt 4 WebKit module
ii libqt4-xml 4:4.6.3-2 Qt 4 XML module
ii libqt4-xmlpatterns 4:4.6.3-2 Qt 4 XML patterns module
ii libqtcore4 4:4.6.3-2 Qt 4 core module
ii libqtgui4 4:4.6.3-2 Qt 4 GUI module
ii libstdc++6 4.5-20100227-1 The GNU Standard C++ Library v3
ii qt4-qmake 4:4.6.3-2 Qt 4 qmake Makefile generator tool
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages libqt4-dev recommends:
ii libqt4-opengl-dev 4:4.6.3-2 Qt 4 OpenGL library development fi
Versions of packages libqt4-dev suggests:
pn firebird2.1-dev <none> (no description available)
ii libmysqlclient-dev 5.1.49-1 MySQL database development files
ii libpq-dev 9.0.0-3 header files for libpq5 (PostgreSQ
pn libsqlite0-dev <none> (no description available)
ii libsqlite3-dev 3.7.2-1 SQLite 3 development files
pn qt4-dev-tools <none> (no description available)
pn qt4-doc <none> (no description available)
pn unixodbc-dev <none> (no description available)
-- no debconf information
Reply to: