delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/20/18:05:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A3D5CA7.7070903@cwilson.fastmail.fm>
Date: Sat, 20 Jun 2009 18:03:19 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7: Possible error in /etc/postinstall/rxvt.sh
References: <4A3D44B3 DOT 90401 AT aim DOT com>
In-Reply-To: <4A3D44B3.90401@aim.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Mark Harig wrote:

> Is the 'rxvt' package responsible for creating these
> missing directories?

Well, *I* think they ought to be created by the X system.  Currently,
you kinda get them by default IF you install any of the X-related
packages, because unlike rxvt, those other package directly incorporate, eg.

/etc/X11/app-defaults/XTerm

so when the xterm-242-1.tar.bz2 package is unpacked: viola! you have
/etc/X11/app-defaults/

But, none of those packages SHOULD be doing it that way.  They SHOULD be
doing it the rxvt way, where the "default defaults" are installed into

/etc/defaults/etc/X11/app-defaults/

and a postinstall script copies the file from there into
/etc/X11/app-defaults/ if and only if the current copy has not been
changed from the previous /etc/default/ version.  (That is, *preserve
user customizations*).  None of the other packages do that.

That having been said...rxvt is stealing a march by assuming
/etc/X11/app-defaults/ exists.  It's not clear -- if all the other
packages did it the "rxvt way" -- WHO exactly should be responsible for
creating the directory.

I'll enhance the rxvt postinstall script to handle that in a future release.

--
Chuck


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019