Blame SOURCES/motif-2.3.4-mwmrc_dir.patch

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