This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems when installing XFree84 after lesstif


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]