Commit 9113131a authored by Orion Poplawski's avatar Orion Poplawski Committed by Mike Gabriel

Change build options so that bundled libraries are not used anymore at build…

Change build options so that bundled libraries are not used anymore at build time. Remove bundled libraries from rolled tarballs, as well. (Fixes: #116, #238).
parent d90c457c
nx-libs (2:3.5.0.21-0) UNRELEASED; urgency=low
[ Mike Gabriel ]
* Provide a default keystrokes.cfg in /etc/nx (for nxagent) and /etc/x2go
(for x2goagent). (Fixes: #199).
* Use a keystrokes.cfg that reflects the normally hard-coded defaults of
......@@ -10,6 +11,11 @@ nx-libs (2:3.5.0.21-0) UNRELEASED; urgency=low
+ Only install keystrokes.cfg when in full mode.
+ Only install nxproxy wrapper when in lite mode.
[ Orion Poplawski ]
* Change build options so that bundled libraries are not used anymore at
build time. Remove bundled libraries from rolled tarballs, as well. (Fixes:
#238).
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 28 Mar 2013 21:07:42 +0100
nx-libs (2:3.5.0.20-0) unstable; urgency=low
......
From e3569945417272ea2556d4b77b6bc041fdea885f Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Wed, 10 Jul 2013 14:09:45 -0600
Subject: [PATCH 2/2] Build option changes to not use bundled libraries
---
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
@@ -1019,3 +1020,6 @@
#endif
#endif /* #if !defined(NXZaurusXServer) && !defined(NXiPAQXServer) && !defined(DarwinArchitecture) */
+
+#define BuildRman NO
+#define BuildFontEncLib 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::
......@@ -46,6 +46,7 @@
301_nx-X11_use-shared-libs.full.patch
302_nxagent_configurable-keystrokes.full.patch
600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch
601-nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch
999_nxagent_unbrand-nxagent-brand-x2goagent.full.patch
016_nx-X11_install-location.debian.patch
102_xserver-xext_set-securitypolicy-path.debian.patch
......@@ -133,6 +133,10 @@ test -f replace.sh || test -f debian/Makefile.replace.sh && cp -v debian/Makefil
# remove folders that we do not want to roll into the tarball
rm -Rf ".pc/"
rm -Rf "debian/"
# bundled libraries we do not need
rm -Rf nx-X11/extras/{drm,expat,fontconfig,freetype2,fonts,ogl-sample,regex,rman,ttf2pt1,x86emu,zlib}
rm -Rf nx-X11/lib/{expat,fontconfig,fontenc,font/FreeType,font/include/fontenc.h,freetype2,regex,zlib}
# remove files, that we do not want in the tarballs (build cruft)
rm -Rf nx*/configure nx*/autom4te.cache*
......
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