From CQG00620@nifty.ne.jp  Wed Jan 23 11:54:04 2008
Return-Path: <CQG00620@nifty.ne.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8A28416A418
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Jan 2008 11:54:04 +0000 (UTC)
	(envelope-from CQG00620@nifty.ne.jp)
Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197])
	by mx1.freebsd.org (Postfix) with ESMTP id 545D713C455
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Jan 2008 11:54:04 +0000 (UTC)
	(envelope-from CQG00620@nifty.ne.jp)
Received: from asahi-net.jp (i222141.ppp.asahi-net.or.jp [61.125.222.141])
	by mail.asahi-net.or.jp (Postfix) with ESMTP id F0D5641503
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Jan 2008 20:35:48 +0900 (JST)
Message-Id: <20080123113548.F0D5641503@mail.asahi-net.or.jp>
Date: Wed, 23 Jan 2008 20:35:48 +0900
From: WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
Reply-To: WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] sysinstall(8) does not install the xorg-drivers package with the X-* distribution sets by default on 6.3-RELEASE

>Number:         119922
>Category:       bin
>Synopsis:       [patch] sysinstall(8) does not install the xorg-drivers package with the X-* distribution sets by default on 6.3-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    re
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 23 12:00:05 UTC 2008
>Closed-Date:    Mon Mar 17 13:17:33 UTC 2008
>Last-Modified:  Mon Mar 17 13:17:33 UTC 2008
>Originator:     WATANABE Kazuhiro
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD capricorn.sign.local 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

>Description:
On 6.3-RELEASE, sysinstall(8) does not install the xorg-drivers meta
package with the "X-*" distribution sets (X-User, X-Developer, etc.)
by default.  And there is no selection menu for the drivers package.

To workaround the problem you have to choose the one of the following
procedures:

* Select the "All" distribution set.
* Check "X.Org X Server selection." -> "All".
* Install the drivers package manually.

>How-To-Repeat:
Install 6.3-RELEASE with the "X-*" distribution set.

>Fix:
It's a patch for RELENG_6.

Index: usr.sbin/sysinstall/dist.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sysinstall/dist.c,v
retrieving revision 1.239.2.8
diff -u -r1.239.2.8 dist.c
--- usr.sbin/sysinstall/dist.c	17 Dec 2007 23:43:42 -0000	1.239.2.8
+++ usr.sbin/sysinstall/dist.c	22 Jan 2008 09:15:10 -0000
@@ -207,7 +207,7 @@
 distSetX(void)
 {
     Dists |= DIST_XORG;
-    XOrgDists = DIST_XORG_MISC_ALL | DIST_XORG_SERVER | _DIST_XORG_FONTS_BASE;
+    XOrgDists = DIST_XORG_MISC_ALL | DIST_XORG_SERVER | DIST_XORG_DRIVERS | _DIST_XORG_FONTS_BASE;
     return distSetXOrg(NULL);
 }
 
Index: usr.sbin/sysinstall/menus.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sysinstall/menus.c,v
retrieving revision 1.410.2.12
diff -u -r1.410.2.12 menus.c
--- usr.sbin/sysinstall/menus.c	15 Nov 2007 16:58:45 -0000	1.410.2.12
+++ usr.sbin/sysinstall/menus.c	22 Jan 2008 09:13:25 -0000
@@ -1241,8 +1241,10 @@
 	NULL,		setX11Servers, NULL, NULL, ' ', ' ', ' ' },
       { "Reset",	"Reset all of the above",
 	NULL,		clearX11Servers, NULL, NULL, ' ', ' ', ' ' },
-      { " srv",		"Standard Graphics Framebuffer",
+      { " server",	"X server and related programs",
 	dmenuFlagCheck,	dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_SERVER },
+      { " drivers",	"Drivers meta-port",
+	dmenuFlagCheck,	dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_DRIVERS },
       { " nest",	"Nested X Server",
 	dmenuFlagCheck,	dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_NESTSERVER },
       { " vfb",		"Virtual Framebuffer",
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->re 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jan 24 20:44:20 UTC 2008 
Responsible-Changed-Why:  
Assign to release engineers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119922 

From: WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
To: bug-followup@FreeBSD.org, CQG00620@nifty.ne.jp
Cc: re@FreeBSD.org
Subject: Re: bin/119922: [patch] sysinstall(8) does not install the xorg-drivers package with the X-* distribution sets by default on 6.3-RELEASE
Date: Wed, 05 Mar 2008 01:14:52 +0900

 Hello.
 
 Some people reported the same problem.
 
 X -configure fails on 6.3-Release
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/thread.html#166836
 
 It seems difficult for newbies to solve the problem.  So this should
 be fixed or described in the errata lists.
 ---
 WATANABE Kazuhiro (CQG00620@nifty.ne.jp)

From: Ken Smith <kensmith@cse.Buffalo.EDU>
To: WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
Cc: bug-followup@FreeBSD.org, re@FreeBSD.org
Subject: Re: bin/119922: [patch] sysinstall(8) does not install the
	xorg-drivers package with the X-* distribution sets by default on
	6.3-RELEASE
Date: Tue, 04 Mar 2008 11:40:41 -0500

 --=-gXJ173YxtsY/MtRwv1lI
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 
 On Wed, 2008-03-05 at 01:14 +0900, WATANABE Kazuhiro wrote:
 > Hello.
 >=20
 > Some people reported the same problem.
 >=20
 > X -configure fails on 6.3-Release
 > http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/thread.=
 html#166836
 >=20
 > It seems difficult for newbies to solve the problem.  So this should
 > be fixed or described in the errata lists.
 > ---
 > WATANABE Kazuhiro (CQG00620@nifty.ne.jp)
 
 This got noticed a bit too late in the 6.3 release cycle for me to have
 been comfortable with merging in the fix for it.  But once I get a
 little time I'll merge in the same fix that got made for 7.0-REL which
 basically has sysinstall install all of xorg instead of trying to break
 it up into smaller chunks and allow the user to pick which pieces to
 install if they want to.
 
 In the meantime people are best off if they just select "All" in the
 Distributions menu if they want to have a workstation running X11.
 
 --=20
                                                 Ken Smith
 - From there to here, from here to      |       kensmith@cse.buffalo.edu
   there, funny things are everywhere.   |
                       - Theodore Geisel |
 
 
 --=-gXJ173YxtsY/MtRwv1lI
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQBHzXt//G14VSmup/YRAsGrAJ9aUn9OzPcApwk+Zep3LzYZYEc+eACfZfay
 Dixk7byShrprjbNf2CWm+Bs=
 =muAG
 -----END PGP SIGNATURE-----
 
 --=-gXJ173YxtsY/MtRwv1lI--
 
State-Changed-From-To: open->closed 
State-Changed-By: kensmith 
State-Changed-When: Mon Mar 17 13:15:54 UTC 2008 
State-Changed-Why:  

MFCed the same fix as RELENG_7 had to RELENG_6 last week.  sysinstall 
treats Xorg as an all or nothing thing now instead of dividing it 
up in pieces. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=119922 
>Unformatted:
