public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory
Date: Thu, 22 Mar 2018 21:56:00 -0000	[thread overview]
Message-ID: <92c3950f-5f52-43a2-8427-83bc4cb6dc2c@cornell.edu> (raw)
In-Reply-To: <fab9c762-6020-3084-dcbf-7a006a41ee58@dronecode.org.uk>

On 3/7/2018 3:15 PM, Jon Turney wrote:
> Yeah, this looks like an ordering problem between libxml2 and 
> libfontconfig-common.
> 
>> $ cat /etc/postinstall/fontconfig_dtd.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
>>
>> $ cat /etc/postinstall/libxml2.sh
>> if test ! -f /etc/xml/catalog; then
>>         /bin/mkdir -p /etc/xml
>>         /usr/bin/xmlcatalog --noout --create /etc/xml/catalog
>> fi
> 
> Not sure how to fix this.
> 
> 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.

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

  reply	other threads:[~2018-03-22 21:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-03 23:00 Robert Cohen
2018-03-03 23:54 ` Brian Inglis
2018-03-04  1:51   ` Robert Cohen
2018-03-04  2:16 ` Ken Brown
2018-03-04  2:32   ` Brian Inglis
2018-03-04  3:01   ` Robert Cohen
2018-03-04  3:11     ` Ken Brown
2018-03-04  4:01       ` Robert Cohen
2018-03-04  5:02         ` Brian Inglis
2018-03-04  5:26           ` Robert Cohen
2018-03-04 15:22         ` Ken Brown
2018-03-06 23:14 ` Jon Turney
2018-03-07  3:37   ` Robert Cohen
2018-03-07 12:15     ` Jon Turney
2018-03-07 20:09       ` Robert Cohen
     [not found]       ` <b03fcc59d6ed4831b4f7c9a225d14466@merl.com>
2018-03-07 20:18         ` Jon Turney
2018-03-22 21:56           ` Ken Brown [this message]
2018-03-23 16:54             ` Achim Gratz
2018-03-23 21:10               ` Ken Brown
2018-03-24  1:05                 ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92c3950f-5f52-43a2-8427-83bc4cb6dc2c@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).