From 4473c3ab9c4ea4ece35fcc1da1608179404d9fba Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 11 Feb 2012 23:39:16 +0100 Subject: Do not install libXinerama directly into /usr/lib/nx. Recommended method is installing to /usr/lib/nx/Xinerama, so that you can enable/disable usage of the Xinerama extension. --- debian/changelog | 3 +++ debian/post-build-nx.sh | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 012c7bd95..35df3c165 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ nx-libs (2:3.5.0.11-0) UNRELEASED; urgency=low * Use ,,$(MAKE) -C'' in main Makefile for calling Makefiles in subdirectories, make build stanza work for nx-libs-full and nx-libs-lite. + * Do not install libXinerama directly into /usr/lib/nx. Recommended method is + installing to /usr/lib/nx/Xinerama, so that you can enable/disable usage of + the Xinerama extension. -- Mike Gabriel Tue, 07 Feb 2012 13:48:19 +0100 diff --git a/debian/post-build-nx.sh b/debian/post-build-nx.sh index 0724e197a..9a6143cb2 100755 --- a/debian/post-build-nx.sh +++ b/debian/post-build-nx.sh @@ -13,11 +13,17 @@ cp -aL nx-X11/exports/include/* nx-X11/.build-exports/include find nx-X11/exports/lib/ | egrep "^.*\.so$" | while read libpath; do libfile=$(basename $libpath) libdir=$(dirname $libpath) + mkdir -p ${libdir//exports/.build-exports} cp -L $libpath ${libdir//exports/.build-exports} + find $libdir/$libfile.* | while read symlink; do ln -s $libfile ${libdir//exports/.build-exports}/$(basename $symlink) done + + # do not install libXinerama into default path... + rm -f ${libdir//exports/.build-exports}/lib/libXinerama* + done exit 0 -- cgit v1.2.3