diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2006-04-18 17:28:44 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2006-04-18 17:28:44 +0000 |
commit | 782d61a03176264e0a9eb222ae97be3d175cf0ab (patch) | |
tree | bbf681139626f31e65677f35adfcb9d6864f04fd /hw/xfree86/utils/xorgcfg | |
parent | 0f065059dcaf9c452f1cdec115f619f697fd71cc (diff) |
Update all prefixes in config tools, so they mostly work again. Also, make
RgbPath commented out when using xorgconfig. Start using
/dev/input/mice as the default mouse location on Linux.
Diffstat (limited to 'hw/xfree86/utils/xorgcfg')
-rw-r--r-- | hw/xfree86/utils/xorgcfg/interface.c | 4 | ||||
-rw-r--r-- | hw/xfree86/utils/xorgcfg/keyboard-cfg.c | 2 | ||||
-rw-r--r-- | hw/xfree86/utils/xorgcfg/keyboard-cfg.h | 2 | ||||
-rw-r--r-- | hw/xfree86/utils/xorgcfg/loader.c | 4 | ||||
-rw-r--r-- | hw/xfree86/utils/xorgcfg/text-mode.c | 8 |
5 files changed, 11 insertions, 9 deletions
diff --git a/hw/xfree86/utils/xorgcfg/interface.c b/hw/xfree86/utils/xorgcfg/interface.c index e329d909f..b6ac82a06 100644 --- a/hw/xfree86/utils/xorgcfg/interface.c +++ b/hw/xfree86/utils/xorgcfg/interface.c @@ -1,4 +1,4 @@ -/* $XdotOrg: $ */ +/* $XdotOrg: xserver/xorg/hw/xfree86/utils/xorgcfg/interface.c,v 1.8 2005/11/08 06:33:30 jkj Exp $ */ /* * Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com) * @@ -65,7 +65,7 @@ #ifdef PROJECT_ROOT #define DefaultXFree86Dir PROJECT_ROOT #else -#define DefaultXFree86Dir "/usr/X11R6" +#define DefaultXFree86Dir "/usr" #endif #define IS_KBDDRIV(S) ((strcasecmp((S),"kbd") == 0) || \ diff --git a/hw/xfree86/utils/xorgcfg/keyboard-cfg.c b/hw/xfree86/utils/xorgcfg/keyboard-cfg.c index 05b1aeb09..2e82323be 100644 --- a/hw/xfree86/utils/xorgcfg/keyboard-cfg.c +++ b/hw/xfree86/utils/xorgcfg/keyboard-cfg.c @@ -72,7 +72,7 @@ static void UpdateRulesPopups(void); */ static XF86XkbRulesDescInfo **xkb_desc, *xkb_rules; static int num_xkb_desc; -static char *XkbRulesDir = "lib/X11/xkb/rules/"; +static char *XkbRulesDir = "share/X11/xkb/rules/"; #ifdef XFREE98_XKB static char *XkbRulesFile = "xfree98"; #else diff --git a/hw/xfree86/utils/xorgcfg/keyboard-cfg.h b/hw/xfree86/utils/xorgcfg/keyboard-cfg.h index 915bb0b40..64438bd71 100644 --- a/hw/xfree86/utils/xorgcfg/keyboard-cfg.h +++ b/hw/xfree86/utils/xorgcfg/keyboard-cfg.h @@ -38,7 +38,7 @@ /* * All file names are from XProjectRoot or XWINHOME environment variable. */ -#define XkbConfigDir "lib/X11/xkb/" +#define XkbConfigDir "share/X11/xkb/" #define XkbConfigFile "X0-config.keyboard" /* diff --git a/hw/xfree86/utils/xorgcfg/loader.c b/hw/xfree86/utils/xorgcfg/loader.c index 98a661d89..37378701e 100644 --- a/hw/xfree86/utils/xorgcfg/loader.c +++ b/hw/xfree86/utils/xorgcfg/loader.c @@ -26,7 +26,7 @@ * * Author: Paulo César Pereira de Andrade <pcpa@conectiva.com.br> * - * $XdotOrg: xc/programs/Xserver/hw/xfree86/xf86cfg/loader.c,v 1.3 2004/12/04 00:43:11 kuhn Exp $ + * $XdotOrg: xserver/xorg/hw/xfree86/utils/xorgcfg/loader.c,v 1.5 2005/12/08 17:54:40 kem Exp $ * $XFree86: xc/programs/Xserver/hw/xfree86/xf86cfg/loader.c,v 1.19 2002/06/06 21:03:32 paulo Exp $ */ @@ -55,7 +55,7 @@ #include <stdarg.h> #ifndef OPTIONSPATH -#define OPTIONSPATH "/usr/X11R6/lib/X11" +#define OPTIONSPATH "/usr/lib/X11" #endif #ifndef SIGNALRETURNSINT diff --git a/hw/xfree86/utils/xorgcfg/text-mode.c b/hw/xfree86/utils/xorgcfg/text-mode.c index 3c6acce6e..bb61eae1e 100644 --- a/hw/xfree86/utils/xorgcfg/text-mode.c +++ b/hw/xfree86/utils/xorgcfg/text-mode.c @@ -1,4 +1,4 @@ -/* $XdotOrg: $ */ +/* $XdotOrg: xserver/xorg/hw/xfree86/utils/xorgcfg/text-mode.c,v 1.6 2005/12/08 17:54:40 kem Exp $ */ /* * Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com) * @@ -52,12 +52,12 @@ (strcmp((X), "keyboard") == 0)) #ifndef PROJECT_ROOT -#define PROJECT_ROOT "/usr/X11R6" +#define PROJECT_ROOT "/usr" #endif #ifndef XKB_RULES_DIR #ifndef __UNIXOS2__ -#define XKB_RULES_DIR PROJECT_ROOT "/lib/X11/xkb/rules" +#define XKB_RULES_DIR PROJECT_ROOT "/share/X11/xkb/rules" #else #define XKB_RULES_DIR XF86CONFIGDIR "/xkb/rules" #endif @@ -557,6 +557,8 @@ MouseConfig(void) str = "/dev/sysmouse"; #elif defined(__UNIXOS2__) str = "mouse$"; +#elif defined(__linux__) + str = "/dev/input/mice"; #else str = "/dev/mouse"; #endif |