delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=A+ZyFi9256LXHLNO | |
aQh6YOA5tR4SZMhVocwquHQfp92WtYteJCoP9R8TqHZaVoPm+bF1dE2VfERLPs+M | |
IycemIdDHtkySM7Kps8Vuzpnjh1/ZX1/3MCEpeo/VnpdfgMT3IIJdYi8knRH+vXK | |
HoNEaPIYcw+p5l31bw6SI/y+Q44= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=d1/aFWIBBUde1mXF176oRj | |
JFTIA=; b=UgDx1LWsrAFRbu/8Uts4zSJZKSqeG19kTcVDUGyhY9uz+mRSbQ8COi | |
uCSRtbaNGVMnXDRPTzgIkxapm9wf6SmVrRhP3A3tuS0M4xkWvQ4FpVpIsaWUuEgy | |
+Cd9BDmxu6eJOEJRk/eGAIbw8BjUrO+vF6kXb7XUGWIMGQP8M9yCM= | |
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.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, catalog, HContent-Transfer-Encoding:8bit |
X-HELO: | smtp-out-no.shaw.ca |
X-Authority-Analysis: | v=2.3 cv=X6B81lbe c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=qGCch4uaLe6taRZq9x4A:9 a=QEXdDO2ut3YA:10 |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
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> <ef0ee6c0-02bd-6ee6-2ae4-3078950f8c4b AT cornell DOT edu> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <bff472bf-136f-d5d0-b157-61816464b8c7@SystematicSw.ab.ca> |
Date: | Fri, 23 Mar 2018 18:57:42 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <ef0ee6c0-02bd-6ee6-2ae4-3078950f8c4b@cornell.edu> |
X-CMAE-Envelope: | MS4wfG+DBiqtFd2EIz/n9wlcWSzPh982Kh+hgPNkJv2MGB0i6OstiVGiK6egLQG4G9JCtTjbVR+/M3rcZcfEXOo/aCqinK5prXB68dpV/bcNgipUtT8PEx8m V7Zlu4iu37Dnh0N+o7McsutcEfyRdzJDZwMojjZlJM13rWq3eGygcyGlpxkU+j9s51155FAJfBhVwQ== |
X-IsSubscribed: | yes |
On 2018-03-23 10:59, Ken Brown wrote: > 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. Cygwin [/usr?]/sbin/create_etc_xml_catalog.sh script provided by libxml2 and run by both postinstall scripts if present: $ cat /sbin/create_etc_xml_catalog.sh if [ ! -f /etc/xml/catalog ] && [ -x /usr/bin/xmlcatalog ] ; then /bin/mkdir -p /etc/xml /usr/bin/xmlcatalog --noout --create /etc/xml/catalog fi $ cat /etc/postinstall/libxml2.sh [ -x /sbin/create_etc_xml_catalog.sh ] && /sbin/create_etc_xml_catalog.sh $ cat /etc/postinstall/fontconfig_dtd.sh [ -x /sbin/create_etc_xml_catalog.sh ] && /sbin/create_etc_xml_catalog.sh if [ -x /usr/bin/xmlcatalog ] ; then /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" \ /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog fi -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |