Web lists-archives.com

Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

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

$ 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

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.


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