Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2003 09:30:15 -0700 (PDT)
From:      Yoichi NAKAYAMA <yoichi@geiin.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/50799: Lisp Packages install directory should not depend on	minor emacs version
Message-ID:  <200306291630.h5TGUFHQ092001@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/50799; it has been noted by GNATS.

From: Yoichi NAKAYAMA <yoichi@geiin.org>
To: Shao Zhang <shao@cia.com.au>
Cc: FreeBSD-gnats-submit@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:
 > 	/usr/local/share/emacs/site-lisp
 
 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:
 > 	/usr/local/share/emacs/21.2.
 
 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.
 
 Regards,
 -- 
 Yoichi Nakayama
 FreeBSD ports committer / yoichi@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306291630.h5TGUFHQ092001>