[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree86 4.0.1 and app-defaults



On Thu, Jul 27, 2000 at 11:09:03AM -0500, Branden Robinson wrote:
> On Thu, Jul 27, 2000 at 01:32:32PM +0200, Christian T. Steigies wrote:
> > Are source packages available?
> 
> I'm probably going to regret posting this URL, especially since I'll have
> v3 -- which I *was* going to make public -- ready today, but...
> 
> http://deadbeast.net/~branden/DANGER_WILL_ROBINSON/
> 

Branden, ...

When i build XF4, i install it into /usr/X11R6.4, and patch it so that it uses
/etc/X11/XF86Config.4 instead of /etc/X11/XF86Config.4.

This as worked nicely to have both 3.3.6 and 4.x installed at the same time on
my boxes. 

Sure after that i have to modify /etc/ld.so.conf so it looks into
/usr/X11R6.4/lib and modify the path accordyingly. or use the appropriate
shell variables to do the same stuff.

Why don't use a similar trick with the debian package, at least during the
phase where the xf4 debian package are still flagged _dangerous_ this way you
can test it, and not jeopardize your debian XF3.x install ?

Here is the (rather smallish) patch to do this. If you like i could provide a
small shell script to switch between both server ?

Friendly,

Sven LUTHER
diff -u xc.orig/config/cf/site.def xc/config/cf/site.def
--- xc.orig/config/cf/site.def	Mon Apr 10 18:35:34 2000
+++ xc/config/cf/site.def	Mon Apr 10 19:42:15 2000
@@ -84,7 +84,7 @@
 #ifdef AfterVendorCF
 
 #ifndef ProjectRoot
-#define ProjectRoot /usr/X11R6
+#define ProjectRoot /usr/X11R6.4
 #endif
 
 /*
diff -u xc.orig/config/cf/xfree86.cf xc/config/cf/xfree86.cf
--- xc.orig/config/cf/xfree86.cf	Mon Apr 10 18:35:34 2000
+++ xc/config/cf/xfree86.cf	Mon Apr 10 19:42:31 2000
@@ -21,7 +21,7 @@
  */
 
 #ifndef XConfigFile
-#define XConfigFile		XF86Config
+#define XConfigFile		XF86Config.4
 #endif
 #ifndef XConfigDir
 #define XConfigDir		$(LIBDIR)

Reply to: