Subject: Re: Package Attempt for Emacs 21
To: None <uebayasi@soum.co.jp>
From: None <sen_ml@eccosys.com>
List: tech-pkg
Date: 10/27/2001 11:52:38
From: Masao Uebayashi <uebayasi@soum.co.jp>
Subject: Re: Package Attempt for Emacs 21
Date: Sat, 27 Oct 2001 02:47:36 +0900 (JST)

> devel/apel's PLIST should correspond to the version of an emacs for
> wchich devel/apel will be installed. OTOH, I think that emacs21's
> PLIST needs not to be parameterized. But it's better for
> maintainability.

Can you write to tech-pkg-ja@jp.netbsd.org about this?

> > I also don't have skk working yet, but I haven't really looked too
> > much into this yet.
> 
> AFAIK, SKK has not produce a release so long time. Current version can
> be retrieved only via CVS.

I couldn't live w/o Japanese input, so I got ddskk dated 20011021 and made a
package attempt:

  http://mashin.nanoyo.net:81/pkgsrc/ddskk.tgz

This package assumes editors/emacs, not editors/emacs21.  I made the
dependency for ddskk emacs>=21.1.  Also I edited pkg/PLIST for
devel/apel to use 21.1 instead of 20.7.  Not very elegant.
(I'm not too sure about the dependencies of ddskk -- may be skkserv or
something is necessary...)

> > Do you know if there is a policy about this?  I wonder how this is
> > handled elsewhere...I guess in Debian they might be using their
> > diversions mechanism.
> 
> I think that Pkgsrc doesn't have any policy on Emacs versioning yet.

Hmmm, may be I shouldn't do any further work until we get one...

> > Does anyone know if there is some general strategy for
> > migration/coexistence of Emacs 20 and 21?
> 
> Emacs 21 is probably compatible with Emacs 20... If not so, there
> should be less incompatibility than 19 -> 20.

I guess in some sense it's simpler to not have coexistence, but then
it might make developers' lives harder...

> > FWIW, the following is a edited version of grep emacs */*/Makefile in
> > /usr/pkgsrc:
> > 
> > chat/irchat/Makefile:DEPENDS+=  emacs-20.*:../../editors/emacs
> > chat/zenicb/Makefile:EMACS=                     emacs
> > chat/zenicb/Makefile:DEPENDS+=          emacs-[0-9]*:../../editors/emacs
> > chat/zenirc/Makefile:DEPENDS+=  emacs-[0-9]*:../../editors/emacs
> (snip)
> 
> (Incredible backward compatibility! :)))

Incredible forward compatibility too! ;-)

> Most of these elisp packages seem to assume Emacs 20.7, so these
> DEPENDS likes may be changed like emacs>=20 or emacs-20.*.

Perhaps someone should grep the appropriate Makefiles to determine
the maintainers to contact...