[PATCH] Improving Linux defaults.

Matěj Cepl mcepl at redhat.com
Wed Aug 10 04:42:04 PDT 2011


After spending on this more time than I would like to, I think
the best way would be to keep it conservative. Things I suggest
to have Linux-wide are in my opinion non-controversial boring
defaults.

Concerning the paths, when I was thinking about what Debian
values do for them, I have decided to keep them Red Hat specific.

What do you think?

Matěj

Patch by Than Ngo <than at fedoraproject.org>

Signed-off-by: Matěj Cepl <mcepl at redhat.com>
---
 linux.cf |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/linux.cf b/linux.cf
index af73c29..18b7acc 100644
--- a/linux.cf
+++ b/linux.cf
@@ -119,7 +119,6 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
 # define SharedLibFont		NO
 # define SharedLibGlu		YES
 # define NormalLibGlu		YES
-# define FSUseSyslog		YES
 
 # define BuildLibGlxWithoutPIC  NO
 
@@ -153,8 +152,6 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
 #  define ForceNormalLib		YES
 #  define BuildSpecsDocs		YES
 #  define SpecsDocDirs			CTEXT GL ICCCM X11 Xext Xv i18n xterm
-#  define BuildRman			NO
-#  define BuildHtmlManPages		NO
 
 /* we build-depend on libfreetype6-dev (FreeType 2.x) */
 #   define BuildFreetype2Library	NO
@@ -190,7 +187,22 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
 #endif /* LinuxDebian */
 
 #if LinuxDistribution == LinuxRedHat
-#define FSUseSyslog		YES
+# define ProjectRoot		/usr
+# define ManPath		/usr/share/man
+# define XAppLoadDir		/usr/share/X11/app-defaults
+# define ConfigDir		/usr/share/X11/config
+#endif
+
+#ifndef FSUseSyslog
+# define FSUseSyslog		YES
+#endif
+
+#ifndef BuildRman
+# define BuildRman          NO
+#endif
+
+#ifndef BuildHtmlManPages
+# define BuildHtmlManPages  NO
 #endif
 
 #ifndef HasDevRandom
-- 
1.7.6



More information about the xorg-devel mailing list