summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-03-23 08:17:22 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-03-23 08:17:22 +0000
commited02f4ba497b3ac052cd661e2e1b02fe26fc1708 (patch)
treec49a6880d799b6d5496de8839c50775feb229c73 /x11-base
parentVersion bump, as per bug #112120, reported by Bertrand Jacquin <beber.gentoo@... (diff)
downloadhistorical-ed02f4ba497b3ac052cd661e2e1b02fe26fc1708.tar.gz
historical-ed02f4ba497b3ac052cd661e2e1b02fe26fc1708.tar.bz2
historical-ed02f4ba497b3ac052cd661e2e1b02fe26fc1708.zip
(#117299) Fix xorgconfig, which was producing an invalid RgbPath setting. (#117071) Attempt to fix xorgcfg. I couldn't test without /etc/X11/xorg.conf because it was producing invalid modes on my monitor, but it worked when xorg.conf was present.
Package-Manager: portage-2.1_pre6-r3
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-server/ChangeLog10
-rw-r--r--x11-base/xorg-server/Manifest18
-rw-r--r--x11-base/xorg-server/files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch55
-rw-r--r--x11-base/xorg-server/files/1.0.2-try-to-fix-xorgcfg.patch95
-rw-r--r--x11-base/xorg-server/xorg-server-1.0.2.ebuild6
5 files changed, 175 insertions, 9 deletions
diff --git a/x11-base/xorg-server/ChangeLog b/x11-base/xorg-server/ChangeLog
index 4f13499d9fd3..7947171b20ab 100644
--- a/x11-base/xorg-server/ChangeLog
+++ b/x11-base/xorg-server/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for x11-base/xorg-server
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.89 2006/03/21 06:16:26 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.90 2006/03/23 08:17:22 spyderous Exp $
+
+ 23 Mar 2006; Donnie Berkholz <spyderous@gentoo.org>;
+ +files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch,
+ +files/1.0.2-try-to-fix-xorgcfg.patch, xorg-server-1.0.2.ebuild:
+ (#117299) Fix xorgconfig, which was producing an invalid RgbPath setting.
+ (#117071) Attempt to fix xorgcfg. I couldn't test without /etc/X11/xorg.conf
+ because it was producing invalid modes on my monitor, but it worked when
+ xorg.conf was present.
*xorg-server-1.0.2 (21 Mar 2006)
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
index cbfb8047195c..ec68169986e4 100644
--- a/x11-base/xorg-server/Manifest
+++ b/x11-base/xorg-server/Manifest
@@ -1,6 +1,12 @@
-MD5 42c9cfa96ccde469b7388ef1aa65ac5c ChangeLog 18290
-RMD160 3065a571eadfe7405ce48b5f8f2ec2db3c507382 ChangeLog 18290
-SHA256 83348c2c6035a55c2267d4d650216ceab5b6bfc04407ee9bacad2dd005423065 ChangeLog 18290
+MD5 84674d45b73bdbd6cbcd616ea2e97b38 ChangeLog 18723
+RMD160 f8e0f083cb28aad91f10aa639ab8ba1fc659690e ChangeLog 18723
+SHA256 c832f05e1de4adc7512d8e813813cb5ce703c7bbed94b34584acf73054fea65a ChangeLog 18723
+MD5 6d3ecb7a2b6736047a08447cda7f8ed6 files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch 2021
+RMD160 5cffbd24fc7d3d817b050de268ce23e64ed83b5d files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch 2021
+SHA256 6c32348b9c8460250b2600ae8672c5cadce4b5cca5577b9937a703afbfc57620 files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch 2021
+MD5 bf743bd4e1b1c3a6b3d3122f48f8f6a7 files/1.0.2-try-to-fix-xorgcfg.patch 3420
+RMD160 1dae01b97ba89cab4209371aa6de9f92fbb9a0e0 files/1.0.2-try-to-fix-xorgcfg.patch 3420
+SHA256 65193968dffac2127626ef9e05aa8da9ec32d39703e4c3530e89bab059dfed74 files/1.0.2-try-to-fix-xorgcfg.patch 3420
MD5 28ef3356bae2a3111683df5b09d957af files/digest-xorg-server-1.0.2 506
RMD160 a79839e89938026d9d530cde5c04938c24991f8f files/digest-xorg-server-1.0.2 506
SHA256 f51c5d0915b168cc810ab564ef88b854d97a461f83dbb60f0c018856582b9ca7 files/digest-xorg-server-1.0.2 506
@@ -13,6 +19,6 @@ SHA256 220bafc2023ef45413713d9463c4f593c5bc390a3bba009b0a20989fd8d3b05b files/xo
MD5 a37bab73e2f24b213932c30997d3d360 metadata.xml 156
RMD160 c1274bdccf57603d580de0075ba07a35b7509560 metadata.xml 156
SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055 metadata.xml 156
-MD5 53e24fb1251f50e8ab70b2a1f704e030 xorg-server-1.0.2.ebuild 4222
-RMD160 a3022d3336481c1e95df24c7ae1b6988bd92b8fa xorg-server-1.0.2.ebuild 4222
-SHA256 a1ec6b2cfc1c9597963d347315044c496742de4b9c438799dd9027f44fede52a xorg-server-1.0.2.ebuild 4222
+MD5 0527eca990167ba812fc40d703105e34 xorg-server-1.0.2.ebuild 4324
+RMD160 72417247fa8e2c97ef3751b61ebc5c67f768bf08 xorg-server-1.0.2.ebuild 4324
+SHA256 3419549920beffe41b8f6ff395539aaa5556f7a56dfb21c8cfddede0dc19cd54 xorg-server-1.0.2.ebuild 4324
diff --git a/x11-base/xorg-server/files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch b/x11-base/xorg-server/files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch
new file mode 100644
index 000000000000..dd106736d26d
--- /dev/null
+++ b/x11-base/xorg-server/files/1.0.2-fix-xorgconfig-rgbpath-and-mouse.patch
@@ -0,0 +1,55 @@
+Index: xorg/hw/xfree86/utils/xorgconfig/cards.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgconfig/cards.c,v
+retrieving revision 1.4
+diff -u -b -B -r1.4 cards.c
+--- xorg/hw/xfree86/utils/xorgconfig/cards.c 1 Jul 2005 22:43:35 -0000 1.4
++++ xorg/hw/xfree86/utils/xorgconfig/cards.c 23 Mar 2006 07:42:26 -0000
+@@ -19,7 +19,7 @@
+
+ /* Some vars to make path names in texts more flexible. */
+ #ifndef PROJECTROOT
+-# define PROJECTROOT "/usr/X11R6"
++# define PROJECTROOT "/usr"
+ #endif
+ #define TREEROOT PROJECTROOT
+ #define TREEROOTLX TREEROOT "/lib/X11"
+Index: xorg/hw/xfree86/utils/xorgconfig/xorgconfig.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgconfig/xorgconfig.c,v
+retrieving revision 1.19
+diff -u -b -B -r1.19 xorgconfig.c
+--- xorg/hw/xfree86/utils/xorgconfig/xorgconfig.c 8 Nov 2005 06:33:30 -0000 1.19
++++ xorg/hw/xfree86/utils/xorgconfig/xorgconfig.c 23 Mar 2006 07:42:28 -0000
+@@ -157,11 +157,12 @@
+ * may be more irritated than Unix users
+ */
+ #ifndef PROJECTROOT
+-#define PROJECTROOT "/usr/X11R6"
++#define PROJECTROOT "/usr"
+ #endif
+ #define TREEROOT PROJECTROOT
+ #define TREEROOTLX TREEROOT "/lib/X11"
+ #define TREEROOTCFG TREEROOT "/etc/X11"
++#define TREEROOTSHARE TREEROOT "/share/X11"
+ #ifdef XDOCDIR
+ # define TREEROOTDOC XDOCDIR
+ #else
+@@ -495,7 +496,7 @@
+ #elif defined(__FreeBSD__)
+ # define DEF_MOUSEDEV "/dev/sysmouse";
+ #else
+-# define DEF_MOUSEDEV "/dev/mouse";
++# define DEF_MOUSEDEV "/dev/input/mice";
+ #endif
+
+ #ifndef __UNIXOS2__
+@@ -1970,7 +1971,7 @@
+ "# file minus the extension (like \".txt\" or \".db\"). There is normally\n"
+ "# no need to change the default.\n"
+ "\n"
+-" RgbPath \"" TREEROOTLX "/rgb\"\n"
++"# RgbPath \"" TREEROOTSHARE "/rgb\"\n"
+ "\n"
+ "# Multiple FontPath entries are allowed (which are concatenated together),\n"
+ "# as well as specifying multiple comma-separated entries in one FontPath\n"
diff --git a/x11-base/xorg-server/files/1.0.2-try-to-fix-xorgcfg.patch b/x11-base/xorg-server/files/1.0.2-try-to-fix-xorgcfg.patch
new file mode 100644
index 000000000000..288d79c2f2fc
--- /dev/null
+++ b/x11-base/xorg-server/files/1.0.2-try-to-fix-xorgcfg.patch
@@ -0,0 +1,95 @@
+Index: xorg/hw/xfree86/utils/xorgcfg/interface.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgcfg/interface.c,v
+retrieving revision 1.8
+diff -u -b -B -r1.8 interface.c
+--- xorg/hw/xfree86/utils/xorgcfg/interface.c 8 Nov 2005 06:33:30 -0000 1.8
++++ xorg/hw/xfree86/utils/xorgcfg/interface.c 23 Mar 2006 07:42:49 -0000
+@@ -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) || \
+Index: xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.c,v
+retrieving revision 1.5
+diff -u -b -B -r1.5 keyboard-cfg.c
+--- xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.c 8 Nov 2005 06:33:30 -0000 1.5
++++ xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.c 23 Mar 2006 07:42:51 -0000
+@@ -72,7 +72,7 @@
+ */
+ 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
+Index: xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.h
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.h,v
+retrieving revision 1.3
+diff -u -b -B -r1.3 keyboard-cfg.h
+--- xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.h 4 Dec 2004 00:43:11 -0000 1.3
++++ xorg/hw/xfree86/utils/xorgcfg/keyboard-cfg.h 23 Mar 2006 07:42:51 -0000
+@@ -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"
+
+ /*
+Index: xorg/hw/xfree86/utils/xorgcfg/loader.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgcfg/loader.c,v
+retrieving revision 1.5
+diff -u -b -B -r1.5 loader.c
+--- xorg/hw/xfree86/utils/xorgcfg/loader.c 8 Dec 2005 17:54:40 -0000 1.5
++++ xorg/hw/xfree86/utils/xorgcfg/loader.c 23 Mar 2006 07:42:51 -0000
+@@ -55,7 +55,7 @@
+ #include <stdarg.h>
+
+ #ifndef OPTIONSPATH
+-#define OPTIONSPATH "/usr/X11R6/lib/X11"
++#define OPTIONSPATH "/usr/lib/X11"
+ #endif
+
+ #ifndef SIGNALRETURNSINT
+Index: xorg/hw/xfree86/utils/xorgcfg/text-mode.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/utils/xorgcfg/text-mode.c,v
+retrieving revision 1.6
+diff -u -b -B -r1.6 text-mode.c
+--- xorg/hw/xfree86/utils/xorgcfg/text-mode.c 8 Dec 2005 17:54:40 -0000 1.6
++++ xorg/hw/xfree86/utils/xorgcfg/text-mode.c 23 Mar 2006 07:42:55 -0000
+@@ -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
+@@ -558,7 +558,7 @@
+ #elif defined(__UNIXOS2__)
+ str = "mouse$";
+ #else
+- str = "/dev/mouse";
++ str = "/dev/input/mice";
+ #endif
+
+ ClearScreen();
diff --git a/x11-base/xorg-server/xorg-server-1.0.2.ebuild b/x11-base/xorg-server/xorg-server-1.0.2.ebuild
index 8842e8c30fc4..5bd380ec6aec 100644
--- a/x11-base/xorg-server/xorg-server-1.0.2.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.0.2.ebuild,v 1.1 2006/03/21 06:16:26 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.0.2.ebuild,v 1.2 2006/03/23 08:17:22 spyderous Exp $
# Must be before x-modular eclass is inherited
# Hack to make sure autoreconf gets run
@@ -16,7 +16,9 @@ MESA_P="${MESA_PN}-${MESA_PV}"
MESA_SRC_P="${MESA_PN}Lib-${MESA_PV}"
PATCHES="${FILESDIR}/${P}-Sbus.patch
- ${FILESDIR}/${P}-sparc64-cfbrrop-fix.patch"
+ ${FILESDIR}/${P}-sparc64-cfbrrop-fix.patch
+ ${FILESDIR}/${PV}-try-to-fix-xorgcfg.patch
+ ${FILESDIR}/${PV}-fix-xorgconfig-rgbpath-and-mouse.patch"
SRC_URI="${SRC_URI}
mirror://sourceforge/mesa3d/${MESA_SRC_P}.tar.bz2"