delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/11/00:53:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4F5C3DD8.4020902@users.sourceforge.net>
Date: Sat, 10 Mar 2012 23:53:28 -0600
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygport suggestion: src_postinstall
References: <4F5A7582 DOT 3050204 AT cornell DOT edu> <4F5A8B16 DOT 50305 AT users DOT sourceforge DOT net> <4F5A97FB DOT 6080809 AT cornell DOT edu>
In-Reply-To: <4F5A97FB.6080809@cornell.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2012-03-09 17:53, Ken Brown wrote:
> On 3/9/2012 5:58 PM, Yaakov (Cygwin/X) wrote:
>> On 2012-03-09 15:26, Ken Brown wrote:
>>> and I don't like some of the things that are done in __src_postinst when
>>> I build that package.
>>
>> Could you specify?
>
> There are two things:
>
> 1. I don't think __prepemacs should be called for this package because
> the compile process explicitly byte compiles most of the *.el files.
> There are three (at the top level of /usr/share/emacs/site-lisp) that it
> does not byte compile. I don't know the reason, but I don't think the
> Cygwin build should override this upstream decision.

The official way to avoid byte compilation is with no-byte-compile[1]. 
preview-latex.el and tex-site.el are so marked, so they won't be 
compiled anyway.  auctex.el is not so marked, so either there is no 
reason to not compile it, or else it should also be marked; either way, 
this should be fixed upstream.

> 2. I would prefer that __prep_texlive not be called, since it causes the
> postinstall script to do unnecessary work. All that's needed for auctex
> is mktexlsr.

Then we should figure out how to fine-tune __prep_texlive().  The first 
mktexlsr is always needed, and the updmap-sys will be limited to 
packages including Add*Map command(s) per our other thread.  Should we 
limit the fmtutil-sys call to packages including addFormat command(s)? 
Do any non-texlive packages add anything which would necessitate a call 
to updmap-sys and/or fmtutil-sys?


Yaakov

(BTW: cygport discussion is on-topic in cygwin-apps; it would be easier 
for me to have these discussions there.)

[1] 
http://www.gnu.org/software/emacs/manual/html_node/elisp/Byte-Compilation.html

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019