From owner-freebsd-arch Thu Jun 20 21:58:16 2002 Delivered-To: freebsd-arch@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 2E53E37B401 for ; Thu, 20 Jun 2002 21:58:11 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g5L4w9N89838 for ; Fri, 21 Jun 2002 13:58:09 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 39 From: Makoto Matsushita To: arch@FreeBSD.org Subject: Installing XFree86 package via sysinstall: need X wrapper or not? Date: Fri, 21 Jun 2002 13:58:06 +0900 Message-Id: <20020621135806Z.matusita@jp.FreeBSD.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've heard that some users forget to install X wrapper while installing FreeBSD to a fresh PC. As a result, they can't run X server with startx. When our X distribution was XFree86 3.x, there was no problem with startx since X server has a suid bit -- for newbies, current sysinstall breaks some compatibilities. We can fix this by RUN_DEPENDS lines of ports/x11/XFree86-4/Makefile. However, it makes another problem that "hey, XFree86-4 ports install X wrapper which I don't used, no thankyou." IMHO this problem can be treated as "problem while installing XFree86 via sysinstall," here is a patch to teach sysinstall to install the X wrapper package after XFree86 package is installed. Any comments and objections are welcome. If there is no objection, I'll commit it later (maybe next week or so). -- - Makoto `MAR' Matsushita Index: install.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/install.c,v retrieving revision 1.321 diff -u -r1.321 install.c --- install.c 2 Apr 2002 20:42:52 -0000 1.321 +++ install.c 21 Jun 2002 04:56:18 -0000 @@ -880,6 +880,9 @@ dialog_clear_norefresh(); msgNotify("Installing XFree86 package..."); i = package_add("XFree86-4"); + if (DITEM_STATUS(i) == DITEM_SUCCESS) { + i |= package_add("wrapper"); + } restorescr(w); return i; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message