[SCM] Qt 4 packaging branch, master, updated. debian/4.7.3-2-5-g542d61a

Fathi Boudra fabo at alioth.debian.org
Tue Jun 21 07:55:43 UTC 2011


The following commit has been merged in the master branch:
commit ea63ed7a4b4bf5e21c142394f141ae53ffedf419
Author: Fathi Boudra <fabo at debian.org>
Date:   Tue Jun 21 10:52:10 2011 +0300

    Update debian/rules to ship the private headers
---
 debian/rules |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index 266b904..03d949d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -225,6 +225,13 @@ override_dh_auto_clean:
 override_dh_auto_install:
 	dh_auto_install -Smakefile -- INSTALL_ROOT=$(CURDIR)/debian/tmp/
 
+	# Ship private headers - ugly hack to build Qt Creator QML Designer
+	mkdir -p debian/tmp/usr/include/qt4
+	cd $(CURDIR)/include && rsync -aR Qt{Core,Declarative,Gui,Script}/private \
+	          ../debian/tmp/usr/include/qt4/
+	cd $(CURDIR) && rsync -aR src/{corelib,declarative,gui,script}/*/*_p.h \
+	          debian/tmp/usr/include/
+
 	# Fix wrong path in pkgconfig files
 	find $(CURDIR)/debian/tmp/usr/lib/pkgconfig -type f -name '*.pc' \
 		-exec perl -pi -e "s, -L$(CURDIR)/?\S+,,g" {} \;

-- 
Qt 4 packaging



More information about the pkg-kde-commits mailing list