postinstall: fontconfig abnormal exit

Hamish McIntyre-Bhatty hamishmb@live.co.uk
Mon Sep 14 15:47:01 GMT 2020


On 12/09/2020 19:16, Andrey Repin wrote:
> Greetings, Ken Brown!
>
>> Unfortunately, this doesn't yet fix the problem with fontconfig_dtd.sh.  The
>> latter will now succeed if it is run after libxml2.sh, but not if it is run 
>> first.  I'm not aware of any way to force setup to run one postinstall script 
>> before another.  So maybe fontconfig_dtd.sh should be modified to include the 
>> contents of libxml2.sh, like this:
>> $ cat fontconfig_dtd.sh
>> if [ -x /usr/bin/xmlcatalog ] ; then
>>      if [ ! -f /etc/xml/catalog ] ; then
>>          /bin/mkdir -p /etc/xml
>>          /usr/bin/xmlcatalog --noout --create /etc/xml/catalog
>>      fi
>>      /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" 
>> /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog
>> fi
> install --verbose --mode=0755 --directory -- /etc/xml/catalog
>
>> I can do a non-maintainer update of fontconfig that makes this change if people
>> agree that it's a good idea.

NB: The fix for this has worked for me. Thank you.

Hamish

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x87B761FE07F548D6.asc
Type: application/pgp-keys
Size: 3183 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20200914/97b4c186/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://cygwin.com/pipermail/cygwin/attachments/20200914/97b4c186/attachment-0001.sig>


More information about the Cygwin mailing list