From owner-freebsd-x11@FreeBSD.ORG Sat May 19 17:10:45 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05E9716A46C for ; Sat, 19 May 2007 17:10:45 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by mx1.freebsd.org (Postfix) with ESMTP id BB55213C45D for ; Sat, 19 May 2007 17:10:44 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so1770434nze for ; Sat, 19 May 2007 10:10:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=GG34nA5g0JLN+vMf/gdB0s4Mxa5a9x4hjgRh1Lf/CMe53diwfh7yeaaFTxRov1TEE4pViYavvsIOW0b9HRX6vPUms7Q5dQsQ0GMO1hFOPl4OXLnEYxGWZo/ObJ9RBOyY+LeKyz03a6FNjUSrMkDAahYkGxuUEVAfhtqAZbbikrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=LuDP+Qn6FsaTGq1NA1LgCC+3WwY2xcy1hR2uV5nJFHL6W4foimDi7gUJSmbk1GD9BGYprcoZ9h1E8wGGJAvIkZWtgmfTOX7aY3SaOe9oJGk+TTzQT5mfIl+0nul8VrtDA+uK0i1KJbRG861w01sPZUBgTH1pNTIjR5KL7i6aPPs= Received: by 10.65.248.19 with SMTP id a19mr8304066qbs.1179594644047; Sat, 19 May 2007 10:10:44 -0700 (PDT) Received: by 10.64.193.14 with HTTP; Sat, 19 May 2007 10:10:43 -0700 (PDT) Message-ID: <6eb82e0705191010p1a747b03ied0836a878df78d9@mail.gmail.com> Date: Sun, 20 May 2007 01:10:43 +0800 From: "Rong-en Fan" To: x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: flz@freebsd.org, portmgr@freebsd.org Subject: x11/luit regression X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 17:10:45 -0000 Hi, After upgrade to X.Org 7.2, I found three problems with it: 1) can't find locale file 2) could'nt copy terminal settings 3) WITH_SETUID_LUIT knob is gone The first problem is because we install locale.alias in LOCALBASE/share/X11/locale. It can be solved by adding this: CONFIGURE_ARGS= --with-localealiasfile=${LOCALBASE}/share/X11/locale/locale.alias The second one is actually a race in luit, it was fixed in xorg-clients and XFree86-clients ports. The luit 1.0.2 claims solve the race with a patch from freedesktop bug# 8490. It may work on other systems, but it does not work on FreeBSD 6.2. I have to use the old fix from x11/xorg-clients (the file patch-luit.c). Second, it died with "Couldn't copy terminal settings". It looks like 1.0.2 has a patch [1] that does not work properly on FreeBSD. With old luit in x11/xorg-clients (which is the same as 1.0.1) and a patch in files/patch-luit.c, it works flawlessly. Also, WITH_SETUID_LUIT was in x11/xorg-clients, but now it gone. it should be added back either in x11/xterm or x11/luit. A patch for x11/luit is at http://people.freebsd.org/~rafan/patch-luit.diff I don't like changes in last minutes, so feel free to merge the X.Org 7.2 first, then address this problem. Regards, Rong-En Fan