X-Recipient: archive-cygwin@delorie.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@cwilson.fastmail.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@cygwin.com
Subject: Re: Cygwin 1.7: Possible error in /etc/postinstall/rxvt.sh
References: <4A3D44B3.90401@aim.com>
In-Reply-To: <4A3D44B3.90401@aim.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

