aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-11-20 15:39:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-11-20 15:39:31 +0100
commit5ea24ed1e222be8b569bccd5d63359d778af9aad (patch)
treece3c0b30f7c8dfe8a78b073834ba792c178a4d27
parent867c3b9785f7da1f66588c24a6191ea43df5639e (diff)
downloadnx-libs-5ea24ed1e222be8b569bccd5d63359d778af9aad.tar.gz
nx-libs-5ea24ed1e222be8b569bccd5d63359d778af9aad.tar.bz2
nx-libs-5ea24ed1e222be8b569bccd5d63359d778af9aad.zip
Add patch: 008_add-nxproxy-wrapper.patch. Build nxproxy package.
-rw-r--r--debian/changelog1
-rw-r--r--debian/control24
-rw-r--r--debian/nxproxy.dirs2
-rw-r--r--debian/nxproxy.install3
-rw-r--r--debian/patches/008_add-nx-proxy-wrapper.patch13
-rw-r--r--debian/patches/series1
6 files changed, 44 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 164beb271..884ccb77e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,5 +15,6 @@ nx-libs (2:3.5.0-0~x2go1) UNRELEASED; urgency=low
* Add patch: 007_nxcompshad-clean-gch-files.patch.
* Remove unknown option --with from dh_auto_clean.
* Add autoconf as build dependency.
+ * Add patch: 008_add-nxproxy-wrapper.patch. Build nxproxy package.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 14 Oct 2011 03:01:39 +0200
diff --git a/debian/control b/debian/control
index a4afbd50f..dcc64830c 100644
--- a/debian/control
+++ b/debian/control
@@ -110,6 +110,30 @@ Description: NX agent (NoMachine)
# .
# This package contains the debug symbols of nxagent. Source: nx-libs
+Package: nxproxy
+Architecture: any
+Depends:
+ libxcomp3 (>= ${source:Version}), libxcomp3 (<< ${source:Version}.1~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: NX proxy (NoMachine)
+ NX provides a differential X compression library for X11.
+ .
+ This package provides the NX proxy (client) binary.
+
+#Package: nxproxy-dbg
+#Architecture: any
+#Depends:
+# libxcomp3 (>= ${source:Version}), libxcomp3 (<< ${source:Version}.1~),
+# ${shlibs:Depends},
+# ${misc:Depends}
+#Priority: extra
+#Section: debug
+#Description: NX proxy (NoMachine), debug symbols
+# NX provides a differential X compression library for X11.
+# .
+# This package provides the NX proxy (client) binary.
+
Package: libxcomp3
Architecture: any
Depends:
diff --git a/debian/nxproxy.dirs b/debian/nxproxy.dirs
new file mode 100644
index 000000000..4330badaf
--- /dev/null
+++ b/debian/nxproxy.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/nx
diff --git a/debian/nxproxy.install b/debian/nxproxy.install
new file mode 100644
index 000000000..42a49f25b
--- /dev/null
+++ b/debian/nxproxy.install
@@ -0,0 +1,3 @@
+nxproxy/nxproxy usr/lib/nx
+bin/nxproxy usr/bin
+
diff --git a/debian/patches/008_add-nx-proxy-wrapper.patch b/debian/patches/008_add-nx-proxy-wrapper.patch
new file mode 100644
index 000000000..9c208e2e8
--- /dev/null
+++ b/debian/patches/008_add-nx-proxy-wrapper.patch
@@ -0,0 +1,13 @@
+--- /dev/null
++++ b/bin/nxproxy
+@@ -0,0 +1,9 @@
++#!/bin/bash
++
++NX_LIBS=/usr/lib/nx
++LD_LIBRARY_PATH=/usr/lib/nx
++
++export NX_LIBS
++export LD_LIBRARY_PATH
++
++exec /usr/lib/nx/nxproxy "$@"
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 00679755b..4cf8420de 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
005_add_nxagent_wrapper.patch
006_remove-configure-files.patch
007_nxcompshad-clean-gch-files.patch
+008_add-nx-proxy-wrapper.patch