[X2Go-Commits] nx-libs.git - build-main (branch) updated: redist-server/3.5.0.2-12-g760c5c0

X2Go dev team git-admin at x2go.org
Fri Aug 30 16:23:10 CEST 2013


The branch, build-main has been updated
       via  760c5c07c63798e0e065020456e7514c8dd8b72d (commit)
      from  d6fee9a41fa3ba5db01d46963571a5a039ad1786 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                                   |    4 ++++
 debian/patches/016_nx-x11_install-location.patch   |    6 +++---
 ...-x11_expat-build-against-system-libxmltok.patch |    2 +-
 debian/patches/020_add-nxagent-wrapper.patch       |    7 ++++---
 debian/patches/021_add-nxauth-wrapper.patch        |    7 ++++---
 debian/patches/022_add-nxproxy-wrapper.patch       |    7 ++++---
 debian/patches/023_add-x2goagent-wrapper.patch     |    7 ++++---
 .../102_xserver-xext_set-securitypolicy-path.patch |    8 ++++----
 .../patches/103_nxagent_set-X0-config-path.patch   |    4 ++--
 debian/patches/series                              |    2 ++
 10 files changed, 32 insertions(+), 22 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index d9d5db5..9d30af4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,10 @@ nx-libs (2:3.5.0.2-1) UNRELEASED; urgency=low
     patch: 209_x2goagent-add-man-page.patch
   * Modify patch: 101_nxagent_set-rgb-path.patch, add path to RGB file
     if NX (redistributed) is installed via tarball under /usr/local.
+  * Provide patches that are tarball / distro aware. Either NX (redistributed)
+    has been installed to /usr/local/lib/nx via tarball or it has been packaged
+    for a distribution and is installed to /usr/lib/nx. Other installation paths
+    are currently not supported.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 11 Jan 2012 15:30:36 +0100
 
diff --git a/debian/patches/016_nx-x11_install-location.patch b/debian/patches/016_nx-x11_install-location.patch
index 1bda0b0..0231bcb 100644
--- a/debian/patches/016_nx-x11_install-location.patch
+++ b/debian/patches/016_nx-x11_install-location.patch
@@ -1,6 +1,6 @@
 Description: FHS adaptation for Debian packaging
- On Debian, NX libraries and binaries are installed to
- /usr/lib/nx.
+ From tarball, NX libraries and binaries are installed to
+ /usr/local/lib/nx.
 Forwarded: not-needed
 Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
 Last-Update: 2012-12-31
@@ -17,7 +17,7 @@ Last-Update: 2012-12-31
  #endif
  #else
 -#define UsrLibDir Concat3(/usr,/,LibDirName)
-+#define UsrLibDir Concat4(/usr,/,LibDirName,/nx)
++#define UsrLibDir Concat4(/usr/local,/,LibDirName,/nx)
  #ifndef AlternateUsrLibDir
  #define AlternateUsrLibDir NO
  #endif
diff --git a/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch b/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
index bd0c72a..d32e570 100644
--- a/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
+++ b/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
@@ -13,7 +13,7 @@ Last-Update: 2011-12-31
  EXPATINC = $(EXPATTOP)/lib
  
 -INCLUDES = -I$(EXPATINC) -I$(EXPATTOP) -I.
-+INCLUDES = -I/usr/include/xmltok -I$(EXPATINC) -I$(EXPATTOP) -I. 
++INCLUDES = -I/usr/include/xmltok -I/usr/local/include/xmltok -I$(EXPATINC) -I$(EXPATTOP) -I. 
  
  /*
   * Endianness (for short's)
diff --git a/debian/patches/020_add-nxagent-wrapper.patch b/debian/patches/020_add-nxagent-wrapper.patch
index 93eb92a..f6a9a1d 100644
--- a/debian/patches/020_add-nxagent-wrapper.patch
+++ b/debian/patches/020_add-nxagent-wrapper.patch
@@ -19,9 +19,10 @@
 +# along with this program.  If not, see http://www.gnu.org/licenses/.
 +
 +NX_LIBS=/usr/lib/nx
-+LD_LIBRARY_PATH=/usr/lib/nx:/usr/lib/nx/X11:$LD_LIBRARY_PATH
++NX_LOCAL_LIBS=/usr/local/lib/nx
++LD_LIBRARY_PATH=$NX_LIBS:$NX_LIBS/X11:$NX_LOCAL_LIBS:$NX_LOCAL_LIBS/X11:$LD_LIBRARY_PATH
 +
-+export NX_LIBS
++test -d NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
 +export LD_LIBRARY_PATH
 +
-+exec /usr/lib/nx/nxagent "$@"
++exec $NX_LIBS/nxagent "$@"
diff --git a/debian/patches/021_add-nxauth-wrapper.patch b/debian/patches/021_add-nxauth-wrapper.patch
index ce51ea8..fea0b84 100644
--- a/debian/patches/021_add-nxauth-wrapper.patch
+++ b/debian/patches/021_add-nxauth-wrapper.patch
@@ -19,9 +19,10 @@
 +# along with this program.  If not, see http://www.gnu.org/licenses/.
 +
 +NX_LIBS=/usr/lib/nx
-+LD_LIBRARY_PATH=/usr/lib/nx:/usr/lib/nx/X11:$LD_LIBRARY_PATH
++NX_LOCAL_LIBS=/usr/local/lib/nx
++LD_LIBRARY_PATH=$NX_LIBS:$NX_LIBS/X11:$NX_LOCAL_LIBS:$NX_LOCAL_LIBS/X11:$LD_LIBRARY_PATH
 +
-+export NX_LIBS
++test -d NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
 +export LD_LIBRARY_PATH
 +
-+exec /usr/lib/nx/nxauth "$@"
++exec $NX_LIBS/nxauth "$@"
diff --git a/debian/patches/022_add-nxproxy-wrapper.patch b/debian/patches/022_add-nxproxy-wrapper.patch
index cedfde3..53b0c29 100644
--- a/debian/patches/022_add-nxproxy-wrapper.patch
+++ b/debian/patches/022_add-nxproxy-wrapper.patch
@@ -19,9 +19,10 @@
 +# along with this program.  If not, see http://www.gnu.org/licenses/.
 +
 +NX_LIBS=/usr/lib/nx
-+LD_LIBRARY_PATH=/usr/lib/nx:/usr/lib/nx/X11:$LD_LIBRARY_PATH
++NX_LOCAL_LIBS=/usr/local/lib/nx
++LD_LIBRARY_PATH=$NX_LIBS:$NX_LIBS/X11:$NX_LOCAL_LIBS:$NX_LOCAL_LIBS/X11:$LD_LIBRARY_PATH
 +
-+export NX_LIBS
++test -d NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
 +export LD_LIBRARY_PATH
 +
-+exec /usr/lib/nx/nxproxy "$@"
++exec $NX_LIBS/nxproxy "$@"
diff --git a/debian/patches/023_add-x2goagent-wrapper.patch b/debian/patches/023_add-x2goagent-wrapper.patch
index ca53fde..ca7d92e 100644
--- a/debian/patches/023_add-x2goagent-wrapper.patch
+++ b/debian/patches/023_add-x2goagent-wrapper.patch
@@ -19,9 +19,10 @@
 +# along with this program.  If not, see http://www.gnu.org/licenses/.
 +
 +NX_LIBS=/usr/lib/nx
-+LD_LIBRARY_PATH=/usr/lib/nx:/usr/lib/nx/X11:$LD_LIBRARY_PATH
++NX_LOCAL_LIBS=/usr/local/lib/nx
++LD_LIBRARY_PATH=$NX_LIBS:$NX_LIBS/X11:$NX_LOCAL_LIBS:$NX_LOCAL_LIBS/X11:$LD_LIBRARY_PATH
 +
-+export NX_LIBS
++test -d NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
 +export LD_LIBRARY_PATH
 +
-+exec /usr/lib/nx/x2goagent "$@"
++exec $NX_LIBS/../x2go/x2goagent "$@"
diff --git a/debian/patches/102_xserver-xext_set-securitypolicy-path.patch b/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
index 4f43eeb..9d27a37 100644
--- a/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
+++ b/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
@@ -1,11 +1,11 @@
 Description: FHS path fix for SecurityPolicy file
- This patch is needed on Debian only, not reporting this path
- change to upstream.
+ This patch is needed for Tarball installation mode of NX (redistributed)
+ only, not reporting this path change to upstream.
  .
  Originally contributed by Marcelo Boveto Shima <marceloshima at gmail.com>.
 Forwarded: not-needed
 Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
-Last-Update: 2011-12-31
+Last-Update: 2012-01-12
 --- a/nx-X11/programs/Xserver/Xext/security.c
 +++ b/nx-X11/programs/Xserver/Xext/security.c
 @@ -86,7 +86,7 @@
@@ -13,7 +13,7 @@ Last-Update: 2011-12-31
  #ifdef NXAGENT_SERVER
  
 -#define NX_ALTERNATIVEPOLICYFILE "/usr/lib/xserver/SecurityPolicy"
-+#define NX_ALTERNATIVEPOLICYFILE "/usr/share/nx/SecurityPolicy"
++#define NX_ALTERNATIVEPOLICYFILE "/usr/local/share/nx/SecurityPolicy"
  
  #endif
  
diff --git a/debian/patches/103_nxagent_set-X0-config-path.patch b/debian/patches/103_nxagent_set-X0-config-path.patch
index 485f5fd..eb705ca 100644
--- a/debian/patches/103_nxagent_set-X0-config-path.patch
+++ b/debian/patches/103_nxagent_set-X0-config-path.patch
@@ -1,6 +1,6 @@
 Description: FHS path fix for keyboard config file
- This patch is needed on Debian only, not reporting this path
- addition to upstream.
+ This patch is needed for Tarball installation and on Distros like
+ Debian, not reporting this path addition to upstream.
  .
  Originally contributed by FreeNX Team.
 Forwarded: not-needed
diff --git a/debian/patches/series b/debian/patches/series
index 26d3ee8..69901b2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,6 +14,7 @@
 014_nxcompshad_makefile-uninstall.patch
 015_nxproxy_makefile-uninstall.patch
 016_nx-x11_install-location.patch
+016a_debian_nx-X11_install-location.patch
 017_nx-x11_update-autotools-helper-files.patch
 018_nx-x11_update-libtool-ltmain-script.patch
 019_nx-x11_expat-build-against-system-libxmltok.patch
@@ -23,6 +24,7 @@
 023_add-x2goagent-wrapper.patch
 101_nxagent_set-rgb-path.patch
 102_xserver-xext_set-securitypolicy-path.patch
+102a_debian_xserver-xext_set-securitypolicy-path.patch
 103_nxagent_set-X0-config-path.patch
 105_nxagent_export-remote-keyboard-config.patch
 106_nxagent_utf8-copy-clipboard.patch


hooks/post-receive
-- 
nx-libs.git (NX (redistributed))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nx-libs.git" (NX (redistributed)).




More information about the x2go-commits mailing list