[SCM] Calligra suite packaging branch, master, updated. debian/2.6.3-2-6-g45888a2

Pino Toscano pino at alioth.debian.org
Sat Jun 1 10:06:56 UTC 2013


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-std/calligra.git;a=commitdiff;h=45888a2

The following commit has been merged in the master branch:
commit 45888a2d64ed07cfeff0d5a135bae4c53aefdadb
Author: Pino Toscano <pino at debian.org>
Date:   Sat Jun 1 12:06:29 2013 +0200

    remove from debian/tmp all the things that are known to not be installed anywhere
    
    this shortens the output of dh_install --list-missing
---
 debian/changelog |    2 ++
 debian/rules     |   15 +++++++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8f0f8c5..8d071fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ calligra (1:2.6.3-3) UNRELEASED; urgency=low
   * Add calligraauthor to the calligra metapackage.
   * Remove unused stuff of kthesaurus and calligramobile.
   * Remove koconverter man page, no such tool anymore.
+  * Manually remove from debian/tmp all the things that are known to not be
+    installed anywhere; this shortens the output of dh_install --list-missing.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 01 Jun 2013 10:32:27 +0200
 
diff --git a/debian/rules b/debian/rules
index 80be6e7..c6f9c07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,21 @@ export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 override_dh_auto_configure:
 	dh_auto_configure -Skde -- -DKDE4_BUILD_TESTS=OFF
 
+override_dh_auto_install:
+	dh_auto_install
+	# Remove symlinks of private libraries
+	find debian/tmp/usr/lib -maxdepth 1 -name '*private*.so' -type l -delete
+	# image/openraster is provided by shared-mime-info >= 0.70
+	# (and squeeze has 0.71)
+	rm -f debian/tmp/usr/share/mime/packages/krita_ora.xml
+ifeq (,$(filter %-dev, $(shell dh_listpackages)))
+	# No -dev stuff, so remove their content to shorten the output
+	# of dh_install --list-missing
+	rm -rf debian/tmp/usr/include
+	rm -rf debian/tmp/usr/share/kde4/apps/cmake
+	find debian/tmp/usr/lib -maxdepth 1 -name '*.so' -type l -delete
+endif
+
 override_dh_install:
 	dh_install --list-missing
 

-- 
Calligra suite packaging



More information about the pkg-kde-commits mailing list