From 5ea24ed1e222be8b569bccd5d63359d778af9aad Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 20 Nov 2011 15:39:31 +0100 Subject: Add patch: 008_add-nxproxy-wrapper.patch. Build nxproxy package. --- debian/changelog | 1 + debian/control | 24 ++++++++++++++++++++++++ debian/nxproxy.dirs | 2 ++ debian/nxproxy.install | 3 +++ debian/patches/008_add-nx-proxy-wrapper.patch | 13 +++++++++++++ debian/patches/series | 1 + 6 files changed, 44 insertions(+) create mode 100644 debian/nxproxy.dirs create mode 100644 debian/nxproxy.install create mode 100644 debian/patches/008_add-nx-proxy-wrapper.patch (limited to 'debian') 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 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 -- cgit v1.2.3