cygport: How to suppress automatic postinstall script additions

Ken Brown kbrown@cornell.edu
Tue Mar 6 17:41:00 GMT 2012


On 3/6/2012 7:28 AM, Ken Brown wrote:
> 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-0.10.8.1-1 (released just moments ago).
>>>>>
>>>>> 2) Bump collection-basic to $today and build it with newly-downloaded
>>>>> sources.
>>>>>
>>>>> 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
> postinsall.sh that does this. There's no reason it has to be repeated by
> every texlive-collection-* package.

Forget this last suggestion.  I think the attached patch to 
src_postinstall.cygpart does the right thing.

Ken

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: postinst.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120306/7eee5401/attachment.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list