diff options
author | Fathi BOUDRA <fabo@debian.org> | 2009-10-15 22:48:37 +0200 |
---|---|---|
committer | Fathi BOUDRA <fabo@debian.org> | 2009-10-15 22:48:37 +0200 |
commit | 2f8c91155f7061185c5bd01c53f41695d54d8778 (patch) | |
tree | 4eb4f994eef4306c5c0eccb8a4d5903229b344d2 | |
parent | f46f9ee5e38aeefa4bd12b4e515b1f8e8f60ab28 (diff) | |
download | qt4-x11-2f8c91155f7061185c5bd01c53f41695d54d8778.tar.gz |
Add 08_configure_quilt_compat.diff patch. (Closes: #550127)
quilt creates '.pc' directory. It breaks qmake projects search.
Update debian/rules: re-add -fast configure option.
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/patches/08_configure_quilt_compat.diff | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 1 |
4 files changed, 24 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 8836fef..dbb8d93 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +qt4-x11 (4:4.5.3-4) unstable; urgency=low + + * Add 08_configure_quilt_compat.diff patch. (Closes: #550127) + quilt creates '.pc' directory. It breaks qmake projects search. + * Update debian/rules: re-add -fast configure option. + + -- Fathi Boudra <fabo@debian.org> Thu, 15 Oct 2009 22:32:28 +0200 + qt4-x11 (4:4.5.3-3) unstable; urgency=low * Remove -fast configure option. Qt configure has -no-fast as default value diff --git a/debian/patches/08_configure_quilt_compat.diff b/debian/patches/08_configure_quilt_compat.diff new file mode 100644 index 0000000..1c008d2 --- /dev/null +++ b/debian/patches/08_configure_quilt_compat.diff @@ -0,0 +1,14 @@ +Avoid '.pc' directories created by quilt. +It breaks qmake projects search. + +--- a/configure ++++ b/configure +@@ -7146,7 +7146,7 @@ fi + # .projects.3 -> the rest + rm -f .projects .projects.1 .projects.2 .projects.3 + +-QMAKE_PROJECTS=`find "$relpath/." -name '*.pro' -print | sed 's-/\./-/-'` ++QMAKE_PROJECTS=`find "$relpath/." -name '.pc' -prune -o -name '*.pro' -print | sed 's-/\./-/-'` + if [ -z "$AWK" ]; then + for p in `echo $QMAKE_PROJECTS`; do + echo "$p" >> .projects diff --git a/debian/patches/series b/debian/patches/series index f2292e1..0f7f172 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -21,6 +21,7 @@ 04_launch_uic-qt4.diff 05_append_qt4_target.diff 07_trust_dpkg-arch_over_uname-m.diff +08_configure_quilt_compat.diff 09_qmake_lflags_as-needed.diff 10_config_tests_fixes.diff 11_build_translations.diff diff --git a/debian/rules b/debian/rules index e178acf..9d1c39c 100755 --- a/debian/rules +++ b/debian/rules @@ -117,6 +117,7 @@ endif -demosdir "/usr/lib/qt4/demos" \ -examplesdir "/usr/lib/qt4/examples" \ -opensource \ + -fast \ -plugin-sql-mysql \ -plugin-sql-odbc \ -plugin-sql-psql \ |