Commit 11980c79 authored by Mike Gabriel's avatar Mike Gabriel

Drop patch 032, fix other patches so that installation via make install installs…

Drop patch 032, fix other patches so that installation via make install installs NX components to /usr/local/lib/nx and /usr/local/include/nx.
parent fbb3ba91
...@@ -4,6 +4,8 @@ nx-libs (2:3.5.0.16-0) UNRELEASED; urgency=low ...@@ -4,6 +4,8 @@ nx-libs (2:3.5.0.16-0) UNRELEASED; urgency=low
* Fix patch file names concerning component nx-X11. * Fix patch file names concerning component nx-X11.
* Modify patch: 032_no-x11r6.full.patch. Install nx-X11 to /usr/local/lib/nx. * Modify patch: 032_no-x11r6.full.patch. Install nx-X11 to /usr/local/lib/nx.
* Add patch: 032_no-x11r6.debian.patch. Use /usr/lib/nx for nx-X11 on Debian. * Add patch: 032_no-x11r6.debian.patch. Use /usr/lib/nx for nx-X11 on Debian.
* Drop patch 032, fix other patches so that installation via make install
installs NX components to /usr/local/lib/nx and /usr/local/include/nx.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 21 Sep 2012 10:06:54 +0200 -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 21 Sep 2012 10:06:54 +0200
......
usr/bin usr/bin
usr/lib/nx usr/lib/nx/bin
usr/share/nx usr/share/nx
\ No newline at end of file
nx-X11/programs/Xserver/nxagent usr/lib/nx nx-X11/programs/Xserver/nxagent usr/lib/nx/bin
bin/nxagent usr/bin bin/nxagent usr/bin
debian/rgb usr/share/nx debian/rgb usr/share/nx
debian/nxagent.keyboard etc/nxagent debian/nxagent.keyboard etc/nxagent
......
usr/bin usr/bin
usr/lib/nx usr/lib/nx/bin
nx-X11/programs/nxauth/nxauth usr/lib/nx/ nx-X11/programs/nxauth/nxauth usr/lib/nx/bin
bin/nxauth usr/bin bin/nxauth usr/bin
usr/bin usr/bin
usr/lib/nx usr/lib/nx/bin
nxproxy/nxproxy usr/lib/nx nxproxy/nxproxy usr/lib/nx/bin
bin/nxproxy usr/bin bin/nxproxy usr/bin
...@@ -30,3 +30,125 @@ Last-Update: 2012-12-31 ...@@ -30,3 +30,125 @@ Last-Update: 2012-12-31
#ifndef AlternateIncRoot #ifndef AlternateIncRoot
#define AlternateIncRoot YES #define AlternateIncRoot YES
#endif #endif
--- a/nx-X11/config/cf/X11.rules
+++ b/nx-X11/config/cf/X11.rules
@@ -36,17 +36,17 @@
#endif
#if defined(X11ProjectRoot)
-# define XBinDir $(XPROJECTROOT)/bin
+# define XBinDir $(XPROJECTROOT)/lib/nx/bin
#elif defined(ProjectRoot)
-# define XBinDir $(PROJECTROOT)/bin
+# define XBinDir $(PROJECTROOT)/lib/nx/bin
#else
# define XBinDir $(BINDIR)
#endif
#ifdef X11ProjectRoot
-# define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib
+# define XUsrLibDirPath $(USRLIBDIR)/nx:$(XPROJECTROOT)
#else
-# define XUsrLibDirPath $(USRLIBDIR)
+# define XUsrLibDirPath $(USRLIBDIR)/nx
#endif
#ifdef UsrLibDirPath
# undef UsrLibDirPath
@@ -60,7 +60,7 @@
#if ImportX11
# define XLdPreLibs -L$(LIBSRC)
#elif defined(UseInstalledX11) && defined(X11ProjectRoot)
-# define XLdPreLibs -L$(XPROJECTROOT)/lib
+# define XLdPreLibs -L$(XPROJECTROOT)
#else
# define XLdPreLibs /**/
#endif
@@ -70,7 +70,7 @@
#define LdPreLibs LdPreLib XLdPreLibs
#ifdef X11ProjectRoot
-# define XLdPostLibs -L$(XPROJECTROOT)/lib
+# define XLdPostLibs -L$(XPROJECTROOT)
#else
# define XLdPostLibs /**/
#endif
@@ -86,7 +86,7 @@
# define TopXInclude -I$(TOP)/exports/include
#else
# ifdef X11ProjectRoot
-# define TopXInclude -I$(XPROJECTROOT)/include
+# define TopXInclude -I$(XPROJECTROOT)/../../include/nx
# else
# define TopXInclude /**/
# endif
@@ -98,7 +98,7 @@
#define TopIncludes TopInclude $(TOP_X_INCLUDES)
#if UseInstalledX11 && defined(X11ProjectRoot)
-# define X11BuildLibPath $(XPROJECTROOT)/lib
+# define X11BuildLibPath $(XPROJECTROOT)
#elif UseInstalledX11
# define X11BuildLibPath $(USRLIBDIR)
#elif ImportX11
--- a/nx-X11/config/cf/X11.tmpl
+++ b/nx-X11/config/cf/X11.tmpl
@@ -1401,7 +1401,7 @@
#ifndef BinDir
#ifdef ProjectRoot
-#define BinDir Concat(ProjectRoot,/bin)
+#define BinDir Concat(ProjectRoot,/lib/nx/bin)
#else
#define BinDir /usr/bin/X11
#endif
@@ -1461,7 +1461,7 @@
#endif
#ifndef LibDir
# ifdef ProjectRoot
-# define LibDir Concat(ProjectRoot,/lib/X11)
+# define LibDir Concat(ProjectRoot,/lib/nx/X11)
# else
# define LibDir /usr/lib/X11
# endif
--- a/nx-X11/config/cf/linux.cf
+++ b/nx-X11/config/cf/linux.cf
@@ -1054,7 +1054,7 @@
#if HaveLib64
# ifndef LibDirName
-# define LibDirName lib64
+# define LibDirName lib
# endif
# ifndef SystemUsrLibDir
# define SystemUsrLibDir /usr/lib64
--- a/nx-X11/config/cf/site.def
+++ b/nx-X11/config/cf/site.def
@@ -72,7 +72,7 @@
#ifdef AfterVendorCF
#ifndef ProjectRoot
-#define ProjectRoot /usr/local/lib/nx
+#define ProjectRoot /usr/local
#endif
/*
@@ -87,7 +87,7 @@
* ProjectRoot rather than in /etc/X11. See also HasVarDirectory,
* UseEtcX11 and UseSeparateConfDir.
*
-#define EtcX11Directory ProjectRoot/etc
+#define EtcX11Directory /etc/nx
*/
--- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in
@@ -33,7 +33,7 @@
srcdir = @srcdir@
prefix = @prefix@
-exec_prefix = @exec_prefix@
+exec_prefix = @exec_prefix@/lib/nx
bindir = @bindir@
man1dir = @mandir@/man1
VPATH = @srcdir@
...@@ -30,4 +30,4 @@ ...@@ -30,4 +30,4 @@
+ +
+export LD_LIBRARY_PATH +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/nxagent "$@" +exec $NX_LIBS/bin/nxagent "$@"
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
+test -d $NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS +test -d $NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
+export LD_LIBRARY_PATH +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/nxauth "$@" +exec $NX_LIBS/bin/nxauth "$@"
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
+test -d $NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS +test -d $NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
+export LD_LIBRARY_PATH +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/nxproxy "$@" +exec $NX_LIBS/bin/nxproxy "$@"
...@@ -30,4 +30,4 @@ ...@@ -30,4 +30,4 @@
+ +
+export LD_LIBRARY_PATH +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/../x2go/x2goagent "$@" +exec $NX_LIBS/../x2go/bin/x2goagent "$@"
--- a/nx-X11/config/cf/site.def
+++ b/nx-X11/config/cf/site.def
@@ -72,7 +72,7 @@
#ifdef AfterVendorCF
#ifndef ProjectRoot
-#define ProjectRoot /usr/local/lib/nx
+#define ProjectRoot /usr/lib/nx
#endif
/*
Description: No X11R6 Project Root
We must not overlap with any existing files, therefore, both
/usr/X11R6 and /usr are excluded possibilities for ProjectRoot.
Use %_libexecdir/somename, since that is still allowed by FHS.
Forward: pending
Author: Jan Engelhardt <jengelh@medozas.de>
Last-Update: 2012-01-27 01:35:49.164415307 +0100
---
nx-X11/config/cf/site.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: nx-X11/config/cf/site.def
===================================================================
--- a/nx-X11/config/cf/site.def
+++ b/nx-X11/config/cf/site.def
@@ -72,7 +72,7 @@ XCOMM site: $XFree86: xc/config/cf/site
#ifdef AfterVendorCF
#ifndef ProjectRoot
-#define ProjectRoot /usr/X11R6
+#define ProjectRoot /usr/local/lib/nx
#endif
/*
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
023_add-x2goagent-wrapper.full.patch 023_add-x2goagent-wrapper.full.patch
030_nx-X11_configure-args.full.patch 030_nx-X11_configure-args.full.patch
031_nx-X11_parallel-make.full.patch 031_nx-X11_parallel-make.full.patch
032_no-x11r6.full.patch
051_nxcomp_macos105-fdisset.full+lite.patch 051_nxcomp_macos105-fdisset.full+lite.patch
052_nxcomp_macos10-nxauth-location.full+lite.patch 052_nxcomp_macos10-nxauth-location.full+lite.patch
101_nxagent_set-rgb-path.full.patch 101_nxagent_set-rgb-path.full.patch
...@@ -48,4 +47,3 @@ ...@@ -48,4 +47,3 @@
999_nxagent_unbrand-nxagent-brand-x2goagent.full.patch 999_nxagent_unbrand-nxagent-brand-x2goagent.full.patch
016_nx-X11_install-location.debian.patch 016_nx-X11_install-location.debian.patch
102_xserver-xext_set-securitypolicy-path.debian.patch 102_xserver-xext_set-securitypolicy-path.debian.patch
032_no-x11r6.debian.patch
usr/lib/nx/nxagent usr/lib/x2go/x2goagent usr/lib/nx/bin/nxagent usr/lib/x2go/bin/x2goagent
...@@ -72,7 +72,7 @@ XCOMM site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Ex ...@@ -72,7 +72,7 @@ XCOMM site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Ex
#ifdef AfterVendorCF #ifdef AfterVendorCF
#ifndef ProjectRoot #ifndef ProjectRoot
#define ProjectRoot /usr/X11R6 #define ProjectRoot /usr/local/lib/nx
#endif #endif
/* /*
......
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