[X2go-Commits] nx-libs.git - master (branch) updated: redist-server/3.5.0.13-5-g375e0e8

X2Go dev team git-admin at x2go.org
Mon Jun 4 08:18:37 CEST 2012


The branch, master has been updated
       via  375e0e8b3aa9793745808e5410aae584baad5a35 (commit)
      from  e2e7008b3e4f7283b135a9fc2821a64386253ee0 (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 -----------------------------------------------------------------
commit 375e0e8b3aa9793745808e5410aae584baad5a35
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Jun 4 08:15:51 2012 +0200

    Add patch: 052_nxcomp_macos10-nxauth-location.full+lite.patch, change nxauth search location on Mac OS X to $NX_SYSTEM/nxauth to facilitate application bundle building.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                                   |    3 ++
 ..._nxcomp_macos10-nxauth-location.full+lite.patch |   38 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 3 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/052_nxcomp_macos10-nxauth-location.full+lite.patch

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index de39c40..9c5b09e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ nx-libs (2:3.5.0.12-0) unstable; urgency=low
     to the FD_ISSET macro/function, instead of the struct itself.
   * Update patch: 005_nxcomp_gcc43.full+lite.patch, fix faulty path to
     nxcomp/Split.cpp.
+  * Add patch: 052_nxcomp_macos10-nxauth-location.full+lite.patch, change
+    nxauth search location on Mac OS X to $NX_SYSTEM/nxauth to facilitate
+    application bundle building.
 
   [ Oleksandr Shneyder ]
   * Add patch: 203_nxagent_disable-rootless-exit.full.patch, add command line
diff --git a/debian/patches/052_nxcomp_macos10-nxauth-location.full+lite.patch b/debian/patches/052_nxcomp_macos10-nxauth-location.full+lite.patch
new file mode 100644
index 0000000..4960c9d
--- /dev/null
+++ b/debian/patches/052_nxcomp_macos10-nxauth-location.full+lite.patch
@@ -0,0 +1,38 @@
+--- a/nxcomp/Auth.cpp
++++ b/nxcomp/Auth.cpp
+@@ -217,22 +217,31 @@
+ 
+   //
+   // Use the nxauth command on Windows and the Mac, xauth
+-  // on all the other platforms. On Windows and on the Mac
+-  // we assume that the nxauth command is located under
+-  // bin in the client installation directory. On all the
++  // on all the other platforms. On Windows we assume that
++  // the nxauth command is located under bin in the client
++  // installation directory. On Mac OS X we assume that the
++  // command is located directly in the client installation
++  // directory, to make bundle shipping easier. On all the
+   // other platforms we use the default xauth command that
+   // is in our path.
+   //
+ 
+   char command[DEFAULT_STRING_LIMIT];
+ 
+-  #if defined(__CYGWIN32__) || defined(__APPLE__)
++  #if defined(__CYGWIN32__)
+ 
+   snprintf(command, DEFAULT_STRING_LIMIT - 1,
+                "%s/bin/nxauth", control -> SystemPath);
+ 
+   *(command + DEFAULT_STRING_LIMIT - 1) = '\0';
+ 
++  #elif defined(__APPLE__)
++
++  snprintf(command, DEFAULT_STRING_LIMIT - 1,
++               "%s/nxauth", control -> SystemPath);
++
++  *(command + DEFAULT_STRING_LIMIT - 1) = '\0';
++
+   #else
+ 
+   strcpy(command, "xauth");
diff --git a/debian/patches/series b/debian/patches/series
index dc42d85..d772a0e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -26,6 +26,7 @@
 031_nx-X11_parallel-make.full.patch
 032_no-x11r6.full.patch
 051_nxcomp_macos105-fdisset.full+lite.patch
+052_nxcomp_macos10-nxauth-location.full+lite.patch
 101_nxagent_set-rgb-path.full.patch
 102_xserver-xext_set-securitypolicy-path.full.patch
 103_nxagent_set-X0-config-path.full.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