Commit 9f226601 authored by Mike Gabriel's avatar Mike Gabriel

Adapt path names in FreeNX patches to meet requirements for source tree of this package.

parent 4cffd99f
...@@ -19,6 +19,8 @@ nx-libs (2:3.5.0-0~x2go2) UNRELEASED; urgency=low ...@@ -19,6 +19,8 @@ nx-libs (2:3.5.0-0~x2go2) UNRELEASED; urgency=low
- 108_nxagent_wine-close-delay.patch - 108_nxagent_wine-close-delay.patch
- 109_nxagent_locale-utf8-compound-text.patch - 109_nxagent_locale-utf8-compound-text.patch
- 200_nxagent_unbrand-agent.patch - 200_nxagent_unbrand-agent.patch
* Adapt path names in FreeNX patches to meet requirements for source tree of this
package.
-- 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
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
## All lines beginning with `## DP:' are a description of the patch. ## All lines beginning with `## DP:' are a description of the patch.
## DP: Change the path to the keyboard configuration file ## DP: Change the path to the keyboard configuration file
--- a/programs/Xserver/os/oscolor.c --- a/nx-X11/programs/Xserver/os/oscolor.c
+++ b/programs/Xserver/os/oscolor.c +++ b/nx-X11/programs/Xserver/os/oscolor.c
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
## All lines beginning with `## DP:' are a description of the patch. ## All lines beginning with `## DP:' are a description of the patch.
## DP: Change the path to the keyboard configuration file ## DP: Change the path to the keyboard configuration file
--- a/programs/Xserver/Xext/security.c --- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/programs/Xserver/Xext/security.c +++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -86,7 +86,7 @@ @@ -86,7 +86,7 @@
#ifdef NXAGENT_SERVER #ifdef NXAGENT_SERVER
......
--- a/nxagent/programs/Xserver/hw/nxagent/Keyboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Keyboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -136,7 +136,7 @@ @@ -136,7 +136,7 @@
#define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb" #define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb"
#endif #endif
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#endif #endif
#ifndef XKB_DFLT_RULES_FILE #ifndef XKB_DFLT_RULES_FILE
#define XKB_DFLT_RULES_FILE "xfree86" #define XKB_DFLT_RULES_FILE "xfree86"
@@ -978,8 +978,7 @@ @@ -985,8 +985,7 @@
XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb); XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb);
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char)); nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char));
@@ -988,9 +987,7 @@ @@ -995,9 +994,7 @@
FatalError("nxagentKeyboardProc: malloc failed."); FatalError("nxagentKeyboardProc: malloc failed.");
} }
......
## 90_enable_debug.dpatch by <marceloshima@gmail.com> --- a/nx-X11/programs/Xserver/hw/nxagent/Imakefile
## +++ b/nx-X11/programs/Xserver/hw/nxagent/Imakefile
## All lines beginning with `## DP:' are a description of the patch. @@ -203,7 +203,8 @@
## DP: No description.
--- a/nxagent/programs/Xserver/hw/nxagent/Imakefile 2010-09-17 14:49:52.000000000 +0200
+++ b/nxagent/programs/Xserver/hw/nxagent/Imakefile 2010-09-17 15:02:43.113911514 +0200
@@ -205,7 +205,8 @@
-DNXAGENT_ONSTART \ -DNXAGENT_ONSTART \
-DNXAGENT_SPLASH \ -DNXAGENT_SPLASH \
-DNXAGENT_ARTSD \ -DNXAGENT_ARTSD \
- -UNX_DEBUG_INPUT \ - -UNX_DEBUG_INPUT \
+ -DNX_DEBUG_INPUT \ + -DNX_DEBUG_INPUT \
+ -DDEBUG \ + -DDEBUG \
-DRANDR_10_INTERFACE \
-DRANDR_12_INTERFACE \
-UPANORAMIX \ -UPANORAMIX \
-UDEBUG_TREE
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
## All lines beginning with `## DP:' are a description of the patch. ## All lines beginning with `## DP:' are a description of the patch.
## DP: Export the client keyboard configurations to a file ## DP: Export the client keyboard configurations to a file
--- a/nxagent/programs/Xserver/hw/nxagent/Error.c --- a/nx-X11/programs/Xserver/hw/nxagent/Error.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Error.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Error.c
@@ -497,7 +497,7 @@ @@ -497,7 +497,7 @@
return rootPath; return rootPath;
} }
...@@ -15,17 +15,17 @@ ...@@ -15,17 +15,17 @@
{ {
char *rootPath; char *rootPath;
--- a/nxagent/programs/Xserver/hw/nxagent/Error.h --- a/nx-X11/programs/Xserver/hw/nxagent/Error.h
+++ b/nxagent/programs/Xserver/hw/nxagent/Error.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Error.h
@@ -34,4 +34,6 @@ @@ -34,4 +34,6 @@
void nxagentEndRedirectToClientsLog(void); void nxagentEndRedirectToClientsLog(void);
+char *nxagentGetSessionPath(void); +char *nxagentGetSessionPath(void);
+ +
#endif /* __Error_H__ */ #endif /* __Error_H__ */
--- a/nxagent/programs/Xserver/hw/nxagent/Keyboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Keyboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -52,6 +52,7 @@ @@ -52,6 +52,7 @@
#include "Keyboard.h" #include "Keyboard.h"
#include "Events.h" #include "Events.h"
......
--- a/nxagent/programs/Xserver/hw/nxagent/Clipboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -166,7 +166,9 @@ @@ -166,7 +166,9 @@
if (target == XA_STRING) return True; if (target == XA_STRING) return True;
......
--- a/nxagent/programs/Xserver/hw/nxagent/Clipboard.c --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1226,10 +1226,11 @@ @@ -1226,10 +1226,11 @@
Atom xa_STRING[4]; Atom xa_STRING[4];
xEvent x; xEvent x;
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
ChangeWindowProperty(pWin, ChangeWindowProperty(pWin,
property, property,
--- a/nxagent/programs/Xserver/hw/nxagent/Image.c --- a/nx-X11/programs/Xserver/hw/nxagent/Image.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Image.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Image.c
@@ -644,6 +644,10 @@ @@ -644,6 +644,10 @@
pDrawable -> depth != 1 && pDrawable -> depth != 1 &&
nxagentOption(DeferLevel) >= 1) nxagentOption(DeferLevel) >= 1)
......
--- a/nxagent/programs/Xserver/hw/nxagent/Window.c --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -176,6 +176,14 @@ @@ -176,6 +176,14 @@
static int nxagentForceExposure(WindowPtr pWin, pointer ptr); static int nxagentForceExposure(WindowPtr pWin, pointer ptr);
......
--- a/nxagent/programs/Xserver/hw/nxagent/Init.c --- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Init.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -64,6 +64,9 @@ @@ -64,6 +64,9 @@
#include "NX.h" #include "NX.h"
#include "NXlib.h" #include "NXlib.h"
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
} }
void InitInput(argc, argv) void InitInput(argc, argv)
--- a/nxagent/programs/Xserver/hw/nxagent/Rootless.c --- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Rootless.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -32,6 +32,10 @@ @@ -32,6 +32,10 @@
#include "NXlib.h" #include "NXlib.h"
......
--- a/nxagent/programs/Xserver/hw/nxagent/Screen.c --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1539,7 +1539,20 @@ @@ -1539,7 +1539,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",
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
if (nxagentOption(Fullscreen)) if (nxagentOption(Fullscreen))
{ {
--- a/nxagent/programs/Xserver/hw/nxagent/Screen.h --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.h
+++ b/nxagent/programs/Xserver/hw/nxagent/Screen.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.h
@@ -36,6 +36,8 @@ @@ -36,6 +36,8 @@
#define MIN_NXAGENT_HEIGHT 60 #define MIN_NXAGENT_HEIGHT 60
#define NXAGENT_FRAME_WIDTH 2000 #define NXAGENT_FRAME_WIDTH 2000
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#define nxagentSetPrintGeometry(screen) \ #define nxagentSetPrintGeometry(screen) \
nxagentPrintGeometryFlags = (1 << (screen)); nxagentPrintGeometryFlags = (1 << (screen));
--- a/nxagent/programs/Xserver/hw/nxagent/Display.c --- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Display.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1861,7 +1861,7 @@ @@ -1861,7 +1861,7 @@
strncpy(default_path, "", 255); strncpy(default_path, "", 255);
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
strcat(default_path,icon_filename); strcat(default_path,icon_filename);
if ((icon_fp = fopen(default_path, "r")) == NULL) if ((icon_fp = fopen(default_path, "r")) == NULL)
--- a/nxagent/programs/Xserver/hw/nxagent/Splash.c --- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Splash.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -204,6 +204,7 @@ @@ -204,6 +204,7 @@
nxagentPixmapLogo = XCreatePixmap(nxagentDisplay, win, width, height, nxagentLogoDepth); nxagentPixmapLogo = XCreatePixmap(nxagentDisplay, win, width, height, nxagentLogoDepth);
......
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