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

sebastic pushed a commit to branch master
in repository gmt.

commit 489257332dc513a6dff02a1ef25439441442e0d3
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sat Jun 6 21:48:34 2015 +0200

    Strip RPATH from binary & libraries.
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 6 ++++++
 3 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d175396..97a466f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,7 @@ gmt (5.1.2+dfsg-1) UNRELEASED; urgency=medium
   * Fix libgmt5 installation.
   * Disable use of non-free triangle source.
   * Fix bash-completion installation.
+  * Strip RPATH from binary & libraries.
 
  -- Bas Couwenberg <sebas...@debian.org>  Fri, 05 Jun 2015 18:12:12 +0200
 
diff --git a/debian/control b/debian/control
index 509182f..cddee2c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: Francesco Paolo Lovergine <fran...@debian.org>,
 Section: science
 Priority: extra
 Build-Depends: debhelper (>= 9),
+               chrpath,
                cmake,
                libgdal-dev,
                libnetcdf-dev,
diff --git a/debian/rules b/debian/rules
index 9e77966..51b938c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,6 +71,12 @@ export DH_VERBOSE
        rm -rf debian/tmp/usr/etc/bash_completion.d
        rmdir debian/tmp/usr/etc/
 
+       # Strip RPATH
+       chrpath --delete \
+               debian/tmp/usr/lib/*/gmt/plugins/supplements.so \
+               debian/tmp/usr/lib/*/lib*.so.*.* \
+               debian/tmp/usr/bin/gmt
+
 #      $(MAKE) -C build/src/mex DESTDIR=$(DESTDIR) install
 #      -find $(DESTDIR)/usr/lib/octave -name "*.mex" -exec rename 
's/\.mex/.oct/' {} \;
        

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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to