[grass] 10/10: Strip r.in.png & r.out.png

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Oct 22 00:01:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch experimental
in repository grass.

commit 68194e4202cb2c22b1efafcb718eca7e79340886
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Oct 22 00:36:28 2015 +0200

    Strip r.in.png & r.out.png
---
 debian/changelog | 1 +
 debian/rules     | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e761674..6d338ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ grass (7.0.2~rc1-1) UNRELEASED; urgency=medium
   * Update copyright years in copyright file.
   * Drop patches applied upstream, refresh remaining patches.
   * Add patch to fix various new typos.
+  * Strip r.in.png & r.out.png
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 21 Oct 2015 22:07:29 +0200
 
diff --git a/debian/rules b/debian/rules
index 5e6884d..e6f13ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -244,6 +244,13 @@ override_dh_auto_install-indep:
 	rm -f debian/tmp/programming-manual/html/jquery.js
 
 override_dh_install-arch:
+	# Strip binaries
+	strip debian/tmp/usr/lib/$(BASE_NAME)/bin/r.in.png
+	strip debian/tmp/usr/lib/$(BASE_NAME)/bin/r.out.png
+
+	strip --remove-section=.comment debian/tmp/usr/lib/$(BASE_NAME)/bin/r.in.png
+	strip --remove-section=.comment debian/tmp/usr/lib/$(BASE_NAME)/bin/r.out.png
+
 	dh_install --arch --list-missing
 
 	# delete duplicated grass-gui stuff from grass-core package

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/grass.git



More information about the Pkg-grass-devel mailing list