The solution that the debian project has settled on is to use the 
emacsen-common package which handles byte-compiling for all installed 
copies of emacs. So far I've converted the emacs20 and emacs21 packages 
to work with it (and I would presume that getting xemacs to consult it 
as well wouldn't be too difficult...).

 From the point of view of an elisp package maintainer, the doc you 
probably want to consult is /sw/share/doc/emacsen-
common/debian-emacs-policy (which is a slightly modified copy of 
debian's). For a working example, take a look at the crypt++el info 
file & patch.

In the meantime I'll work on revising a fink-specific emacs policy and 
will post it for comments shortly.

-christian

On Thursday, January 17, 2002, at 06:55 PM, David R. Morrison wrote:
> My pari-gp package uses emacs to byte-compile a .el file during 
> installation.
>
> To implement this properly in fink, I have to be sure that the result 
> will
> be the same if the package is installed on different machines.
>
> I was using BuildDepends: emacs, but Max got me to change that to
> BuildDepends: emacs | emacs-nox.  Today, a user points out that there
> is a conflict with emacs-alpha, and wonders why I don't simply exploit
> /usr/bin/emacs.  In fact, if I look in unstable there are many other
> packages that people might have installed, like emacs20-nox and 
> variants.
>
> So here's my question: will the byte-compiled file differ if different
> variants of emacs are installed?
>
> If not, I can just use any version of emacs which the user has 
> installed;
> does that seem safe?  (Or should I hack the installation -- a dirty 
> hack,
> but possible -- to force it to use /usr/bin/emacs?)
>
> If there are differences, should I move the byte-compile step to 
> PostInstall?
>
> Advice from someone more knowledgable about the intricacies of emacs 
> would
> be very welcome.
>
>   Thanks,
>   Dave
>
>
>
> _______________________________________________
> Fink-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-devel
>


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to