From 39eb5f8b7a4b1dbd7752b88d6b366d44ea104ecd Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 16 Jul 2015 18:17:58 +0200 Subject: update implementation notes --- notes.org | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'notes.org') diff --git a/notes.org b/notes.org index 43b90ae..5e08b7f 100644 --- a/notes.org +++ b/notes.org @@ -1,7 +1,15 @@ * package.el -- package-directory-list (v) - list of additional directories containing elpa packages. In particular this has an emacs version specific directory where we can install byte compiled files. +- package-directory-list (v) + + list of additional directories containing elpa packages. In + particular this has an emacs version specific directory where we can + install byte compiled files. + + Note that having the same package-$version in two different + directories in this list seems not to work out well, since the + ordering of the constructed load-path is backwards from the list. Or + something. - package-unpack (f) @@ -11,8 +19,21 @@ * workflow ** at package build time -- install using package-unpack (or workalike) into - $(DESTDIR)/usr/share/emacs/site-lisp/elpa +- install a copied/modified package-unpack into + + $(DESTDIR)/usr/share/emacs/site-lisp/elpa-src + + This is intentionally not ending in elpa, because of the problems + discussed immediately above with multiple versions of a package. + +- install emacsen-common helper scripts into + $(DESTDIR)/usr/lib/emacsen-common/packages/{compat,install,remove} + +- add postinst / prerm cookies to maintainer scripts + ** at package install time - byte compile. Each flavour needs to further interrogate - the version installed. +- prerm and postinst as per a normal emacsen-common using package +- don't install a startup file into /etc; that's one of our selling + points. + + -- cgit v1.2.3