Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3CE8084F.2080403@ece.gatech.edu>
Date: Sun, 19 May 2002 16:17:19 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problems when installing XFree84 after lesstif
References: <kvk7q06njy DOT fsf AT vzell DOT de DOT oracle DOT com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Dr. Volker Zell wrote:

> When installing all the currently available Xfree86 packages at once together with lesstif,
> lesstif is installed first. Then
> 
> /usr/X11R6/lib/X11/config/host.def   (1790 bytes)
> 
> gets overwritten by
> 
> /usr/X11R6/lib/X11/config/host.def from Xfree86-prog-4.2.0-1  (1 byte)


Looks like host.def should not be included in either package;  rather, 
each should munge host.def appropriately, using a postinstall script.

 
> Also, shouldn't the /usr/X11R6/lib/X11/app-defaults directory from lesstif
> go in /etc/X11/app-defaults ?
> 
> Right now I have the following in /usr/X11R6/lib/X11/app-defaults:
> 
> app-defaults.lnk   <- a link to /etc/X11/app-defaults
> Mwm
>


Hmm...I was a bit confused by the "reverse linking" too.  I think the 
directories in /usr/X11R6/lib/X11/* should all be "real" directories 
with "real" contents.  XFree86-base should have a postinstall script 
that creates /etc/X11, and populates it with symlinks back to 
/usr/X11R6/lib/X11/* (currently, I believe it is the other way around).

I *think* doing it "my" way will prevent these problems...


> Last point, there is an empty directory /usr/X11R6/lib/locale (from lesstif).
> What is it good for ?


The translation dictionaries for X-based programs should go into
   /usr/X11R6/lib/X11/locale (*)
The translation dictionaries for non-X-based programs should go into
   /usr/share/locale/

(*) I dunno why, but that's where all the Linux dists that I know about 
put them.  Which is why, when I released gettext-0.10.40 last December, 
I configured it with
 
alias_path='/usr/share/locale:/usr/local/share/locale:/usr/X11R6/lib/X11/locale'

/usr/X11R6/lib/locale should not exist (and should be empty if it does 
exist).  ditto /usr/lib/locale -- but a recent packaging bug in 
findutils put its tbls there.  Bad cgf, no cookie. :-)

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/