delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/23/13:00:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=xbVpNDJuvffh2jzX
yijmbqn8It0SK4vxGXSMtf9TxE2cW8BkfURK+uvHfI/eyN3uKItYr2DK/0CdEQML
VJFvVJ/iLkYH/zgxxti/D5bXKpfxeX0xH6OLqZzETa1oAuxFQEpyxgJYu6Cuu/sM
blz+sGr+mwBPldPQlf2E2rCqusc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/5RCuQD2rPLfHtUGb/9nnK
ROGdU=; b=Dicpvd2g9bjkimaHZreN5v3FH/cZKIqBovPJwJfuuuSRfVPt1PDq0g
b8BpuUNcTS1rMbQ370MA8cIAWuWUh7QvytSvPpIfRiJpj9feqO7x9BtpzAAkW/95
Ao5MGU/6lDaTS82i8oKgigkVFMJ9L4AUgjvydORI6htDyOoXZ/7Us=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1379, catalog, among
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory
To: cygwin AT cygwin DOT com
References: <8571f617c5a740608e267364827e7733 AT merl DOT com> <e09f2959-0d76-f206-f0ed-107d3e13ebb4 AT dronecode DOT org DOT uk> <acacb2af2d96468295c8c959b900909f AT merl DOT com> <2adead6b-07d0-e457-0191-5b9bac7c2e8f AT dronecode DOT org DOT uk> <b03fcc59d6ed4831b4f7c9a225d14466 AT merl DOT com> <fab9c762-6020-3084-dcbf-7a006a41ee58 AT dronecode DOT org DOT uk> <92c3950f-5f52-43a2-8427-83bc4cb6dc2c AT cornell DOT edu> <87efkawxob DOT fsf AT Rainer DOT invalid>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <ef0ee6c0-02bd-6ee6-2ae4-3078950f8c4b@cornell.edu>
Date: Fri, 23 Mar 2018 12:59:42 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <87efkawxob.fsf@Rainer.invalid>
X-PMX-Cornell-Gauge: Gauge=X
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 3/23/2018 12:42 PM, Achim Gratz wrote:
> Ken Brown writes:
>>> I think there's no actual dependency of libfontconfig-common on
>>> xmlcatalog, but we lack a triggering mechanism to say "run this
>>> script when this other package is installed"
>>
>> /etc/postinstall/fontconfig_dtd.sh could check whether
>> /etc/postinstall/libxml2.sh exists.  If so, it could run it and then
>> add '.done' so it isn't run again.
> 
> While this seems to maybe solve this particular problem, I really don't
> think that it is a good idea to have postinstall scripts run other
> postinstall scripts and then deactivate them behind the back of
> setup.exe.  Please let's not go there,

I agree.  That was a bad idea.

> if there is a general need to
> coordinate among postinstall scripts let's try to solve that within
> setup (the stratified postinstall concept does allow for something like
> that, it's just not yet fully specified or implemented).

I don't think a general need has been demonstrated.  This is the first 
case I can recall seeing.

I do think that this case should be fixed, one way or another, in 
/etc/postinstall/fontconfig_dtd.sh.  That script assumes, on the basis 
of [ -x /usr/bin/xmlcatalog ], that the catalog /etc/xml/catalog has 
already been created.

Ken

--
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