Commit 43c04dbf authored by Mike Gabriel's avatar Mike Gabriel

Rework FreeNX patches to be applicable to latest NX sources.

parent 9f226601
...@@ -21,6 +21,7 @@ nx-libs (2:3.5.0-0~x2go2) UNRELEASED; urgency=low ...@@ -21,6 +21,7 @@ nx-libs (2:3.5.0-0~x2go2) UNRELEASED; urgency=low
- 200_nxagent_unbrand-agent.patch - 200_nxagent_unbrand-agent.patch
* Adapt path names in FreeNX patches to meet requirements for source tree of this * Adapt path names in FreeNX patches to meet requirements for source tree of this
package. package.
* Rework FreeNX patches to be applicable to latest NX sources.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 28 Dec 2011 19:06:26 +0100 -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 28 Dec 2011 19:06:26 +0100
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "NXlib.h" #include "NXlib.h"
@@ -1770,6 +1771,42 @@ @@ -1790,6 +1791,42 @@
} }
#endif #endif
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
/* /*
* This is currently unused. * This is currently unused.
*/ */
@@ -1640,6 +1648,17 @@ @@ -1858,6 +1866,17 @@
nxagentAddConfiguredWindow(pWin, CWStackingOrder); nxagentAddConfiguredWindow(pWin, CWStackingOrder);
nxagentAddConfiguredWindow(pWin, CW_Shape); nxagentAddConfiguredWindow(pWin, CW_Shape);
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#ifdef SHAPE #ifdef SHAPE
/* /*
@@ -1686,6 +1705,17 @@ @@ -1904,6 +1923,17 @@
return True; return True;
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
/* /*
* Set here the required log level. * Set here the required log level.
*/ */
@@ -339,6 +342,20 @@ @@ -348,6 +351,20 @@
*/ */
blackRoot = TRUE; blackRoot = TRUE;
......
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1539,7 +1539,20 @@ @@ -1754,7 +1754,20 @@
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentOpenScreen: Created new default window with id [%ld].\n", fprintf(stderr, "nxagentOpenScreen: Created new default window with id [%ld].\n",
nxagentDefaultWindows[pScreen->myNum]); nxagentDefaultWindows[pScreen->myNum]);
...@@ -32,17 +32,6 @@ ...@@ -32,17 +32,6 @@
#define nxagentSetPrintGeometry(screen) \ #define nxagentSetPrintGeometry(screen) \
nxagentPrintGeometryFlags = (1 << (screen)); nxagentPrintGeometryFlags = (1 << (screen));
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1861,7 +1861,7 @@
strncpy(default_path, "", 255);
strcat(icon_filename, NXAGENT_ICON_NAME);
- strcat(default_path,"/usr/NX/share/images/");
+ strcat(default_path,"/usr/share/pixmaps/");
strcat(default_path,icon_filename);
if ((icon_fp = fopen(default_path, "r")) == NULL)
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c --- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -204,6 +204,7 @@ @@ -204,6 +204,7 @@
...@@ -53,3 +42,14 @@ ...@@ -53,3 +42,14 @@
if (!nxagentPixmapLogo) if (!nxagentPixmapLogo)
{ {
return; return;
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1919,7 +1919,7 @@
XlibPixmap IconPixmap;
XlibPixmap IconShape;
- snprintf(default_path, PATH_MAX-1, "/usr/NX/share/images/%s", NXAGENT_ICON_NAME);
+ snprintf(default_path, PATH_MAX-1, "/usr/share/pixmaps/%s", NXAGENT_ICON_NAME);
if ((icon_fp = fopen(default_path, "r")) == NULL)
{
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment