From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 29 09:30:16 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0660D37B401 for ; Sun, 29 Jun 2003 09:30:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9458C43FF2 for ; Sun, 29 Jun 2003 09:30:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5TGUFUp092002 for ; Sun, 29 Jun 2003 09:30:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5TGUFHQ092001; Sun, 29 Jun 2003 09:30:15 -0700 (PDT) Date: Sun, 29 Jun 2003 09:30:15 -0700 (PDT) Message-Id: <200306291630.h5TGUFHQ092001@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Yoichi NAKAYAMA Subject: Re: ports/50799: Lisp Packages install directory should not depend on minor emacs version X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yoichi NAKAYAMA List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 16:30:16 -0000 The following reply was made to PR ports/50799; it has been noted by GNATS. From: Yoichi NAKAYAMA To: Shao Zhang 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