This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygport: How to suppress automatic postinstall script additions

On 3/5/2012 5:50 PM, Ken Brown wrote:
On 3/5/2012 4:23 PM, Yaakov (Cygwin/X) wrote:
On Mon, 2012-03-05 at 12:59 -0500, Ken Brown wrote:
On 3/5/2012 12:32 PM, Yaakov (Cygwin/X) wrote:
OK, here's the fix:

1) Install cygport- (released just moments ago).

2) Bump collection-basic to $today and build it with newly-downloaded

3) Bump collection-langcjk to $today, add 'jfontmaps' to ARCH_PKGS, and
build with newly-downloaded sources.

After installing the new collection-basic with the new postinstall
script, the aforementioned xetex test works.

In your new postinstall script, I wonder if it would be better to delete /etc/texmf/web2c/updmap.cfg rather than editing it. The reason is that the master updmap.cfg in /usr/share/texmf/web2c may have changed due to the addition or deletion of TL packages containing fonts, and I don't think these changes get propagated to /etc/texmf/web2c/updmap.cfg.

The problem with that is any settings in TEXMFSYSCONFIG/web2c/updmap.cfg would be lost. What about the attached patch for cygport?

I won't have a chance to test it until tomorrow, but it looks good at first glance. One question: I don't see where you take account of fonts that might have been deleted. Shouldn't updmap-sys --syncwithtrees be run on every postinstall to catch these?

I think it would be enough for texlive-collection-basic to have a custom that does this. There's no reason it has to be repeated by every texlive-collection-* package.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]