X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL,TW_GC,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F54FEF3.4010704@cornell.edu>
Date: Mon, 05 Mar 2012 12:59:15 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cygport: How to suppress automatic postinstall script additions
References: <4F54E12C.4040502@cornell.edu>	 <1330962952.6988.1.camel@YAAKOV04> <1330968741.6988.13.camel@YAAKOV04>
In-Reply-To: <1330968741.6988.13.camel@YAAKOV04>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown@cornell.edu - Mon Mar  5 12:59:18 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 3/5/2012 12:32 PM, Yaakov (Cygwin/X) wrote:
> On Mon, 2012-03-05 at 09:55 -0600, Yaakov (Cygwin/X) wrote:
>> On Mon, 2012-03-05 at 10:52 -0500, Ken Brown wrote:
>>> When building a package with cygport, is there an easy way to supply a
>>> postinstall script that is used as is, without being modified by the
>>> functions in /usr/lib/src_postinst.cygpart?  My question is motivated by
>>> the suggestion in
>>>
>>>     http://cygwin.com/ml/cygwin/2012-03/msg00188.html
>>
>> Actually, Volker is correct, the postinstall needs to be fixed.  I'm
>> working on a patch for cygport now.
>
> 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.

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

