ports/50799: Lisp Packages install directory should not depend on minor emacs version
yoichi at geiin.org
Sun Jun 29 16:30:16 UTC 2003
The following reply was made to PR ports/50799; it has been noted by GNATS.
From: Yoichi NAKAYAMA <yoichi at geiin.org>
To: Shao Zhang <shao at cia.com.au>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/50799: Lisp Packages install directory should not depend on minor emacs version
Date: Mon, 30 Jun 2003 01:28:04 +0900
At Fri, 11 Apr 2003 11:15:01 +1000 (EST), Shao Zhang wrote:
> Lisp package ports should install in a emacs version neutral
> directory, so that they will still work after an upgrade to emacs.
> psgml and mpg123.el install in the right directory:
mpg123.el is not byte-compiled, so it seems right.
On the other hand, psgml is byte-compiled by some emacsen according
to the chosen port (psgml, psgml-emacs20, etc...) but these have
confliction. It is not so good.
> But bbdb, mule-ucs, speedbar, jde etc all install in:
In these cases, byte-compiled files are installed in the directory
that are hidden from other emacsen. It seems right position since
byte-compiled files depend on some specific emacsen.
> An upgrade to emacs 21.3 will make all these installation stop working.
For now, elisp ports above have run-dependency on emacs21, so the correct behavior
is to de-install old elisp ports at first and re-install newer elisp ports later.
But I think the bad point here is that elisp ports may change destination directory
without changing their portversion (when bsd.emacs.mk is changed while the port
itself is not changed). I think such a change is not necessary.
> Install in /usr/local/share/emacs/site-lisp and modify subdirs.el if
> necessary. Or see the debian package examples for bbdb, jde etc.
I think latter one (learn from debian emacsen-common package) is better.
I wrote a set of installation/deinstallation scripts for elisp ports.
I'll post it to ports@ soon.
FreeBSD ports committer / yoichi at FreeBSD.org
More information about the freebsd-ports-bugs