From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35629 invoked by alias); 23 Mar 2018 16:59:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 35553 invoked by uid 89); 23 Mar 2018 16:59:47 -0000 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 Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Mar 2018 16:59:46 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id w2NGxiQF025949 for ; Fri, 23 Mar 2018 12:59:44 -0400 Received: from [10.128.159.203] (dhcp-gs-8139.eduroam.cornell.edu [10.128.159.203]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id w2NGxhO2022419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 23 Mar 2018 12:59:44 -0400 Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory To: cygwin@cygwin.com References: <8571f617c5a740608e267364827e7733@merl.com> <2adead6b-07d0-e457-0191-5b9bac7c2e8f@dronecode.org.uk> <92c3950f-5f52-43a2-8427-83bc4cb6dc2c@cornell.edu> <87efkawxob.fsf@Rainer.invalid> From: Ken Brown Message-ID: Date: Fri, 23 Mar 2018 21:10:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00383.txt.bz2 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