aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrion Poplawski <orion@nwra.com>2015-02-13 13:30:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-13 13:30:31 +0100
commit456f887d95ca34974c1192a477dfca117827457f (patch)
tree2540332456afb36c4c8cff6d47a7f7494a9b2dee
parentc4a8556c45786c83b04b2e958234cb4c724e1910 (diff)
downloadnx-libs-456f887d95ca34974c1192a477dfca117827457f.tar.gz
nx-libs-456f887d95ca34974c1192a477dfca117827457f.tar.bz2
nx-libs-456f887d95ca34974c1192a477dfca117827457f.zip
Do not build bundled libraries (601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch).
This commit has been submitted by Orion in two portions. One was submitted to X2Go BTS and created on Wed, 10 Jul 2013. The other portion has been taken from the Fedora package by Mike Gabriel and worked into this patch on Fri, 06 Dec 2013.
-rw-r--r--debian/patches/601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch99
-rw-r--r--debian/patches/series1
-rw-r--r--nx-X11/config/cf/host.def17
-rw-r--r--nx-X11/lib/Imakefile6
-rw-r--r--nx-X11/lib/font/include/Imakefile2
5 files changed, 14 insertions, 111 deletions
diff --git a/debian/patches/601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch b/debian/patches/601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch
deleted file mode 100644
index dbb2e85b0..000000000
--- a/debian/patches/601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-Description: Do not build bundled libraries.
-Author: Orion Poplawski <orion@nwra.com>
-Abstract:
- This commit has been submitted by Orion in two
- portions. One was submitted to X2Go BTS and created
- on Wed, 10 Jul 2013.
- .
- The other portion has been taken from the Fedora
- package by Mike Gabriel and worked into this
- patch on Fri, 06 Dec 2013.
----
- nx-X11/config/cf/host.def | 10 +++++++---
- nx-X11/lib/font/include/Imakefile | 2 +-
- 2 files changed, 8 insertions(+), 4 deletions(-)
-
---- a/nx-X11/config/cf/host.def
-+++ b/nx-X11/config/cf/host.def
-@@ -311,6 +311,7 @@
- *
- #define BuildFreeType NO
- */
-+#define BuildFreeType NO
-
- /*
- * To set non-default build options for the underlying FreeType libraries,
-@@ -892,7 +893,7 @@
- *
- #define HasFreetype2 NO
- */
--#define HasFreetype2 NO
-+#define HasFreetype2 YES
-
- /*
- * To use a FreeType library already installed outside the default search
-@@ -909,7 +910,7 @@
- *
- #define HasFontconfig NO
- */
--#define HasFontconfig NO
-+#define HasFontconfig YES
-
- /*
- * To use a Fontconfig library already installed outside the default search
-@@ -925,7 +926,7 @@
- *
- #define HasExpat NO
- */
--#define HasExpat NO
-+#define HasExpat YES
-
- /*
- * To use a Expat library already installed outside the default search
-@@ -961,7 +962,7 @@
-
- #define SharedLibXdmcp YES
-
--#define BuildXaw7 YES
-+#define BuildXaw7 NO
-
- #else /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
-
-@@ -1019,3 +1020,11 @@
- #endif
-
- #endif /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
-+
-+#define BuildRman NO
-+#define BuildFontEncLib NO
-+#define BuildXcursorLibrary NO
-+#define BuildXftLibrary NO
-+#define BuildXft1Library NO
-+#define SharedLibFont NO
-+#define BuildLoadableXlibI18n NO
---- a/nx-X11/lib/font/include/Imakefile
-+++ b/nx-X11/lib/font/include/Imakefile
-@@ -1,5 +1,5 @@
- XCOMM $Xorg$
-- HEADERS = bitmap.h bufio.h fntfil.h fntfilio.h fntfilst.h fontenc.h \
-+ HEADERS = bitmap.h bufio.h fntfil.h fntfilio.h fntfilst.h \
- fontencc.h fontmisc.h fontmod.h fontshow.h fontutil.h \
- fontxlfd.h
- all::
---- a/nx-X11/lib/Imakefile
-+++ b/nx-X11/lib/Imakefile
-@@ -213,14 +213,8 @@
-
- #if BuildLibraries
- OLDXLIBDIR = oldX
--ICELIBDIR = ICE
--SMLIBDIR = SM
--XTLIBDIR = Xt
--XMULIBDIR = Xmu
--XMUULIBDIR = Xmuu
- XPMLIBDIR = Xpm
- XTSTLIBDIR = Xtst
--FSLIBDIR = FS
- #endif
-
-
diff --git a/debian/patches/series b/debian/patches/series
index 6a20a8f47..21cf21d53 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
#401_nxcomp_bigrequests-and-genericevent-extensions.full+lite.patch
-601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch
602_nx-X11_initgroups.full.patch
603_nx-X11_compilation_warnings.full.patch
605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full+lite.patch
diff --git a/nx-X11/config/cf/host.def b/nx-X11/config/cf/host.def
index 2193a4711..9b482c620 100644
--- a/nx-X11/config/cf/host.def
+++ b/nx-X11/config/cf/host.def
@@ -311,6 +311,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
*
#define BuildFreeType NO
*/
+#define BuildFreeType NO
/*
* To set non-default build options for the underlying FreeType libraries,
@@ -892,7 +893,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
*
#define HasFreetype2 NO
*/
-#define HasFreetype2 NO
+#define HasFreetype2 YES
/*
* To use a FreeType library already installed outside the default search
@@ -909,7 +910,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
*
#define HasFontconfig NO
*/
-#define HasFontconfig NO
+#define HasFontconfig YES
/*
* To use a Fontconfig library already installed outside the default search
@@ -925,7 +926,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
*
#define HasExpat NO
*/
-#define HasExpat NO
+#define HasExpat YES
/*
* To use a Expat library already installed outside the default search
@@ -961,7 +962,7 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
#define SharedLibXdmcp YES
-#define BuildXaw7 YES
+#define BuildXaw7 NO
#else /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
@@ -1019,3 +1020,11 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
#endif
#endif /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
+
+#define BuildRman NO
+#define BuildFontEncLib NO
+#define BuildXcursorLibrary NO
+#define BuildXftLibrary NO
+#define BuildXft1Library NO
+#define SharedLibFont NO
+#define BuildLoadableXlibI18n NO
diff --git a/nx-X11/lib/Imakefile b/nx-X11/lib/Imakefile
index 240e8b330..cf4109bd0 100644
--- a/nx-X11/lib/Imakefile
+++ b/nx-X11/lib/Imakefile
@@ -213,14 +213,8 @@ XEXTLIBDIR = Xext
#if BuildLibraries
OLDXLIBDIR = oldX
-ICELIBDIR = ICE
-SMLIBDIR = SM
-XTLIBDIR = Xt
-XMULIBDIR = Xmu
-XMUULIBDIR = Xmuu
XPMLIBDIR = Xpm
XTSTLIBDIR = Xtst
-FSLIBDIR = FS
#endif
diff --git a/nx-X11/lib/font/include/Imakefile b/nx-X11/lib/font/include/Imakefile
index 91c84e6ec..73e65a41c 100644
--- a/nx-X11/lib/font/include/Imakefile
+++ b/nx-X11/lib/font/include/Imakefile
@@ -1,5 +1,5 @@
XCOMM $Xorg$
- HEADERS = bitmap.h bufio.h fntfil.h fntfilio.h fntfilst.h fontenc.h \
+ HEADERS = bitmap.h bufio.h fntfil.h fntfilio.h fntfilst.h \
fontencc.h fontmisc.h fontmod.h fontshow.h fontutil.h \
fontxlfd.h
all::