Blame SOURCES/motif-2.3.4-mwmrc_dir.patch

191407
diff -up openmotif-2.3.3/clients/mwm/WmResParse.c.mwmrc_dir openmotif-2.3.3/clients/mwm/WmResParse.c
191407
--- openmotif-2.3.3/clients/mwm/WmResParse.c.mwmrc_dir	2009-06-22 23:51:51.000000000 +0200
191407
+++ openmotif-2.3.3/clients/mwm/WmResParse.c	2010-03-23 13:37:03.000000000 +0100
191407
@@ -2403,7 +2403,7 @@ FILE *FopenConfigFile (void)
191407
 #endif /* PANELIST */
191407
 
191407
 #ifndef MWMRCDIR
191407
-#define MWMRCDIR "/usr/lib/X11"
191407
+#define MWMRCDIR "/etc/X11/mwm"
191407
 #endif
191407
     if (LANG != NULL)
191407
     {
191407
diff -up openmotif-2.3.3/configure.ac.mwmrc_dir openmotif-2.3.3/configure.ac
191407
--- openmotif-2.3.3/configure.ac.mwmrc_dir	2009-10-27 17:10:23.000000000 +0100
191407
+++ openmotif-2.3.3/configure.ac	2010-03-23 13:38:33.000000000 +0100
191407
@@ -179,7 +179,7 @@ AC_SUBST(CDE_CONFIGURATION_TOP)
191407
 LIBDIR="${libdir}/X11"
191407
 AC_SUBST(LIBDIR)
191407
 
191407
-MWMRCDIR="${libdir}/X11"
191407
+MWMRCDIR="/etc/X11/mwm"
191407
 AC_SUBST(MWMRCDIR)
191407
 
191407
 INCDIR="${includedir}/X11"
191407
diff -up openmotif-2.3.3/doc/man/man1/mwm.1.mwmrc_dir openmotif-2.3.3/doc/man/man1/mwm.1
191407
--- openmotif-2.3.3/doc/man/man1/mwm.1.mwmrc_dir	2002-01-05 16:21:11.000000000 +0100
191407
+++ openmotif-2.3.3/doc/man/man1/mwm.1	2010-03-23 13:37:03.000000000 +0100
191407
@@ -678,8 +678,8 @@ is set, \fBmwm\fP looks for \fI$HOME/$LA
191407
 \fB$HOME\fP/\fBconfigFile\fP\&. If the \fIconfigFile\fP pathname does not begin with "~/" or "/", \fBmwm\fP considers it to be relative to the current working directory\&. If
191407
 the \fIconfigFile\fP resource is not specified
191407
 or if that file does not exist, \fBmwm\fP uses several default
191407
-paths to find a configuration file\&. The order of the search is shown below: \fB/usr/X11R6/lib/X11/$LANG/system\&.mwmrc\fP\(dg
191407
-\fB/usr/X11R6/lib/X11/system\&.mwmrc\fP\(dg Paths marked with \&'\(dg\&' are
191407
+paths to find a configuration file\&. The order of the search is shown below: \fB/etc/X11/mwm/$LANG/system\&.mwmrc\fP\(dg
191407
+\fB/etc/X11/mwm/system\&.mwmrc\fP\(dg Paths marked with \&'\(dg\&' are
191407
 implementation dependent\&.
191407
 .IP "\fIdeiconifyKeyFocus\fP\ (class\  \fIDeiconifyKeyFocus\fP)" 10
191407
 This resource applies only when the keyboard input focus policy is explicit\&.
191407
@@ -1344,9 +1344,9 @@ the shell to use when executing commands
191407
 function\&.
191407
 .SS "Files"
191407
 .PP
191407
-\fB/usr/X11R6/lib/X11/$LANG/system\&.mwmrc\fP
191407
+\fB/etc/X11/mwm/$LANG/system\&.mwmrc\fP
191407
 .PP
191407
-\fB/usr/X11R6/lib/X11/system\&.mwmrc\fP
191407
+\fB/etc/X11/mwm/system\&.mwmrc\fP
191407
 .PP
191407
 \fB/usr/X11R6/lib/X11/app-defaults/Mwm\fP
191407
 .PP
191407
diff -up openmotif-2.3.3/doc/man/man4/mwmrc.4.mwmrc_dir openmotif-2.3.3/doc/man/man4/mwmrc.4
191407
--- openmotif-2.3.3/doc/man/man4/mwmrc.4.mwmrc_dir	2002-01-05 16:21:12.000000000 +0100
191407
+++ openmotif-2.3.3/doc/man/man4/mwmrc.4	2010-03-23 13:37:03.000000000 +0100
191407
@@ -57,7 +57,7 @@ file that controls much of the behavior 
191407
 It contains descriptions of resources that cannot easily be
191407
 written using standard X Window System, Version 11 resource syntax\&. The resource
191407
 description file contains entries that are referred to by X resources in
191407
-defaults files (for example, \fB/usr/X11R6/lib/X11/app-defaults/Mwm\fP)
191407
+defaults files (for example, \fB/usr/share/X11/app-defaults/Mwm\fP)
191407
 or in the \fBRESOURCE_MANAGER\fP property on the
191407
 root window\&. For example, the resource description file enables you to specify
191407
 different types of window menus; however, an X resource is used to specify
191407
@@ -72,8 +72,8 @@ on a per-user basis:
191407
 .nf
191407
 \f(CW$HOME/$LANG/\&.mwmrc
191407
 $HOME/\&.mwmrc
191407
-/usr/X11R6/lib/X11/$LANG/system\&.mwmrc
191407
-/usr/X11R6/lib/X11/system\&.mwmrc\fR
191407
+/etc/X11/mwm/$LANG/system\&.mwmrc
191407
+/etc/X11/mwm/system\&.mwmrc\fR
191407
 .fi
191407
 .PP
191407
 .PP
191407
@@ -84,7 +84,7 @@ resource\&. The following shows how a di
191407
 be specified from the command line:
191407
 .PP
191407
 .nf
191407
-\f(CW/usr/X11R6/bin/X11/mwm -xrm "mwm*configFile: mymwmrc"\fR
191407
+\f(CW/usr/bin/mwm -xrm "mwm*configFile: mymwmrc"\fR
191407
 .fi
191407
 .PP
191407
 .SS "Resource Types"
191407
@@ -626,8 +626,8 @@ is not what you expect\&.
191407
 .nf
191407
 \fB$HOME/$LANG/\&.mwmrc
191407
 $HOME/\&.mwmrc
191407
-/usr/X11R6/lib/X11/$LANG/system\&.mwmrc
191407
-/usr/X11R6/lib/X11/system\&.mwmrc\fP
191407
+/etc/X11/mwm/$LANG/system\&.mwmrc
191407
+/etc/X11/mwm/system\&.mwmrc\fP
191407
 .fi
191407
 .SH "RELATED INFORMATION"
191407
 .PP