[SCM] pd-chaos/master: hardcode path in rpath to ensure the objects can find libchaos.so

eighthave at users.alioth.debian.org eighthave at users.alioth.debian.org
Mon Oct 1 03:21:07 UTC 2012


The following commit has been merged in the master branch:
commit 077fc24b219be4a7a2a1d62b606cf2cda71700c0
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Sun Sep 30 22:57:32 2012 -0400

    hardcode path in rpath to ensure the objects can find libchaos.so

diff --git a/debian/control b/debian/control
index 3acf5e5..ad0cb1b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Hans-Christoph Steiner <hans at eds.org>
 Build-Depends: debhelper (>= 7.0.50~),
-               puredata-dev | puredata (<< 0.43)
+               puredata-dev | puredata (<< 0.43),
+               chrpath
 Standards-Version: 3.9.3
 Homepage: http://puredata.info
 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/pd-chaos.git
diff --git a/debian/rules b/debian/rules
index bd8517f..32afe9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@ override_dh_auto_install:
 	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
 # replace license file with link to the Debian license file
 	rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
+# change rpath to ensure the .pd_linux files can find the libchaos.so
+	chrpath --replace $(pkglibdir)/$(LIBRARY_NAME) \
+		$(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux
 
 override_dh_shlibdeps:
 	dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \

-- 
pd-chaos packaging



More information about the pkg-multimedia-commits mailing list