aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-28 08:15:52 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-28 08:38:19 +0200
commit45983d13072020f5d210b9c613f0db5636dad6a3 (patch)
treeae47dd04b9cb8cc0067fddc134019343391657b4
parent0382b4018d96cfcc0c406231d294d9a6bff76902 (diff)
downloadnx-libs-45983d13072020f5d210b9c613f0db5636dad6a3.tar.gz
nx-libs-45983d13072020f5d210b9c613f0db5636dad6a3.tar.bz2
nx-libs-45983d13072020f5d210b9c613f0db5636dad6a3.zip
Xinerama symlinking: Attach Xinerama symlinking to nxagent bin:package (and not libnx-xinerama1).
-rwxr-xr-xdebian/nxagent.postinst.in (renamed from debian/libnx-xinerama1.postinst.in)2
-rwxr-xr-xdebian/nxagent.prerm (renamed from debian/libnx-xinerama1.prerm)2
-rwxr-xr-xdebian/rules6
-rw-r--r--nx-libs.spec8
4 files changed, 9 insertions, 9 deletions
diff --git a/debian/libnx-xinerama1.postinst.in b/debian/nxagent.postinst.in
index 38cc415f4..4ad52a525 100755
--- a/debian/libnx-xinerama1.postinst.in
+++ b/debian/nxagent.postinst.in
@@ -1,5 +1,5 @@
#!/bin/sh
-# postinst script for libnx-x11
+# postinst script for nxagent
#
# see: dh_installdeb(1)
diff --git a/debian/libnx-xinerama1.prerm b/debian/nxagent.prerm
index 8cca06c85..edc882a46 100755
--- a/debian/libnx-xinerama1.prerm
+++ b/debian/nxagent.prerm
@@ -1,5 +1,5 @@
#!/bin/sh
-# prerm script for libnx-xinerama1
+# prerm script for nxagent
#
# see: dh_installdeb(1)
# summary of how this script can be called:
diff --git a/debian/rules b/debian/rules
index 682c5dab8..b3060b36f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ override_dh_auto_clean:
override_dh_clean:
rm -f nx*/configure
. ./replace.sh; set -x; ls debian/*.install.in | while read file; do rm -f $$(string_rep $$file .install.in .install); done
- rm -f debian/libnx-xinerama1.postinst
+ rm -f debian/nxagent.postinst
rm -fR .preserve/
dh_clean
@@ -72,8 +72,8 @@ override_dh_auto_install:
override_dh_auto_build:
- # let's prep the libnx-xinerama1.postinst script with the value of the build systems's DEB_BUILD_MULTIARCH variable
- sed debian/libnx-xinerama1.postinst.in -e 's/#DEB_BUILD_MULTIARCH#/$(DEB_BUILD_MULTIARCH)/' > debian/libnx-xinerama1.postinst
+ # let's prep the nxagent.postinst script with the value of the build systems's DEB_BUILD_MULTIARCH variable
+ sed debian/nxagent.postinst.in -e 's/#DEB_BUILD_MULTIARCH#/$(DEB_BUILD_MULTIARCH)/' > debian/nxagent.postinst
LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS="$(LDFLAGS)" SHLIBDIR="$(LIBDIR)" PREFIX=/usr dh_auto_build --parallel
diff --git a/nx-libs.spec b/nx-libs.spec
index 01d5d9464..6eed3691a 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -664,10 +664,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X
%dir %{_libdir}/nx/X11
%dir %{_datadir}/nx
%{_datadir}/nx/SecurityPolicy
-%dir %{_libdir}/nx/X11/Xinerama/
-%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
-%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
-%{_libdir}/nx/X11/Xinerama/libXinerama.so.1*
%files -n libNX_X11-6
%defattr(-,root,root)
@@ -912,6 +908,10 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X
%{_datadir}/pixmaps/nxagent.xpm
%{_datadir}/nx/rgb
%{_datadir}/man/man1/nxagent.1*
+%dir %{_libdir}/nx/X11/Xinerama/
+%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
+%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
+%{_libdir}/nx/X11/Xinerama/libXinerama.so.1*
%files -n nxauth
%defattr(-,root,root)